/* Condo Dict｜曼谷公寓词典 - frontend design tokens */
/* condodict-css-version: 20260721-home-search-button-70 */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
    --condo-green: #00A85A;
    --brand-green: #00A85A;
    --mint-bg: #E9F8F0;
    --deep-green: #087A47;
    --ink: #17211b;
    --ink-soft: #46564d;
    --muted: #6b7a72;
    --line: #d9e6df;
    --paper: #ffffff;
    --wash: #f7faf8;
    --soft: #f1f6f3;
    --amber: #a96800;
    --amber-bg: #fff6df;
    --sky: #246b8f;
    --sky-bg: #e8f5fb;
    --danger: #b42318;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 12px 34px rgba(8, 122, 71, .08);
    --max-width: 1180px;
    --home-content-width: 1180px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--wash);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep-green); text-decoration: none; }
a:hover { color: var(--condo-green); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(0, 168, 90, .38); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--max-width)); margin: 0 auto; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    transform: translateY(-140%);
    background: var(--deep-green);
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    z-index: 999;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    min-width: 0;
}
.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}
.brand-copy { display: grid; line-height: 1.2; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1rem; color: var(--ink); }
.brand-line { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    color: var(--ink-soft);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 600;
}
.nav-link:hover, .nav-link.active { background: var(--mint-bg); color: var(--deep-green); }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--deep-green); border-radius: 2px; }

.main { flex: 1; }
.hero, .page-hero {
    background:
        linear-gradient(90deg, rgba(233, 248, 240, .96), rgba(255, 255, 255, .82)),
        radial-gradient(circle at 85% 12%, rgba(0, 168, 90, .12), transparent 34%);
    border-bottom: 1px solid var(--line);
}
.knowledge-hero { padding: 68px 0 56px; }
.compact-hero { padding: 38px 0 30px; }
.home-knowledge-hero { padding: 41px 0 34px; }
.home-knowledge-hero h1 { font-size: 2.52rem; }
.condo-index-hero, .area-index-hero { padding: 19px 0 15px; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 32px;
    align-items: center;
}
.hero-copy { min-width: 0; }
.knowledge-hero .hero-grid {
    grid-template-columns: minmax(0, var(--home-content-width));
    justify-content: center;
}
.knowledge-hero .hero-copy,
.knowledge-hero .dictionary-search,
.knowledge-hero .home-condo-sections {
    max-width: 100%;
    min-width: 0;
    width: min(100%, var(--home-content-width));
}
.eyebrow {
    color: var(--deep-green);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}
h1, h2, h3 { line-height: 1.25; letter-spacing: 0; }
.hero h1, .page-hero h1 {
    font-size: clamp(2rem, 5vw, 4.2rem);
    max-width: 820px;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}
.compact-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.hero-sub, .page-desc {
    color: var(--ink-soft);
    font-size: 1.08rem;
    max-width: 760px;
    overflow-wrap: anywhere;
}
.hero-search {
    display: flex;
    gap: 10px;
    max-width: 680px;
    margin-top: 28px;
}
.search-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    padding: 13px 15px;
}
.search-btn, .btn-primary {
    border: 1px solid var(--condo-green);
    background: var(--condo-green);
    color: #fff;
    border-radius: var(--radius);
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}
.search-btn:hover, .btn-primary:hover { background: var(--deep-green); border-color: var(--deep-green); color: #fff; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--deep-green);
    color: var(--deep-green);
    background: var(--paper);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-weight: 700;
}
.btn-outline:hover { background: var(--mint-bg); }
.btn-block { width: 100%; }
.btn-text, .text-link {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: var(--deep-green);
}
.trust-card, .data-disclaimer, .sidebar-widget, .filter-sidebar, .service-item, .data-tile {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.hero-panel { display: grid; gap: 12px; }
.trust-card { padding: 18px; box-shadow: var(--shadow); }
.trust-label {
    display: inline-flex;
    color: var(--deep-green);
    background: var(--mint-bg);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.trust-card strong { display: block; font-size: 1.05rem; }
.trust-card p { color: var(--muted); margin-top: 4px; }

.section { padding: 52px 0; }
.section-mint { background: var(--mint-bg); border-block: 1px solid var(--line); }
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}
.section-head h2 { font-size: 1.7rem; }
.breadcrumb, .current-filter {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 12px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb-only-hero { padding: 14px 0 2px; }
.detail-breadcrumb { padding-top: 22px; }

.condo-grid, .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.condo-card, .article-card, .area-card, .blog-card {
    display: block;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.condo-card:hover, .article-card:hover, .area-card:hover, .blog-card:hover {
    color: var(--ink);
    border-color: rgba(0, 168, 90, .45);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.condo-card-img, .article-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eef3ef;
    overflow: hidden;
}
.condo-card-img img, .article-card-img img, .blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.data-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: var(--deep-green);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .78rem;
    font-weight: 800;
}
.condo-card-img .data-badge {
    position: absolute;
    left: 10px;
    top: 10px;
}
.data-badge.subtle { background: var(--mint-bg); color: var(--deep-green); }
.condo-card-body, .article-card-body, .blog-card-body { padding: 16px; }
.condo-card-title { font-size: 1.04rem; margin-bottom: 4px; }
.condo-card-sub { color: var(--muted); font-size: .9rem; margin-bottom: 12px; min-height: 1.4em; }
.meta-list { display: grid; gap: 8px; }
.meta-list div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}
.meta-list.stacked div { grid-template-columns: 1fr; gap: 2px; }
.meta-list dt { color: var(--muted); font-size: .8rem; }
.meta-list dd { color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.price-main { color: var(--deep-green); font-weight: 800; }
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.area-card { padding: 18px; }
.area-card p { color: var(--muted); margin-top: 4px; }
.area-index-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.area-index-card {
    display: grid;
    gap: 6px;
    min-height: 150px;
}
.area-index-card span {
    margin-top: auto;
    color: var(--deep-green);
    font-size: .88rem;
    font-weight: 800;
}
.article-cat, .tag {
    display: inline-flex;
    background: var(--mint-bg);
    color: var(--deep-green);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .78rem;
    font-weight: 800;
}
.article-card h3 { margin: 9px 0 8px; font-size: 1.02rem; }
.article-meta { color: var(--muted); font-size: .86rem; }

.condo-page { padding: 28px 0 56px; }
.condo-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.filter-sidebar {
    padding: 18px;
    position: sticky;
    top: 92px;
}
.filter-form h2, .sidebar-widget h2 { font-size: 1.05rem; margin-bottom: 14px; }
.filter-group { margin-bottom: 14px; }
.filter-group label {
    display: block;
    color: var(--ink-soft);
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.filter-group input[type="search"],
.filter-group input[type="number"],
.filter-group select,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    padding: 10px 11px;
    color: var(--ink);
}
.price-range-inputs { display: flex; align-items: center; gap: 8px; }
.price-range-inputs input { min-width: 0; }
.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--ink) !important;
    font-weight: 500 !important;
}
.result-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}
.result-count, .data-note { color: var(--muted); }

.condo-detail { padding-bottom: 56px; }
.profile-header {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: start;
    padding: 18px 0 22px;
}
.profile-header h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.detail-name-en { color: var(--muted); margin-top: 6px; }
.profile-status { display: flex; flex-wrap: wrap; gap: 8px; justify-content: end; }
.data-disclaimer { padding: 16px 18px; margin-bottom: 22px; background: var(--mint-bg); }
.data-disclaimer p { color: var(--ink-soft); margin-top: 4px; }
.detail-gallery { margin-bottom: 24px; }
.gallery-main {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef3ef;
    aspect-ratio: 16 / 8;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; }
.gallery-thumb-button {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    padding: 0;
    cursor: pointer;
}
.gallery-thumb { width: 84px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); opacity: .72; }
.gallery-thumb.active { opacity: 1; outline: 3px solid rgba(0, 168, 90, .36); }
.detail-breadcrumb-bar {
    position: sticky;
    top: 68px;
    z-index: 45;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(16,35,27,.06);
    backdrop-filter: blur(10px);
}
.detail-breadcrumb-row {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.detail-breadcrumb {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
.detail-anchor-nav {
    z-index: 46;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}
.detail-anchor-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 36px;
    padding: 8px 13px;
    border: 2px solid var(--brand-green);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--ink);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(8, 122, 71, .12);
}
.detail-anchor-nav a:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
}
.text-preserve {
    white-space: pre-wrap;
    color: var(--ink-soft);
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.profile-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
}
.detail-section {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 18px;
}
.detail-section h2 { font-size: 1.22rem; margin-bottom: 14px; }
.floor-plan-group-title { margin: 16px 0 10px; color: var(--deep-green); font-size: 1rem; }
.detail-section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.detail-section-title-row h2 {
    margin-bottom: 0;
}
.detail-updated-at {
    margin-left: auto;
    color: var(--muted);
    font-size: .82rem;
    white-space: nowrap;
    text-align: right;
}
.section-note {
    color: var(--muted);
    font-size: .92rem;
    margin: -6px 0 12px;
}
.floating-review-link {
    position: fixed;
    right: 24px;
    top: 138px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    border: 2px solid var(--brand-green);
    border-radius: 999px;
    background: var(--paper);
    color: var(--brand-green);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(8, 122, 71, .16);
}
.floating-review-link.is-disabled {
    border-color: var(--line);
    color: var(--muted);
    background: var(--soft);
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
}
.map-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(13, 25, 20, .84);
}
.image-lightbox.open { display: flex; }
.image-lightbox img {
    max-width: min(100%, 1120px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
.image-lightbox button {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 50%;
    background: rgba(0,0,0,.42);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.image-lightbox button:hover { background: rgba(0,0,0,.62); }
.image-lightbox .lightbox-close { top: 18px; right: 18px; }
.image-lightbox .lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.image-lightbox .lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.map-empty {
    display: grid;
    place-items: center;
    min-height: 180px;
    color: var(--muted);
    font-weight: 700;
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
    border-top: 1px solid var(--line);
    padding: 11px 0;
    text-align: left;
    vertical-align: top;
}
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 0; }
.info-table th { width: 120px; color: var(--muted); font-size: .88rem; font-weight: 700; }
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.data-tile { padding: 16px; }
.data-tile span { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.data-tile strong { display: block; overflow-wrap: anywhere; }
.record-list { list-style: none; display: grid; gap: 8px; }
.record-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px;
}
.line-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: var(--sky-bg);
    color: var(--sky);
    font-weight: 900;
    font-size: .78rem;
    padding: 4px 8px;
}
.type-bts { background: var(--mint-bg); color: var(--deep-green); }
.type-mrt { background: var(--sky-bg); color: var(--sky); }
.nearby-grid, .floor-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}
.nearby-item, .floor-plan-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px;
    background: var(--wash);
}
.nearby-item span, .nearby-item em { color: var(--muted); font-style: normal; font-size: .86rem; }
.nearby-item strong { display: block; margin: 4px 0; }
.floor-plan-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; }
.floor-plan-card h3 { font-size: 1rem; margin-bottom: 4px; }
.floor-plan-card p { color: var(--muted); font-size: .9rem; }
.floor-plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 6px;
}
.floor-plan-meta span {
    color: var(--muted);
    font-size: .9rem;
}
.floor-plan-card[data-plan-type="floor"] .floor-plan-meta {
    display: none;
}
.fp-price { color: var(--deep-green) !important; font-weight: 800; margin-top: 4px; }
.rich-content p { margin: 0 0 12px; }
.rich-content ul,
.rich-content ol {
    margin: 0 0 12px 20px;
    padding: 0;
}
.rich-content li { margin-bottom: 6px; }
.rich-content a {
    color: var(--deep-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}
.editor-review {
    border-left: 4px solid var(--condo-green);
    background: var(--mint-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px;
}
.unknown { color: var(--muted); background: var(--wash); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px; }
.data-sidebar { position: sticky; top: 92px; display: grid; gap: 14px; }
.sidebar-widget { padding: 18px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-detail { padding-top: 28px; }
.area-cover-media {
    margin: 0 0 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef3ef;
    aspect-ratio: 16 / 7;
}
.area-cover-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}
.area-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.area-square-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.area-square-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.area-square-card:hover {
    color: var(--ink);
    border-color: rgba(0, 168, 90, .45);
    box-shadow: var(--shadow);
}
.area-square-card-media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef3ef;
}
.area-square-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.area-square-card-body {
    display: grid;
    gap: 5px;
    padding: 12px;
    min-width: 0;
}
.area-square-card-body strong,
.area-square-card-body span {
    overflow-wrap: anywhere;
}
.area-square-card-body span {
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.35;
}
.area-square-card.is-empty {
    min-height: 180px;
    place-items: center;
    background: var(--wash);
    border-style: dashed;
}
.area-nav-list {
    display: grid;
    gap: 8px;
}
.area-nav-list a {
    display: block;
    padding: 9px 10px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--wash);
}
.area-nav-list a:hover,
.area-nav-list a:focus-visible {
    color: var(--deep-green);
    border-color: rgba(0, 168, 90, .35);
    background: var(--mint-bg);
}
.area-checks {
    display: grid;
    gap: 10px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
}
.area-checks li {
    color: var(--ink);
}
.area-checks li::before {
    color: #fff;
    background: var(--condo-green);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    padding: 32px 0 56px;
    align-items: start;
}
.blog-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); margin-bottom: 16px; }
.blog-card-img { min-height: 170px; background: #eef3ef; }
.blog-card-body h2 { font-size: 1.18rem; margin: 8px 0; }
.blog-card-body h2 a { color: var(--ink); }
.blog-excerpt { color: var(--ink-soft); margin-bottom: 8px; }
.blog-sidebar { position: sticky; top: 92px; }
.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.guide-article-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #eef3ef;
    color: #fff;
    container-type: inline-size;
}
.guide-article-card:hover { color: #fff; border-color: rgba(0, 168, 90, .55); }
.guide-article-media,
.guide-article-media img { display: block; width: 100%; height: 100%; }
.guide-article-media img { object-fit: cover; }
.guide-article-title {
    position: absolute;
    inset: auto 0 0;
    display: -webkit-box;
    overflow: hidden;
    padding: 12px 14px;
    background: rgba(11, 42, 29, .84);
    color: #fff;
    font-size: clamp(.82rem, 6cqi, 1.1rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.cat-list { list-style: none; display: grid; gap: 6px; }
.cat-list a {
    display: block;
    color: var(--ink-soft);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
}
.cat-list a:hover, .cat-list a.active { background: var(--mint-bg); color: var(--deep-green); }
.article-detail { max-width: 820px; padding: 28px 0 60px; }
.article-header { margin-bottom: 26px; }
.article-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.article-header .article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.article-body { font-size: 1.03rem; line-height: 1.85; }
.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 1.35rem; margin: 32px 0 12px; }
.article-body h3 { font-size: 1.16rem; margin: 24px 0 10px; }
.article-body h4 { font-size: 1.05rem; margin: 20px 0 8px; }
.article-body ul,
.article-body ol { margin: 0 0 16px; padding-left: 1.5rem; }
.article-body li + li { margin-top: 6px; }
.article-body blockquote {
    margin: 22px 0;
    padding: 10px 16px;
    color: var(--ink-soft);
    border-left: 3px solid var(--condo-green);
    background: var(--mint-bg);
}
.article-body figure { max-width: 100%; margin: 24px 0; }
.article-body figure img { margin: 0; }
.article-body figcaption { margin-top: 8px; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; text-align: center; }
.article-body a { color: var(--deep-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.article-body a:hover { color: var(--condo-green); }
.article-body img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); margin: 18px 0; }
@media (max-width: 640px) {
    .article-body { font-size: 1rem; }
    .article-body h2 { margin-top: 28px; }
    .article-body h3 { margin-top: 22px; }
    .article-body ul,
    .article-body ol { padding-left: 1.25rem; }
    .article-body blockquote { margin: 18px 0; padding: 9px 13px; }
}
.related-condos { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 26px; }
.related-condo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}
.related-condo-card {
    display: block;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.related-condo-card:hover {
    color: var(--ink);
    border-color: rgba(0, 168, 90, .45);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.related-condo-cover {
    aspect-ratio: 1 / 1;
    background: #eef3ef;
    overflow: hidden;
}
.related-condo-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.related-condo-body {
    padding: 13px;
}
.related-condo-body h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.about-page { max-width: 900px; padding: 34px 0 60px; }
.about-section { margin-bottom: 34px; }
#about .about-section:first-child,
#about .about-section:nth-child(2) > h2 {
    display: none;
}
.about-section h2 { font-size: 1.45rem; margin-bottom: 12px; }
.about-section p { color: var(--ink-soft); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.service-item { padding: 18px; }
.service-item h3 { margin-bottom: 6px; }
.contact-form { max-width: 680px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-group textarea { resize: vertical; }
.alert {
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-bottom: 14px;
}
.alert-success { background: var(--mint-bg); color: var(--deep-green); border: 1px solid rgba(0, 168, 90, .28); }
.alert-error { background: #fff0ed; color: var(--danger); border: 1px solid rgba(180, 35, 24, .22); }

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}
.page-link {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    background: var(--paper);
}
.page-link:hover, .page-link.active { background: var(--deep-green); border-color: var(--deep-green); color: #fff; }
.empty-state {
    text-align: center;
    border: 1px dashed var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    padding: 42px 18px;
}
.empty-state h2 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 16px; }

.dictionary-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 16px;
    margin-top: 28px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.dictionary-search .filter-group {
    min-width: 0;
    margin: 0;
}
.dictionary-search .project-filter { grid-column: 1 / -1; }
.dictionary-search .meta-filter { grid-column: span 2; }
.dictionary-search .action-row {
    display: flex;
    grid-column: span 2;
    justify-content: stretch;
    align-items: end;
}
.dictionary-search .search-btn {
    width: 70%;
    min-height: 0;
    height: 27px;
    padding: 1px 13px;
    font-size: 1.4rem;
    line-height: 1;
}
.dictionary-search input,
.dictionary-search select {
    width: 100%;
    min-width: 0;
}

.home-condo-sections {
    display: grid;
    gap: 18px;
    max-width: 100%;
    min-width: 0;
    margin-top: 20px;
}
.home-condo-group {
    max-width: 100%;
    min-width: 0;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(8, 122, 71, .06);
}
.home-condo-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.home-condo-group h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
}
.home-view-all {
    flex: 0 0 auto;
    color: var(--deep-green);
    font-size: .9rem;
    font-weight: 750;
}
.home-condo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.home-condo-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
    color: var(--ink);
    text-decoration: none;
    background: var(--mint-bg);
    border: 1px solid rgba(0, 168, 90, .18);
    border-radius: var(--radius);
}
.home-condo-card-media,
.area-card-media {
    display: block;
    overflow: hidden;
    background: #eef3ef;
}
.home-condo-card-media { aspect-ratio: 16 / 9; }
.home-condo-card-media img,
.area-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-condo-card:hover,
.home-condo-card:focus-visible {
    color: var(--deep-green);
    border-color: var(--condo-green);
    transform: translateY(-1px);
}
.home-condo-card strong {
    font-size: 1.05rem;
    line-height: 1.25;
}
.home-condo-meta {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.45;
}
.home-condo-meta span { overflow-wrap: anywhere; }

#areas .section-head,
#areas .area-grid,
#articles .section-head,
#articles .article-grid {
    width: min(100% - 32px, var(--home-content-width));
    margin-inline: auto;
}
#areas .area-grid,
#articles .article-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
#areas .area-card,
#articles .article-card {
    aspect-ratio: 1 / 1;
}
#areas .area-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    padding: 0;
}
#areas .area-card-media { min-height: 0; }
#areas .area-card h3 { margin: 12px 14px 0; }
#areas .area-card p { margin: 4px 14px 14px; }
#articles .article-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}
#articles .article-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.credibility-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    text-align: center;
}
.credibility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    min-width: 0;
    color: var(--deep-green);
    background: var(--mint-bg);
    border: 1px solid rgba(0, 168, 90, .18);
    border-radius: 999px;
}
.credibility-icon-mark {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    color: var(--paper);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    background: var(--condo-green);
    border-radius: 999px;
}
.credibility-icon strong {
    font-size: 24px;
    line-height: 1.25;
    white-space: nowrap;
}
.credibility-icon span:last-child { display: none; }

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--paper);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    background: var(--condo-green);
    border: 2px solid #000;
    border-radius: 999px;
    box-shadow: none;
}
.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--paper);
    background: var(--deep-green);
    outline: 3px solid rgba(0, 168, 90, .22);
    outline-offset: 3px;
}

.footer-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dff8ea;
    font-size: .92rem;
}
.footer-checks li::before {
    content: "✓";
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    color: var(--deep-green);
    font-size: 13px;
    font-weight: 800;
    background: var(--paper);
    border-radius: 999px;
}
.area-principles-widget .footer-checks.area-checks {
    display: grid;
}
.area-principles-widget .footer-checks.area-checks li {
    color: var(--ink);
}
.area-principles-widget .footer-checks.area-checks li::before {
    color: #fff;
    background: var(--condo-green);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}
.site-footer .footer-links a { margin-bottom: 0; }

.site-footer {
    margin-top: auto;
    background: var(--deep-green);
    color: var(--paper);
    padding: 36px 0 18px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 26px;
}
.site-footer h2 { font-size: 1rem; margin-bottom: 10px; color: var(--paper); }
.site-footer p, .site-footer a { color: #dff8ea; font-size: .92rem; }
.site-footer a { display: block; margin-bottom: 6px; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .32);
    margin-top: 24px;
    padding-top: 14px;
}

@media (max-width: 1180px) {
    :root { --home-content-width: 100%; }
    .knowledge-hero { padding: 56px 0 48px; }
    .home-knowledge-hero { padding: 34px 0 29px; }
    .home-knowledge-hero h1 { font-size: 2.04rem; }
    .hero h1, .page-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
    .condo-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 18px;
    }
    .condo-grid, .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 14px;
    }
    .home-condo-grid { gap: 10px; }
    .home-condo-card { padding: 12px; }
    .detail-section { padding: 18px; }
}

@media (max-width: 900px) {
    :root { --home-content-width: 100%; }
    .hero-grid, .condo-layout, .profile-body, .blog-layout, .footer-grid {
        grid-template-columns: 1fr;
    }
    .knowledge-hero .hero-grid { grid-template-columns: 1fr; }
    .home-condo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #areas .area-grid,
    #articles .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filter-sidebar, .data-sidebar, .blog-sidebar { position: static; }
    .filter-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 14px;
    }
    .filter-form h2,
    .filter-form .btn-primary,
    .filter-form .btn-text {
        grid-column: 1 / -1;
    }
    .filter-form .filter-group { margin-bottom: 0; }
    .hero-panel { grid-template-columns: repeat(3, 1fr); }
    .blog-card { grid-template-columns: 1fr; }
    .blog-card-img { aspect-ratio: 16 / 9; }
    .guide-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gallery-main { aspect-ratio: 16 / 9; }
}

@media (max-width: 768px) {
    .header-inner { min-height: 64px; }
    .brand-logo { width: 44px; height: 44px; }
    .brand-name { font-size: .92rem; }
    .brand-line { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 8px;
    }
    .nav.open { display: flex; }
    .nav-link { padding: 12px; }
    .knowledge-hero { padding: 36px 0 34px; }
    .home-knowledge-hero { padding: 22px 0 20px; }
    .home-knowledge-hero h1 { font-size: 2.04rem; }
    .hero-search, .result-toolbar, .profile-header, .section-head {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-panel { grid-template-columns: 1fr; }
    .dictionary-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 14px;
    }
    .dictionary-search .project-filter,
    .dictionary-search .meta-filter,
    .dictionary-search .action-row { grid-column: 1 / -1; }
    .section { padding: 42px 0; }
    .home-condo-group { padding: 14px; }
    .home-condo-card { padding: 12px; }
    .profile-body { gap: 16px; }
    .detail-section {
        padding: 16px;
        margin-bottom: 14px;
    }
    .floating-review-link { top: 76px; right: 12px; }
    .credibility-icons { gap: 6px; }
    .credibility-icon {
        gap: 5px;
        padding: 8px 9px;
    }
    .credibility-icon-mark {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
        font-size: 11px;
    }
    .credibility-icon strong { font-size: clamp(12px, 3.2vw, 21px); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .record-list li { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 640px) {
    body { padding-bottom: 86px; }
    .container { width: min(100% - 24px, var(--max-width)); }
    .home-condo-sections,
    .home-condo-group {
        width: 100%;
    }
    .dictionary-search,
    .home-condo-grid,
    #areas .area-grid,
    #articles .article-grid,
    .filter-form,
    .condo-grid,
    .article-grid,
    .area-grid,
    .nearby-grid,
    .floor-plan-grid {
        grid-template-columns: 1fr;
    }
    .filter-form {
        display: grid;
        gap: 12px;
    }
    .price-range-inputs { gap: 6px; }
    .price-range-inputs span {
        width: 10px;
        text-align: center;
    }
    .page-hero, .compact-hero { padding: 28px 0 24px; }
    .condo-index-hero, .area-index-hero { padding: 14px 0 12px; }
    .breadcrumb-only-hero { padding: 12px 0 1px; }
    .guide-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero h1, .page-hero h1 { font-size: 1.9rem; }
    .home-knowledge-hero h1 { font-size: 1.14rem; }
    .hero-sub, .page-desc { font-size: .98rem; }
    .condo-card-body, .article-card-body, .blog-card-body { padding: 14px; }
    .info-table { border-collapse: separate; border-spacing: 0; }
    .info-table tr { display: grid; grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); }
    .info-table th, .info-table td {
        display: block;
        width: auto;
        padding: 9px 0;
    }
    .info-table th {
        padding-right: 10px;
        overflow-wrap: anywhere;
    }
    .info-table td {
        border-top: 1px solid var(--line);
        padding-top: 9px;
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .info-table tr:first-child th,
    .info-table tr:first-child td { border-top: 0; }
    .gallery-main, .map-frame { aspect-ratio: 4 / 3; }
    .detail-breadcrumb-bar {
        position: static;
        border-bottom: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
    }
    .detail-breadcrumb-row {
        display: block;
        min-height: 0;
    }
    .detail-anchor-nav {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px;
        overflow: visible;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255,255,255,.95);
        box-shadow: 0 14px 32px rgba(16,35,27,.18);
    }
    .detail-anchor-nav a {
        width: 100%;
        height: auto;
        min-height: 46px;
        aspect-ratio: 1 / 1;
        padding: 4px;
        border-radius: 50%;
        font-size: clamp(.58rem, 2.35vw, .72rem);
        box-shadow: none;
    }
    .credibility-icons { gap: 6px; }
    .credibility-icon {
        gap: 5px;
        padding: 8px 9px;
    }
    .credibility-icon-mark {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
        font-size: 11px;
    }
    .credibility-icon strong { font-size: clamp(12px, 3.2vw, 21px); }
}

@media (max-width: 480px) {
    .back-to-top {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
    .credibility-icons { gap: 3px; }
    .credibility-icon {
        gap: 3px;
        padding: 6px 4px;
    }
    .credibility-icon-mark {
        width: 12px;
        height: 12px;
        flex-basis: 12px;
        font-size: 8px;
    }
    .credibility-icon strong { font-size: clamp(10px, 3.05vw, 13px); }
    .section { padding: 36px 0; }
    .home-condo-group { padding: 12px; }
    .home-condo-group h2 { font-size: 1.15rem; }
    .home-condo-card strong { font-size: .98rem; }
    .filter-sidebar { padding: 14px; }
    .brand { gap: 8px; }
    .brand-logo { width: 38px; height: 38px; }
    .brand-name { font-size: .82rem; }
    .meta-list div { grid-template-columns: 1fr; gap: 2px; }
}
