/* WestHome Alanya area & neighbourhood guide styles (mobile-first) */

/* Page intro refinements */
.area-intro {
    padding-bottom: 28px;
}

.area-intro-lead {
    max-width: 68ch;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #3c3b37;
    margin-bottom: 0;
}

.area-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 26px;
    margin-top: 22px;
}

/* At a glance strip */
.area-glance {
    margin: 12px 0 34px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--copper);
    background: var(--white);
}

.area-glance-list {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
}

.area-glance-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.area-glance-item:last-child {
    border-bottom: 0;
}

.area-glance-item dt {
    margin: 0 0 6px;
    font: 600 10px/1.4 var(--sans);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #7d5d3d;
}

.area-glance-item dd {
    margin: 0;
    font: 400 15px/1.55 var(--serif);
    color: var(--ink);
}

/* Listings section framing */
.area-listings {
    padding-bottom: 18px;
}

.area-listings .results-bar {
    padding-top: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}

.area-listings .results-bar p {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.area-listings .results-bar .small-text {
    color: #4f4d47;
    font-size: 12px;
}

.area-listings .empty-results {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 2px solid var(--copper);
    border-radius: 0;
    padding: 36px 24px;
    text-align: left;
}

.area-listings .empty-results h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin-bottom: 12px;
}

.area-listings .empty-results p {
    margin: 0 0 22px;
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.75;
    color: #3c3b37;
}

.area-empty-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.area-listings .empty-results .text-link {
    margin: 0;
}

/* Hub neighbourhood cards & Nearby area cards */
.hub-areas,
.nearby-areas {
    padding: 46px 0;
    border-top: 1px solid var(--line);
}

.area-section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    max-width: 72ch;
}

.area-section-head .eyebrow {
    margin-bottom: 4px;
}

.area-section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    margin: 0;
}

.area-section-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #3c3b37;
}

.area-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.area-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    min-width: 0;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17, 24, 32, .08);
    border-color: #c5bcaf;
}

.area-card-media {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sand);
}

.area-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.area-card:hover .area-card-media img {
    transform: scale(1.035);
}

.area-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 20px;
}

.area-card-tag {
    display: block;
    margin-bottom: 8px;
    font: 600 10px/1.4 var(--sans);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7d5d3d;
}

.area-card-body h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    color: var(--ink);
}

.area-card-body p {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #4f4d47;
}

.area-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding-bottom: 4px;
    border-bottom: 1px solid #b9aa98;
    font: 600 10px/1.4 var(--sans);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}

.area-card:hover .area-card-cta {
    color: #7d5d3d;
    border-bottom-color: #7d5d3d;
}

/* Long-form editorial layout & readable typography */
.area-editorial {
    border-top: 1px solid var(--line);
    padding-top: 44px;
    padding-bottom: 56px;
}

.area-prose {
    max-width: 72ch;
}

.area-prose > section + section {
    margin-top: 44px;
    padding-top: 38px;
    border-top: 1px solid var(--line);
}

.area-prose h2 {
    font-size: clamp(26px, 2.7vw, 34px);
    line-height: 1.2;
    margin: 0 0 18px;
    color: var(--ink);
}

.area-prose h3 {
    font-size: 21px;
    line-height: 1.3;
    margin: 26px 0 10px;
    color: var(--ink);
}

.area-prose p {
    font-size: 16px;
    line-height: 1.82;
    color: #3c3b37;
    margin: 0 0 18px;
}

.area-prose p:last-child {
    margin-bottom: 0;
}

.area-prose a:not(.button):not(.text-link) {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--copper);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color .15s ease, text-decoration-color .15s ease;
}

.area-prose a:not(.button):not(.text-link):hover {
    color: #7d5d3d;
    text-decoration-color: #7d5d3d;
}

.area-checklist {
    list-style: none;
    margin: 18px 0 22px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.area-checklist li {
    position: relative;
    padding-left: 20px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #3c3b37;
}

.area-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 2px;
    background: var(--copper);
}

.area-checklist strong {
    color: var(--ink);
    font-weight: 600;
}

.area-note {
    margin: 22px 0;
    padding: 20px 22px;
    background: var(--sand);
    border-left: 2px solid var(--copper);
}

.area-note p {
    font-size: 15px;
    line-height: 1.75;
    color: #353430;
    margin: 0;
}

/* Buying steps overview (Alanya hub) */
.buying-steps {
    list-style: none;
    margin: 24px 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.buying-steps li {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 18px 20px;
}

.buying-step-num {
    display: block;
    margin-bottom: 6px;
    font: 400 20px/1 var(--serif);
    color: #7d5d3d;
}

.buying-steps h3 {
    margin: 0 0 6px;
    font: 600 15px/1.4 var(--sans);
    letter-spacing: .01em;
    color: var(--ink);
}

.buying-steps p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #4f4d47;
}

/* FAQ refinements */
.area-prose .faq-section {
    margin-top: 48px;
    padding-top: 42px;
}

.area-prose .faqs details {
    padding: 18px 0;
}

.area-prose .faqs summary {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
    min-height: 44px;
}

.area-prose .faqs summary span {
    color: #7d5d3d;
    transition: transform .2s ease;
}

.area-prose .faqs details p {
    font-size: 15px;
    line-height: 1.78;
    color: #3c3b37;
    margin: 12px 0 4px;
}

/* Collections strip inside editorial */
.area-collections {
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.area-collections .eyebrow {
    margin-bottom: 10px;
}

.area-collections h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.area-collections .collection-tags {
    margin-top: 18px;
}

.area-collections .collection-tags a {
    font-size: 11px;
    padding: 10px 15px;
    color: var(--ink);
    background: var(--white);
}

.area-collections .collection-tags a:hover {
    color: #ffffff;
    background: var(--forest);
    border-color: var(--forest);
}

/* Side panel readability */
.area-editorial .side-panel {
    border-top: 2px solid var(--copper);
}

.area-editorial .side-panel p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4f4d47;
}

.area-editorial .side-links a {
    font-size: 12.5px;
    color: var(--ink);
    line-height: 1.5;
}

.area-editorial .side-links a:hover {
    color: #7d5d3d;
}

/* Responsive breakpoints (mobile-first) */
@media (min-width: 560px) {
    .area-glance-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-glance-item {
        border-right: 1px solid var(--line);
    }

    .area-glance-item:nth-child(2n) {
        border-right: 0;
    }

    .area-glance-item:nth-last-child(-n+2) {
        border-bottom: 0;
    }

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

@media (min-width: 680px) {
    .area-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (min-width: 960px) {
    .area-glance-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .area-glance-item {
        padding: 22px 24px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .area-glance-item:nth-child(2n) {
        border-right: 1px solid var(--line);
    }

    .area-glance-item:last-child {
        border-right: 0;
    }

    .area-prose p {
        font-size: 16.5px;
    }
}

@media (min-width: 1024px) {
    .area-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}
