@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(_astro/inter-cyrillic-ext-400-normal.Dc4VJyIJ.woff2) format("woff2"),
    url(_astro/inter-cyrillic-ext-400-normal.BPnxn4xp.woff) format("woff");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(_astro/inter-cyrillic-400-normal.BLGc9T1a.woff2) format("woff2"),
    url(_astro/inter-cyrillic-400-normal.ZzOtrSSW.woff) format("woff");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(_astro/inter-greek-ext-400-normal.Bput3-QP.woff2) format("woff2"),
    url(_astro/inter-greek-ext-400-normal.DCpCPQOf.woff) format("woff");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(_astro/inter-greek-400-normal.DxZsaF_h.woff2) format("woff2"),
    url(_astro/inter-greek-400-normal.BZzXV7-1.woff) format("woff");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
    U+03A3-03FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(_astro/inter-vietnamese-400-normal.DMkecbls.woff2) format("woff2"),
    url(_astro/inter-vietnamese-400-normal.BUNmGMP1.woff) format("woff");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(_astro/inter-latin-ext-400-normal.hnt3BR84.woff2) format("woff2"),
    url(_astro/inter-latin-ext-400-normal.C1t-h-pH.woff) format("woff");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(_astro/inter-latin-400-normal.BOOGhInR.woff2) format("woff2"),
    url(_astro/inter-latin-400-normal.gitzw0hO.woff) format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/****************************************************************/
/************************* CUSTOM *******************************/
/****************************************************************/

h1,
h2 {
  font-family: var(--font-kilang);
}

ul:not(.ez-toc-list) {
  list-style: disc;
  padding-left: 0;
  margin-left: 0;

  ol {
    list-style: decimal;
    padding-left: 0;
    margin-left: 0;
  }

  li {
    margin-left: 1rem;
    padding-left: 0;
    position: relative;
    font-size: var(--text-base);
    line-height: var(--text-base--line-height);

    &::marker {
      font-size: 0.8em;
    }
  }
}

/* Greek hero heading */
body.gr .hero-title,
body.gr h2,
body.gr .single-content h1 {
  font-family: var(--font-lewis);
}

/* Copy bonus code */
.fade {
  opacity: 1;
  transition: opacity 300ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

/* Single content */
.single-content a:not(.btn) {
  color: var(--color-secondary);
  text-underline-offset: 2px;
  transition: all 0.2s ease-in-out;

  &:hover {
    text-decoration: underline;
  }
}

/* Footer links */
.widget_nav_menu li {
  margin-left: 0 !important;
}

.footer-nav-links h3 {
  font-size: 1.25rem;
  line-height: 28px;
  font-weight: 900;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid white;
  max-width: calc(2 / 3 * 100%);
  text-transform: uppercase;
}

.footer-nav-links .menu {
  padding-left: 0;
}
.footer-nav-links a {
  padding-inline: 0;
  padding-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: var(--text-base);
  transition: color 0.2s ease-in-out;

  &:hover {
    box-shadow: none !important;
    background-color: transparent !important;
    color: #d1d5dc;
  }
}

.footer-nav-links p {
  margin-top: 1.6rem;
  line-height: 1.7rem;
}

@media screen and (max-width: 768px) {
  .footer-nav-links {
    h3 {
      font-size: var(--text-base);
      line-height: var(--text-base--line-height);
    }
    .menu,
    a {
      padding-top: 0;
    }
    a,
    p {
      font-size: var(--text-sm);
      line-height: var(--text-sm--line-height);
    }
    li {
      margin-block: 0.2rem;
    }

    .widget_text:not(:last-of-type) {
      margin-bottom: 1.25rem;
    }
  }
}

/* TOC Widget */
.toc-widget-wrapper {
  #ez-toc-container,
  #ez-toc-widget-container {
    border: none;
    padding: 0;
    box-shadow: none;
    width: 100%;
    max-width: 75%;
  }
  .ez-toc-title-container {
    /* padding-bottom: 1rem; */
    /* margin-bottom: 1rem; */
    border-bottom: 1px solid;
    border-color: #eaeaea;
  }
  #ez-toc-container .ez-toc-list,
  #ez-toc-widget-container .ez-toc-list {
    padding-left: 0;
  }

  #ez-toc-container .ez-toc-title,
  #ez-toc-widget-container .ez-toc-title {
    font-size: var(--text-2xl);
    line-height: var(--text-2xl--line-height);
    font-weight: 500;
    font-family: var(--font-kilang);
    text-transform: uppercase;
  }

  #ez-toc-container .ez-toc-btn-default,
  #ez-toc-widget-container .ez-toc-btn-default {
    border: none;
    background-image: none;
    box-shadow: none;
    background-color: transparent;
    color: var(--color-base-content);
  }

  #ez-toc-container a[class*="ez-toc-heading-"],
  #ez-toc-widget-container a[class*="ez-toc-heading-"] {
    padding-bottom: 0;
  }

  #ez-toc-container a::before,
  #ez-toc-widget-container a::before {
    display: none;
  }
  #ez-toc-container :where(li ul) a,
  #ez-toc-widget-container :where(li ul) a {
    padding-block: 0.175rem;
    padding-inline: 0.75rem;
  }

  #ez-toc-container :where(li.active),
  #ez-toc-widget-container :where(li.active) {
    background-color: transparent;
  }

  #ez-toc-container :where(li.active ul):before,
  #ez-toc-widget-container :where(li.active ul):before {
    background-color: #0388fd;
    content: "";
    z-index: 90;
    inset-inline-start: 0;
    width: 5px;
    height: 1rem;
    position: absolute;
    top: 0.45rem;
    bottom: 0.85rem;
    opacity: 1;
  }
  .ez-toc-list :where(li) {
    flex-flow: column wrap;
    flex-shrink: 0;
    align-items: stretch;
    display: flex;
    position: relative;
    font-size: 0.875rem;
  }
  .ez-toc-list :where(li ul) {
    white-space: nowrap;
    margin-inline-start: 1rem;
    padding-inline-start: 0.5rem !important;
    position: relative;
    margin-left: 0 !important;
  }
  .ez-toc-list :where(li ul):before {
    /* background-color: #00182a; */
    opacity: 0.1;
    width: 1px;
    content: "";
    inset-inline-start: 0;
    position: absolute;
    top: 0.85rem;
    bottom: 0.65rem;
  }
  .ez-toc-heading-level-2 > a[class*="ez-toc-heading-"] {
    font-size: 0.875rem;
    padding-inline: 0.75rem;
    padding-block: 0.5rem;
    font-weight: 900;
    padding-left: 0;
    /* color: #000; */
    color: var(--color-base-content);
  }

  @media screen and (max-width: 768px) {
    #ez-toc-container,
    #ez-toc-widget-container {
      max-width: 100%;
      padding: 0.5rem;
      border: 1px solid #eaeaea;
      border-radius: 6px;
    }
    #ez-toc-container .ez-toc-title-container,
    #ez-toc-widget-container .ez-toc-title-container {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }
    #ez-toc-container nav > .ez-toc-list,
    #ez-toc-widget-container nav > .ez-toc-list {
      border-top: 1px solid #eaeaea;
      padding-top: 1rem;
      margin-top: 1rem;
    }
    #ez-toc-container .ez-toc-js-icon-con,
    #ez-toc-widget-container .ez-toc-js-icon-con {
      border: none;
    }
    #ez-toc-container .ez-toc-title-container,
    #ez-toc-widget-container .ez-toc-title-container {
      place-items: center;
      justify-items: center;
    }
    #ez-toc-container .ez-toc-title,
    #ez-toc-widget-container .ez-toc-title {
      font-weight: normal;
      font-family: var(--font-sans);
      font-size: 14px;
    }

    #ez-toc-container .ez-toc-title,
    #ez-toc-container .ez-toc-title-toggle,
    #ez-toc-widget-container .ez-toc-title,
    #ez-toc-widget-container .ez-toc-title-toggle {
      display: inline-flex;
      width: 100%;
      align-items: center;
    }
  }
}

.toc-content-wrapper {
  .toc-headline {
    font-size: var(--text-2xl);
    line-height: var(--text-2xl--line-height);
  }

  h2,
  h3 {
    text-transform: uppercase;
  }
  h1.toc-headline,
  h2,
  h3,
  h4 {
    font-family: var(--font-kilang);
    font-weight: 900;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
    /* line-height: var(--text-3xl--line-height); */
  }

  h3,
  h4 {
    font-size: var(--text-xl);
    line-height: var(--text-xl--line-height);
  }

  a {
    color: var(--color-secondary);

    &:hover {
      text-decoration: underline;
      text-underline-offset: 2px;
    }
  }

  ul {
    list-style: disc;
    padding-left: 0;
    margin-left: 0;
  }
  ol {
    list-style: decimal;
    padding-left: 0;
    margin-left: 0;
  }
  li {
    margin-left: 1rem;
    padding-left: 0;
    position: relative;
    font-size: var(--text-base);
    line-height: var(--text-base--line-height);

    &::marker {
      font-size: 0.8em;
    }
  }
}

body.gr .toc-content-wrapper h2,
body.gr .toc-content-wrapper h3,
body.gr .toc-content-wrapper h4 {
  font-family: var(--font-lewis);
  font-weight: 900;
}

body.gr #ez-toc-container .ez-toc-title,
body.gr #ez-toc-widget-container .ez-toc-title {
  font-size: var(--text-lg);
  line-height: var(--text-lg--line-height);
  font-weight: 900;
  font-family: var(--font-lewis);
  text-transform: uppercase;
}

body.gr .toc-content-wrapper .toc-headline {
  font-size: 2.625rem;
  line-height: 2.75rem;
}

body.gr .toc-content-wrapper h3,
body.gr .toc-content-wrapper h4 {
  font-size: var(--text-xl);
  line-height: var(--text-xl--line-height);
}

/* Country select */
.country-select-modal {
  /* position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 300px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  padding: 1rem; */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}
.country-select-modal.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
  z-index: 100;
  pointer-events: auto;
}

/* Tooltips */
/* .tooltip::before {
  background-color: var(--color-base-100);
  color: var(--color-base-content);
  padding: 1rem;
  font-size: 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
} */

/* Breadcrumbs */

.aioseo-breadcrumb,
.aioseo-breadcrumb > * {
  color: var(--color-error);
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  text-transform: uppercase;
  text-underline-offset: 2px;

  a:hover {
    text-decoration: underline;
  }
}
.aioseo-breadcrumb-separator {
  color: var(--color-error);
}

/* Disclaimer */
.disclaimer-wrapper figure {
  margin-bottom: 0;
}

/* FIX */
footer figure.size-full {
  height: auto !important;
}
.btn.btn-primary.btn-lg.btn-block {
  color: var(--color-primary-content);
}
.btn.btn-primary.btn-lg.btn-block:hover {
  text-decoration: none; 
}
h3.normal-case span, h3.normal-case { text-transform: none !important; }
