/* Site detay sayfası — sıkılaştırılmış düzen (v2). Ziyaretçi ve üye görünümünde boş alan kalmaz. */

/* Genel ritim: bölümler arası boşluk ve başlık boyu küçültüldü */
.site-detail-page .sd-section { padding: 64px 0; }
.site-detail-page .sd-section h2 { margin: 10px 0 28px; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.08; }
.site-detail-page .sd-hero__content { padding-bottom: 48px !important; }

/* Kapağın altındaki bilgi şeridi */
.sdv2-strip { position: relative; z-index: 2; margin-top: -26px; }
.sdv2-strip ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sdv2-strip li, .sdv2-strip li a { display: inline-flex; align-items: center; gap: 8px; }
.sdv2-strip li { padding: 11px 18px; border: 1px solid var(--sd-line); border-radius: 999px; background: #fff; color: var(--sd-ink); font-size: .9rem; font-weight: 650; box-shadow: 0 10px 28px rgba(39, 31, 20, .08); }
.sdv2-strip li a { color: inherit; text-decoration: none; }
.sdv2-strip li span { color: #b67b0d; font-size: .95rem; }
.sdv2-strip li.is-locked { background: #faf8f4; color: #8a847a; }
.sdv2-strip li.is-locked span { font-size: .78rem; }
.sdv2-strip li.sdv2-strip__cta { border-color: #1b1b1a; background: #1b1b1a; color: #fff; }
.sdv2-strip li.sdv2-strip__cta a { color: var(--sd-gold); font-weight: 800; }


/* Genel bakış: metin + kaydırınca sabit kalan yan sütun */
.sdv2-overview { padding-top: 48px !important; }
.sdv2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.sdv2-main .sd-copy { max-width: 720px; }
.sdv2-copy.is-clamped { position: relative; max-height: 13.5em; overflow: hidden; }
.sdv2-copy.is-clamped::after { content: ""; position: absolute; inset: auto 0 0; height: 4.5em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.sdv2-copy.is-clamped.is-open { max-height: none; }
.sdv2-copy.is-clamped.is-open::after { display: none; }
.sdv2-more { margin: 14px 0 0; padding: 0; border: 0; background: none; color: #b67b0d; font: inherit; font-weight: 800; cursor: pointer; }
.sdv2-main .sd-editor { margin-top: 22px; }

.sdv2-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.sdv2-side .member-lock { margin: 0; border-radius: 22px; box-shadow: 0 18px 44px rgba(39, 31, 20, .08); }
.sdv2-side .member-lock__body { padding: 26px 26px 24px; }
.sdv2-side .member-lock h2 { margin: 8px 0 14px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.sdv2-side .member-lock ul { grid-template-columns: 1fr; gap: 7px; margin-bottom: 18px; }
.sdv2-side .member-lock li { font-size: .88rem; }
.sdv2-side .member-lock__actions a { flex: 1; min-height: 46px; padding: 0 16px; }
.sdv2-side .member-lock__note { font-size: .76rem; }

.sdv2-facts { padding: 22px 24px 8px; border: 1px solid var(--sd-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 44px rgba(39, 31, 20, .07); }
.sdv2-facts .eyebrow { margin: 0 0 6px; }
.sdv2-facts .sd-facts { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.sdv2-facts .sd-facts > div { padding-top: 12px; padding-bottom: 12px; }

.sdv2-listing-note { display: grid; gap: 4px; padding: 20px 24px; border-radius: 20px; background: #1b1b1a; color: #fff; text-decoration: none; transition: transform .2s ease; }
.sdv2-listing-note:hover { transform: translateY(-2px); }
.sdv2-listing-note .eyebrow { margin: 0; color: var(--sd-gold); font-size: .7rem; }
.sdv2-listing-note strong { font-size: 1.05rem; font-weight: 650; }
.sdv2-listing-note em { color: var(--sd-gold); font-size: .86rem; font-style: normal; font-weight: 800; }

/* İlanlar */
.site-detail-page .sd-listings { padding: 56px 0 !important; }

/* Sosyal olanaklar: tam genişlik çipler */
.sdv2-amenities { padding-top: 56px !important; }
.sdv2-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sdv2-chips li { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px; border: 1px solid var(--sd-line); border-radius: 16px; background: #fff; font-weight: 650; line-height: 1.25; }
.sdv2-chips i { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sd-gold); color: #171716; font-size: .8rem; font-style: normal; font-weight: 900; }

/* Alt bölümler / etaplar */
.sdv2-subsections { padding-top: 48px !important; padding-bottom: 32px !important; }
.sdv2-subsections__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sdv2-subsection { padding: 20px 22px; border: 1px solid var(--sd-line); border-radius: 18px; background: #fff; }
.sdv2-subsection h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.sdv2-subsection__meta { margin: 0 0 8px; color: #b67b0d; font-size: .82rem; font-weight: 800; }
.sdv2-subsection p:not(.sdv2-subsection__meta) { margin: 0; color: var(--sd-muted); font-size: .92rem; line-height: 1.55; }

/* Ziyaretçi için kilitli önizleme (gerçek veri içermez, yalnızca süs) */
.sdv2-locked { padding: 24px 0 56px !important; }
.sdv2-locked__box { position: relative; overflow: hidden; min-height: 340px; border: 1px solid var(--sd-line); border-radius: 26px; background: #fff; }
.sdv2-locked__fake { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 32px; filter: blur(6px); opacity: .7; pointer-events: none; }
.sdv2-locked__chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.sdv2-locked__chips span { height: 52px; border-radius: 14px; background: #efe9dd; }
.sdv2-locked__chips span:nth-child(3n) { background: #f5efe3; }
.sdv2-locked__map { border-radius: 20px; background-repeat: no-repeat; background-size: 100% 100%; background-image:
    linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(0deg, transparent 58%, #fff 58%, #fff 63%, transparent 63%),
    linear-gradient(35deg, #dfe6d6 0 30%, #e9e4d8 30% 62%, #d6dfe6 62%); }
.sdv2-locked__map { background-color: #e9e4d8; }
.sdv2-locked__body { position: relative; display: grid; justify-items: center; gap: 4px; max-width: 560px; margin: 0 auto; padding: 56px 28px; text-align: center; }
.sdv2-locked__body::before { content: ""; position: absolute; inset: 20px -40px; z-index: -1; border-radius: 30px; background: rgba(255, 255, 255, .86); }
.sdv2-locked__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1b1b1a; font-size: 1.3rem; }
.sdv2-locked__body .eyebrow { margin: 10px 0 0; }
.sdv2-locked__body h2 { margin: 6px 0 10px !important; }
.sdv2-locked__body p:not(.eyebrow) { margin: 0 0 20px; color: var(--sd-muted); line-height: 1.6; }
.sdv2-locked__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.member-lock__actions a { white-space: nowrap; }
.sdv2-locked__actions a { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; font-weight: 800; text-decoration: none; }

/* Yorum yoksa ince şerit */
.sdv2-review-strip { padding: 40px 0 8px; }
.sdv2-review-strip .sd-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; border: 1px dashed #d8cfbf; border-radius: 20px; background: #fbfaf7; }
.sdv2-review-strip .eyebrow { margin: 0 0 6px; }
.sdv2-review-strip p:not(.eyebrow) { margin: 0; color: var(--sd-muted); }
.sdv2-review-strip .button { flex: 0 0 auto; }
.sdv2-reviews .site-review-summary { margin-top: 0; }

/* Ev sahipleri + hata bildir yan yana */
.sdv2-duo { padding: 40px 0 72px !important; }
.sdv2-duo__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.sdv2-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 32px; border: 1px solid var(--sd-line); border-radius: 24px; background: #fff; }
.sdv2-card .eyebrow { margin: 0; }
.sdv2-card h2 { margin: 0 !important; font-size: clamp(1.35rem, 2vw, 1.75rem) !important; }
.sdv2-card p:not(.eyebrow) { flex: 1; margin: 0 0 8px; color: var(--sd-muted); line-height: 1.6; }
.sdv2-card--dark { border: 0; background: #1b1b1a; color: #fff; }
.sdv2-card--dark h2 { color: #fff; }
.sdv2-card--dark p:not(.eyebrow) { color: #c8c4bc; }

@media (max-width: 1000px) {
    .sdv2-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; }
}

@media (max-width: 860px) {
    .site-detail-page .sd-section { padding: 44px 0; }
    .sdv2-strip { margin-top: -20px; }
    .sdv2-strip ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
    .sdv2-strip ul::-webkit-scrollbar { display: none; }
    .sdv2-strip li { flex: 0 0 auto; padding: 9px 14px; font-size: .84rem; }
    .sdv2-overview { padding-top: 28px !important; }
    .sdv2-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
    .sdv2-side { position: static; order: -1; width: 100%; }
    .sdv2-main { width: 100%; }
    .sdv2-locked__fake { grid-template-columns: 1fr; padding: 20px; }
    .sdv2-locked__map { display: none; }
    .sdv2-locked__body { padding: 44px 18px; }
    .sdv2-locked__actions a, .sdv2-side .member-lock__actions a { flex: 1; padding: 0 12px; font-size: .92rem; }
    .sdv2-review-strip .sd-shell { flex-direction: column; align-items: stretch; padding: 20px; }
    .sdv2-duo__grid { grid-template-columns: 1fr; }
    .sdv2-card { padding: 24px; }
    .sdv2-card .button, .sdv2-card .sd-outline { width: 100%; justify-content: center; }
}
