/* Only public detail wrappers emitted by CEB_Detail_Promotions. */
html body .ceb-detail-promo-layout { width:100%; max-width:1120px; margin-inline:auto; min-width:0; box-sizing:border-box; }
html body.ceb-detail .wp-block-post-content:has(>[data-ceb-detail-promos]) { width:100%; max-width:var(--ceb-shell-max,1240px)!important; margin-inline:auto; box-sizing:border-box; }
html body .ceb-detail-promo-layout .ceb-listing-detail { width:100%; margin-inline:auto; }
html body .ceb-promo-rail { display:none; }
html body .ceb-promo-stack,html body .ceb-promo-mobile,html body .ceb-promo-below { display:grid; gap:16px; min-width:0; }
html body .ceb-promo-mobile,html body .ceb-promo-below { margin:20px 0 0; }
html body .ceb-promo-desktop-only { display:none; }
html body .ceb-promo-below:not(:has(>div:not(.ceb-promo-desktop-only))) { display:none; }
html body .ceb-detail-promo-card { box-sizing:border-box; min-width:0; padding:16px; border:1px solid #b4c5d3; border-radius:12px; background:#fff; color:#243746; overflow-wrap:anywhere; text-align:center; }
html body .ceb-detail-promo-card .ceb-promo-kind { display:block; font-size:11px; font-weight:650; color:#526578; margin-bottom:12px; }
html body .ceb-detail-promo-card img { display:block; max-width:100%; width:100%; height:auto; margin:0 auto 12px; object-fit:contain; }
html body .ceb-detail-promo-card img.ceb-promo-logo { width:180px; height:auto; aspect-ratio:auto; }
html body .ceb-detail-promo-card .ceb-promo-facebook { display:block; color:#1877f2; margin:0 auto 10px; }
html body .ceb-detail-promo-card h2 { font-size:18px; line-height:1.35; margin:0 0 10px; }
html body .ceb-detail-promo-card p { font-size:13px; line-height:1.6; margin:0 0 14px; }
html body .ceb-detail-promo-card .ceb-promo-button { display:inline-flex; justify-content:center; align-items:center; box-sizing:border-box; max-width:100%; min-height:42px; padding:10px 12px; border-radius:8px; background:#174664; color:white; font-size:13px; font-weight:700; line-height:1.4; text-decoration:none; }
html body .ceb-detail-promo-card .ceb-promo-button:focus-visible { outline:3px solid #168fa2; outline-offset:3px; }
@media(min-width:1600px){
 html body.ceb-detail main:has([data-promo-sides]),html body.ceb-detail main .wp-block-group:has([data-promo-sides]),html body.ceb-detail .wp-block-post-content:has(>[data-promo-sides]) { max-width:1640px!important; }
 html body .ceb-detail-promo-layout[data-promo-sides] { display:grid; grid-template-columns:minmax(0,1fr) 1120px minmax(0,1fr); column-gap:20px; max-width:1640px; align-items:stretch; }
 html body [data-promo-sides]>.ceb-listing-detail { grid-column:2; grid-row:1; }
 html body .ceb-promo-rail { display:block; min-width:0; align-self:stretch; }
 html body .ceb-promo-left { grid-column:1; grid-row:1; }
 html body .ceb-promo-right { grid-column:3; grid-row:1; }
 html body .ceb-promo-rail.is-sticky>.ceb-promo-stack { position:sticky; top:var(--ceb-promo-top,12px); }
 html body [data-promo-sides]>.ceb-promo-mobile { display:none; }
 html body .ceb-promo-below { grid-column:1/-1; }
 html body .ceb-promo-desktop-only { display:block; }
 html body .ceb-promo-below:not(:has(>div:not(.ceb-promo-desktop-only))) { display:grid; }
}
@media(max-width:700px){
 html body .ceb-promo-mobile .ceb-detail-promo-card { display:grid; grid-template-columns:28px minmax(0,1fr); gap:6px 12px; padding:14px; text-align:left; }
 html body .ceb-promo-mobile .ceb-promo-kind { grid-column:1/-1; margin:0; }
 html body .ceb-promo-mobile img.ceb-promo-logo { grid-column:1/-1; width:132px; margin:0 0 4px; }
 html body .ceb-promo-mobile .ceb-detail-promo-card>img:not(.ceb-promo-logo) { grid-column:1/-1; }
 html body .ceb-promo-mobile .ceb-promo-facebook { grid-column:1; grid-row:3; margin:0; }
 html body .ceb-promo-mobile h2 { grid-column:2; grid-row:3; font-size:16px; margin:0; }
 html body .ceb-promo-mobile p,html body .ceb-promo-mobile .ceb-promo-button { grid-column:1/-1; margin:0; }
 html body .ceb-promo-mobile .ceb-promo-button { justify-self:start; }
}


/* Reuse the same announcement component without shrinking the package content column. */
html body .ceb-package-promo-layout { max-width:min(1200px,var(--wp--style--global--content-size,1200px)); }
html body .ceb-package-main { min-width:0; width:100%; }
@media(min-width:1200px){
 html body.ceb-package-promos main:has([data-promo-packages]),html body.ceb-package-promos main .wp-block-group:has([data-promo-packages]),html body.ceb-package-promos .wp-block-post-content:has(>[data-promo-packages]) { box-sizing:border-box; width:100%; max-width:1640px!important; margin-inline:auto; }
 html body .ceb-package-promo-layout[data-promo-sides] { max-width:1640px; grid-template-columns:minmax(0,1fr) min(1200px,var(--wp--style--global--content-size,1200px)) minmax(0,1fr); }
 html body .ceb-package-promo-layout>.ceb-package-main { grid-column:2; grid-row:1; }
 html body .ceb-package-promo-layout>.ceb-promo-rail { width:100%; max-width:240px; justify-self:center; }
}

/* Package page only: use available desktop space; keep the single fallback below 1200px. */
@media(min-width:1200px){
 html body .ceb-package-promo-layout[data-promo-sides] { display:grid; column-gap:20px; align-items:stretch; }
 html body .ceb-package-promo-layout>.ceb-promo-rail { display:block; min-width:0; align-self:stretch; }
 html body .ceb-package-promo-layout[data-promo-sides]>.ceb-promo-mobile { display:none; }
}

@media(min-width:1200px){html body .ceb-package-promo-layout>.ceb-promo-rail.is-sticky>.ceb-promo-stack { position:sticky; top:var(--ceb-promo-top,12px); }}

/* Liste sayfalari (classified / auctions): yatay arac kartlari ve yan yana ogeler korunur; genis masaustunde ortadaki icerik daralir, iki yanda ayni Facebook karti. */
html body .ceb-list-promo-layout { max-width:none; width:100%; margin-inline:0; }
html body .ceb-list-promo-main { min-width:0; width:100%; }
@media(min-width:1600px){
 html body.ceb-list-promos .wp-block-post-content:has(>[data-promo-list]) { box-sizing:border-box; width:100%; max-width:1640px!important; margin-inline:auto; }
 html body .ceb-list-promo-layout[data-promo-sides] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1080px) minmax(0,1fr); column-gap:20px; max-width:1640px; margin-inline:auto; align-items:stretch; }
 html body .ceb-list-promo-layout>.ceb-list-promo-main { grid-column:2; grid-row:1; }
 html body .ceb-list-promo-layout>.ceb-promo-rail { display:block; min-width:0; align-self:stretch; width:100%; max-width:240px; justify-self:center; }
}
/* ===== Ortak yan kart düzeni (tüm sayfalar) =====
   [data-ceb-detail-promos] sarmalayıcısı CEB_Detail_Promotions::wrap_main ile <main>/.ceb-shell çıktısını sarar; başlık, filtre ve içerik orta sütundadır. */
html body .ceb-promo-layout { width:100%; min-width:0; box-sizing:border-box; }
html body .ceb-promo-main { min-width:0; width:100%; }
/* Orta sütun 1192 px: <main>, grup ve içerik dolguları (3 x 24 px) düşüldüğünde ilan detayı özgün 1120 px içerik genişliğini korur; yan kartlar ~204 px (özgün tasarım ~200 px). */
@media(min-width:1650px){
 html body .ceb-promo-layout[data-promo-sides] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1192px) minmax(0,1fr); column-gap:20px; max-width:1680px; margin-inline:auto; padding-inline:20px; align-items:stretch; }
 html body .ceb-promo-layout>.ceb-promo-main { grid-column:2; grid-row:1; }
 html body .ceb-promo-layout>.ceb-promo-rail { display:block; min-width:0; align-self:stretch; width:100%; max-width:240px; justify-self:center; }
 html body .ceb-promo-layout>.ceb-promo-below { grid-column:1/-1; }
}
/* Üst reklam kartları (Crownbridge + Qcarz.com): üst menünün altı, ana içerikten önce */
html body .ceb-top-cards{width:100%;box-sizing:border-box;background:transparent;padding:18px 20px 4px}
html body .ceb-top-cards-in{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1240px;margin:0 auto}
html body .ceb-top-card{box-sizing:border-box;min-width:0;background:#fff;border:1px solid #e6ebf2;border-radius:18px;box-shadow:0 6px 22px rgba(15,23,42,.07);padding:20px 22px;display:flex;flex-direction:column;gap:8px;color:#0b1b3a}
html body .ceb-top-card h2{margin:6px 0 0;font-size:clamp(1.35rem,2.1vw,1.9rem);line-height:1.12;font-weight:800;color:#0b1b3a;letter-spacing:-.01em}
html body .ceb-top-card .ceb-tc-p{margin:0;font-size:1rem;line-height:1.45;color:#556070}
html body .ceb-tc-brand{display:flex;align-items:center;gap:14px}
html body .ceb-tc-logo{display:block;width:59px;height:54px;border-radius:6px;object-fit:contain}
html body .ceb-tc-name{display:flex;flex-direction:column;line-height:1.1}
html body .ceb-tc-name strong{font-size:1.55rem;font-weight:800;color:#0b1b3a;letter-spacing:-.01em}
html body .ceb-tc-name span{font-size:.8rem;font-weight:700;letter-spacing:.32em;color:#0b1b3a}
html body .ceb-top-card .ceb-tc-contact{margin:2px 0 0;font-size:.95rem;line-height:1.6;color:#0b1b3a}
html body .ceb-tc-contact a{color:#0b1b3a;text-decoration:none;font-weight:600}
html body .ceb-tc-contact a:hover,html body .ceb-tc-contact a:focus-visible{text-decoration:underline}
html body .ceb-tc-contact .ceb-tc-ig{color:#5d6878;font-weight:500}
html body .ceb-tc-dot{color:#8a94a6;margin:0 2px}
html body .ceb-tc-btn{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:auto;padding:13px 18px;border-radius:14px;font-weight:800;font-size:1.05rem;text-decoration:none;box-sizing:border-box;min-height:48px;transition:filter .15s}
html body .ceb-tc-btn i{font-style:normal;font-size:1.3rem}
html body .ceb-tc-btn:hover,html body .ceb-tc-btn:focus-visible{filter:brightness(.95)}
html body .ceb-tc-btn--wa{background:#ffd90f;color:#0b1b3a}
html body .ceb-tc-btn--q{background:#10bdc9;color:#fff}
html body .ceb-tc-qlogo{display:inline-block;align-self:flex-start;font-size:clamp(2.2rem,3.4vw,3.2rem);font-weight:900;letter-spacing:-.045em;line-height:1;text-decoration:none}
html body .ceb-tc-qlogo .q1{color:#be4c00}html body .ceb-tc-qlogo .q2,html body .ceb-tc-qlogo .q3{color:#17324d}
html body .ceb-top-card .ceb-tc-note{margin:0;font-size:.9rem;color:#667286}
html body .ceb-tc-url{align-self:center;font-size:.95rem;color:#667286;text-decoration:none}
html body .ceb-tc-url:hover{text-decoration:underline}
@media(max-width:760px){
 html body .ceb-top-cards{padding:14px 16px 2px}
 html body .ceb-top-cards-in{grid-template-columns:1fr;gap:14px}
 html body .ceb-top-card{padding:16px}
}
/* Yan sütun reklam kartları (Facebook kartının altı): aynı genişlik, dar sütuna uygun satırlama */
html body .ceb-promo-stack>.ceb-side-card{width:100%;padding:14px;gap:6px;border:1px solid #b4c5d3;border-radius:12px;box-shadow:none;overflow-wrap:anywhere;text-align:left}
html body .ceb-side-card h2{margin:4px 0 0;font-size:16px;line-height:1.25}
html body .ceb-side-card .ceb-tc-p{font-size:12.5px;line-height:1.45}
html body .ceb-side-card .ceb-tc-brand{flex-direction:column;align-items:flex-start;gap:8px}
html body .ceb-side-card .ceb-tc-logo{width:48px;height:44px}
html body .ceb-side-card .ceb-tc-name strong{font-size:1.1rem}
html body .ceb-side-card .ceb-tc-name span{font-size:.62rem;letter-spacing:.24em}
html body .ceb-side-card .ceb-tc-contact{font-size:12.5px;line-height:1.55}
html body .ceb-side-card .ceb-tc-ic,html body .ceb-side-card .ceb-tc-dot{display:none}
html body .ceb-side-card .ceb-tc-contact a{display:inline-block;overflow-wrap:anywhere}
html body .ceb-side-card .ceb-tc-btn{margin-top:6px;padding:10px 10px;min-height:42px;font-size:13px;gap:8px;text-align:center;border-radius:10px}
html body .ceb-side-card .ceb-tc-btn i{font-size:1rem}
html body .ceb-side-card .ceb-tc-qlogo{font-size:1.9rem}
html body .ceb-side-card .ceb-tc-note{font-size:12px;line-height:1.4}
html body .ceb-side-card .ceb-tc-url{font-size:12.5px}

/* Mobil alt sayfalar (26 Ekim 2026): menuden acilan sayfada iki tanitim karti ilk ekrani kaplayip asil icerigi asagi itiyordu.
   760 px alti ve ana sayfa disinda kartlar icerikten SONRA (altbilgiden once) gosterilir; ana sayfa ve genis ekran duzeni degismez. */
@media(max-width:760px){
 html body:not(.home) .wp-site-blocks{display:flex;flex-direction:column}
 html body:not(.home) .wp-site-blocks>header{order:0}
 html body:not(.home) .wp-site-blocks>*:not(header):not(.ceb-top-cards):not(:last-child){order:1}
 html body:not(.home) .wp-site-blocks>.ceb-top-cards{order:98}
 html body:not(.home) .wp-site-blocks>:last-child:not(.ceb-top-cards){order:99}
}