  :root {
    --primary: #1a4f7a;
    --primary-dark: #0d3355;
    --accent: #e8622a;
    --accent-light: #f0843a;
    --gold: #c9a84c;
    --member-bg: #f0f7ff;
    --member-border: #1a4f7a;
    --nonmember-bg: #fafafa;
    --nonmember-border: #d0d8e4;
    --text-dark: #1a2332;
    --text-mid: #445566;
    --text-light: #8899aa;
    --bg: #f4f6f9;
    --white: #ffffff;
    --badge-member: linear-gradient(135deg, #1a4f7a, #2a6fa0);
    --shadow-card: 0 2px 16px rgba(26,79,122,0.10);
    --shadow-card-hover: 0 8px 32px rgba(26,79,122,0.18);
    --radius: 12px;
    --radius-sm: 8px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
  }

  /* ── HEADER ── */
  .site-header {
    background: var(--primary-dark);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 12px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .logo-icon {
    width: 36px; height: 36px;
    background: #ffffff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
  }
  .logo-text { color: #fff; }
  .logo-text .org { font-size: 10px; color: #a0c4e0; letter-spacing: 0.03em; }
  .logo-text .name { font-size: 14px; font-weight: 700; line-height: 1.2; }
  .header-cta {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: background 0.2s;
    flex-shrink: 0;
  }
  .header-cta:hover { background: var(--accent-light); }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e6096 100%);
    padding: 52px 20px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
  .hero-badge {
    display: inline-block;
    background: rgba(232,98,42,0.15);
    border: 1px solid rgba(232,98,42,0.5);
    color: #ffa070;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.05em;
  }
  .hero h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .hero h1 em { color: #fdb975; font-style: normal; }
  .hero-sub {
    font-size: clamp(13px, 2vw, 16px);
    color: #a0c8e8;
    line-height: 1.7;
    margin-bottom: 28px;
  }
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .stat { text-align: center; }
  .stat-num {
    font-family: 'Noto Serif KR', serif;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    display: block;
  }
  .stat-label { font-size: 12px; color: #80aacc; margin-top: 2px; }
  .stat-divider { width: 1px; background: rgba(255,255,255,0.2); align-self: stretch; }

  /* ── FILTER BAR ── */
  .filter-bar {
    background: var(--white);
    border-bottom: 1px solid #dde4ed;
    padding: 16px 20px;
    //position: sticky;
    top: 60px;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .filter-label { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
  .filter-selects { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
  select {
    border: 1.5px solid #c8d6e5;
    border-radius: var(--radius-sm);
    padding: 9px 32px 9px 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a4f7a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    min-width: 150px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,79,122,0.12); }
  .filter-toggle {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .toggle-btn {
    background: #eef3f9;
    border: 1.5px solid #c8d6e5;
    color: var(--text-mid);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    font-weight: 500;
  }
  .toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
  }
  .result-count {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    margin-left: auto;
  }
  .result-count strong { color: var(--primary); }

  /* ── LEGEND ── */
  .legend {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 20px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }
  .legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-mid); }
  .legend-dot {
    width: 10px; height: 10px; border-radius: 50%;
  }
  .legend-dot.member { background: var(--primary); }
  .legend-dot.nonmember { background: #b0bec9; }
  .legend-badge { 
    background: var(--gold); color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 4px; letter-spacing: 0.05em;
  }

  /* ── GRID ── */
  .main-content { max-width: 1200px; margin: 0 auto; padding: 20px 20px 60px; }
  .section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dde4ed;
  }
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
  }

  /* ── CARD ── */
  .card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--nonmember-border);
    padding: 20px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
  }
  .card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }

  /* Member card */
  .card.member {
    border-color: var(--member-border);
    background: var(--member-bg);
    box-shadow: var(--shadow-card);
  }
  .card.member::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
  }

  .card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
  .card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    flex: 1;
  }
  .card.member .card-name { color: var(--primary-dark); cursor: pointer;}
  .card.member .card-name:hover { color: var(--accent); }

  .badges { display: flex; flex-wrap: wrap; gap: 4px; flex-shrink: 0; }
  .badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.03em;
  }
  .badge-member { background: var(--badge-member); color: #fff; }
  .badge-gubiguk { background: #e8622a; color: #fff; }
  .badge-online { background: #0ea47a; color: #fff; }
  .badge-face { background: #7c52cc; color: #fff; }
  .badge-cbt { background: var(--gold); color: #fff; }

  .card-info { display: flex; flex-direction: column; gap: 7px; }
  .info-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-mid); }
  .info-icon { flex-shrink: 0; width: 16px; text-align: center; margin-top: 1px; font-size: 13px; }
  .info-text { line-height: 1.5; }
  .info-texta { line-height: 1.5; cursor: pointer;}
  .info-texta:hover {color: var(--accent); text-decoration: underline;}
  .phone-link { color: var(--primary); font-weight: 700; text-decoration: none; font-size: 14px; }
  .info-textbtn {display: flex; cursor: pointer;}
  .phone-link:hover { color: var(--accent); text-decoration: underline; }

  .card-divider { height: 1px; background: #d8e4f0; margin: 14px 0; }

  .schedule-section { }
  .schedule-label { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 0.06em; margin-bottom: 8px; }
  .schedule-items { display: flex; flex-direction: column; gap: 6px; }
  .schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26,79,122,0.05);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    gap: 8px;
  }
  .schedule-date { font-weight: 700; color: var(--text-dark); }
  .schedule-type { color: var(--text-mid); }
  .schedule-status {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
  }
  .status-open { background: #e6f9f0; color: #0a8a50; border: 1px #a5e4c6 solid;cursor: pointer;}
  .status-soon { background: #fff3e8; color: #c05000; border: 1px #eac5a3 solid;cursor: pointer;}
  .status-full { background: #f0f0f0; color: #888; }
  .status-anytime { background: #e6f9f0; color: #0a8a50; border: 1px #a5e4c6 solid;cursor: pointer;}
  .status-open:hover { background: var(--accent); color: #ffffff; }
  .status-soon:hover { background: var(--accent); color: #ffffff; }
  .status-anytime:hover { background: var(--accent); color: #ffffff; }

  .features-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
  .feature-chip {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 9px;
    border-radius: 5px;
    border: 1px solid;
  }
  .chip-gubiguk { color: #c04010; border-color: #f09060; background: #fff5f0; }
  .chip-online { color: #0a7a5a; border-color: #60c09a; background: #f0fbf6; }
  .chip-face { color: #5a2ea0; border-color: #a080e0; background: #f8f4ff; }
  .chip-cbt { color: #8a6000; border-color: #d0a040; background: #fffbf0; }

  .card-cta {
    display: block;
    margin-top: 14px;
    //background: var(--primary);
	background: #d6e8fd;
    //color: #fff;
	color: var(--primary);
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: inherit;
  }
  .card-cta:hover { background: var(--accent); color: #ffffff;}

  /* Non-member minimal card */
  .card.nonmember .card-name { font-size: 14px; font-weight: 600; color: var(--text-mid); }
  .card.nonmember { opacity: 0.85; }

  /* ── PROMO BANNER ── */
  .promo-banner {
    background: linear-gradient(135deg, #fff8ee, #fff3e0);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .promo-icon { font-size: 36px; flex-shrink: 0; }
  .promo-text { flex: 1; }
  .promo-text h3 { font-size: 16px; font-weight: 700; color: #7a4800; margin-bottom: 4px; }
  .promo-text p { font-size: 13px; color: #a06020; line-height: 1.6; }
  .promo-cta {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: opacity 0.2s;
  }
  .promo-cta:hover { opacity: 0.85; }

  /* ── FOOTER ── */
  .site-footer {
    background: var(--primary-dark);
    color: #a0bcd0;
    padding: 32px 20px;
    text-align: center;
    font-size: 12px;
    line-height: 1.9;
  }
  .footer-inner { max-width: 1200px; margin: 0 auto; }
  .footer-org { font-weight: 700; color: #d0e8f8; font-size: 14px; margin-bottom: 6px; }
  .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 10px; flex-wrap: wrap; }
  .footer-links a { color: #80aacc; text-decoration: none; }
  .footer-links a:hover { color: #fff; }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .hero { padding: 36px 16px 32px; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .filter-inner { gap: 8px; }
    .filter-selects { flex-direction: column; }
    select { width: 100%; }
    .result-count { margin-left: 0; width: 100%; }
    .cards-grid { grid-template-columns: 1fr; }
    .header-inner .logo-text .org { display: none; }
    .promo-banner { flex-direction: column; text-align: center; }
	
	.searchBtn {display: none;}
	.header-cta {font-size: 11px;padding: 3px;}
  }

  @media (max-width: 480px) {
    .filter-toggle { justify-content: flex-start; }
    .hero h1 { font-size: 22px; }
    .stat-num { font-size: 22px; }
    .card { padding: 16px; }
	
	.searchBtn {display: none;}
	.header-cta {font-size: 11px;padding: 3px;}
  }

  /* Hidden class */
  .hidden { display: none !important; }

  /* Skeleton loading */
  .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
  }
  .no-results .icon { font-size: 48px; margin-bottom: 12px; }
  .no-results p { font-size: 15px; }