/* Estilos Frontend para la tarjeta y cuadrícula de hasta 3 Publicaciones Fijadas de Instagram */
.igpp-multi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 24px;
	width: 100%;
	margin: 1.5rem auto;
	align-items: stretch;
	box-sizing: border-box;
}

.igpp-multi-grid .igpp-card-wrapper {
	margin: 0 auto;
	max-width: 100% !important;
	height: 100%;
	display: flex;
}

.igpp-multi-grid .igpp-card-link {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.igpp-multi-grid .igpp-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
}

.igpp-card-wrapper {
	margin: 1.5rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	width: 100%;
	box-sizing: border-box;
}

.igpp-card-link {
	display: block;
	background: #ffffff;
	border: 1px solid #dbdbdb;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none !important;
	color: #262626 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.igpp-card-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.igpp-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #efefef;
}

.igpp-user-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.igpp-avatar-ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	padding: 2px;
}

.igpp-avatar-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #ffffff;
	color: #262626;
	font-weight: 700;
	font-size: 14px;
	border-radius: 50%;
}

.igpp-username {
	font-weight: 600;
	font-size: 14px;
	color: #262626;
}

.igpp-pinned-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #555555;
	background: #f5f5f5;
	padding: 4px 9px;
	border-radius: 20px;
}

.igpp-media-container {
	position: relative;
	width: 100%;
	background: #fafafa;
	overflow: hidden;
	line-height: 0;
}

.igpp-media-img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

.igpp-media-type-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.72);
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 6px;
	line-height: 1.2;
	backdrop-filter: blur(4px);
}

.igpp-card-body {
	padding: 14px 16px 16px;
}

.igpp-caption {
	font-size: 14px;
	line-height: 1.5;
	color: #262626;
	word-break: break-word;
	margin-bottom: 14px;
}

.igpp-caption-author {
	margin-right: 6px;
	font-weight: 600;
}

.igpp-hashtag,
.igpp-mention {
	color: #00376b;
}

.igpp-cta-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 10px;
	border-top: 1px solid #efefef;
	font-size: 13px;
	font-weight: 600;
	color: #0095f6;
}

.igpp-card-link:hover .igpp-cta-footer {
	color: #1877f2;
}

.igpp-cta-arrow {
	font-size: 15px;
	transition: transform 0.2s ease;
}

.igpp-card-link:hover .igpp-cta-arrow {
	transform: translate(2px, -2px);
}

.igpp-notice-empty {
	padding: 14px 16px;
	background: #fff8e5;
	border-left: 4px solid #ffb900;
	font-size: 14px;
	color: #333;
	border-radius: 4px;
}
