/*
 Theme Name: Empire Media Enterprise 
 Theme URI: https://empiremedianyc.com/themes/enterprise
 Description: Custom enterprise-level Divi child theme built for scalability, performance, and brand impact. Optimized for seamless integrations. Offering flexible layouts and advanced functionality.
 Author: Empire Media NYC LLC
 Author URI: https://empiremedianyc.com
 Template: Divi
 Version: 1.0.0
*/

/* ==========================
   LOCAL FONT DECLARATIONS
========================== */
 
/* H1 Font - Anton */
@font-face {
    font-family: 'Anton';
    src: url('https://empiremedianyc.com/fonts/anton.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    font-color: #f3f2fe;
}
 
/* H2 Font - Barlow Condensed 300 */
@font-face {
    font-family: 'Barlow Condensed';
    src: url('https://empiremedianyc.com/fonts/barlow-condensed-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
 
/* H3 Font - Barlow Regular */
@font-face {
    font-family: 'Barlow';
    src: url('https://empiremedianyc.com/fonts/barlow.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* H4 Font - Roboto Bold */
@font-face {
    font-family: 'Roboto';
    src: url('https://empiremedianyc.com/fonts/roboto-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* H5 Font - Roboto Bold */
@font-face {
    font-family: 'Roboto';
    src: url('https://empiremedianyc.com/fonts/roboto-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* H6 Font - Barlow Condensed Regular */
@font-face {
    font-family: 'Barlow Condensed';
    src: url('https://empiremedianyc.com/fonts/barlow-condensed-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Paragraph / Body - Roboto Regular */
@font-face {
    font-family: 'Roboto';
    src: url('https://empiremedianyc.com/roboto.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
 
/* ==========================
   TYPOGRAPHY STYLES
========================== */

body, p, h1, h2, h3, h4, h5, h6, .et_pb_button, .et-menu a, ul, il, a {
    color: #f3f2fe;
}

body, p, .et_pb_button, .et-menu a, ul, il a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1.1vw, 1.25rem);   /* min 14px, max 20px */
    line-height: clamp(1.2rem, 1.5vw, 1.4rem);
}

h1 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(3.5rem, 8.9vw, 9rem);      /* min 40px, max 144px */
    line-height: 1em;
}

h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: clamp(1.25rem, 2.83vw, 3rem);    /* min 20px, max 48px */
    line-height: 1em;
}

h3 {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: clamp(1.125rem, 2.7vw, 2.75rem); /* min 18px, max 44px */
    line-height: clamp(1.5rem, 3.4vw, 3.5rem);
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 2rem);           /* min 16px, max 32px */
    line-height: clamp(1.4rem, 2.8vw, 2.8rem);
}

h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.125rem);     /* min 16px, max 18px */
    line-height: clamp(1.4rem, 2vw, 1.6rem);
}

h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(0.875rem, 1.2vw, 1rem);     /* min 14px, max 16px */
    line-height: clamp(0.95rem, 0.95vw, 1rem);
}


/* ==========================
   BOXED PAGE
========================== */

body.page-id-45 {
  overflow-x: hidden;
  height: 100%;
}

body.page-id-45 #page-container {
  overflow-x: hidden;
  height: 100%;
}

/* The boxed section card */
body.page-id-45 .et_pb_section {
  margin: 1.5vw !important;
  padding: 3vw !important;
  border-radius: 25px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  /* Full screen width */
  width: calc(100% - 3vw) !important;
  max-width: calc(100% - 3vw) !important;
  /* Full viewport Height */
  height: calc(100dvh - 3vw) !important;
  min-height: calc(100dvh - 3vw) !important;
  max-height: 100% !important;
  background-color: transparent;
}

/* ==========================
   Boxed Page Landscape Mobile Fix
========================== */

@media screen and (max-height: 500px) and (orientation: landscape) {
  body.page-id-45 {
    overflow: hidden;
  }

  body.page-id-45 .et_pb_section {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    height: calc(100dvh - 3vw) !important;
    min-height: unset !important;
    padding-top: 40dvh !important;
    padding-bottom: 2dvh !important;
  }
}

/* ==========================
   Homepage Menu — Full Width
========================== */

.et_pb_menu_0 .et_pb_menu__wrap,
#page-container .et-fb-root-area .et_pb_menu .et_pb_menu__wrap,
.et_pb_menu_0 .et_pb_menu__menu,
#page-container .et-fb-root-area .et_pb_menu .et_pb_menu__menu,
.et_pb_menu_0 nav.et-menu-nav,
#page-container .et-fb-root-area .et_pb_menu nav.et-menu-nav {
  width: 100% !important;
  flex: 1 !important;
}

.et_pb_menu_0 ul.et-menu,
#page-container .et-fb-root-area .et_pb_menu ul.et-menu {
  display: flex !important;
  justify-content: space-evenly !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_menu_0 ul.et-menu > li,
#page-container .et-fb-root-area .et_pb_menu ul.et-menu > li {
  flex: 1 !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* ==========================
   Dropdown Menu — Glass Style (Global)
========================== */

.et_mobile_menu {
  background-color: rgba(0, 0, 1, 0.11) !important;
  padding: 10px !important;
  border-radius: 20px !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  border-top: none !important;
  box-shadow: none !important;
}

/* White text for all menu items */
.et_mobile_menu a,
.et_mobile_menu li a {
  color: #ffffff !important;
}

/* ==========================
   Mobile Dropdown — Mobile Only
========================== */

/* Hide on anything above mobile */
@media screen and (min-width: 766px) {
  .et_pb_row_1 {
    display: none !important;
  }
}