/**
 * Hospital SEO — 와이드 레이아웃 + 3종 비주얼 스킨
 * classic 은 style.css 기본값 유지
 */

/* ---------- Wide layout (공통) ---------- */
.layout-wide .container--wide {
  max-width: 1280px;
}

@media (min-width: 1400px) {
  .layout-wide .container--wide {
    max-width: 1360px;
  }
}

.layout-wide .main-column--wide {
  float: none;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.layout-wide .post {
  padding: 1.65rem 1.75rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.layout-wide .post-content {
  font-size: 1.08rem;
  line-height: 1.9;
}

.layout-wide .header-top--wide {
  align-items: center;
  padding: 0.85rem 0 1rem;
  border-bottom: none;
}

.layout-wide .header-tools {
  max-width: 380px;
}

.layout-wide #search input.text {
  height: 46px;
  border-radius: 999px;
  padding-left: 1.1rem;
}

.layout-wide #search button.submit {
  border-radius: 999px;
  min-width: 4.5rem;
}

/* Hero */
.site-hero {
  position: relative;
  width: 100%;
  min-height: var(--hero-height, 320px);
  background-color: #1a1a2e;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-hero__overlay {
  min-height: var(--hero-height, 320px);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.15) 0%, rgba(10, 12, 20, 0.72) 100%);
}

.site-hero__inner {
  padding: 2.5rem 10px 2.15rem;
}

.site-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.site-hero__title {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.site-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Bottom nav */
.site-bottom-nav {
  margin-top: 0.5rem;
  padding: 1.15rem 0 0.25rem;
}

.channel-nav--bottom {
  justify-content: center;
  gap: 0.55rem;
}

.channel-nav--bottom .channel-btn {
  border-radius: 999px;
  padding: 0.62rem 1.2rem;
  font-size: 0.94rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

/* Bottom widgets */
.bottom-widgets {
  padding: 1.5rem 0 3rem;
}

.bottom-widgets .widget-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.bottom-widgets__meta-grid {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.bottom-widgets .widget.widget--bottom {
  margin-bottom: 0;
  min-height: auto;
  height: auto;
}

@media (max-width: 991px) {
  .bottom-widgets__meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bottom-widgets {
    padding: 1.75rem 0 2.75rem;
  }

  .bottom-widgets__meta-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }

  .bottom-widgets .widget.widget--bottom {
    width: 100%;
    min-height: auto;
    height: auto;
  }

  #footer.site-footer--rich {
    margin-top: 0.25rem;
    padding-top: 2.25rem;
  }

  .channel-nav--bottom {
    justify-content: stretch;
  }

  .channel-nav--bottom .channel-btn {
    flex: 1 1 calc(50% - 0.35rem);
    text-align: center;
  }

  .site-hero__inner {
    padding: 1.75rem 10px 1.35rem;
  }
}

/* Rich footer (와이드 스킨 — #footer 기본 밝은 배경보다 우선) */
#footer.site-footer--rich {
  margin-top: 0;
  padding: 2.75rem 1rem 2.5rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
  border-top: none;
  background: linear-gradient(165deg, #121826 0%, #1c2433 55%, #111827 100%);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__name {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.site-footer__line,
.site-footer__hours {
  margin: 0.35rem 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__line a {
  color: #fff;
  border-bottom: none;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.footer-cta-btn,
.footer-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.footer-cta-btn:hover,
.footer-link-btn:hover {
  transform: translateY(-1px);
}

.footer-link-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.site-footer__extra {
  margin: 1.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__copy {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Skin: Luxe (로즈골드 · 뷰티) ---------- */
.skin-luxe {
  --brand: #b76e79;
  --brand-deep: #8f4f59;
  --brand-soft: #fceef0;
  --accent: #c9a063;
  --ink: #2a2224;
  --ink-soft: #4a4043;
  --paper: #fdf8f8;
  --line: #ecdde0;
}

.skin-luxe.layout-wide {
  background:
    radial-gradient(1100px 480px at 0% -5%, #fde8ec 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #fff6e8 0%, transparent 50%),
    var(--paper);
}

.skin-luxe .site-hero {
  background-color: #3d2c32;
}

.skin-luxe .site-hero__overlay {
  background: linear-gradient(135deg, rgba(61, 44, 50, 0.25) 0%, rgba(183, 110, 121, 0.55) 100%);
}

.skin-luxe .channel-nav--bottom .channel-btn {
  background: #fff;
  border-color: #efd5da;
}

.skin-luxe .channel-nav--bottom .channel-btn--sister,
.skin-luxe .channel-nav--bottom .channel-btn--home {
  background: linear-gradient(135deg, #c9a063 0%, #b76e79 100%);
  border-color: transparent;
  color: #fff;
}

.skin-luxe .footer-cta-btn {
  background: linear-gradient(135deg, #d4a574 0%, #b76e79 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(183, 110, 121, 0.35);
}

.skin-luxe .footer-link-btn--accent {
  background: rgba(201, 160, 99, 0.18);
  border-color: rgba(201, 160, 99, 0.45);
  color: #f5e6c8 !important;
}

.skin-luxe .post-summary .more a,
.skin-luxe .post-summary .more-link,
.skin-luxe.layout-wide #search button.submit {
  background: linear-gradient(135deg, #c9a063 0%, #b76e79 100%);
  border-color: transparent;
  color: #fff;
}

/* ---------- Skin: Aurora (오로라 · 그라데이션) ---------- */
.skin-aurora {
  --brand: #6d5ce8;
  --brand-deep: #4f3fc9;
  --brand-soft: #f0ecff;
  --accent: #e879a8;
  --ink: #1f2233;
  --ink-soft: #434861;
  --paper: #f7f8fc;
  --line: #dde3f2;
}

.skin-aurora.layout-wide {
  background:
    radial-gradient(1000px 500px at 10% -10%, #e8e0ff 0%, transparent 55%),
    radial-gradient(900px 480px at 90% 0%, #ffe5f1 0%, transparent 50%),
    var(--paper);
}

.skin-aurora .site-hero {
  background-color: #2d2a54;
}

.skin-aurora .site-hero__overlay {
  background: linear-gradient(120deg, rgba(109, 92, 232, 0.55) 0%, rgba(232, 121, 168, 0.45) 100%);
}

.skin-aurora .channel-nav--bottom .channel-btn {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border-color: rgba(109, 92, 232, 0.18);
}

.skin-aurora .channel-nav--bottom .channel-btn--sister,
.skin-aurora .channel-nav--bottom .channel-btn--home {
  background: linear-gradient(135deg, #6d5ce8 0%, #e879a8 100%);
  border-color: transparent;
  color: #fff;
}

.skin-aurora #footer.site-footer--rich {
  background: linear-gradient(165deg, #2a2650 0%, #3a3270 52%, #221f42 100%);
}

.skin-aurora .footer-cta-btn {
  background: linear-gradient(135deg, #6d5ce8 0%, #e879a8 100%);
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(109, 92, 232, 0.35);
}

.skin-aurora .footer-link-btn--accent {
  border-color: rgba(232, 121, 168, 0.45);
  background: rgba(109, 92, 232, 0.22);
  color: #f8e8ff !important;
}

.skin-aurora .post {
  border-color: rgba(109, 92, 232, 0.12);
}

.skin-aurora.layout-wide #search button.submit {
  background: linear-gradient(135deg, #6d5ce8 0%, #8b7cf0 100%);
  color: #fff;
}

/* ---------- Skin: Prestige (프레스티지 · 네이비 골드) ---------- */
.skin-prestige {
  --brand: #1e3a5f;
  --brand-deep: #142a46;
  --brand-soft: #e8eef5;
  --accent: #c9a227;
  --ink: #152033;
  --ink-soft: #334155;
  --paper: #f4f6f9;
  --line: #d5dde8;
}

.skin-prestige.layout-wide {
  background:
    radial-gradient(1000px 480px at 0% 0%, #e8eef5 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.skin-prestige .site-hero {
  background-color: #0f1c2e;
}

.skin-prestige .site-hero__overlay {
  background: linear-gradient(180deg, rgba(15, 28, 46, 0.2) 0%, rgba(15, 28, 46, 0.82) 100%);
}

.skin-prestige .site-hero__title {
  max-width: 22ch;
}

.skin-prestige .channel-nav--bottom .channel-btn {
  background: #fff;
  border-color: #c5d0de;
  color: var(--brand-deep);
}

.skin-prestige .channel-nav--bottom .channel-btn--sister,
.skin-prestige .channel-nav--bottom .channel-btn--home {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(201, 162, 39, 0.45);
}

.skin-prestige .footer-cta-btn {
  background: linear-gradient(180deg, #d4af37 0%, #b8891d 100%);
  color: #1a2332 !important;
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.28);
}

.skin-prestige #footer.site-footer--rich {
  background: linear-gradient(165deg, #0c1624 0%, #142a46 50%, #0a1220 100%);
}

.skin-prestige .footer-link-btn--accent {
  border-color: rgba(201, 162, 39, 0.5);
  color: #f0d78c !important;
}

.skin-prestige.layout-wide #search button.submit {
  background: var(--brand-deep);
  color: #fff;
}

.skin-prestige .hub-header,
.skin-prestige .post {
  border-color: #c5d0de;
}
