/*
 * ORNEK VIDEO SAYFASI - AIRBNB ILAN DILI (5 Ekim 2026, sahibi: "bu sayfa
 * tasarim olarak zayif, mobilde daha iyi olsun").
 *
 * Yalnizca /ornek-video sayfalarinda yuklenir (layouts/main.php). Video,
 * altinda konum basligi + sure/1080p/Reels kutusu, "Bu videoda neler var",
 * uc adim, diger ornekler seridi; telefonda altta sabit "Videomu olustur"
 * cubugu (sekme cubugunun ustunde).
 */
.ornek-ab { --ab-ink: #222222; --ab-muted: #6A6A6A; --ab-line: #DDDDDD; --ab-line-2: #EBEBEB;
    max-width: 560px; padding: 8px 24px 32px; color: var(--ab-ink); }
.ornek-ab .vpage-top { margin-bottom: 14px; }
.ornek-ab .vpage-title { margin: 0; font-size: 16px; font-weight: 700; }

/* Oynatici: yuvarlak koseli, ekranin ~%62'si */
.ornek-ab .player { width: 100%; max-height: 62vh; max-height: 62svh; aspect-ratio: 9 / 16; border-radius: 16px; box-shadow: none; }
.ornek-ab .player video { object-fit: cover; }
.ornek-etiket {
    position: absolute; top: 12px; left: 12px; z-index: 3; padding: 6px 11px; border-radius: 999px;
    background: #fff; color: var(--ab-ink); font-size: 12px; font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.ornek-ab .player-dur { background: rgba(34, 34, 34, .72); border-radius: 6px; }

/* Baslik ve kutu */
.ornek-ilan { margin-top: 20px; }
.ornek-ilan h1 { margin: 0; font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -.02em; }
.ornek-kunye { margin: 6px 0 0; font-size: 15px; color: var(--ab-muted); }
.ornek-kutu {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; padding: 14px 0;
    border: 1px solid var(--ab-line); border-radius: 16px; text-align: center;
}
.ornek-kutu > div { display: flex; flex-direction: column; gap: 2px; }
.ornek-kutu > div + div { border-left: 1px solid var(--ab-line); }
.ornek-kutu b { font-size: 18px; font-weight: 800; }
.ornek-kutu small { font-size: 12px; color: var(--ab-muted); }

.ornek-ayrac { margin: 26px 0; border: 0; height: 1px; background: var(--ab-line-2); }
.ornek-bolum h2 { margin: 0 0 12px; font-size: 22px; line-height: 26px; font-weight: 800; letter-spacing: -.02em; }

/* Bu videoda neler var */
.ornek-icerik { list-style: none; margin: 0; padding: 0; }
.ornek-icerik li { display: flex; align-items: center; gap: 16px; padding: 9px 0; font-size: 16px; }
.ornek-icerik svg { flex: none; width: 24px; height: 24px; }

/* Uc adim */
.ornek-adim { list-style: none; margin: 0; padding: 0; }
.ornek-adim li { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.ornek-adim li + li { border-top: 1px solid var(--ab-line-2); }
.ornek-adim span {
    flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ab-line);
    display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
}
.ornek-adim div { display: flex; flex-direction: column; gap: 2px; }
.ornek-adim b { font-size: 16px; font-weight: 600; }
.ornek-adim small { font-size: 14px; color: var(--ab-muted); }

/* Diger ornekler seridi */
.ornek-serit { display: flex; gap: 14px; overflow-x: auto; margin: 0 -24px; padding: 0 24px 4px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.ornek-serit::-webkit-scrollbar { display: none; }
.ornek-kart { flex: none; width: 200px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; color: var(--ab-ink); text-decoration: none; }
.ornek-kart-resim { position: relative; display: block; margin-bottom: 8px; border-radius: 16px; overflow: hidden; background: #F7F7F7; aspect-ratio: 4 / 5; }
.ornek-kart-resim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ornek-kart-resim i { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(34, 34, 34, .72); color: #fff; font-style: normal; font-size: 12px; font-weight: 600; }
.ornek-kart b { font-size: 15px; font-weight: 600; }
.ornek-kart small { font-size: 14px; color: var(--ab-muted); }

/* Videomu olustur cubugu */
.ornek-cubuk { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding: 18px 0 0; border-top: 1px solid var(--ab-line-2); }
.ornek-cubuk span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ornek-cubuk b { font-size: 16px; font-weight: 700; }
.ornek-cubuk small { font-size: 13px; color: var(--ab-muted); }
.ornek-cubuk .btn { flex: none; min-height: 48px; padding: 0 22px; }
@media (max-width: 859px) {
    .ornek-cubuk {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0;
        padding: 12px 20px calc(12px + var(--sab)); background: #fff; border-top: 1px solid var(--ab-line-2);
    }
    body.tabli .ornek-cubuk { bottom: calc(62px + var(--sab)); padding-bottom: 12px; border-bottom: 1px solid var(--ab-line-2); }
    body.page-video-sample { padding-bottom: calc(86px + var(--sab)); }
    body.tabli.page-video-sample { padding-bottom: calc(62px + 86px + var(--sab)); }
}

/* =====================================================================
   MASAUSTU (>=1024 px, 6 Ekim 2026, sahibi: "mobilde guzel, web gorunume
   uygun degil"). Telefon duzeni yukarida, degismedi. Airbnb ilan sayfasi:
   solda kaydirirken yerinde duran dikey video, sagda baslik, ozellikler,
   adimlar ve "Videomu olustur" karti; altta tam genislikte diger ornekler.
   ===================================================================== */
@media (min-width: 1024px) {
    .ornek-ab { max-width: 1120px; padding: 16px 18px 72px; }
    .ornek-ab .vpage-top { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
    /* Yapiskan video yalniz bu kabin icinde kalir (kap bitince kayar). */
    .ornek-ust { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 80px; align-items: start; }
    .ornek-ab .vpage-title { flex: 1; text-align: left; font-size: 15px; font-weight: 600; color: var(--ab-muted); }
    .ornek-ab .player {
        position: sticky; top: 96px;
        width: auto; height: min(76vh, 720px); max-height: none; aspect-ratio: 9 / 16; margin: 0;
    }
    /* Videonun kendi sol ust yazisiyla cakismasin */
    .ornek-ab .ornek-etiket { left: auto; right: 12px; }
    .ornek-sag { min-width: 0; }
    .ornek-ab > .ornek-ayrac { margin: 56px 0 40px; }

    .ornek-ilan { margin-top: 0; }
    .ornek-ilan h1 { font-size: 32px; line-height: 38px; font-weight: 700; }
    .ornek-kunye { margin-top: 8px; font-size: 16px; }
    .ornek-kutu { margin-top: 24px; padding: 18px 0; border-radius: 12px; }
    .ornek-kutu b { font-size: 20px; }
    .ornek-kutu small { font-size: 13px; }
    .ornek-ayrac { margin: 32px 0; }
    .ornek-bolum h2 { margin-bottom: 18px; font-size: 22px; font-weight: 700; }

    /* Neler var: Airbnb "Bu mekanda neler var" gibi iki sutun */
    .ornek-icerik { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
    .ornek-icerik li { padding: 12px 0; }

    /* Uc adim yan yana kutular */
    .ornek-adim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .ornek-adim li, .ornek-adim li + li {
        flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px;
        border: 1px solid var(--ab-line); border-radius: 12px;
    }

    /* "Videomu olustur": ilan sayfasindaki rezervasyon karti */
    .ornek-cubuk {
        margin-top: 40px; padding: 24px; border: 1px solid var(--ab-line); border-radius: 12px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    }
    .ornek-cubuk b { font-size: 20px; }
    .ornek-cubuk small { font-size: 14px; }
    .ornek-cubuk .btn { min-height: 52px; padding: 0 28px; font-size: 16px; }

    /* Diger ornekler: kaydirmali serit yerine kart dizisi */
    .ornek-serit { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); gap: 24px; margin: 0; padding: 0; overflow: visible; }
    .ornek-kart { width: auto; }
    .ornek-kart:hover .ornek-kart-resim img { transform: scale(1.03); }
    .ornek-kart-resim img { transition: transform .3s ease; }
}
