:root {
      --black: #0f0f0f;
      --white: #ffffff;
      --cream: #FAF9F7;
      --cream-dark: #FAF9F7;
      --gold: #8C7148;
      --gold-light: #A6895A;
      --gray-light: #E6E4E0;
      --gray-mid: #87847E;
      --gray-dark: #3d3a35;
      --nav-height: 72px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Noto Sans KR', sans-serif;
      background: var(--cream);
      color: var(--black);
      overflow-x: hidden;
      word-break: keep-all;
      overflow-wrap: break-word;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      width: 100%;
      padding: 0 40px;
    }


    .nav-inner {
      max-width: 1280px;
      margin: 0 auto;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
    }
    /* nav 자체는 padding 제거, nav-inner가 처리 */

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      height: var(--nav-height);
      background: rgba(250,249,247,0.97);
      backdrop-filter: blur(12px);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px;
      z-index: 1000;
      border-bottom: 1px solid var(--gray-light);
    }

    .nav-logo {
      display: flex; align-items: center; gap: 14px;
      text-decoration: none;
    }
    .nav-logo img { height: 36px; }
    .nav-logo-text {
      font-family: 'Playfair Display', 'Noto Sans KR', serif;
      color: var(--black);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }
    .nav-logo-text .lv-accent { color: var(--gold); }
    .nav-logo img { border-radius: 3px; }

    .nav-links {
      display: flex; align-items: center; gap: 36px;
      list-style: none;
    }
    .nav-links a {
      color: rgba(15,15,15,0.65);
      text-decoration: none;
      font-size: 14px;
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--black); }

    .nav-right {
      display: flex; align-items: center; gap: 16px;
    }

    .lang-toggle {
      display: flex; border: 1px solid var(--gray-light); border-radius: 20px; overflow: hidden;
    }
    .lang-toggle button {
      background: none; border: none; cursor: pointer;
      padding: 5px 14px;
      font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
      color: rgba(15,15,15,0.45);
      transition: all 0.2s;
    }
    .lang-toggle button.active {
      background: var(--black); color: var(--white);
    }

    .nav-cta {
      background: var(--black);
      color: var(--white) !important;
      padding: 8px 20px !important;
      border-radius: 8px;
      font-weight: 500 !important;
      letter-spacing: 0.05em !important;
      transition: opacity 0.2s !important;
    }
    .nav-cta:hover { opacity: 0.85; }

    /* ── HERO ── */
    .hero {
      min-height: 90vh;
      background: var(--cream);
      display: flex;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -200px; right: 30%;
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(184,149,63,0.07) 0%, transparent 70%);
      pointer-events: none;
    }


    .hero-inner {
      max-width: 1280px;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding-top: var(--nav-height);
    }

    .hero-content {
      display: flex; flex-direction: column; justify-content: center;
      padding: 80px 64px 80px 80px;
      position: relative; z-index: 2;
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      border: 1px solid rgba(184,149,63,0.6);
      border-radius: 2px;
      padding: 6px 14px;
      margin-bottom: 40px;
      width: fit-content;
    }
    .hero-badge span {
      font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--gold); font-weight: 700;
    }
    .hero-badge::before {
      content: '';
      width: 6px; height: 6px;
      background: var(--gold);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
    }

    .hero-title strong {
      font-weight: 700;
      display: block;
    }
    .hero-title em {
      font-style: italic;
      color: var(--gold);
      font-weight: 400;
    }

    .hero-sub {
      font-size: 17px;
      color: rgba(15,15,15,0.8);
      margin-bottom: 48px;
      line-height: 1.7;
      font-weight: 400;
      max-width: 420px;
    }

    .hero-buttons {
      display: flex; gap: 16px; flex-wrap: wrap;
      margin-bottom: 72px;
    }

    .btn-primary {
      background: var(--black);
      color: var(--white);
      padding: 16px 32px;
      border: none; border-radius: 8px;
      font-size: 14px; font-weight: 500;
      letter-spacing: 0.08em; text-transform: uppercase;
      cursor: pointer; text-decoration: none;
      transition: all 0.2s;
      display: inline-block;
    }
    .btn-primary:hover { background: var(--gold); transform: translateY(-1px); }

    .btn-outline {
      background: transparent;
      color: var(--black);
      padding: 16px 32px;
      border: 1px solid rgba(15,15,15,0.3);
      border-radius: 8px;
      font-size: 14px; font-weight: 400;
      letter-spacing: 0.08em; text-transform: uppercase;
      cursor: pointer; text-decoration: none;
      transition: all 0.2s;
      display: inline-block;
    }
    .btn-outline:hover { border-color: var(--black); }

    .hero-stats {
      display: flex; gap: 48px;
    }
    .stat-item {}
    .stat-number {
      font-family: 'Playfair Display', 'Noto Sans KR', serif;
      font-size: 42px; font-weight: 700;
      color: var(--black);
      line-height: 1;
      margin-bottom: 4px;
    }
    .stat-number span { color: var(--gold); }
    .stat-label {
      font-size: 12px; color: rgba(15,15,15,0.5);
      letter-spacing: 0.1em; text-transform: uppercase;
    }

    .hero-image {
      position: relative;
      display: flex; align-items: flex-end; justify-content: center;
      overflow: hidden;
    }

    .hero-image::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to right, var(--cream) 0%, rgba(247,244,239,0.3) 40%, transparent 70%);
      z-index: 1;
    }

    .hero-image img {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: top center;
      filter: none;
    }

    .hero-realty-badge {
      position: absolute;
      bottom: 40px; left: 40px;
      z-index: 2;
      background: rgba(247,244,239,0.9);
      backdrop-filter: blur(8px);
      border: 1px solid var(--gray-light);
      padding: 16px 24px;
      border-radius: 8px;
    }
    .hero-realty-badge img { height: 22px; }

    /* ── SERVICES ── */
    .services {
      padding: 112px 0;
      background: var(--cream);
    }

    .section-header {
      margin-bottom: 48px;
    }
    .section-label {
      font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--gold); font-weight: 700;
      margin-bottom: 16px; letter-spacing: 0.18em;
      display: block;
    }
    .section-title {
      font-family: 'Playfair Display', 'Noto Sans KR', serif;
      font-size: clamp(38px, 4.2vw, 56px);
      font-weight: 600;
      line-height: 1.15;
      color: var(--black);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }

    .service-card {
      background: var(--cream-dark);
      padding: 48px 40px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s;
      cursor: default;
    }
    .service-card::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 3px;
      background: var(--gold);
      transition: width 0.4s ease;
    }
    .service-card:hover::after { width: 100%; }
    .service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }

    .service-num {
      font-family: 'Playfair Display', 'Noto Sans KR', serif;
      font-size: 72px; font-weight: 700;
      color: rgba(0,0,0,0.05);
      line-height: 1;
      margin-bottom: 24px;
    }

    .service-icon {
      width: 48px; height: 48px;
      margin-bottom: 24px;
      color: var(--gold);
    }

    .service-title-ko {
      font-family: 'Noto Sans KR', sans-serif;
      font-size: 21px; font-weight: 700;
      color: var(--black);
      margin-bottom: 6px;
    }
    .service-title-en {
      font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
      font-weight: 600;
    }
    .service-desc {
      font-size: 15px; line-height: 1.8;
      color: var(--gray-dark);
      font-family: 'Noto Sans KR', sans-serif;
      font-weight: 300;
    }

    /* ── ABOUT ── */
    .about {
      padding: 0;
      background: var(--cream-dark);
    }

    .about-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 80px 40px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-image-wrap {
      position: relative;
    }
    .about-image-wrap img {
      width: 100%; height: 560px;
      object-fit: contain;
      object-position: center bottom;
      position: relative; z-index: 1;
      mix-blend-mode: multiply;
      filter: grayscale(15%);
    }

    .about-content { color: var(--white); }

    .about-content .section-label { color: var(--gold); }
    .about-content .section-title { color: var(--black); font-weight: 700; }

    .about-text {
      font-size: 15px; line-height: 1.9;
      color: rgba(15,15,15,0.7);
      font-family: 'Noto Sans KR', sans-serif;
      font-weight: 300;
      margin: 32px 0 40px;
    }

    .about-tags {
      display: flex; flex-wrap: wrap; gap: 10px;
      margin-bottom: 40px;
    }
    .tag {
      border: 1px solid var(--gray-light);
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 12px; color: var(--gray-mid);
      letter-spacing: 0.05em;
    }

    /* ── TESTIMONIALS ── */
    .testimonials {
      padding: 112px 0;
      background: var(--cream-dark);
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 64px;
    }

    .testimonial-card {
      background: var(--cream);
      padding: 40px;
      border-radius: 2px;
      position: relative;
    }
    .testimonial-card::before {
      content: '"';
      font-family: 'Playfair Display', 'Noto Sans KR', serif;
      font-size: 80px; font-weight: 700;
      color: var(--gold);
      opacity: 0.4;
      position: absolute;
      top: 20px; left: 30px;
      line-height: 1;
    }

    .testimonial-text {
      font-size: 14px; line-height: 1.8;
      color: var(--gray-dark);
      font-family: 'Noto Sans KR', sans-serif;
      font-weight: 300;
      margin-top: 32px;
      margin-bottom: 28px;
    }

    .testimonial-author {
      display: flex; align-items: center; gap: 12px;
    }
    .author-avatar {
      width: 40px; height: 40px;
      border-radius: 50%;
      background: var(--black);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Playfair Display', 'Noto Sans KR', serif;
      font-size: 16px; font-weight: 700;
      color: var(--gold);
      flex-shrink: 0;
    }
    .author-name {
      font-size: 14px; font-weight: 500;
      color: var(--black);
    }
    .author-detail {
      font-size: 12px; color: var(--gray-mid);
    }

    .stars {
      color: var(--gold);
      font-size: 13px;
      margin-bottom: 4px;
    }

    /* ── CTA BANNER ── */
    .cta-banner {
      padding: 96px 0;
      background: var(--cream-dark);
      border-top: 1px solid var(--gray-light);
      border-bottom: 1px solid var(--gray-light);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 48px;
    }

    .cta-text {}
    .cta-title {
      font-family: 'Playfair Display', 'Noto Sans KR', serif;
      font-size: clamp(32px, 3.5vw, 48px);
      font-weight: 700;
      color: var(--black);
      line-height: 1.2;
      margin-bottom: 12px;
    }
    .cta-sub {
      font-size: 15px;
      color: var(--gray-mid);
      font-family: 'Noto Sans KR', sans-serif;
    }

    .cta-actions {
      display: flex; gap: 16px; flex-shrink: 0; flex-wrap: wrap;
    }

    .btn-dark {
      background: var(--gold-light);
      color: var(--white);
      padding: 16px 32px;
      border: none; border-radius: 8px;
      font-size: 14px; font-weight: 500;
      letter-spacing: 0.08em; text-transform: uppercase;
      cursor: pointer; text-decoration: none;
      transition: all 0.2s;
      display: inline-block;
    }
    .btn-dark:hover { background: var(--gold); }

    .btn-white {
      background: transparent;
      color: var(--black);
      border: 1.5px solid rgba(15,15,15,0.25);
      padding: 16px 32px;
      border: none; border-radius: 8px;
      font-size: 14px; font-weight: 500;
      letter-spacing: 0.08em; text-transform: uppercase;
      cursor: pointer; text-decoration: none;
      transition: all 0.2s;
      display: inline-block;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--cream);
      padding: 0;
      color: var(--gray-dark);
      border-top: 1px solid var(--gray-light);
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      padding: 56px 40px;
      border-bottom: 1px solid var(--gray-light);
      margin-bottom: 0;
    }

    .footer-brand {}
    .footer-logo { height: 40px; margin-bottom: 20px; }
    .footer-desc {
      font-size: 13px; line-height: 1.8;
      font-family: 'Noto Sans KR', sans-serif;
      font-weight: 300;
      color: var(--gray-mid);
      margin-bottom: 24px;
    }

    .footer-realty img { height: 22px; opacity: 1; }

    .footer-col h4 {
      color: var(--black);
      font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 10px; }
    .footer-col a {
      color: var(--gray-mid);
      text-decoration: none;
      font-size: 13px;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--black); }

    .footer-contact p {
      font-size: 13px; line-height: 2;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .footer-contact a {
      color: var(--gold);
      text-decoration: none;
      font-weight: 500;
    }

    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 20px;
    }
    .footer-badges { display: flex; align-items: center; gap: 20px; }
    .footer-badges img { height: 32px; opacity: 0.5; }

    .footer-legal {
      font-size: 11px;
      color: var(--gray-mid);
      line-height: 1.8;
      text-align: right;
    }
    .footer-legal a { color: var(--gold); text-decoration: none; }


    .nav-realty {
      display: flex; align-items: center; gap: 16px;
    }
    .nav-divider {
      width: 1px; height: 28px;
      background: var(--gray-light);
    }
    .nav-realty-logo {
      height: 22px;
      opacity: 1;
    }

    /* ── HAMBURGER (mobile) ── */
    .hamburger { display: none; background: none; border: none; cursor: pointer; }

    /* ── TABLET (768px ~ 900px) ── */
    @media (max-width: 900px) {
      .nav-inner { padding: 0 24px; }
      .nav-links { display: none; }
      .nav-realty-logo { height: 18px; }
      .nav-divider { height: 22px; }
      .hamburger { display: block; }

      .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  
    .hero-inner {
      max-width: 1280px;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding-top: var(--nav-height);
    }

    .hero-content { padding: 60px 40px 48px; }
      .hero-image { height: 480px; }
      .hero-stats { gap: 32px; flex-wrap: wrap; }
      .stat-number { font-size: 36px; }

      .services { padding: 80px 40px; }
      .services-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
      .service-card:last-child { grid-column: 1 / -1; }

      .about { grid-template-columns: 1fr; padding: 80px 40px; gap: 48px; }
      .about-image-wrap img { height: 400px; }
      .about-image-wrap::before { display: none; }

      .testimonials { padding: 80px 40px; }
      .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
      .testimonial-card:last-child { grid-column: 1 / -1; }

      .cta-banner { flex-direction: column; padding: 60px 40px; text-align: center; }
      .cta-actions { justify-content: center; }

      footer { padding: 60px 40px 32px; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
      .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
      .footer-legal { text-align: center; }
    }

    /* ── MOBILE (max 600px) ── */
    @media (max-width: 600px) {
      :root { --nav-height: 60px; }

      nav { height: 60px; }
      .nav-inner { padding: 0 16px; gap: 8px; }
      .nav-realty { display: none; }
      .nav-divider { display: none; }
      .nav-logo img { height: 24px; }
      .nav-logo-text { font-size: 15px; }
      .nav-right { gap: 8px; }
      .lang-toggle button { padding: 5px 10px; font-size: 11px; }
      .hamburger { flex-shrink: 0; }
      .hamburger svg { width: 22px; height: 22px; }

  
    .hero-inner {
      max-width: 1280px;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding-top: var(--nav-height);
    }

    .hero-content { padding: 48px 20px 40px; }
      .hero-image { height: 340px; }
      .hero-badge { padding: 5px 12px; margin-bottom: 28px; }
      .hero-badge span { font-size: 10px; }
      .hero-title { font-size: 40px; }
      .hero-sub { font-size: 16px; margin-bottom: 32px; }
      .hero-buttons { flex-direction: column; gap: 12px; }
      .btn-primary, .btn-outline { 
        text-align: center; 
        padding: 16px 24px;
        min-height: 52px;
        display: flex; align-items: center; justify-content: center;
      }
      .hero-stats { gap: 20px; }
      .stat-number { font-size: 32px; }
      .stat-label { font-size: 11px; }
      .hero-realty-badge { bottom: 20px; left: 20px; padding: 10px 16px; }
      .hero-realty-badge img { height: 16px; }

      .services { padding: 60px 20px; }
      .services-grid { grid-template-columns: 1fr; gap: 2px; }
      .service-card { padding: 36px 28px; }
      .service-card:last-child { grid-column: auto; }
      .service-num { font-size: 52px; }

      .about { padding: 60px 20px; gap: 36px; }
      .about-image-wrap img { height: 300px; }
      .about-text { font-size: 14px; }
      .about-tags { gap: 8px; }
      .tag { font-size: 11px; padding: 5px 12px; }

      .testimonials { padding: 60px 20px; }
      .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
      .testimonial-card { padding: 32px 24px; }
      .testimonial-card:last-child { grid-column: auto; }
      .testimonial-text { font-size: 13px; }

      .section-title { font-size: 32px; }
      .section-label { font-size: 10px; }

      .cta-banner { padding: 48px 20px; gap: 32px; }
      .cta-title { font-size: 28px; }
      .cta-sub { font-size: 14px; }
      .cta-actions { flex-direction: column; width: 100%; }
      .btn-dark, .btn-white {
        text-align: center; width: 100%;
        padding: 16px 24px; min-height: 52px;
        display: flex; align-items: center; justify-content: center;
      }

      footer { padding: 48px 20px 28px; }
      .footer-top { grid-template-columns: 1fr; gap: 36px; }
      .footer-logo { height: 32px; }
      .footer-desc { font-size: 12px; }
      .footer-col h4 { font-size: 11px; }
      .footer-col a { font-size: 12px; }
      .footer-contact p { font-size: 12px; }
      .footer-legal { font-size: 10px; }
    }

    /* ── 소형 폰 (max 380px) ── */
    @media (max-width: 380px) {
      .hero-title { font-size: 34px; }
      .stat-number { font-size: 28px; }
      .hero-image { height: 280px; }
      .service-card { padding: 28px 20px; }
      .testimonial-card { padding: 28px 20px; }
    }


    /* ── FOOTER NEW ── */
    .footer-name {
      font-family: 'Playfair Display', serif;
      font-size: 22px; font-weight: 700;
      color: var(--gold);
      letter-spacing: 0.1em;
      margin-bottom: 6px;
    }
    .footer-title-line {
      font-size: 13px; color: var(--black);
      font-weight: 500; line-height: 1.8;
    }
    .footer-realty-text {
      font-size: 13px; color: var(--gold);
      font-weight: 500; margin-bottom: 4px;
    }
    .footer-addr {
      font-size: 12px; color: var(--gray-mid);
      line-height: 1.7; margin-bottom: 20px;
    }

    /* SNS 아이콘 */
    .footer-sns {
      display: flex; gap: 10px; flex-wrap: wrap;
      margin-top: 4px;
    }
    .sns-icon {
      width: 34px; height: 34px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      text-decoration: none;
      transition: opacity 0.2s, transform 0.2s;
      flex-shrink: 0;
    }
    .sns-icon svg { width: 17px; height: 17px; }
    .sns-icon:hover { opacity: 0.8; transform: translateY(-2px); }
    .sns-ig  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: white; }
    .sns-yt  { background: #FF0000; color: white; }
    .sns-fb  { background: #1877F2; color: white; }
    .sns-google { background: white; border: 1.5px solid var(--gray-light); color: #4285F4; }
    .sns-x   { background: #000000; color: white; }
    .sns-email { background: var(--cream-dark); border: 1.5px solid var(--gray-light); color: var(--gray-dark); }

    /* 로고 배지 줄 */
    .footer-badges-row {
      display: flex; align-items: center; justify-content: space-evenly;
      flex-wrap: wrap; gap: 24px 0;
      padding: 28px 40px;
      border-top: 1px solid var(--gray-light);
      border-bottom: 1px solid var(--gray-light);
      background: var(--cream-dark);
    }
    .badge-item {
      display: flex; align-items: center; justify-content: center;
      flex: 1; min-width: 120px; max-width: 200px;
    }
    .badge-logo { object-fit: contain; max-width: 100%; }
    .badge-sl { height: 24px; }
    .badge-realty { height: 26px; }
    .badge-lvr { height: 26px; }
    .badge-mls { height: 38px; }
    .badge-eq { height: 38px; }
    .badge-divider { width: 1px; height: 32px; background: var(--gray-light); flex: none; min-width: 1px; }

    .badge-text-logo {
      display: flex; flex-direction: column; align-items: flex-start;
    }
    .lvr-text {
      font-size: 18px; font-weight: 900; color: var(--gray-dark);
      letter-spacing: -0.02em; line-height: 1;
    }
    .lvr-text strong { color: #1B4F8F; }
    .lvr-sub {
      font-size: 8px; letter-spacing: 0.1em;
      color: var(--gray-mid); text-transform: uppercase;
    }
    .mls-box {
      display: inline-block;
      border: 2.5px solid #1B4F8F;
      color: #1B4F8F;
      font-size: 11px; font-weight: 900;
      padding: 2px 4px;
      line-height: 1;
    }
    .mls-text {
      font-size: 22px; font-weight: 900;
      color: #1B4F8F; letter-spacing: -0.02em;
      margin-left: 4px;
    }
    .badge-text-logo { flex-direction: row; align-items: center; gap: 0; }
    .badge-eq-housing svg { opacity: 0.5; }

    /* 하단 법적 고지 */
    .footer-bottom {
      padding: 20px 40px 24px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .footer-copyright {
      font-size: 12px; color: var(--gray-mid);
    }
    .footer-legal-line {
      font-size: 11px; color: var(--gray-mid);
      line-height: 1.8;
      text-align: center;
    }
    .footer-legal-line a { color: var(--gold); text-decoration: none; }

    /* 모바일 푸터 */
    @media (max-width: 900px) {
      .footer-badges-row { padding: 24px 40px; gap: 16px 0; }
      .badge-item { min-width: 100px; }
    }
    @media (max-width: 600px) {
      .footer-badges-row { padding: 24px 20px; gap: 16px 4px; }
      .badge-divider { display: none; }
      .badge-item { min-width: 80px; }
      .badge-logo { height: 22px; }
      .footer-sns { gap: 8px; }
      .sns-icon { width: 30px; height: 30px; }
      .sns-icon svg { width: 14px; height: 14px; }
      .footer-bottom { padding: 20px 0 8px; }
      .footer-copyright { font-size: 11px; }
      .footer-legal-line { font-size: 10px; }
    }


    .section-inner {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }


    /* ── REVIEWS CAROUSEL ── */
    .testimonials-sub {
      font-size: 14px;
      color: var(--gray-mid);
      margin-top: 8px;
    }

    .reviews-carousel-wrap {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 48px;
      position: relative;
    }

    .carousel-btn {
      width: 40px; height: 40px;
      border-radius: 50%;
      border: 1px solid var(--gray-light);
      background: var(--cream);
      font-size: 20px;
      color: var(--gray-dark);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: all 0.2s;
      z-index: 2;
    }
    .carousel-btn:hover {
      background: var(--black);
      color: var(--white);
      border-color: var(--black);
    }

    .reviews-carousel {
      overflow: hidden;
      flex: 1;
    }

    .reviews-track {
      display: flex;
      gap: 20px;
      transition: transform 0.4s ease;
    }

    .review-card {
      background: var(--cream);
      border: 1px solid var(--gray-light);
      border-radius: 6px;
      padding: 32px 28px;
      min-width: calc(33.333% - 14px);
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      box-sizing: border-box;
    }

    .review-stars {
      color: var(--gold);
      font-size: 16px;
      letter-spacing: 2px;
    }

    .review-text {
      font-size: 14px;
      line-height: 1.7;
      color: var(--gray-dark);
      font-family: 'Noto Sans KR', sans-serif;
      font-weight: 300;
      flex: 1;
    }

    .review-full {
      font-size: 14px;
      line-height: 1.7;
      color: var(--gray-dark);
      font-family: 'Noto Sans KR', sans-serif;
      font-weight: 300;
    }

    .read-more-btn {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 13px;
      color: var(--gold);
      font-weight: 500;
      padding: 0;
      text-align: left;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .read-more-btn:hover { opacity: 0.7; }

    .review-author {
      margin-top: 8px;
      padding-top: 16px;
      border-top: 1px solid var(--gray-light);
    }

    .author-name {
      font-size: 14px;
      font-weight: 700;
      color: var(--black);
      margin-bottom: 2px;
    }

    .author-location {
      font-size: 12px;
      color: var(--gray-mid);
    }

    .author-date {
      font-size: 12px;
      color: var(--gray-mid);
      margin-bottom: 8px;
    }

    .google-link {
      font-size: 12px;
      color: var(--gold);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .google-link:hover { opacity: 0.7; }

    @media (max-width: 900px) {
      .review-card { min-width: calc(50% - 10px); }
      .carousel-btn { width: 32px; height: 32px; font-size: 16px; }
    }

    @media (max-width: 600px) {
      .review-card { min-width: calc(100% - 0px); }
      .reviews-carousel-wrap { gap: 8px; }
    }

    /* ── LANG TOGGLE ── */
    .en-text { display: none; }
    .lang-en .ko-text { display: none; }
    .lang-en .en-text { display: revert; }

.page-top {
      padding: calc(var(--nav-height) + 48px) 0 40px;
      background: var(--cream);
    }
    .page-top-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 40px;
    }
    .blog-body {
      background: var(--cream);
      padding: 0 0 80px;
    }
    .blog-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 40px;
    }
    /* 카테고리 필터 */
    .cat-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }
    .cat-btn {
      padding: 7px 18px;
      border: 1px solid var(--gray-light);
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      background: var(--cream);
      color: var(--gray-dark);
      transition: all 0.2s;
      font-family: 'Noto Sans KR', sans-serif;
      letter-spacing: 0.03em;
    }
    .cat-btn.active {
      background: var(--black);
      color: var(--white);
      border-color: var(--black);
    }
    /* 블로그 그리드 */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .blog-card {
      background: var(--cream-dark);
      border: 1px solid var(--gray-light);
      border-radius: 6px;
      overflow: hidden;
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
    }
    .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    }
    .blog-card-img {
      width: 100%;
      height: 180px;
      background: var(--gray-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      position: relative;
      overflow: hidden;
    }
    .blog-card-img-bg {
      position: absolute;
      inset: 0;
      opacity: 0.08;
      font-size: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .blog-cat-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: var(--gold);
      color: var(--white);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 20px;
    }
    .blog-card-body {
      padding: 22px;
    }
    .blog-card-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 11px;
      color: var(--gray-mid);
      margin-bottom: 10px;
    }
    .blog-card-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--black);
      line-height: 1.4;
      margin-bottom: 10px;
    }
    .blog-card-excerpt {
      font-size: 13px;
      color: var(--gray-mid);
      line-height: 1.7;
      font-family: 'Noto Sans KR', sans-serif;
      font-weight: 300;
      margin-bottom: 16px;
    }
    .blog-read-more {
      font-size: 12px;
      color: var(--gold);
      font-weight: 600;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .blog-read-more:hover { opacity: 0.7; }
    /* 뉴스레터 */
    .newsletter {
      background: var(--cream-dark);
      padding: 64px 0;
      text-align: center;
      border-top: 1px solid var(--gray-light);
      margin-top: 64px;
    }
    .newsletter-inner {
      max-width: 500px;
      margin: 0 auto;
      padding: 0 40px;
    }
    .newsletter h2 {
      font-family: 'Noto Sans KR', sans-serif;
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .newsletter p {
      font-size: 13px;
      color: var(--gray-mid);
      margin-bottom: 24px;
    }
    .newsletter-form {
      display: flex;
      gap: 10px;
    }
    .newsletter-input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid var(--gray-light);
      border-radius: 8px;
      font-size: 14px;
      background: var(--white);
      font-family: 'Noto Sans KR', sans-serif;
      outline: none;
    }
    .newsletter-input:focus { border-color: var(--gold); }
    .newsletter-btn {
      padding: 12px 24px;
      background: var(--gold-light);
      color: var(--white);
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .newsletter-btn:hover { background: var(--gold); }
    @media (max-width: 900px) {
      .blog-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
      .blog-inner, .page-top-inner { padding: 0 28px; }
    }
    @media (max-width: 600px) {
      .blog-grid { grid-template-columns: 1fr; }
      .blog-inner, .page-top-inner { padding: 0 20px; }
      .newsletter-form { flex-direction: column; }
      .newsletter-inner { padding: 0 20px; }
    }


/* ── LAYOUT FIX v2: theme wraps pages in a 1200px column with side padding; break out to full width and align everything to one 1280px grid ── */
.entry-content { padding-left: 0 !important; padding-right: 0 !important; }
.entry-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.entry-content > #faq { max-width: 800px !important; margin-left: auto !important; margin-right: auto !important; }
nav { left: 0; right: 0; width: 100%; padding-left: 0 !important; padding-right: 0 !important; }
footer { text-align: left; padding: 0 !important; }
.footer-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.footer-top { padding: 48px 0 !important; }
.footer-badges-row { padding: 24px 40px !important; }
.footer-bottom { padding: 24px 40px 8px !important; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-disclaimer { max-width: 900px; margin: 0 auto; padding: 0 24px 32px; text-align: center; }
.footer-disclaimer p { font-size: 11px; color: var(--gray-mid); line-height: 1.7; margin-bottom: 8px !important; }
.hero { min-height: 0; }
.hero-content { padding: 56px 48px 56px 40px; align-items: flex-start; text-align: left; gap: 0 !important; }
.hero-content > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.hero-badge { margin-bottom: 28px !important; }
.hero-title { margin-bottom: 24px !important; }
.hero-sub { margin-bottom: 36px !important; margin-left: 0; margin-right: 0; text-align: left; }
.hero-buttons { margin-bottom: 48px !important; justify-content: flex-start; }
.hero-stats { justify-content: flex-start; }
.hero-image { margin-right: 40px; }
.services, .testimonials { padding: 96px 0; }
.cta-banner { padding: 72px 0; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-content { padding: 48px 24px 40px; }
  .hero-image { margin-right: 0; }
  .hero-image::before { background: linear-gradient(to bottom, var(--cream) 0%, transparent 30%); }
  .services, .testimonials { padding: 64px 0; }
  .cta-banner { padding: 56px 0; }
  .footer-wrap { padding: 0 24px; }
  .footer-badges-row { padding: 24px !important; }
  .footer-bottom { padding: 24px 24px 8px !important; }
}
@media (max-width: 600px) {
  .hero-content { padding: 40px 20px 32px; }
  .footer-wrap { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 32px 24px !important; padding: 40px 0 !important; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-badges-row { padding: 20px !important; }
}
@media (max-width: 600px) { .nav-inner { padding: 0 20px; } .hero-buttons { align-self: stretch; } }

/* ── BRAND v3: wide logo, profile additions ── */
.nav-logo img.nav-logo-wide { height: 34px; width: auto; margin-left: -4px; border-radius: 0; }
.footer-badges-row .badge-sl { height: 30px; opacity: 1; }
.profile-quote { font-family: 'Playfair Display', 'Noto Sans KR', serif; font-size: 18px; line-height: 1.7; color: var(--gold); border-left: 3px solid var(--gold); padding-left: 16px; margin: 0 0 24px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
@media (max-width: 600px) { .nav-logo img.nav-logo-wide { height: 24px; margin-left: -3px; } .footer-badges-row .badge-sl { height: 24px; } }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

/* ── NAV v4: services dropdown ── */
.nav-links li { position: relative; }
.nav-links .has-sub > a::after { content: '▾'; margin-left: 6px; font-size: 10px; opacity: 0.6; }
.nav-links .sub { display: none; position: absolute; top: 100%; left: -18px; min-width: 240px; margin-top: 14px; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--gray-light); border-top: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.12); z-index: 1100; }
.nav-links .sub::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-links .has-sub:hover .sub, .nav-links .has-sub:focus-within .sub { display: block; }
.nav-links .sub li { display: block; }
.nav-links .sub a { display: block; padding: 12px 22px; text-transform: none; letter-spacing: 0; font-size: 14px; white-space: nowrap; border-left: 2px solid transparent; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.nav-links .sub a:hover { background: var(--cream); color: var(--gold); border-left-color: var(--gold); }
@media (max-width: 900px) {
  .nav-links .has-sub > a::after { display: none; }
  .nav-links .sub { display: block; position: static; margin: 8px 0 0; padding: 0 0 0 14px; border: 0; border-top: none; box-shadow: none; background: transparent; min-width: 0; }
  .nav-links .sub::before { display: none; }
  .nav-links .sub a { padding: 8px 0; font-size: 14px; opacity: 0.8; border-left: none; }
}
.nav-links a { white-space: nowrap; }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

.cm-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; background: var(--c-cream-dark); }
.cm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-map-link { margin: 10px 0 26px; font-size: 12px; color: var(--c-body); line-height: 1.7; }
@media (max-width: 600px) { .cm-map { aspect-ratio: 4 / 3; } }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

.cm-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; background: var(--c-cream-dark); }
.cm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-map-link { margin: 10px 0 26px; font-size: 12px; color: var(--c-body); line-height: 1.7; }
@media (max-width: 600px) { .cm-map { aspect-ratio: 4 / 3; } }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

.cm-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; background: var(--c-cream-dark); }
.cm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-map-link { margin: 10px 0 26px; font-size: 12px; color: var(--c-body); line-height: 1.7; }
@media (max-width: 600px) { .cm-map { aspect-ratio: 4 / 3; } }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

.cm-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; background: var(--c-cream-dark); }
.cm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-map-link { margin: 10px 0 26px; font-size: 12px; color: var(--c-body); line-height: 1.7; }
@media (max-width: 600px) { .cm-map { aspect-ratio: 4 / 3; } }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

.cm-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; background: var(--c-cream-dark); }
.cm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-map-link { margin: 10px 0 26px; font-size: 12px; color: var(--c-body); line-height: 1.7; }
@media (max-width: 600px) { .cm-map { aspect-ratio: 4 / 3; } }

/* Neighborhood/guide pages. Works with both the generated theme tokens (--ink, --accent ...) and the older live-site tokens (--black, --gold ...). */
.cm-scope { --c-ink: var(--ink, var(--black, #0f0f0f)); --c-accent: var(--accent, var(--gold, #8c7148)); --c-accent-light: var(--accent-light, var(--gold-light, #a6895a)); --c-cream: var(--cream, #faf9f7); --c-cream-dark: var(--cream-dark, #faf9f7); --c-line: var(--line, var(--gray-light, #e6e4e0)); --c-muted: var(--muted, var(--gray-mid, #87847e)); --c-body: var(--body, var(--gray-dark, #3d3a35)); --c-white: var(--white, #fff); --c-radius: var(--radius, 8px); background: var(--c-cream); color: var(--c-ink); }
.cm-scope * { box-sizing: border-box; }
.cm-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cm-top { padding: calc(var(--nav-height, 72px) + 48px) 0 32px; background: var(--c-cream); }
.cm-crumbs { font-size: 12px; color: var(--c-muted); margin-bottom: 20px; }
.cm-crumbs a { color: var(--c-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--c-ink); }
.cm-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 14px; }
.cm-h1 { font-family: var(--font-heading, 'Playfair Display', 'Noto Sans KR', serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--c-ink); }
.cm-lead { font-size: 17px; line-height: 1.8; color: var(--c-body); max-width: 760px; font-weight: 300; margin: 0; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cm-tag { border: 1px solid var(--c-line); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--c-muted); background: var(--c-cream); }
.cm-body { padding: 24px 0 96px; }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.cm-main h2 { font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--c-ink); }
.cm-main h2:first-child { margin-top: 0; }
.cm-facts { margin: 0; border-top: 1px solid var(--c-line); }
.cm-fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.cm-fact dt { color: var(--c-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.cm-fact dd { margin: 0; color: var(--c-body); }
.cm-list { margin: 0; padding: 0; list-style: none; }
.cm-list li { position: relative; padding: 0 0 12px 20px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.cm-note { background: var(--c-cream-dark); border-left: 3px solid var(--c-accent); padding: 18px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); margin-top: 8px; }
.cm-note strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-accent); margin-bottom: 6px; text-transform: uppercase; }
.cm-box { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-box + .cm-box { margin-top: 14px; }
.cm-box strong { color: var(--c-ink); }
.cm-box a { color: var(--c-accent); }
.cm-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 1.8; color: var(--c-muted); }
.cm-meta a { color: var(--c-muted); }
.cm-side { position: sticky; top: 96px; }
.cm-side-card { background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; padding: 26px; }
.cm-side-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-side-card p { font-size: 13px; line-height: 1.7; color: var(--c-muted); margin: 0 0 18px; }
.cm-side-card .cm-btn { display: block; text-align: center; margin-bottom: 10px; }
.cm-btn { padding: 14px 24px; border-radius: var(--c-radius); font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: 0.04em; display: inline-block; transition: all 0.2s; }
.cm-btn.primary { background: var(--c-ink); color: var(--c-white); }
.cm-btn.primary:hover { background: var(--c-accent); }
.cm-btn.ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--c-ink); }
.cm-btn.ghost:hover { border-color: var(--c-ink); }
.cm-related { margin-top: 22px; }
.cm-related h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; font-weight: 700; }
.cm-related a { display: block; font-size: 14px; color: var(--c-body); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.cm-related a:hover { color: var(--c-accent); }
/* hub */
.cm-filters { margin: 28px 0 8px; }
.cm-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cm-filter-row > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; width: 56px; }
.cm-chip { padding: 7px 16px; border: 1px solid var(--c-line); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--c-cream); color: var(--c-body); font-family: inherit; transition: all 0.2s; }
.cm-chip.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cm-area { margin-top: 48px; }
.cm-area h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.cm-area > p { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin: 0 0 22px; max-width: 760px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 6px; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cm-card-kind { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; }
.cm-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--c-ink); }
.cm-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.cm-card p { font-size: 13px; line-height: 1.75; color: var(--c-muted); margin: 10px 0 14px; flex: 1; }
.cm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cm-card-tags span { font-size: 11px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 20px; color: var(--c-muted); }
.cm-card-more { font-size: 12px; font-weight: 600; color: var(--c-accent); }
.cm-cta { margin-top: 72px; padding: 40px; background: var(--c-cream-dark); border: 1px solid var(--c-line); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cm-cta h2 { font-size: 24px; margin: 0 0 8px; }
.cm-cta p { margin: 0; font-size: 14px; color: var(--c-muted); }
.cm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* guide pages */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-cream-dark); color: var(--c-body); }
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; color: var(--c-body); line-height: 1.7; }
.cm-table td:first-child { width: 34%; font-weight: 600; color: var(--c-ink); }
.cm-table a { color: var(--c-ink); }
.cm-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.cm-steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.cm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .cm-inner { padding: 0 24px; }
  .cm-layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { position: static; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cm-inner { padding: 0 20px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-fact { grid-template-columns: 1fr; gap: 4px; }
  .cm-filter-row > span { width: 100%; }
}
.nav-links a { white-space: nowrap; }
/* blog articles */
.cm-post-title { font-size: clamp(28px, 3.6vw, 42px); }
.cm-updated { font-size: 12px; color: var(--c-muted); margin-top: 14px; }
.cm-article { font-size: 16px; line-height: 1.9; color: var(--c-body); }
.cm-article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--c-ink); }
.cm-article h2:first-child { margin-top: 0; }
.cm-article p { margin: 0 0 16px; }
.cm-article .cm-note, .cm-article .cm-box { margin: 18px 0; }
.cm-article .cm-list { margin: 8px 0 18px; }

.cm-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; background: var(--c-cream-dark); }
.cm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-map-link { margin: 10px 0 26px; font-size: 12px; color: var(--c-body); line-height: 1.7; }
@media (max-width: 600px) { .cm-map { aspect-ratio: 4 / 3; } }
