/* ═══════════════════════════════════════════════════
   Webreta Burç Yorumları — Frontend CSS
   ═══════════════════════════════════════════════════ */

:root {
    --wb-purple:    #3D2B8E;
    --wb-purple-lt: #6B52C0;
    --wb-gold:      #C9A456;
    --wb-gold-lt:   #e8c97a;
    --wb-dark:      #0A081E;
    --wb-dark2:     #1a1535;
    --wb-text:      #1a1a2e;
    --wb-muted:     #777;
    --wb-border:    #e0ddf0;
    --wb-bg:        #f7f6fc;
    --wb-radius:    12px;
    --wb-shadow:    0 2px 16px rgba(61,43,142,.10);
    --wb-primary:   #3D2B8E;
    --wb-accent:    #6B52C0;
}

/* ─── ARŞİV ─── */
.wb-archive-wrap {
    max-width: 1180px; margin: 0 auto;
    padding: 0 24px 64px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wb-archive-hero {
    position: relative; background: var(--wb-dark);
    border-radius: 0 0 20px 20px; padding: 48px 24px 40px;
    margin: 0 -24px 36px; text-align: center; overflow: hidden;
}
.wb-archive-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(107,82,192,.15) 0%, transparent 60%);
}
.wb-archive-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(22px,4vw,32px); position: relative; }
.wb-archive-hero p  { color: rgba(255,255,255,.5); margin: 0; font-size: 14px; position: relative; }
.wb-archive-filter { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.wb-filter-btn {
    padding: 7px 18px; border: 1.5px solid var(--wb-border); border-radius: 20px;
    color: var(--wb-purple); text-decoration: none; font-size: 13px; font-weight: 600;
    transition: all .18s; background: #fff;
}
.wb-filter-btn:hover, .wb-filter-btn.active { background: var(--wb-purple); border-color: var(--wb-purple); color: #fff; }
.wb-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.wb-archive-card {
    background: var(--wb-dark2); border-radius: var(--wb-radius); overflow: hidden;
    text-decoration: none; color: inherit; display: block;
    box-shadow: var(--wb-shadow); transition: transform .22s, box-shadow .22s;
}
.wb-archive-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(61,43,142,.22); }
.wb-archive-card-top {
    aspect-ratio: 16/9; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a1535, #2a1f5e);
}
.wb-card-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb-archive-card-top::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,8,30,.9) 0%, transparent 60%);
}
.wb-archive-card-top .wb-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.wb-archive-card-body { padding: 14px 16px 18px; }
.wb-card-title { display: block; font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.wb-card-date  { display: block; font-size: 11px; font-weight: 600; color: var(--wb-gold-lt); }
.wb-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.wb-badge-aylik   { background: var(--wb-gold);   color: var(--wb-dark); }
.wb-badge-haftalik { background: var(--wb-purple); color: #fff; }
.wb-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.wb-pagination .page-numbers {
    padding: 7px 13px; border: 1.5px solid var(--wb-border); border-radius: 7px;
    color: var(--wb-text); text-decoration: none; font-size: 13px; background: #fff; transition: all .15s;
}
.wb-pagination .page-numbers.current { background: var(--wb-purple); border-color: var(--wb-purple); color: #fff; }
.wb-pagination .page-numbers:hover:not(.current) { border-color: var(--wb-purple); color: var(--wb-purple); }
.wb-no-posts { text-align: center; padding: 56px; color: var(--wb-muted); }

/* ─── HERO ─── */
.wbf-hero {
    width: 100%; min-height: 400px;
    background-color: var(--wb-dark); background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
}
.wbf-hero-inner { text-align: center; padding: 60px 24px; max-width: 760px; }
.wbf-hero-title {
    font-size: clamp(28px,5vw,52px); font-weight: 800; color: #fff;
    margin: 12px 0 8px; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.wbf-hero-donem { color: var(--wb-gold-lt); font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.wbf-hero-tarih { color: rgba(255,255,255,.5); font-size: 13px; margin: 0; }
.wbf-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.wbf-badge-aylik   { background: var(--wb-gold);   color: var(--wb-dark); }
.wbf-badge-haftalik { background: var(--wb-purple); color: #fff; }
@media (max-width: 640px) {
    .wbf-hero { min-height: 240px; }
    .wbf-hero-inner { padding: 36px 20px; }
    .wbf-hero-title { font-size: 28px; }
}

/* ─── LAYOUT ─── */
.wbf-layout {
    display: grid; grid-template-columns: 1fr 300px; gap: 40px;
    max-width: 1180px; margin: 40px auto; padding: 0 24px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (max-width: 900px) { .wbf-layout { grid-template-columns: 1fr; } .wbf-sidebar { order: 2; } }

/* ─── Genel giriş ─── */
.wbf-genel-giris {
    font-size: 15px;
    line-height: 1.85;
    color: var(--wb-text);
    margin-bottom: 24px;
}
.wbf-genel-giris p { margin-bottom: 12px; }
.wbf-genel-giris p:last-child { margin-bottom: 0; }

/* ─── GEZEGENSEL HAREKETLERİ ─── */
.wbf-gezegen-section {
    margin-bottom: 28px;
}
.wbf-gezegen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.wbf-gezegen-satir {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--wb-border);
    box-shadow: 0 1px 4px rgba(61,43,142,.05);
    transition: box-shadow .2s;
}
.wbf-gezegen-satir:hover {
    box-shadow: 0 3px 12px rgba(61,43,142,.09);
}
.wbf-gezegen-tarih {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--wb-purple);
    line-height: 1.3;
    margin-bottom: 2px;
}
.wbf-gezegen-ac {
    display: block;
    font-size: 12px;
    color: var(--wb-text);
    line-height: 1.45;
}
@media (max-width: 500px) {
    .wbf-gezegen-grid { grid-template-columns: 1fr; }
}

/* ─── BURÇ NAV ─── */
.wbf-burc-nav { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; margin-bottom: 32px; }
@media (max-width: 640px) { .wbf-burc-nav { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 400px) { .wbf-burc-nav { grid-template-columns: repeat(3,1fr); } }

button.wbf-burc-btn {
    all: unset; box-sizing: border-box; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 14px 8px; border-radius: 14px;
    border: 2px solid var(--wb-border); background: #fff; width: 100%;
    transition: all .2s; box-shadow: 0 2px 8px rgba(61,43,142,.06); text-align: center;
}
button.wbf-burc-btn .wbf-btn-icon { display: flex; align-items: center; justify-content: center; transition: transform .2s; }
button.wbf-burc-btn .wbf-btn-icon img,
button.wbf-burc-btn .wbf-btn-icon .wb-sign-icon-img { width: 36px; height: 36px; object-fit: contain; }
button.wbf-burc-btn .wbf-btn-icon .wb-sign-symbol { font-size: 28px; line-height: 1; }
button.wbf-burc-btn .wbf-btn-ad { font-size: 11px; font-weight: 700; color: var(--wb-text); line-height: 1.2; }
button.wbf-burc-btn:hover {
    border-color: var(--wb-purple-lt); background: #f5f2ff;
    box-shadow: 0 4px 16px rgba(61,43,142,.12); transform: translateY(-2px);
}
button.wbf-burc-btn:hover .wbf-btn-icon { transform: scale(1.1); }
button.wbf-burc-btn.active {
    border-color: var(--wb-gold);
    background: linear-gradient(135deg,#fffbf0,#fff8e6);
    box-shadow: 0 4px 16px rgba(201,164,86,.20);
}
button.wbf-burc-btn.active .wbf-btn-ad { color: #8a6200; }
button.wbf-burc-btn.wbf-burc-empty { opacity: .4; filter: grayscale(60%); cursor: default; }
button.wbf-burc-btn.wbf-burc-empty:hover { transform: none; opacity: .45; }

/* ─── YORUM PANELİ ─── */
.wbf-yorum-panel { display: none; }
.wbf-yorum-panel.active { display: block; }

/* Panel başlık */
.wbf-yorum-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 2px solid var(--wb-border); flex-wrap: wrap;
}
.wbf-yorum-ikon { flex-shrink: 0; }
.wbf-yorum-ikon img,
.wbf-yorum-ikon .wb-sign-icon-img { width: 56px; height: 56px; object-fit: contain; }
.wbf-yorum-ikon .wb-sign-symbol { font-size: 42px; line-height: 1; }
.wbf-yorum-header-text h2 { margin: 0 0 3px; font-size: 22px; color: var(--wb-text); }
.wbf-yorum-tema { font-size: 13px; color: var(--wb-muted); font-style: italic; }

/* ─── KRİTİK TARİHLER — 2'li grid kart ─── */
.wbf-kritik-section {
    margin-bottom: 28px;
}
.wbf-kritik-baslik {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wb-muted);
    margin-bottom: 12px;
}
.wbf-kritik-liste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.wbf-kritik-satir {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--wb-border);
    box-shadow: 0 1px 4px rgba(61,43,142,.06);
    transition: box-shadow .2s;
}
.wbf-kritik-satir:hover {
    box-shadow: 0 3px 12px rgba(61,43,142,.1);
}
.wbf-kritik-tarih {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--wb-purple);
    line-height: 1.3;
}
.wbf-kritik-ac {
    display: block;
    font-size: 12px;
    color: var(--wb-muted);
    line-height: 1.4;
    margin-top: 2px;
}
@media (max-width: 500px) {
    .wbf-kritik-liste { grid-template-columns: 1fr; }
}

/* ─── ANA YORUM — başlıksız ─── */
.wbf-ana-yorum {
    font-size: 15px; line-height: 1.85; color: var(--wb-text);
    margin-bottom: 24px;
}
.wbf-ana-yorum p          { margin-bottom: 14px; }
.wbf-ana-yorum p:last-child { margin-bottom: 0; }
.wbf-ana-yorum strong     { color: var(--wb-text); }
.wbf-ana-yorum ul,
.wbf-ana-yorum ol         { padding-left: 20px; margin-bottom: 14px; }
.wbf-ana-yorum li         { margin-bottom: 6px; }
.wbf-ana-yorum blockquote {
    border-left: 3px solid var(--wb-purple-lt); margin: 16px 0;
    padding: 10px 16px; background: var(--wb-bg);
    border-radius: 0 8px 8px 0; color: #5b4d70; font-style: italic;
}

/* ─── ÇARPICI SÖZ — ana yorumun altında ─── */
.wbf-carpici {
    margin: 0 0 24px;
    padding: 18px 28px;
    background: #fdfbf5;
    border-top: 1px dashed #d4b87a;
    border-bottom: 1px dashed #d4b87a;
    text-align: center;
}
.wbf-carpici p {
    font-style: italic; font-size: 14px; line-height: 1.9;
    color: #7a5a00; margin: 0;
    font-family: Georgia, "Times New Roman", serif;
}

/* ─── INFO KUTULARI (Sabian tarzı, farklı renkler) ─── */
.wbf-info-box {
    display: flex; flex-direction: column; gap: 10px;
    border-radius: 10px; padding: 16px 18px; margin-bottom: 14px;
    border-left: 4px solid;
}
.wbf-box-head {
    display: flex; align-items: center; gap: 8px;
}
.wbf-box-head span { font-size: 17px; line-height: 1; flex-shrink: 0; }
.wbf-box-head strong {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
}
.wbf-box-body { font-size: 14px; line-height: 1.75; }
.wbf-box-body p          { margin-bottom: 10px; }
.wbf-box-body p:last-child { margin-bottom: 0; }
.wbf-box-body ul         { padding-left: 18px; margin-bottom: 10px; }
.wbf-box-body li         { margin-bottom: 5px; }

/* Sabian — mor */
.wbf-box-sabian {
    background: linear-gradient(135deg, #f5f0ff, #ede8ff);
    border-color: #8b6ec0;
}
.wbf-box-sabian .wbf-box-head strong { color: #5b3fa0; }
.wbf-box-sabian .wbf-box-body { color: #4a3d70; font-style: italic; }

/* Astro — lacivert */
.wbf-box-astro {
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    border-color: #5272c0;
}
.wbf-box-astro .wbf-box-head strong { color: #2a4090; }
.wbf-box-astro .wbf-box-body { color: #2d3a5e; }

/* Bach — pembe */
.wbf-box-bach {
    background: linear-gradient(135deg, #fff0f8, #ffe8f4);
    border-color: #d472a8;
}
.wbf-box-bach .wbf-box-head strong { color: #9c2868; }
.wbf-box-bach .wbf-box-body { color: #5e2040; }

/* Sağlık — yeşil */
.wbf-box-saglik {
    background: linear-gradient(135deg, #f0fdf5, #e6faf0);
    border-color: #4caf82;
}
.wbf-box-saglik .wbf-box-head strong { color: #1a7a4a; }
.wbf-box-saglik .wbf-box-body { color: #1e4a32; }

/* Kristal — turkuaz */
.wbf-box-kristal {
    background: linear-gradient(135deg, #f0fbff, #e4f7ff);
    border-color: #38afc8;
}
.wbf-box-kristal .wbf-box-head strong { color: #1278a0; }
.wbf-box-kristal .wbf-box-body { color: #1a4a5e; }

/* Ekstra — altın */
.wbf-box-extra1, .wbf-box-extra2, .wbf-box-extra3 {
    background: linear-gradient(135deg, #fffbf0, #fff6e0);
    border-color: var(--wb-gold);
}
.wbf-box-extra1 .wbf-box-head strong,
.wbf-box-extra2 .wbf-box-head strong,
.wbf-box-extra3 .wbf-box-head strong { color: #8a6200; }
.wbf-box-extra1 .wbf-box-body,
.wbf-box-extra2 .wbf-box-body,
.wbf-box-extra3 .wbf-box-body { color: #5a4000; }

/* Pratik & Uyarı */
.wbf-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.wbf-info-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 10px; font-size: 13px; }
.wbf-pratik { background: #f0fdf8; border: 1px solid #bbf7d0; }
.wbf-uyari  { background: #fffbeb; border: 1px solid #fde68a; }
.wbf-info-card span { font-size: 16px; flex-shrink: 0; }
.wbf-info-card strong { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.wbf-pratik strong { color: #15803d; }
.wbf-uyari  strong { color: #92400e; }
.wbf-info-card p { margin: 0; line-height: 1.5; }
@media (max-width: 500px) { .wbf-info-cards { grid-template-columns: 1fr; } }

.wbf-no-yorum { color: var(--wb-muted); font-style: italic; }

/* ─── SİDEBAR ─── */
.wbf-sidebar {
    align-self: start;
    position: sticky;
    top: 24px;
}
.wbf-sidebar-inner { }
.wbf-sb-blok { margin-bottom: 32px; }
.wbf-sb-baslik { font-size: 15px; font-weight: 700; color: var(--wb-text); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--wb-border); }
.wbf-sb-liste { list-style: none; margin: 0; padding: 0; }
.wbf-sb-liste li { margin-bottom: 12px; }
a.wbf-sb-link { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--wb-text); transition: color .15s; }
a.wbf-sb-link:hover { color: var(--wb-purple); }
a.wbf-sb-link img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.wbf-sb-title { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.wbf-sb-donem { display: block; font-size: 11px; color: var(--wb-muted); margin-top: 2px; }
a.wbf-sb-arsiv {
    display: block; text-align: center; padding: 10px;
    border: 1.5px solid var(--wb-border); border-radius: 8px;
    font-size: 13px; font-weight: 600; color: var(--wb-purple);
    text-decoration: none; transition: all .15s;
}
a.wbf-sb-arsiv:hover { background: var(--wb-purple); color: #fff; border-color: var(--wb-purple); }

/* ─── Genel Çarpıcı Söz (sayfa başında) ─── */
.wbf-carpici-genel {
    text-align: center;
    padding: 20px 32px;
    margin-bottom: 28px;
    border-top: 1px dashed #c4b8e8;
    border-bottom: 1px dashed #c4b8e8;
    background: #faf8ff;
    border-radius: 0;
}
.wbf-carpici-genel p {
    font-size: 16px !important;
    color: #5b3fa0 !important;
    line-height: 2 !important;
}

/* ─── Shortcode Grid Kolonları ─── */
.wb-archive-grid.wb-cols-1 { grid-template-columns: 1fr; }
.wb-archive-grid.wb-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wb-archive-grid.wb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wb-archive-grid.wb-cols-4 { grid-template-columns: repeat(4, 1fr); }
.wb-archive-grid.wb-cols-5 { grid-template-columns: repeat(5, 1fr); }

.wb-archive-card-top {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
}
.wb-archive-card-top.wb-no-thumb {
    background: linear-gradient(135deg, #1a1535, #2a1f5e);
}
.wb-archive-card-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,8,30,.85) 0%, transparent 60%);
}
.wb-archive-card-top .wb-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }

@media (max-width: 900px) {
    .wb-archive-grid.wb-cols-4,
    .wb-archive-grid.wb-cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .wb-archive-grid.wb-cols-3,
    .wb-archive-grid.wb-cols-4,
    .wb-archive-grid.wb-cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
    .wb-archive-grid { grid-template-columns: 1fr !important; }
}