/* Korensa sobre Vantae CMS: ajustes al tema original (Msn Mistiri). */

/* Miniaturas: la foto entera sobre blanco, en la proporción de las originales (269 × 233) */
.feature-img2 img { display: block; width: 269px; max-width: 100%; height: auto; aspect-ratio: 269 / 233; object-fit: contain; background: #fff; }
.feature-img2 img.tile-cover { object-fit: cover; }
.feature-img2 > a { display: block; position: relative; }
@media (max-width: 1199px) { .feature-img2 img { width: 100%; } }
.catalog-hero { display: block; width: 100%; max-width: 570px; height: auto; aspect-ratio: 569 / 500; object-fit: cover; }
.feature-img-top h1.catalog-title, .about-left h1.catalog-title { margin: 0; }
.catalog-block .catalogo { max-width: 100%; margin: 0; }
.about-text-top .only h1 { color: #fff; font-size: 30px; font-weight: 700; letter-spacing: 1px; }
.album-text { margin: -60px 0 80px; }
.post-content img { max-width: 100%; height: auto; }
.about-text-bottom p { margin-bottom: 8px; }
.creative-about-area { padding-bottom: 30px; }

/* Íconos de las divisiones (La empresa) */
.creative-text > .creative-icon { background-color: #fff; border-radius: 10px; color: #2b2b35; display: inline-block; font-size: 30px; height: 58px; line-height: 58px; text-align: center; transform: rotate(-45deg); transition: all .4s ease 0s; width: 58px; }
.creative-text > .creative-icon i { transform: rotate(45deg); }
.creative-text:hover .creative-icon { background-color: #a6c85a; color: #fff; }

/* Página común */
.simple-page { padding: 60px 0 100px; }
.static-title { position: static; display: inline-block; margin-bottom: 30px; }
.page-content { font-family: "Lato", sans-serif; font-size: 16px; line-height: 1.7; color: #555; }
.not-found h1 { font-size: 32px; margin-bottom: 20px; }
.not-found-links .hs-btn, .not-found .hs-btn { margin: 4px; }

/* Contacto (dentro del pie oscuro) */
.contact-title > h2 { color: #fff; font-size: 25px; font-weight: 800; margin-top: 0; line-height: 1.1; }
.contact-address a:hover { color: #a6c85a; }
.contact-from input:focus, .contact-from textarea:focus { outline: 1px solid #a6c85a; color: #fff; }
.contact-from textarea { padding-top: 6px; }
.contact-text.post-content p { color: #fff; margin-top: 10px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { display: block; color: #ffb3ae; font-size: 13px; margin: -8px 0 10px; font-family: "Lato", sans-serif; }
.form-notice { padding: 12px 16px; margin: 0 0 16px; border-left: 4px solid; font-family: "Lato", sans-serif; font-size: 15px; }
.form-notice--ok { background: #eef6e0; border-color: #a6c85a; color: #3f5a14; }
.form-notice--error { background: #fdeeee; border-color: #c0201a; color: #8f1712; }

/* Volver arriba y pie de Vantae */
#toTop:hover, #toTop:focus { color: #fff; text-decoration: none; }
.vantae-copy { text-transform: none; display: flex; justify-content: center; }
.vantae-copy a { color: #fff; display: flex; align-items: center; gap: .5rem; line-height: 1; font-family: Inter, Poppins, system-ui, Arial, sans-serif; text-decoration: none; }
.vantae-copy img { width: 30px; height: 30px; }

/* Egresados: cabecera verde con la foto difuminada */
.egresados-page { background: #f3f5f7; margin-bottom: 0; padding: 0 0 72px; }
.egresados-hero { position: relative; width: 100%; overflow: hidden; background: #a6c85a; }
.egresados-hero::before { content: ""; position: absolute; inset: -28px; background: var(--hero, none) center 40% / cover no-repeat; filter: blur(12px); z-index: 0; }
.egresados-hero.is-sharp::before { inset: 0; filter: none; background-position: center 30%; }
.egresados-hero::after { content: ""; position: absolute; inset: 0; background: #a6c85a; opacity: .72; z-index: 0; }
.egresados-hero-copy { position: relative; z-index: 1; width: 100%; max-width: 1170px; margin: 0 auto; padding: 64px 15px 58px; }
.egresados-kicker { margin: 14px 0 0; color: rgba(255, 255, 255, .94); font-family: 'Lato', sans-serif; font-size: 18px; line-height: 1.5; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.egresados-hero h1 { margin: 0; color: #fff; font-family: 'Raleway', sans-serif; font-size: 52px; font-weight: 800; line-height: 1.02; letter-spacing: -.8px; }
.egresados-tabs .egresados-hero h1 { font-size: 46px; }
.hero-text p { margin: 14px 0 0; max-width: 480px; color: rgba(255, 255, 255, .94); font-family: 'Lato', sans-serif; font-size: 18px; line-height: 1.5; }
.hero-text p + p { margin-top: 8px; }
.hero-text a { color: #fff; text-decoration: underline; }

/* Tarjetas por nivel */
.nivel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.nivel-card { position: relative; display: block; height: 460px; background: #243140; text-decoration: none; box-shadow: 0 12px 30px rgba(36, 49, 64, .08); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; animation: nivel-in .6s ease both; }
.nivel-card:nth-child(2) { animation-delay: .12s; }
.nivel-card:hover, .nivel-card:focus { text-decoration: none; transform: translateY(-6px); box-shadow: 0 18px 36px rgba(36, 49, 64, .16); }
.nivel-photo { position: absolute; inset: 0; }
.nivel-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transition: transform .6s ease; }
.nivel-card:hover .nivel-photo img { transform: scale(1.06); }
.nivel-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 88px 26px 24px; background: linear-gradient(to top, rgba(36, 49, 64, .92) 0%, rgba(36, 49, 64, .28) 62%, transparent 100%); }
.nivel-info span { display: block; color: #a6c85a; font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.nivel-info h2 { margin: 6px 0 12px; color: #fff; font-family: 'Raleway', sans-serif; font-size: 32px; font-weight: 800; }
.nivel-info .nivel-go { color: #fff; letter-spacing: .4px; font-size: 14px; text-transform: none; }
.nivel-go i { margin-left: 6px; transition: transform .3s ease; }
.nivel-card:hover .nivel-go i { transform: translateX(6px); }
@keyframes nivel-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Prendas en grilla de 3 */
.jardin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.jardin-grid a { display: flex; align-items: center; justify-content: center; height: 420px; background: #fff; overflow: hidden; box-shadow: 0 12px 30px rgba(36, 49, 64, .08); }
.jardin-grid img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .45s ease; }
.jardin-grid a:hover img { transform: scale(1.04); }

/* Solapas */
.egresados-solapas { display: flex; justify-content: center; gap: 8px; margin: 28px auto 22px; width: fit-content; max-width: 100%; padding: 6px; background: #fff; box-shadow: 0 8px 24px rgba(36, 49, 64, .08); }
.egresados-solapas button { font-family: 'Raleway', sans-serif; font-weight: 700; letter-spacing: .3px; background: transparent; color: #42505f; border: 0; padding: 12px 22px; cursor: pointer; font-size: 14px; line-height: 1.2; }
.egresados-solapas button.is-active { background: #243140; color: #fff; }
.egresados-solapas button:hover { color: #243140; }
.egresados-solapas button.is-active:hover { color: #fff; }
.egresados-tabs .egresados-panel { display: none; }
.egresados-tabs .egresados-panel.is-active { display: block; }
.egresados-tabs .egresados-panel:only-of-type { margin-top: 36px; }

/* Fotos de grupos: filas de 3, la última centrada */
.egresados-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.egresados-groups .egresados-grid { margin-top: 36px; }
.egresados-grid a { display: block; overflow: hidden; background: #e7ebf0; grid-column: span 2; border-radius: 18px; box-shadow: 0 10px 24px rgba(36, 49, 64, .08); }
.egresados-grid a:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
.egresados-grid a:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
.egresados-grid img { width: 100%; height: 340px; object-fit: cover; object-position: center 18%; display: block; transition: transform .4s ease; }
.egresados-grid a:hover img { transform: scale(1.045); }

/* Carrusel de diseños */
.egresados-carousel .disenos-head { margin-top: 36px; }
.disenos-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 14px; font-family: 'Lato', sans-serif; color: #5c6b7a; font-size: 15px; }
.disenos-count { font-family: 'Raleway', sans-serif; font-weight: 700; color: #243140; letter-spacing: .4px; }
.disenos-wrap { position: relative; }
.disenos-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: none; }
.disenos-track::-webkit-scrollbar { display: none; }
.disenos-card { flex: 0 0 min(880px, 100%); height: 520px; scroll-snap-align: center; background: #e7edf2; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 32px rgba(36, 49, 64, .1); display: flex; align-items: center; justify-content: center; }
.disenos-card img { width: 100%; height: 100%; object-fit: contain; display: block; }
.disenos-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: #243140; font-size: 24px; line-height: 46px; cursor: pointer; box-shadow: 0 8px 20px rgba(36, 49, 64, .16); }
.disenos-nav.prev { left: 14px; }
.disenos-nav.next { right: 14px; }
.disenos-nav:hover { background: #243140; color: #fff; }

@media (max-width: 991px) {
	.jardin-grid { grid-template-columns: 1fr 1fr; }
	.egresados-hero h1, .egresados-tabs .egresados-hero h1 { font-size: 40px; }
}
@media (max-width: 767px) {
	.egresados-page { padding-bottom: 40px; }
	.egresados-hero-copy { padding: 40px 20px 34px; }
	.egresados-hero h1, .egresados-tabs .egresados-hero h1 { font-size: 34px; }
	.nivel-grid { grid-template-columns: 1fr; }
	.nivel-card { height: 400px; }
	.nivel-info h2 { font-size: 28px; }
	.jardin-grid { grid-template-columns: 1fr; }
	.jardin-grid a { height: 360px; }
	.egresados-solapas { width: 100%; }
	.egresados-solapas button { flex: 1; padding: 12px 10px; font-size: 13px; white-space: nowrap; }
	.egresados-grid { grid-template-columns: 1fr; }
	.egresados-grid a, .egresados-grid a:nth-child(3n+1):nth-last-child(2), .egresados-grid a:nth-child(3n+1):last-child { grid-column: auto; }
	.egresados-grid img { height: 280px; }
	.disenos-card { flex-basis: 100%; height: 300px; border-radius: 14px; }
	.disenos-nav { width: 36px; height: 36px; line-height: 36px; font-size: 20px; }
	.disenos-nav.prev { left: 8px; }
	.disenos-nav.next { right: 8px; }
}
