/*
Theme Name:  Divi Child
Template:    Divi
Version:     1.3.25
Description: Child theme for the Daelim Belefic site. All custom CSS and PHP live here; the parent Divi theme is never edited.
             Named to match OFO's child theme ("Divi Child", 1.0.0) so the build moves to their WP Engine install unchanged.
*/

/* Aspekta (SIL Open Font License, fonts/OFL.txt), self-hosted. The design's weights 250/500/550/700/850 are mapped to the
   CSS weights 300/500/600/700/800 so Divi's weight menu (Light, Medium, Semi Bold, Bold, Ultra Bold) picks the right file.
   Registered in Divi's font list by the et_websafe_fonts filter in functions.php. */
@font-face { font-family: "Aspekta"; src: url("fonts/Aspekta-250.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("fonts/Aspekta-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("fonts/Aspekta-550.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("fonts/Aspekta-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("fonts/Aspekta-850.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* The design never synthesises bold or italic; Aspekta has no italic files. */
html { font-synthesis: none; }

/* Divi's theme adds 10px under every heading; the design has none (spacing comes from the layout and presets). */
h1, h2, h3, h4, h5, h6 { padding-bottom: 0; }

/* Bold spans are 550 in the design (Aspekta's 550 file is mapped to weight 600), not the browser's 700 (static base.css) */
strong, b { font-weight: 600; }

/* Selection. The fallback (#C81817 = Divi's Red 700) matters in the WordPress post editor: this file is loaded there for
   the fonts, but Divi's colour variables aren't, so without it the highlight was white on white (Stephen, 2026-11-11). */
::selection {
  color: #fff;
  background-color: var(--gcid-c-red-700, #C81817);
}

::-moz-selection {
  color: #fff;
  background-color: var(--gcid-c-red-700, #C81817);
}

/* Fix for divi entrance animation */
#page-container {
  overflow-y: clip !important; 
}