:root {
  --ha-coral: #e05a3c;
  --ha-coral-dark: #c4472c;
  --ha-ink: #1c2430;
  --ha-slate: #4a5563;
  --ha-mist: #eef2f5;
  --ha-line: #e2e6ec;
  --ha-paper: #fafbfc;
  --ha-deep: #15202b;
  --ha-mint: #3ba99c;
  --ha-white: #ffffff;
}

body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif !important;
  color: var(--ha-ink);
  background: var(--ha-paper);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--ha-ink); }

#hd,
#wrapper,
#ft {
  min-width: 0 !important;
}

#hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.94) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ha-line);
}

#hd_wrapper,
#gnb .gnb_wrap,
#container_wr,
#ft_wr {
  width: min(1120px, calc(100% - 32px)) !important;
}

#hd_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: auto !important;
  min-height: 76px;
  padding: 12px 0;
}

.ha-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  flex-shrink: 0;
}

.ha-brand__en {
  font-family: "Syne", "Noto Sans KR", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ha-ink);
}

.ha-brand__ko {
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ha-coral);
}

.hd_sch_wr,
#hd_sch,
.hd_sch_wr .popular {
  display: none !important;
}

.hd_login {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hd_login li {
  float: none !important;
  margin: 0 !important;
}

.hd_login a {
  color: var(--ha-slate) !important;
  font-weight: 700;
  font-size: 14px;
}

.hd_login a:hover { color: var(--ha-coral) !important; }

.hd_login a.ha-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ha-ink);
  color: #fff !important;
  font-size: 13px !important;
}

.hd_login a.ha-cta:hover,
.hd_login a.ha-cta:focus {
  background: var(--ha-coral);
  color: #fff !important;
}

#gnb {
  background: transparent !important;
}

#gnb #gnb_1dul {
  border-bottom: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

#gnb .gnb_1dli {
  float: none !important;
  line-height: 1.2 !important;
}

#gnb .gnb_1da {
  color: var(--ha-slate) !important;
  font-weight: 700;
  padding: 12px 10px !important;
}

#gnb .gnb_1dli:hover > a,
#gnb .gnb_1da:hover {
  color: var(--ha-coral) !important;
  background: transparent !important;
}

#gnb .gnb_menu_btn {
  background: var(--ha-ink) !important;
}

#wrapper {
  background: var(--ha-paper);
}

#container_wr {
  padding: 24px 0 60px;
}

#container {
  width: auto !important;
}

#aside { display: none !important; }

.ha-hero {
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  margin: 8px 0 36px;
  background:
    linear-gradient(135deg, rgba(21, 32, 43, 0.82), rgba(21, 32, 43, 0.5)),
    url("https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.ha-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 28px;
  align-items: end;
  padding: 56px 40px;
}

.ha-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #ffb59e;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ha-hero h2 {
  margin: 0;
  font-family: "Syne", "Noto Sans KR", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.ha-hero p {
  max-width: 38rem;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.ha-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ha-btn-primary,
.ha-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.ha-btn-primary {
  background: var(--ha-coral);
  color: #fff !important;
}

.ha-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
}

.ha-hero-card {
  background: #fff;
  color: var(--ha-ink);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(21, 32, 43, 0.08);
}

.ha-hero-card h3 { margin: 0 0 8px; }
.ha-hero-card p { color: var(--ha-slate); margin: 0; }

.ha-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.ha-stats li {
  background: var(--ha-mist);
  border-radius: 14px;
  padding: 12px;
}

.ha-stats strong {
  display: block;
  color: var(--ha-coral);
}

#ft {
  background: var(--ha-deep) !important;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 48px;
}

#ft a { color: #ffb59e !important; }

.ha-admin-link {
  color: #c0c0c0 !important;
}

.ha-login-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
}

.ha-login-logo img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 16px;
}

#container_title span {
  color: var(--ha-ink);
  border-bottom-color: var(--ha-coral) !important;
}

.latest_top_wr,
.pic_lt,
.lat {
  border-color: var(--ha-line) !important;
}

.lt_more {
  font-size: 16px !important;
  color: var(--ha-coral) !important;
  width: 28px !important;
  font-weight: 700;
}

#gnb.hd_div {
  background: var(--ha-paper);
}

#gnb.hd_div .gnb_1da {
  color: var(--ha-ink);
  border-bottom-color: var(--ha-line);
}

header#hd {
  background: var(--ha-paper) !important;
}

#gnb_open,
#user_btn {
  color: var(--ha-ink) !important;
}

.ha-gnb-toggle {
  display: none;
}

@media (max-width: 980px) {
  .ha-hero__inner {
    grid-template-columns: 1fr;
    padding: 40px 22px;
  }

  .ha-stats {
    grid-template-columns: 1fr;
  }

  #hd_wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hd_login {
    margin-left: auto;
    width: auto;
    flex-wrap: wrap;
  }

  #container {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 !important;
  }

  .ha-gnb-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--ha-line);
    border-radius: 999px;
    background: var(--ha-white);
    color: var(--ha-ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .ha-gnb-toggle__icon,
  .ha-gnb-toggle__icon::before,
  .ha-gnb-toggle__icon::after {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ha-ink);
    position: relative;
    transition: 0.2s;
  }

  .ha-gnb-toggle__icon::before,
  .ha-gnb-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .ha-gnb-toggle__icon::before { top: -5px; }
  .ha-gnb-toggle__icon::after { top: 5px; }

  #gnb {
    position: relative;
  }

  #gnb .gnb_wrap {
    display: block;
    padding: 0 0 12px;
  }

  #gnb #gnb_1dul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 10px;
    padding: 8px 12px 12px;
    background: var(--ha-paper);
    border: 1px solid var(--ha-line);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(21, 32, 43, 0.12);
  }

  #gnb.is-open #gnb_1dul {
    display: flex;
  }

  #gnb .gnb_1dli {
    width: 100%;
  }

  #gnb .gnb_1da {
    display: block;
    padding: 14px 8px !important;
    border-bottom: 1px solid var(--ha-line);
    color: var(--ha-ink) !important;
  }

  #gnb .gnb_1dli:last-child .gnb_1da {
    border-bottom: 0;
  }

  #gnb .gnb_mnal,
  #gnb_all,
  #gnb_all_bg {
    display: none !important;
  }

  .latest_top_wr,
  .latest_wr {
    margin: 0 0 16px !important;
  }

  .pic_li_lt,
  .lt_wr,
  .pic_lt {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    clear: both !important;
  }

  .latest_top_wr .pic_li_lt:nth-child(3n+1),
  .lt_wr:nth-child(3n+1),
  .pic_lt li.galley_li:nth-child(4n+1) {
    clear: both !important;
  }

  .pic_lt ul {
    margin: 0 !important;
  }

  .pic_lt li,
  .pic_lt li.galley_li {
    float: none !important;
    width: 100% !important;
    padding: 0 0 16px !important;
  }

  #ft_wr {
    display: flex !important;
    flex-direction: column;
    width: min(1120px, calc(100% - 32px)) !important;
    text-align: left !important;
    padding: 28px 0 !important;
  }

  #ft_wr .ft_cnt,
  #ft_wr #visit,
  #ft_wr .notice {
    float: none !important;
    width: 100% !important;
    padding: 0 0 24px !important;
  }

  #ft_copy {
    width: 100% !important;
    box-sizing: border-box;
  }
}
