/* FONT ===================================================== */

@font-face {
  font-family: 'HanwhaGothic';
  src: url('/QR/fonts/HanwhaGothicR.ttf') format('truetype'),
    url('/QR/fonts/HanwhaGothicR_OTF.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HanwhaGothic';
  src: url('/QR/fonts/HanwhaGothicL.ttf') format('truetype'),
    url('/QR/fonts/HanwhaGothicL_OTF.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HanwhaGothic';
  src: url('/QR/fonts/HanwhaGothicEL.ttf') format('truetype'),
    url('/QR/fonts/HanwhaGothicEL_OTF.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'HanwhaGothic';
  src: url('/QR/fonts/HanwhaGothicT.ttf') format('truetype'),
    url('/QR/fonts/HanwhaGothicT_OTF.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'HanwhaGothic';
  src: url('/QR/fonts/HanwhaGothicB.ttf') format('truetype'),
    url('/QR/fonts/HanwhaGothicB_OTF.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/*  Hanwha fonts ===================================================== */

@font-face {
  font-family: 'Hanwha';
  src: url('/QR/fonts/HanwhaR.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hanwha';
  src: url('/QR/fonts/HanwhaB.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}  
  
.div {
  width: 100%;
  position: relative;
  background-color: #fff;
  height: 1000px;
  overflow: hidden;
  text-align: left;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
}
.image-1857-icon {
  position: absolute;
  top: 220px;
  left: calc(50% - 960px);
  width: 1920px;
  height: 666px;
  object-fit: cover;
}

/* --- HEADER CSS --- */
.header {
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #dcdcdc;
  box-sizing: border-box;
  width: 100%;
  height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  font-family: NanumSquare;
  z-index: 10;
}
.header-inner {
  width: 1240px;
  height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
}
.symbol-icon { width: 26.2px; position: relative; height: 26.2px; }
.logo-bold { width: 65.5px; position: relative; height: 22.3px; }
.symbol-parent {
  width: 96.8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
}
.text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.headermenu {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}
.div2 { position: relative; line-height: 20px; font-weight: 300; }
.faq { position: relative; line-height: 20px; }
.headermenu1 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}
.headermenu2 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}
.headermenu-parent {
  width: 439px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
}
.header1 {
  position: relative;
  background-color: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-size: 16px;
  color: #fff;
  font-family: NanumSquare;
  z-index: 10;
}
.header-child {
  width: 1240px;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;margin-right: 140px;
}
.frame-wrapper {
  width: auto;
}
.parent2 {
  align-self: stretch;
  width: 439px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
}

/* --- UNIFIED NAVIGATION STYLING (NEW) --- */
.nav-link {
  font-weight: 800; /* Bold */
  color: grey;      /* Default color */
  line-height: 20px;
}
.nav-link.active-black {
  color: black;
}
.nav-link.active-yellow {
  color: #fae100;
}
/* --- END OF NEW CSS --- */
    /* Main Content: Title & Cards */
    .title-parent {
      position: absolute;
      top: calc(50% - 426px);
      left: calc(50% - 620px);
      width: 1240px;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 64px 0px 0px;
      box-sizing: border-box;
      gap: 100px;
      font-size: 30px;
      color: #000;
    }
    .title { display: flex; align-items: center; gap: 20px; }
    .icon-megaphone { width: 40px; height: 40px; }
    .qr { line-height: 140%; font-weight: 800; text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); }
    .card { align-self: stretch; display: flex; justify-content: center; }
    .icon-left-parent { flex: 1; display: flex; align-items: center; justify-content: space-between; }
    .icon-left, .icon-right { 
      width: 51.1px; 
      height: 51.1px; 
      cursor: pointer;
      z-index: 5;
    }

    /* Carousel Styles */
    .group {
      width: 1100px;
      overflow: hidden;
    }
    .cards-container-inner {
      display: flex;
      gap: 33px;
      transition: transform 0.5s ease-in-out;
    }
    .news-card {
      box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.2s, opacity 0.2s;
      cursor: pointer;
      line-height: 0;
      width: 250px;
      flex-shrink: 0;
    }
    .news-card:hover {
      opacity: 0.85;
      transform: translateY(-5px);
    }
    .news-card img {
      display: block;
      width: 100%;
      height: auto;
    }

    .t-070-4252-5571-parent { display: flex; gap: 24px; }
    .parent1 { display: flex; gap: 24px; font-size: 15px; color: #222; }

    /* Popup Styles */
    .frame-parent1 {
      position: fixed;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.6);
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 50px 0px;
      box-sizing: border-box;
      z-index: 100;
    }
    .frame-wrapper1 {
      background-color: #fff;
      padding: 30px;
      z-index: 101;
      border-radius: 0px;
      position: relative;
      max-width: 800px;
      width: 90%;
    }
    .parent5 {
      max-height: 85vh;
      overflow-y: auto;
    }
    #popup-content-image {
      width: 100%;
      height: auto;
      display: block;
    }
    .frame-item {
      width: 30px;
      height: 30px;
      position: absolute;
      top: 40px;
      right: 450px;
      z-index: 102;
      cursor: pointer;
    }

    /* Button Styles */
    .text-button {
      background: none;
      border: none;
      padding: 0;
      margin: 0;
      font: inherit;
      color: inherit;
      cursor: pointer;
      text-align: inherit;
      transition: opacity 0.2s ease;
    }
    .text-button:hover {
      opacity: 0.7;
    }
    .text-button.active {
      cursor: default;
    }
    .text-button.active:hover {
      opacity: 1;
    }