/* G Digital v5 | Website-wide font lock. The font binaries are installed once in WP admin. */
/* A dedicated family name prevents old Elementor font-face declarations from overriding it. */
html body.gdg-v3, html body.gdg-v3 *, html body.gdg-v3 *::before, html body.gdg-v3 *::after,
html body.gdg-v3 input::placeholder, html body.gdg-v3 textarea::placeholder,
html body.gdg-v3 button, html body.gdg-v3 select, html body.gdg-v3 option {
  font-family:"GDG Almoni" !important;
}
/* Font normalizes numerical weights to genuine font files, not synthetic bold 800/900. */
html body.gdg-v3 .brand-icon, html body.gdg-v3 .brand-name,
html body.gdg-v3 .hero h1, html body.gdg-v3 .section-heading,
html body.gdg-v3 h1, html body.gdg-v3 h2, html body.gdg-v3 h3,
html body.gdg-v3 strong, html body.gdg-v3 b { font-family:"GDG Almoni" !important; }

/* v5.1 - The real root fix: legacy CSS can no longer reference a font-family
   name that does not have @font-face binaries associated with it.
   This cascade rule covers controls, decorative badges, pills and anchors.
   Every older stylesheet now also uses GDG Almoni. */
html body.gdg-v3 .hero-actions .btn,
html body.gdg-v3 .hero-actions .btn *,
html body.gdg-v3 .hero .orbit-node,
html body.gdg-v3 .hero .orbit-node *,
html body.gdg-v3 .hero .constellation .orbit-node,
html body.gdg-v3 .site-header .nav-links a,
html body.gdg-v3 .gdg-header-actions button,
html body.gdg-v3 .gdg-service-card *,
html body.gdg-v3 .gdg-lecture-card *,
html body.gdg-v3 .gdg-resource-card *,
html body.gdg-v3 .gdg-form *,
html body.gdg-v3 .gdg-filter,
html body.gdg-v3 .gdg-footer * {
  font-family: "GDG Almoni" !important;
}

/* v5.2 - Lecture filter: override the later v3 display:grid declaration.
   Filter JS was toggling is-hidden but the stronger v3 grid selector kept cards visible. */
html body.gdg-v3 .gdg-lecture-card.is-hidden,
html body.gdg-v3 .gdg-lecture-card[hidden] {
  display: none !important;
}
/* Preserve title space so lecture descriptions and CTAs align across cards. */
@media (min-width: 721px) {
  html body.gdg-v3.gdg-lectures .gdg-lecture-content h3 {
    min-height: 2.1em;
  }
}
