:root{
  --bg:#f5f7fb;
  --bg-dark:#0f172a;
  --bg-dark-2:#111827;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --line-dark:#d1d5db;
  --primary:#111827;
  --primary-2:#1f2937;
  --white:#ffffff;
  --shadow:0 18px 40px rgba(15,23,42,.08);
  --shadow-soft:0 8px 24px rgba(15,23,42,.06);
  --radius-xl:24px;
  --radius-lg:18px;
  --radius-md:14px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  overflow-x:hidden;
}

body.rhNewsBody{
  overflow-x:hidden;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans KR","Apple SD Gothic Neo",sans-serif;
  line-height:1.6;
}

a{color:inherit}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}

.rhContainer{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
}

/* =========================
   header
========================= */
.rhTop{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(229,231,235,.9);
}

.rhTopRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.rhTopRowMain{
  min-height:74px;
  padding:12px 0;
}

.rhTopRowNav{
  min-height:56px;
}

.rhTopNavBar{
  border-top:1px solid rgba(229,231,235,.75);
  background:rgba(255,255,255,.92);
}

.rhTopBrandGroup{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:0 0 auto;
}

.rhTopSymbol{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.rhTopSymbol img{
  width:38px;
  height:38px;
  object-fit:contain;
}

.rhTopSubName{
  display:inline-flex;
  align-items:center;
  height:44px;
  border-radius:14px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:-0.02em;
  font-size:24px;
  white-space:nowrap;
}

.rhGnb{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.rhGnbLink{
  display:inline-flex;
  align-items:center;
  height:40px;
  padding:0 14px;
  border-radius:12px;
  text-decoration:none;
  color:#4b5563;
  font-weight:800;
  white-space:nowrap;
}

.rhGnbLink:hover{
  background:#f3f4f6;
  color:#111827;
}

.rhGnbLink.is-on{
  background:#111827;
  color:#fff;
}

.rhTopSearch{
  flex:1 1 auto;
  max-width:460px;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.rhTopSearch input{
  flex:1 1 auto;
  min-width:0;
  height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:0 16px;
  outline:none;
}

.rhTopSearch input:focus{
  border-color:#9ca3af;
  box-shadow:0 0 0 3px rgba(17,24,39,.06);
}

.rhTopSearch button{
  flex:0 0 auto;
  height:44px;
  padding:0 16px;
  border:0;
  border-radius:14px;
  background:var(--primary);
  color:#fff;
  cursor:pointer;
  font-weight:800;
  white-space:nowrap;
}

.rhTopActions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
}

.rhNavBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 16px;
  border-radius:14px;
  text-decoration:none;
  background:var(--primary);
  color:#fff;
  font-weight:800;
  border:0;
  cursor:pointer;
  white-space:nowrap;
}

.rhNavBtnGhost{
  background:#fff;
  color:#111827;
  border:1px solid var(--line);
}

.rhUserMenuWrap{
  position:relative;
}

.rhUserMenuBtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:44px;
  padding:0 14px 0 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:#111827;
  font-weight:800;
  cursor:pointer;
}

.rhUserMenuBtn[aria-expanded="true"]{
  border-color:#111827;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}

.rhUserMenuName{
  max-width:120px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.rhUserMenuCaret{
  font-size:12px;
  color:#6b7280;
}

.rhUserDropdown{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:164px;
  padding:8px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 18px 36px rgba(15,23,42,.12);
}

.rhUserDropdown a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 12px;
  border-radius:12px;
  text-decoration:none;
  color:#111827;
  font-weight:700;
}

.rhUserDropdown a:hover{
  background:#f3f4f6;
}

/* =========================
   mobile header / drawer
========================= */
.rhTopMobileBar,
.rhMobileNavBackdrop,
.rhMobileNav{
  display:none;
}

.rhHamburger{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:#111827;
  cursor:pointer;
  flex:0 0 42px;
}

.rhHamburger span{
  display:block;
  width:18px;
  height:2px;
  border-radius:999px;
  background:#111827;
}

.rhMobileNavBackdrop{
  position:fixed;
  inset:0;
  z-index:130;
  background:rgba(15,23,42,.42);
}

.rhMobileNav{
  position:fixed;
  top:0;
  right:0;
  z-index:140;
  width:min(86vw, 360px);
  height:100vh;
  padding:18px 16px 22px;
  background:#fff;
  border-left:1px solid #e5e7eb;
  box-shadow:-18px 0 40px rgba(15,23,42,.16);
  overflow-y:auto;
}

.rhMobileNavHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:14px;
  border-bottom:1px solid #eef2f7;
}

.rhMobileNavHeader strong{
  font-size:20px;
  font-weight:900;
  letter-spacing:-0.02em;
}

.rhMobileNavClose{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:#111827;
  cursor:pointer;
  font-size:28px;
  line-height:1;
}

.rhMobileNavProfile{
  margin-top:16px;
  padding:14px 16px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#f8fafc;
}

.rhMobileNavProfileLabel{
  color:#6b7280;
  font-size:12px;
  font-weight:800;
}

.rhMobileNavProfileName{
  margin-top:4px;
  color:#111827;
  font-size:18px;
  font-weight:900;
  line-height:1.35;
}

.rhMobileNavActions{
  display:flex;
  gap:8px;
  margin-top:12px;
}

.rhMobileActionBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  border:1px solid var(--line);
  background:#fff;
  color:#111827;
}

.rhMobileActionBtnDark{
  background:#111827;
  border-color:#111827;
  color:#fff;
}

.rhMobileActionBtnLine{
  background:#fff;
  color:#111827;
}

.rhMobileMenu{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #eef2f7;
}

.rhMobileMenuLink{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 14px;
  border-radius:14px;
  text-decoration:none;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  font-weight:800;
}

.rhMobileMenuLink.is-on{
  background:#111827;
  border-color:#111827;
  color:#fff;
}

.rhMobileBottom{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #eef2f7;
}

.rhMobileBottom .rhMobileActionBtn{
  width:100%;
}

body.rhMobileNavOpen{
  overflow:hidden;
}

.rhMobileNavBackdrop[hidden],
.rhMobileNav[hidden]{
  display:none !important;
}

/* =========================
   layout / sections
========================= */
.rhMainWrap{
  min-height:calc(100vh - 180px);
}

.rhHero{
  padding:22px 0 0;
}

.rhHeroBox{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.14), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #111827 55%, #1f2937 100%);
  color:#fff;
  border-radius:28px;
  padding:34px 28px;
  box-shadow:0 24px 60px rgba(15,23,42,.18);
}

.rhHeroText{
  max-width:760px;
}

.rhHeroKicker{
  display:inline-flex;
  align-items:center;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}

.rhHeroText h1{
  margin:14px 0 12px;
  font-size:42px;
  line-height:1.18;
  letter-spacing:-0.03em;
}

.rhHeroText p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:16px;
  line-height:1.75;
}

.rhHeroActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.rhHeroBtnDark,
.rhHeroBtnLine{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
}

.rhHeroBtnDark{
  background:#fff;
  color:#111827;
}

.rhHeroBtnLine{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
}

.rhSection{
  padding:18px 0 0;
}

.rhCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.rhCardTitle{
  margin:0 0 14px;
  font-size:24px;
  line-height:1.3;
  letter-spacing:-0.02em;
}

/* =========================
   footer
========================= */
.rhFooter{
  margin-top:36px;
  border-top:1px solid var(--line);
  background:#fff;
}

.rhFooterIn{
  padding:20px 0 28px;
}

.rhFooterText{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.muted{
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}

.rhFooterCustom{
  margin-top:40px;
  padding:32px 0 40px;
  background:#ffffff;
  border-top:1px solid #e5e7eb;
}

.rhFooterCustom .ncContainer{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.rhFooterNotice{
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#f8fafc;
  color:#4b5563;
  font-size:13px;
  line-height:1.75;
  word-break:keep-all;
}

.rhFooterLinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-bottom:18px;
}

.rhFooterLinks a{
  color:#111827;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.rhFooterLinks a:hover{
  color:#2563eb;
  text-decoration:underline;
}

.rhBizInfo{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 20px;
  padding:18px 0;
  border-top:1px solid #f1f5f9;
  border-bottom:1px solid #f1f5f9;
  color:#4b5563;
  font-size:14px;
  line-height:1.7;
  word-break:keep-all;
}

.rhBizInfo a{
  color:#111827;
  text-decoration:none;
  font-weight:600;
}

.rhBizInfo a:hover{
  text-decoration:underline;
}

.rhCopyright{
  margin-top:16px;
  color:#6b7280;
  font-size:13px;
  line-height:1.6;
}

/* =========================
   modal
========================= */
.rhModal{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(15,23,42,.56);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.rhModal[hidden]{
  display:none !important;
}

.rhModalDialog{
  width:min(680px, 100%);
  background:#fff;
  border-radius:22px;
  padding:26px;
  position:relative;
  box-shadow:0 24px 60px rgba(15,23,42,.24);
}

.rhModalClose{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:24px;
  line-height:1;
}

.rhModalHead{
  margin-bottom:16px;
}

.rhModalTitle{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.3;
}

.rhModalDesc{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

.rhModalForm{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.rhField{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.rhFieldLabel{
  font-size:14px;
  font-weight:700;
  color:#111827;
}

.rhField input,
.rhField textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
  outline:none;
}

.rhField input:focus,
.rhField textarea:focus{
  border-color:#9ca3af;
}

.rhModalActions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding-top:4px;
}

.rhBtnDark,
.rhBtnLine{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding:0 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
}

.rhBtnDark{
  border:0;
  background:#111827;
  color:#fff;
}

.rhBtnLine{
  border:1px solid var(--line);
  background:#fff;
  color:#111827;
}

body.rhModalOpen{
  overflow:hidden;
}

/* =========================
   list / cards
========================= */
.rhNewsGrid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:18px;
  padding-top:18px;
}

.rhNewsMain,
.rhNewsSide{
  min-width:0;
}

.rhNewsList{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.rhNewsItem{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:16px;
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow-soft);
}

.rhNewsThumb{
  width:100%;
  aspect-ratio:16/10;
  border-radius:16px;
  overflow:hidden;
  background:#eef2f7;
}

.rhNewsThumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.rhNewsThumbEmpty{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  background:linear-gradient(135deg,#f3f4f6,#e5e7eb);
  font-size:13px;
  font-weight:700;
}

.rhNewsMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:8px;
}

.rhBadge{
  display:inline-flex;
  align-items:center;
  height:28px;
  padding:0 11px;
  border-radius:999px;
  background:#f3f4f6;
  color:#374151;
  font-size:12px;
  font-weight:800;
}

.rhBadgeDark{
  background:#111827;
  color:#fff;
}

.rhNewsTitle{
  margin:0 0 8px;
  font-size:21px;
  line-height:1.45;
  letter-spacing:-0.02em;
}

.rhNewsTitle a{
  text-decoration:none;
  color:#111827;
}

.rhNewsSummary{
  margin:0;
  color:#4b5563;
  font-size:14px;
  line-height:1.75;
}

.rhNewsActions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.rhBtnMiniDark,
.rhBtnMiniLine{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
}

.rhBtnMiniDark{
  background:#111827;
  color:#fff;
}

.rhBtnMiniLine{
  background:#fff;
  color:#111827;
  border:1px solid var(--line);
}

.rhSideCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.rhSideTitle{
  margin:0 0 12px;
  font-size:20px;
}

.rhChipWrap{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.rhChip{
  display:inline-flex;
  align-items:center;
  height:36px;
  padding:0 12px;
  border-radius:999px;
  text-decoration:none;
  border:1px solid var(--line);
  background:#fff;
  color:#374151;
  font-size:13px;
  font-weight:700;
}

.rhChip.is-on{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.rhPager{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:18px;
}

.rhPager a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 12px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid var(--line-dark);
  background:#fff;
  color:#111827;
  font-weight:700;
}

.rhPager a.is-on{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.rhEmpty{
  padding:42px 18px;
  text-align:center;
  color:#6b7280;
  border:1px dashed #d1d5db;
  border-radius:18px;
  background:#fff;
}

/* =========================
   responsive
========================= */
@media (max-width: 1100px){
  .rhTopRowMain{
    flex-wrap:wrap;
  }

  .rhTopSearch{
    order:3;
    flex:1 1 100%;
    max-width:none;
  }

  .rhNewsGrid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .rhFooterCustom{
    margin-top:28px;
    padding:24px 0 32px;
  }

  .rhFooterCustom .ncContainer{
    padding:0 14px;
  }

  .rhFooterNotice{
    margin-bottom:14px;
    padding:12px 14px;
    font-size:12px;
    line-height:1.7;
  }

  .rhFooterLinks{
    gap:8px 14px;
    margin-bottom:14px;
  }

  .rhFooterLinks a{
    font-size:13px;
  }

  .rhBizInfo{
    grid-template-columns:1fr;
    gap:6px;
    padding:14px 0;
    font-size:13px;
    line-height:1.65;
  }

  .rhCopyright{
    margin-top:14px;
    font-size:12px;
  }
}

@media (max-width: 760px){
  .rhContainer{
    width:calc(100% - 24px);
    max-width:1200px;
  }

  .rhHeroBox{
    padding:24px 18px;
    border-radius:22px;
  }

  .rhHeroText h1{
    font-size:32px;
  }

  .rhTop{
    position:sticky;
    top:0;
  }

  .rhTopRowMain{
    display:none;
  }

  .rhTopMobileBar{
    display:grid;
    grid-template-columns:auto minmax(0, 1fr) auto;
    grid-template-areas:"brand search menu";
    align-items:center;
    gap:10px;
    min-height:64px;
    padding:10px 0;
  }

  .rhTopMobileBar > *{
    min-width:0;
  }

  .rhTopBrandGroupMobile{
    grid-area:brand;
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
  }

  .rhTopBrandGroupMobile .rhTopSymbol{
    width:38px;
    height:38px;
    border-radius:10px;
    background:transparent;
  }

  .rhTopBrandGroupMobile .rhTopSymbol img{
    width:28px;
    height:28px;
  }

  .rhTopBrandGroupMobile .rhTopSubName{
    height:auto;
    font-size:18px;
    line-height:1;
  }

  .rhTopSearchMobile{
    grid-area:search;
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
    max-width:none;
    min-width:0;
  }

  .rhTopSearchMobile input{
    flex:1 1 auto;
    width:100%;
    min-width:0;
    height:40px;
    padding:0 14px;
    border-radius:12px;
  }

  .rhTopSearchMobile button{
    flex:0 0 auto;
    height:40px;
    padding:0 12px;
    border-radius:12px;
    font-size:13px;
  }

  .rhHamburger{
    grid-area:menu;
    justify-self:end;
    align-self:center;
  }

  .rhTopNavBar{
    overflow-x:auto;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }

  .rhTopNavBar::-webkit-scrollbar{
    display:none;
  }

  .rhTopRowNav{
    min-height:auto;
    padding:8px 0 10px;
    overflow:hidden;
  }

  .rhGnb{
    flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }

  .rhGnb::-webkit-scrollbar{
    display:none;
  }

  .rhGnbLink{
    height:40px;
    padding:0 14px;
    flex:0 0 auto;
  }

  .rhMobileNavBackdrop,
  .rhMobileNav{
    display:block;
  }

  .rhNewsItem{
    grid-template-columns:1fr;
  }

  .rhNewsTitle{
    font-size:18px;
  }
}

@media (max-width: 560px){
  .rhTopRowMain{
    gap:12px;
    padding:10px 0;
  }

  .rhTopSymbol{
    width:42px;
    height:42px;
    border-radius:12px;
  }

  .rhTopSymbol img{
    width:26px;
    height:26px;
  }

  .rhTopSubName,
  .rhNavBtn,
  .rhNavBtnGhost,
  .rhUserMenuBtn,
  .rhTopSearch button{
    height:40px;
    border-radius:12px;
  }

  .rhTopSearch input{
    height:40px;
    border-radius:12px;
  }

  .rhTopActions{
    flex-wrap:wrap;
  }

  .rhUserMenuName{
    max-width:84px;
  }

  .rhHeroText h1{
    font-size:28px;
  }

  .rhModalDialog{
    padding:20px 16px;
    border-radius:18px;
  }

  .rhModalActions{
    flex-direction:column;
  }

  .rhBtnDark,
  .rhBtnLine{
    width:100%;
  }
}

@media (max-width: 420px){
  .rhTopMobileBar{
    grid-template-columns:auto minmax(0, 1fr) auto;
    grid-template-areas:"brand search menu";
    gap:8px;
  }

  .rhTopBrandGroupMobile .rhTopSubName{
    font-size:17px;
  }

  .rhTopSearchMobile{
    min-width:0;
  }

  .rhTopSearchMobile input{
    width:100%;
    min-width:0;
    padding:0 12px;
    font-size:14px;
  }

  .rhTopSearchMobile button{
    padding:0 11px;
    font-size:12px;
  }

  .rhHamburger{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .rhMobileNav{
    width:min(90vw, 340px);
    padding:16px 14px 20px;
  }
}