/*
Child Theme Custom Styles
Enqueued after: parent stylesheet + child theme style.css
*/

/* ------------------------------
   Global tokens / helpers
--------------------------------- */

/* Example: keep generic, sitewide-safe utility patterns here */
/*
:root {
  --brand-radius: 12px;
}
*/

/* ------------------------------
   Layout + typography overrides
--------------------------------- */

/* Paste your existing custom CSS below this line */

/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/

html body #page-container .vtds-code-hero-section,
html body #page-container .vtds-code-hero-section.et_pb_section {
  position: relative !important;
  padding: 0 !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  background-image: none !important;
  background-color: #383838 !important;
}

html body #page-container .vtds-code-hero-row.et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

html body #page-container .vtds-code-hero-row .et_pb_column,
html body #page-container .vtds-code-hero-row .et_pb_module,
html body #page-container .vtds-code-hero-row .et_pb_code,
html body #page-container .vtds-code-hero-row .et_pb_code_inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vtds-code-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 1;
  min-height: 0;
  height: auto;
  margin: 0;
  background-color: #383838;
  color: #e8ded1;
  font-family: "Questrial", Arial, sans-serif;
}

.vtds-code-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  margin: 0;
}

.vtds-code-hero__media picture,
.vtds-code-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.vtds-code-hero__media img {
  object-fit: cover;
  object-position: center center;
}

.vtds-code-hero__caption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.vtds-code-hero::before {
  content: none !important;
  display: none !important;
  background: transparent !important;
}

.vtds-code-hero--with-overlay::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.40) !important;
  pointer-events: none;
}

.vtds-code-hero--with-overlay-light::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28) !important;
  pointer-events: none;
}

.vtds-code-hero--with-overlay-strong::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.52) !important;
  pointer-events: none;
}

@media (max-width: 767px) {
  .vtds-code-hero--with-overlay::before {
    background: rgba(0, 0, 0, 0.48) !important;
  }

  .vtds-code-hero--with-overlay-light::before {
    background: rgba(0, 0, 0, 0.34) !important;
  }

  .vtds-code-hero--with-overlay-strong::before {
    background: rgba(0, 0, 0, 0.60) !important;
  }
}

.vtds-code-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e8ded1;
  font-family: "Questrial", Arial, sans-serif;
  box-sizing: border-box;
}

.vtds-code-hero__content > * {
  margin: 0;
  padding: 0;
}

.vtds-code-hero__eyebrow,
.vtds-code-hero__text,
.vtds-code-hero__content a {
  color: #e8ded1 !important;
  font-family: "Questrial", Arial, sans-serif;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.28);
}

.vtds-code-hero__title {
  color: #f8f4ea !important;
  font-family: "Poppins", Arial, sans-serif;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.28);
}

.vtds-code-hero__eyebrow {
  max-width: 100%;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  font-family: "Questrial", Arial, sans-serif;
  letter-spacing: 0.10em;
  text-transform: none;
  color: #e8ded1;
}

.vtds-code-hero__eyebrow--top {
  margin-bottom: 0.45em !important;
}

.vtds-code-hero__eyebrow--bottom {
  margin-top: 0.5em !important;
}

.vtds-code-hero__title {
  width: 100%;
  max-width: 100%;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 700;
  font-family: "Poppins", Arial, sans-serif;
  color: #f8f4ea;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

@media (min-width: 768px) and (max-width: 980px) {
  .vtds-code-hero {
    aspect-ratio: 16 / 7;
    min-height: 0;
    height: auto;
  }

  .vtds-code-hero__content {
    width: 90%;
    max-width: 900px;
    padding: 28px 32px !important;
  }

  .vtds-code-hero__eyebrow {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.09em;
  }

  .vtds-code-hero__title {
    font-size: 42px;
    line-height: 1.12;
    font-weight: 700;
  }

  .vtds-code-hero__eyebrow--top {
    margin-bottom: 0.4em !important;
  }

  .vtds-code-hero__eyebrow--bottom {
    margin-top: 0.45em !important;
  }
}

@media (max-width: 767px) {
  .vtds-code-hero-section,
  .vtds-code-hero-section.et_pb_section,
  .vtds-code-hero-row.et_pb_row {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .vtds-code-hero {
    aspect-ratio: 4 / 3;
    min-height: 0 !important;
    height: auto;
  }

  .vtds-code-hero__media img {
    object-position: center center;
  }

  .vtds-code-hero__content {
    width: 95%;
    max-width: 95%;
    padding: 20px 18px !important;
  }

  .vtds-code-hero__eyebrow {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .vtds-code-hero__title {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .vtds-code-hero__eyebrow--top {
    margin-bottom: 0.35em !important;
  }

  .vtds-code-hero__eyebrow--bottom {
    margin-top: 0.4em !important;
  }
}

.vtds-code-hero--compact {
  aspect-ratio: 5 / 1;
}

@media (min-width: 768px) and (max-width: 980px) {
  .vtds-code-hero--compact {
    aspect-ratio: 18 / 7;
  }
}

@media (max-width: 767px) {
  .vtds-code-hero--compact {
    aspect-ratio: 4 / 3;
  }
}

.vtds-code-hero--tall {
  aspect-ratio: 3.2 / 1;
}

@media (min-width: 768px) and (max-width: 980px) {
  .vtds-code-hero--tall {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 767px) {
  .vtds-code-hero--tall {
    aspect-ratio: 4 / 3.4;
  }
}

@media (max-width: 1024px) {
  html body:not(.et-fb):not(.et_fb):not(.vtds-divi-builder-preview) #page-container .vtds-mobile-header-clearance,
  html body:not(.et-fb):not(.et_fb):not(.vtds-divi-builder-preview) #page-container .vtds-mobile-header-clearance.et_pb_section {
    margin-top: 107px !important;
    padding-top: 0 !important;
  }
}

@media (min-width: 783px) and (max-width: 1024px) {
  html body.admin-bar:not(.et-fb):not(.et_fb):not(.vtds-divi-builder-preview) #page-container .vtds-mobile-header-clearance,
  html body.admin-bar:not(.et-fb):not(.et_fb):not(.vtds-divi-builder-preview) #page-container .vtds-mobile-header-clearance.et_pb_section {
    margin-top: 139px !important;
  }
}

@media (max-width: 782px) {
  html body.admin-bar:not(.et-fb):not(.et_fb):not(.vtds-divi-builder-preview) #page-container .vtds-mobile-header-clearance,
  html body.admin-bar:not(.et-fb):not(.et_fb):not(.vtds-divi-builder-preview) #page-container .vtds-mobile-header-clearance.et_pb_section {
    margin-top: 153px !important;
  }
}
