/**
 * ============================================================================
 * HEADER STYLESHEET
 * ============================================================================
 *
 * Contains all header-related styles including:
 * - Site wrapper
 * - Hot line / Alert bar
 * - Main header
 * - Navigation links
 * - Sticky header
 * - Mega menu
 * - Search overlay
 *
 * ============================================================================
 */


/* ==========================================================================
   SITE WRAPPER
   ========================================================================== */

.site-wrap {
    max-width: 1360px;
    margin: 0 auto;
}

.site-wrap.article {
    max-width: 960px; /* 1160px */
    margin: 0 auto;
}


/* ==========================================================================
   HOT LINE / ALERT BAR
   ========================================================================== */

.is-hot-line {
    background: #C71A1A;
    padding: 10px 0;
    box-sizing: border-box;
}

.info-top {
    display: flex;
    gap: 5px;
}

.info-top span {
    font-size: 13px;
    color: #fff;
}

.info-top .see-more {
    width: 22px;
    height: 22px;
    background: url("../img/exl.svg") no-repeat center;
    background-size: 100%;
}


/* ==========================================================================
   MAIN HEADER
   ========================================================================== */

header {
    background: #195d7f;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 15px 0 0 0;
    box-sizing: border-box;
    z-index: 99;
}


/* Logo
   -------------------------------------------------------------------------- */

.logo {
    /* Block-level default behavior */
}


/* ==========================================================================
   HEADER BACKGROUND VARIATIONS
   ========================================================================== */

.background-header {
    background: #195d7f;
}

.background-header.is-top {
    padding-bottom: 10px;
    box-sizing: border-box;
}

.background-header.is-bottom {
    background: #195d7f;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 1px solid #EDF7FB;
    padding: 15px 0;
    margin-top: 10px;
    box-sizing: border-box;
}


/* ==========================================================================
   TOP HEADER
   ========================================================================== */

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Links Part
   -------------------------------------------------------------------------- */

.links-part {
    display: flex;
    gap: 20px;
}


/* Top Links
   -------------------------------------------------------------------------- */

.top-link {
    font-size: 15px;
    color: #fff;
    padding: 12px 15px;
    box-sizing: border-box;
    border-radius: 4px;
}

.top-link:hover {
    background: #2d7896;
}

.top-link.active {
    background: #2d7896;
}

.top-link.is-icon {
    position: relative;
    padding-right: 30px;
    box-sizing: border-box;
}

.top-link.is-icon::after {
    position: absolute;
    content: "";
    right: 5px;
    top: 9px;
    width: 16px;
    height: 16px;
    background: url(../img/arrow-diagonal.svg) no-repeat center;
    background-size: 100%;
}


/* Right Part Icons
   -------------------------------------------------------------------------- */

.right-part-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}


/* ==========================================================================
   BOTTOM HEADER / NAVIGATION
   ========================================================================== */

.bottom-header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.bottom-link {
    font-size: 15px;
    color: #fff;
}

.bottom-link.is-icon {
    position: relative;
    padding-left: 30px;
    box-sizing: border-box;
}

.bottom-link.is-icon::before {
    position: absolute;
    content: "";
    left: 10px;
    top: 0;
    width: 16px;
    height: 16px;
    background: url(../img/play.svg) no-repeat center;
    background-size: 100%;
}


/* ==========================================================================
   MENU ICON
   ========================================================================== */

.menu-icon {
    width: 30px;
}

.menu-icon img {
    display: block;
    width: 100%;
}


/* ==========================================================================
   NOTIFICATION ICON
   ========================================================================== */

.notification-icon {
    position: relative;
}

.notification-badge {
    position: absolute;
    right: -7px;
    top: -17px;
    width: 16px;
    height: 16px;
    padding: 2px;
    font-size: 10px;
    background: #C71A1A;
    color: #fff;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
}

.notification-badge.dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border-radius: 50%;
}

 

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */

.sticky-header {
    background: #fff;
    border-radius: 0;
    display: none;
    border-bottom: 1px solid #D8E7EE;
}

.sticky-header .top-link {
    color: #000;
}

.sticky-header .top-link.active {
    color: #fff;
}

.sticky-header.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    z-index: 99;
    padding: 15px 0;
    box-sizing: border-box;
}


/* ==========================================================================
   MEGA MENU
   ========================================================================== */

.is-mega-menu {
    background: #fff;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 9;
    display: none;
    padding: 30px 0;
    box-sizing: border-box;
}

.is-mega-menu,
.is-mega-menu-mobile {
    display: none;
}


/* Menu Title
   -------------------------------------------------------------------------- */

.menu-title {
    font-size: 32px;
    font-weight: 600;
    font-family: "Source Serif 4", serif;
}


/* Menu Layout
   -------------------------------------------------------------------------- */

.left-menu {
    width: 60%;
}

.right-menu {
    width: 40%;
}


/* Mega Menu Buttons
   -------------------------------------------------------------------------- */

.mega-menu-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.btn {
    width: 50%;
    height: 45px;
    line-height: 45px;
}

.login-btn {
    border: 1px solid #0083B7;
    border-radius: 4px;
    text-align: center;
}
.login-btn.btn:hover {
    text-decoration: none;
    color: #0083B7 !important;
}

.account-btn {
    background: #0083B7;
    border: 1px solid #0083B7;
    color: #fff;
    border-radius: 4px;
    text-align: center;
}

.profile {
    background-color: var(--bg-light-blue);
    padding: 8px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    display: none;
    margin-bottom: 16px;
}
.profile .person {
    width: 52px;
    height: 52px;
    background: var(--color-white);
    border-radius:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile .profile-details {
    display: flex;
    flex-direction: column;
    justify-content: center;    
    align-items: flex-start;
    gap: 6px;
}

/* Input Wrap
   -------------------------------------------------------------------------- */

.inp-wrap {
    display: flex;
    gap: 10px;
}

.inp-wrap input {
    width: 60%;
    height: 45px;
    padding-left: 10px;
    box-sizing: border-box;
    border: 1px solid #0083B7;
}

.submit {
    width: 40%;
    height: 45px;
    border: 1px solid #0083B7;
    background: #fff;
}


/* Menu Columns
   -------------------------------------------------------------------------- */

.menu-colums {
    display: flex;
    flex-wrap: wrap;
}

.menu-colums .footer-colum {
    width: 33%;
}


/* Mega Menu Links
   -------------------------------------------------------------------------- */

.mega-menu-links {
    margin-top: 30px;
}

.mega-menu-links .footer-logos {
    background: none;
    padding: 0;
}


/* Show/Hide Links
   -------------------------------------------------------------------------- */

.show-hide-links {
    display: none;
}

.show-hide-links.active {
    display: block;
}


/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */

.is-open-search {
    background: #fff;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 30px 0;
    box-sizing: border-box;
    display: none;
}

.is-open-search.active {
    display: block;
}

.search-container {
    /* Block-level default behavior */
}


/* More Menu News
   -------------------------------------------------------------------------- */

.more-menu-news {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.more-menu-news .info {
    width: calc(50% - 10px);
}


.menu-overlay {
    height: 0;
    width: 100%;
    background: #fff;
    z-index: 8;
    overflow-y: auto;
    overflow-x: hidden;
    --_height-offset: 0px;
    max-height: calc(100vh - var(--_height-offset));
    max-height: calc(100svh - var(--_height-offset));
    box-sizing: border-box;
}

.menu-overlay .site-wrap {
    background-color: #fff;
}

.menu-overlay.open {
    height: auto;
    display: block;
    position: static;
    padding: 2.5em 0 1em 0;
}

#backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
}

#search-box {
    padding: 30px 0;
}

#side-menu {
    padding: 20px;
    box-sizing: border-box;
    transform: translateY(0);
    transform: translateX(100%);
}

#side-menu.menu-overlay[aria-hidden="false"] {
    transform: translateX(0);
}

.mobile-box span.icon img {
   height: 20px;
}

  header {
    position: relative;
    z-index: 100;
  }
  
  header .top-link {
    font-weight: 500;
    font-size: 18px;
    margin: 3px 0 0 0;
  }
  
  header.sticky .top-link {
    font-weight: 400;
    font-size: 15px;
  }
  
  .header:has(.menu-overlay.open) {
      position: absolute;
      top: 0;
      width: 100vw;
  }
  
  header .menu-overlay {
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px);
    
    transition:
        max-height .35s ease,
        transform .35s ease;
  }
  
  header .menu-overlay.open {
    max-height: 1080px;
    transform: translateY(0);
  }
  
    
  header .logo-part.dark {
    display: none;
  }
  
  header.sticky {
    position: fixed;
    width: 100vw;
    background: #fff;
    border-bottom: 1px solid #D8E7EE;
    box-shadow: 0px 30px 45px 0px rgba(0,0,0,0.1);
    padding: 0.5em 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 100;
    top: 0px;
  }
  
  header.sticky .logo-part.dark {
    display: block;
  }
  
  header.sticky .logo-part.dark img {
    width: 250px;
  }
  
  header.sticky .logo-part.light {
    display: none;
  }
  
  header.sticky .background-header.is-top {
    padding: 0;
  }
  
  header.sticky .top-link {
    color: #000;
  }
  
  header.sticky .top-link.active {
    color: #fff;
  }
  
  header.sticky .top-link:hover {
    color: #fff;
  }
  
  header.sticky .right-part-icons .notification-icon img, header.sticky .right-part-icons .search-icon img, header.sticky .right-part-icons .profile-icon img {
    filter: brightness(0);
  }
  
  header.sticky .background-header.is-bottom {
    display: none !important;
  }
    
  header.sticky .background-header {
    background: #fff;
  }
  /*
  header.sticky .top-link {
    text-transform: none;
  }
  
  header .top-link {
    text-transform: uppercase;
  }
  */
  
  #search-menu .search-container {
    padding: 1em 5em;
    max-width: 1360px;
    margin: 0 auto;
  }
  
  @media screen and (max-width: 650px) {
    #search-menu .search-wrap {
        gap: 10px;
    }
  
    #search-menu .search-container {
      padding: 10px 10px;
    }
    
    #search-menu.menu-overlay.open {
      padding: 20px 0 0 0;
      margin: 15px 0 0 0;
    }
    
    #search-menu .search-wrap .search-btn {
      display: block;
      padding: 0 30px;
      width: auto;
    }
    
    #search-menu .search-wrap .search-btn .label {
      display: none;
    }
  }
  
  footer #side-menu {
    display: none;
  }
  
  footer #side-menu.open {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
  }
  
  
  /* RADIO Players */
 
 #radio-player-desktop {
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      user-select: none;
  }
  
  #radio-player-desktop .audio-icon {
      width: 0;
      height: 19px;
      margin-right: 0;
      overflow: hidden;
      flex-shrink: 0;
  
      opacity: 0;
      transform: translateX(-10px) scale(.4);
  
      transition:
          width .35s cubic-bezier(.34,1.56,.64,1),
          margin-right .35s cubic-bezier(.34,1.56,.64,1),
          opacity .2s ease,
          transform .35s cubic-bezier(.34,1.56,.64,1);
  }
  
  #radio-player-desktop.has-icon .audio-icon {
      width: 20px;
      margin-right: 8px;
      opacity: 1;
      transform: translateX(0) scale(1);
  }
  
  #radio-player-desktop .audio-icon::before {
      content: "";
      display: block;
      width: 18px;
      height: 18px;
      color: currentColor;
  
      transition:
          transform .25s cubic-bezier(.34,1.56,.64,1),
          clip-path .25s ease,
          background .25s ease;
  }
  
  #radio-player-desktop.has-icon:not(.playing) .audio-icon::before {
      background: currentColor;
      clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
  
  #radio-player-desktop.has-icon.playing .audio-icon::before {
      clip-path: none;
      background:
          linear-gradient(
              to right,
              currentColor 0 36%,
              transparent 36% 64%,
              currentColor 64% 100%
          );
  }
  
  #radio-player-desktop.is-switching .audio-icon::before {
      animation: audioIconBounce .28s cubic-bezier(.34,1.56,.64,1);
  }
  
  @keyframes audioIconBounce {
      0% {
          transform: scale(.65) rotate(-8deg);
      }
      60% {
          transform: scale(1.25) rotate(4deg);
      }
      100% {
          transform: scale(1) rotate(0);
      }
  } 
 

 header.sticky .background-header.is-bottom {
    display: none;  
 }