@charset "UTF-8";

:root {
    --bg: #f7f4ee;
    --surface: #fffdf9;
    --surface-strong: #f1ebdf;
    --line: #ddd2bc;
    --text: #2f3a32;
    --muted: #667066;
    --primary: #2f6b4f;
    --primary-dark: #244f3b;
    --primary-soft: #dfeadd;
    --accent: #c46a2d;
    --accent-soft: #f3e0d3;
    --shadow: 0 18px 40px rgba(47, 58, 50, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(196, 106, 45, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(47, 107, 79, 0.08), transparent 26%),
        var(--bg);
    color: var(--text);
    font-family: "Pretendard Variable", "Noto Sans KR", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.page-shell {
    padding-bottom: 5rem;
}

.section-block {
    padding: 4rem 0;
}

.section-block--tight {
    padding-top: 2.5rem;
}

.section-block--subtle {
    background: rgba(255, 253, 249, 0.82);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(247, 244, 238, 0.88);
    border-bottom: 1px solid rgba(221, 210, 188, 0.9);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 76px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
}

.site-brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1rem;
}

.site-brand__text {
    font-size: 1.05rem;
}

.site-header__nav-group {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav--desktop {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover {
    background: var(--surface);
    color: var(--text);
}

.site-nav__link.is-active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.site-nav-utility {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(221, 210, 188, 0.9);
}

.site-nav-utility__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav-utility__link:hover {
    background: var(--surface);
    color: var(--text);
}

.site-nav-utility__link.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}

.site-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.24rem;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    padding: 0 0.7rem;
}

.site-nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.site-offcanvas {
    background: var(--surface);
}

.site-mobile-home {
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(223, 234, 221, 0.55);
    box-shadow: var(--shadow);
}

.site-mobile-home strong {
    font-size: 1.02rem;
}

.site-mobile-home span:last-child {
    color: var(--muted);
    font-size: 0.94rem;
}

.site-mobile-home.is-active {
    border-color: rgba(47, 107, 79, 0.22);
    background: var(--primary-soft);
}

.site-mobile-home__eyebrow {
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.site-mobile-nav {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.site-mobile-nav__section {
    display: grid;
    gap: 0.5rem;
}

.site-mobile-nav__title {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.site-mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-mobile-nav__link:hover {
    border-color: rgba(47, 107, 79, 0.22);
    background: rgba(223, 234, 221, 0.45);
}

.site-mobile-nav__link.is-active {
    border-color: rgba(47, 107, 79, 0.28);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.hero-section {
    padding: 4rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    margin: 1rem 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.hero-copy {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-search-card,
.filter-panel,
.info-card,
.content-card,
.market-card,
.hero-panel__card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-search-card {
    margin-top: 1.8rem;
    padding: 1.25rem;
}

.hero-search-grid,
.filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-search-check,
.map-filter-inline {
    display: flex;
    align-items: end;
}

.hero-search-grid__full,
.filter-grid__full {
    grid-column: 1 / -1;
}

.form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-weight: 600;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.hero-actions,
.filter-grid__actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.filter-grid--enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-grid__actions--full {
    grid-column: 1 / -1;
}

.btn-primary {
    border: 0;
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: var(--line);
    border-radius: 12px;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(47, 107, 79, 0.15);
}

.form-label {
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.type-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.type-chip {
    position: relative;
}

.type-chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.type-chip span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.6rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.type-chip input:checked + span {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.type-chip input:focus-visible + span {
    outline: 2px solid rgba(47, 107, 79, 0.35);
    outline-offset: 2px;
}

.filter-hint {
    margin: 0.7rem 0 0;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-panel__map {
    position: relative;
    min-height: 420px;
    padding: 1rem;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(47, 107, 79, 0.08), rgba(196, 106, 45, 0.12)),
        var(--surface-strong);
    overflow: hidden;
}

.hero-panel__shape {
    position: absolute;
    border-radius: 999px;
    background: rgba(47, 107, 79, 0.12);
}

.hero-panel__shape--lg {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -40px;
}

.hero-panel__shape--sm {
    width: 180px;
    height: 180px;
    bottom: -40px;
    left: -30px;
    background: rgba(196, 106, 45, 0.14);
}

.hero-panel__card {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    width: min(320px, calc(100% - 2.4rem));
    padding: 1.25rem;
}

.hero-panel__card h2 {
    margin: 0 0 0.8rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.hero-preview-card {
    position: absolute;
    inset: auto 1.2rem 1.2rem 1.2rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 249, 0.94);
    box-shadow: var(--shadow);
}

.hero-preview-card__eyebrow {
    display: inline-flex;
    margin-bottom: 0.7rem;
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-preview-card h2 {
    margin: 0 0 0.8rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.hero-preview-list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: var(--muted);
}

.feature-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--muted);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading--compact {
    align-items: center;
}

.section-heading h2,
.page-header h1 {
    margin: 0.55rem 0 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
}

.page-header p,
.section-heading p,
.result-count,
.content-card__body p,
.market-card__address,
.market-card__meta,
.article-summary,
.article-meta,
.site-footer__copy,
.site-footer__meta,
.detail-hero__meta {
    color: var(--muted);
}

.section-link,
.back-link {
    color: var(--primary);
    font-weight: 700;
}

.market-grid,
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.market-card,
.content-card {
    overflow: hidden;
}

.market-card__thumb,
.content-card__thumb {
    aspect-ratio: 16 / 10;
    background: var(--surface-strong);
}

.market-card__thumb img,
.content-card__thumb img,
.article-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.market-card__fallback,
.content-card__fallback {
    display: grid;
    place-items: center;
    height: 100%;
    font-weight: 800;
    color: var(--primary-dark);
}

.market-card__body,
.content-card__body {
    padding: 1.1rem;
}

.market-card__body h2,
.market-card__body h3,
.content-card__body h2,
.content-card__body h3 {
    margin: 0.55rem 0 0.6rem;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
}

.market-badge,
.content-card__category,
.market-status {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.market-badge,
.content-card__category {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.market-status {
    background: var(--accent-soft);
    color: var(--accent);
}

.market-card__badges {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.market-card__cycle {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 700;
}

.detail-hero {
    padding: 1.8rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(47, 107, 79, 0.12), rgba(196, 106, 45, 0.12));
    margin-bottom: 1.5rem;
}

.detail-hero h1 {
    margin: 0.7rem 0;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 850;
}

.detail-hero__summary {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.detail-hero__badges {
    margin-bottom: 0.7rem;
}

.detail-action-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.info-card {
    padding: 1.4rem;
}

.info-card h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.info-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-list {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.info-list div {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(221, 210, 188, 0.55);
}

.info-list dt {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.info-list dd {
    margin: 0;
    font-weight: 600;
}

.detail-points {
    margin: 0;
    padding-left: 1.05rem;
    color: var(--muted);
}

.detail-map {
    min-height: 320px;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-strong);
}

.map-inline-card {
    min-width: 200px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.97);
    box-shadow: var(--shadow);
}

.map-inline-card strong {
    display: block;
    margin-bottom: 0.4rem;
}

.map-inline-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.map-page {
    padding-bottom: 4rem;
}

.page-header--map {
    margin-bottom: 1.6rem;
}

.map-page-layout {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.map-sidebar {
    display: grid;
    gap: 1rem;
}

.map-filter-panel,
.map-result-panel {
    padding: 1.25rem;
}

.filter-grid--map {
    grid-template-columns: 1fr;
}

.filter-grid__actions--stack {
    flex-direction: column;
    align-items: stretch;
}

.map-result-heading {
    margin-bottom: 1rem;
}

.result-summary {
    margin: 0.35rem 0 0;
}

.map-result-list {
    display: grid;
    gap: 0.8rem;
    max-height: 60vh;
    overflow: auto;
    padding-right: 0.2rem;
}

.map-result-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    text-align: left;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.map-result-card:hover,
.map-result-card:focus {
    transform: translateY(-1px);
    border-color: var(--primary);
    outline: none;
}

.map-result-card strong {
    font-size: 1.02rem;
}

.map-result-card span:not(.market-badge) {
    color: var(--muted);
    font-size: 0.93rem;
}

.map-stage {
    position: sticky;
    top: 96px;
}

.map-stage__viewport {
    /*
     * 지도 캔버스와 "이 위치 기준으로 다시 검색" 버튼을
     * 하나의 시각적/배치 기준 컨테이너로 묶는다.
     *
     * 이렇게 해야 모바일에서도 버튼의 absolute 기준이 항상 지도 영역이 되고,
     * 버튼이 지도 밖 필터 영역으로 밀려나는 현상을 막을 수 있다.
     */
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.market-map-canvas {
    min-height: 760px;
    border-radius: inherit;
    background: transparent;
}

.map-info-window {
    min-width: 240px;
    max-width: 280px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow);
}

.map-info-window__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.map-info-window h3 {
    margin: 0.55rem 0 0.5rem;
    font-size: 1.02rem;
    font-weight: 800;
}

.map-info-window p {
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.map-info-window__close {
    flex-shrink: 0;
    min-width: 52px;
    min-height: 32px;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.95);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.map-info-window__actions {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.map-info-window__actions a {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
}

.map-info-window__actions a:first-child {
    background: var(--primary);
    color: #fff;
}

.map-info-window__actions a:last-child {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.map-location-hint {
    margin-top: 0;
}

.map-center-search-button {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    /*
     * 네이버 지도 SDK가 내부 타일/오버레이 레이어에 z-index를 적극적으로 사용하므로
     * 지도 위에 올리는 재검색 버튼은 별도 조작 레이어로 충분히 높게 둔다.
     */
    z-index: 1000;
    transform: translateX(-50%);
    min-width: 260px;
    border-radius: 999px;
    box-shadow: 0 18px 30px rgba(36, 79, 59, 0.24);
    pointer-events: auto;
}

.map-center-search-button[hidden] {
    display: none;
}

.empty-state--compact {
    margin-top: 0;
    padding: 1.4rem;
}

.article-shell {
    max-width: 860px;
}

.article-title {
    margin: 0.8rem 0 0.9rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 850;
}

.article-summary {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.article-meta {
    margin-bottom: 1.3rem;
    font-size: 0.92rem;
}

.article-thumbnail {
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.article-content {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.prose h2,
.prose h3,
.prose h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
    font-weight: 800;
}

.prose p,
.prose li {
    color: var(--text);
}

.empty-state {
    margin-top: 1rem;
    padding: 2rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 249, 0.7);
    text-align: center;
}

.section-block--adsense {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.section-block--adsense-inline {
    padding-top: 0;
    padding-bottom: 0;
}

.section-block--adsense-article {
    padding-top: 1rem;
    padding-bottom: 0;
}

.section-block--adsense-bottom {
    padding-top: 0;
}

.adsense-banner {
    border: 1px solid rgba(221, 210, 188, 0.95);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 249, 0.92);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.adsense-banner--hero,
.adsense-banner--bottom,
.adsense-banner--detail,
.adsense-banner--article {
    min-height: 160px;
}

.adsense-banner__label {
    display: inline-flex;
    align-items: center;
    margin: 1rem 1rem 0;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(47, 107, 79, 0.08);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.adsense-banner ins.adsbygoogle {
    width: 100%;
}

.adsense-banner .adsbygoogle {
    width: 100%;
}

.adsense-banner__body {
    min-height: 140px;
    padding: 0.85rem 1rem 1rem;
}

.site-footer {
    padding: 2.2rem 0 2.8rem;
    border-top: 1px solid rgba(221, 210, 188, 0.9);
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__copy {
    margin: 0.45rem 0 0;
}

.site-footer__meta {
    display: grid;
    gap: 0.2rem;
    text-align: right;
    font-size: 0.92rem;
}

@media (max-width: 1199px) {
    .market-grid,
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .hero-grid,
    .detail-grid,
    .hero-search-grid,
    .filter-grid,
    .map-page-layout {
        grid-template-columns: 1fr;
    }

    .site-header__inner {
        gap: 0.75rem;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav__link {
        border-radius: 14px;
    }

    /*
     * 모바일 메뉴는 드로어 내부에서 독립적으로 동작하므로,
     * offcanvas 기본 폭만 서비스 밀도에 맞게 살짝 조정한다.
     */
    .site-offcanvas {
        width: min(88vw, 360px);
    }

    .map-stage {
        /*
         * 모바일에서는 sticky 동작만 끄고,
         * absolute 버튼의 기준 컨테이너 역할은 map-stage__viewport가 담당한다.
         * 따라서 여기서 static 이어도 버튼이 지도 밖으로 나가지 않는다.
         */
        position: static;
        order: -1;
    }

    .market-map-canvas {
        min-height: 420px;
    }

    .map-center-search-button {
        bottom: 1rem;
    }

    .map-result-list {
        max-height: none;
    }

    .filter-grid--enhanced {
        grid-template-columns: 1fr;
    }

    .adsense-banner--hero,
    .adsense-banner--bottom,
    .adsense-banner--detail,
    .adsense-banner--article {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .section-block {
        padding: 3rem 0;
    }

    .hero-section {
        padding-top: 2.5rem;
    }

    .market-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .filter-grid__actions,
    .site-footer__inner,
    .detail-action-group,
    .map-info-window__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__meta {
        text-align: left;
    }

    .hero-preview-card {
        position: relative;
        inset: auto;
        margin-top: 8rem;
    }

    .hero-panel__map {
        min-height: 340px;
    }

    .market-map-canvas {
        min-height: 360px;
    }

    .map-center-search-button {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.85rem;
        min-width: 0;
        width: calc(100% - 1.5rem);
        transform: none;
    }

    .map-filter-panel,
    .map-result-panel {
        padding: 1rem;
    }

    .section-block--adsense {
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .adsense-banner__label {
        margin: 0.85rem 0.85rem 0;
    }

    .adsense-banner__body {
        min-height: 120px;
        padding: 0.75rem 0.85rem 0.85rem;
    }
}
