/*
Theme Name: Bioskul (hijo de Divi)
Template: Divi
Author: Bioskul
Description: Tema hijo de Divi con el diseño de Bioskul.
Version: 0.6.7
Text Domain: bioskul-child
*/

/* --- Defensas frente a Divi: sus reglas de .container / secciones / filas no deben tocar el diseño de Bioskul --- */
body.bk-page #page-container, body.bk-page #et-main-area { padding: 0; margin: 0; }
body.bk-page #main-content { background: var(--cream, #f8f3ea); }
body.bk-page #main-content .container { width: 100%; max-width: var(--maxw); padding: 0 var(--gutter); margin: 0 auto; }
body.bk-page #main-content .container::before { display: none !important; content: none; }
body.bk-page .et_pb_section { padding: 0 !important; background: transparent; }
body.bk-page .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.bk-page .et_pb_column { margin: 0 !important; width: 100% !important; }
body.bk-page .et_pb_module { margin-bottom: 0 !important; }
body.bk-page .et_pb_code_inner { font: inherit; color: inherit; }
body.bk-page .et_pb_code_inner h1, body.bk-page .et_pb_code_inner h2, body.bk-page .et_pb_code_inner h3 { text-transform: none; padding: 0; }
body.bk-page .et_pb_code_inner a { text-decoration: inherit; }
body.bk-page h1, body.bk-page h2, body.bk-page h3, body.bk-page h4 { text-transform: none; letter-spacing: inherit; }
body.bk-page #main-content .container { position: static; }

body.bk-page .et_pb_code { margin: 0 !important; padding: 0 !important; }
body.bk-page .et_pb_code_inner { display: block; }

/* --- Portada: vídeo a pantalla completa --- */
.hero-fs { position: relative; min-height: calc(100vh - 120px); display: grid; align-items: end; color: var(--cream, #f8f3ea); overflow: hidden; isolation: isolate; }
.hero-fs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-fs-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 17, 12, .12) 0%, rgba(21, 17, 12, .3) 45%, rgba(21, 17, 12, .82) 100%); }
.hero-fs-copy { display: grid; gap: 18px; justify-items: start; padding-top: 80px; padding-bottom: clamp(72px, 11vw, 140px); }
.hero-fs .h1 { color: var(--cream, #f8f3ea); max-width: 17ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-fs .eyebrow { color: var(--gold, #c5a059); }
.hero-fs .btn--ghost { border-color: rgba(248, 243, 234, .7); color: var(--cream, #f8f3ea); }
@media (max-width: 760px) { .hero-fs { min-height: 82vh; } }
@media (prefers-reduced-motion: reduce) { .hero-fs-video { display: none; } }

/* Pestaña activa en Galería al hacer scroll */
body.bk-page .hero-actions a.btn--ghost.on { background: var(--ink, #15110c); color: var(--cream, #f8f3ea); border-color: var(--ink, #15110c); }
