/*
Theme Name: HullBet
Theme URI: https://hullbetguncelgiris.com
Author: HullBet
Author URI: https://hullbetguncelgiris.com
Description: HullBet bahis ve casino affiliate sitesi için özel premium WordPress teması. RankMath uyumlu, hızlı, SEO dostu.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hullbet
Tags: blog, one-column, custom-logo, dark
*/

/* ============================================================
   0. CSS RESET & ROOT TOKENS
   ============================================================ */
:root {
  --main:        #FF6A00;
  --main-dark:   #CC5500;
  --main-light:  #FF8C33;
  --accent:      #FFB800;
  --accent-dark: #E6A600;
  --bg:          #0E0E0E;
  --bg-card:     #1A1A1A;
  --bg-card-alt: #222222;
  --bg-header:   #111111;
  --bg-footer:   #0A0A0A;
  --text:        #FFFFFF;
  --text-muted:  #A0A0A0;
  --text-dim:    #666666;
  --border:      #2A2A2A;
  --success:     #22C55E;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,.4);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.3);
  --transition:  .25s ease;
  --font:        'Inter', sans-serif;
  --max-w:       1200px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

a { color: var(--main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--main-light); }
/* WordPress Admin Bar — tema stillerinden tam koruma */
#wpadminbar,
#wpadminbar * {
  box-sizing: content-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
#wpadminbar a,
#wpadminbar a:hover,
#wpadminbar .ab-item,
#wpadminbar .ab-item:hover,
#wpadminbar .ab-label,
#wpadminbar .ab-icon {
  color: inherit;
  -webkit-text-fill-color: inherit;
  text-shadow: none;
  text-decoration: none;
  background-image: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
#wpadminbar img {
  display: inline;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   1. HEADER (STICKY)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo-link {
  display: flex;
  align-items: center;
  margin-right: auto;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 0 12px rgba(255,106,0,.5);
}
.logo-text span {
  background: linear-gradient(135deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.custom-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.1) contrast(1.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

a.btn-primary,
.btn-primary {
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 2px 12px rgba(255,106,0,.3);
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
a.btn-primary:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, var(--main-light), var(--main));
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,106,0,.45);
}

a.btn-outline,
.btn-outline {
  background: transparent;
  color: var(--main) !important;
  -webkit-text-fill-color: var(--main) !important;
  border: 2px solid var(--main);
  text-shadow: none;
}
a.btn-outline:hover,
.btn-outline:hover {
  background: var(--main);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

a.btn-accent,
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,.15);
}
a.btn-accent:hover,
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,184,0,.4);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.btn-sm { padding: 8px 16px; font-size: .82rem; }
.btn-icon { font-size: 1.1rem; color: inherit !important; -webkit-text-fill-color: inherit !important; }

.header-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #229ED9;
  color: #fff;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.header-telegram:hover {
  background: #1a8ac2;
  color: #fff;
  transform: scale(1.05);
}

/* ============================================================
   2. HERO SECTION
   ============================================================ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,106,0,.12) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,106,0,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255,106,0,.12);
  border: 1px solid rgba(255,106,0,.25);
  color: var(--main);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   3. SECTION BASE
   ============================================================ */
.section { padding: 70px 0; }
.section-dark { background: var(--bg-card); }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-header h2 span {
  color: var(--main);
}

.section-header p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   4. BONUS / VIP VITRIN (4 KART)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.vip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--main), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.vip-card:hover {
  border-color: rgba(255,106,0,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.vip-card:hover::before { opacity: 1; }

.vip-card-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}

.vip-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.vip-card .vip-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--main), var(--accent));
  color: #111;
  margin-bottom: 10px;
}

.vip-card p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.5;
}

/* ============================================================
   5. SEO CONTENT BLOCK (PROSE)
   ============================================================ */
.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.seo-content p {
  color: var(--text-muted);
  font-size: .98rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.seo-content a {
  color: var(--main);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   6. BLOG KARTLARI (3'LÜ GRİD)
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.post-card:hover {
  border-color: rgba(255,106,0,.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-media {
  display: block;            /* <a> inline olduğu için aspect-ratio çalışmıyordu */
  width: 100%;
  aspect-ratio: 1000 / 471;  /* 1000x471 oranı birebir korunur */
  overflow: hidden;
  background: var(--bg-card-alt);
  line-height: 0;
}
.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.post-card:hover .card-media img { transform: scale(1.04); }

.card-body {
  padding: 20px;
}

.card-body .card-date {
  font-size: .78rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: block;
}

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--main); }

.card-body .card-excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-body .card-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-body .card-cta:hover { gap: 8px; }

/* Bölüm altı ortalanmış CTA — "Tüm Yazıları Gör" */
.section-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.section-cta-wrap .btn {
  padding: 13px 32px;
  font-size: .92rem;
}

/* ============================================================
   6b. BLOG LAYOUT — İÇERİK + SIDEBAR
   ============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.blog-main { min-width: 0; }

.posts-grid--blog {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.sidebar-title {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--main);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sidebar — Son Yazılar */
.sidebar-post {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color var(--transition);
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { color: var(--main); }

.sidebar-post-thumb {
  width: 86px;
  height: auto;
  aspect-ratio: 1000 / 471;   /* 1000x471 oranı korunur */
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-card-alt);
}
.sidebar-post-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sidebar-post-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sidebar-post-title {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-post-date {
  font-size: .75rem;
  color: var(--text-dim);
}

/* Sidebar — Kategoriler & Arşiv */
.sidebar-cats,
.sidebar-archive {
  list-style: none;
}
.sidebar-cats li,
.sidebar-archive li {
  margin-bottom: 0;
}
.sidebar-cats li a,
.sidebar-archive li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .88rem;
  transition: color var(--transition);
}
.sidebar-cats li:last-child a,
.sidebar-archive li:last-child a { border-bottom: none; }
.sidebar-cats li a:hover,
.sidebar-archive li a:hover { color: var(--main); }

.sidebar-cat-count {
  background: rgba(255,106,0,.1);
  color: var(--main);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}

/* Sidebar — CTA */
.sidebar-cta {
  background: linear-gradient(135deg, rgba(255,106,0,.1), rgba(255,184,0,.06));
  border-color: rgba(255,106,0,.25);
  text-align: center;
}
.sidebar-cta h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-cta p {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 14px;
}

/* ============================================================
   7. SSS / FAQ ACCORDION
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.active { border-color: rgba(255,106,0,.3); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  gap: 12px;
  user-select: none;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--main); }

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  color: var(--text-dim);
  font-size: .8rem;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--main); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 18px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 18px 16px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.65;
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col p,
.footer-col li {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
}

.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--main); }

.footer-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255,106,0,.08);
  border: 1px solid rgba(255,106,0,.15);
  color: var(--main);
  font-size: .78rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: .82rem;
  line-height: 1.6;
}

.footer-responsible {
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: .78rem;
  font-weight: 600;
}

/* ============================================================
   9. FLOAT BUTTONS (Telegram + Scroll Top)
   ============================================================ */
.float-telegram {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34ACE0, #1E88C9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34,158,217,.45);
  transition: all var(--transition);
  text-decoration: none;
  animation: tg-pulse 2s ease-in-out infinite;
}
.float-telegram svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.float-telegram:hover {
  background: linear-gradient(135deg, #1E88C9, #1565A8);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(34,158,217,.6);
  animation: none;
}

@keyframes tg-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(34,158,217,.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 30px rgba(34,158,217,.7), 0 0 0 10px rgba(34,158,217,.12);
    transform: scale(1.06);
  }
}

/* Telegram ring ripple */
.float-telegram::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(34,158,217,.5);
  animation: tg-ring 2.5s ease-out infinite;
  pointer-events: none;
}
.float-telegram:hover::after { animation: none; opacity: 0; }

@keyframes tg-ring {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

/* ============================================================
   10. SINGLE POST / ARTICLE
   ============================================================ */
.article-header { margin-bottom: 30px; }

.breadcrumb {
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--main); }
.breadcrumb .sep { margin: 0 4px; }

.article-cover {
  width: 100%;
  aspect-ratio: 1000 / 471;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  background: var(--bg-card-alt);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-dim);
  font-size: .85rem;
  margin-bottom: 16px;
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

/* Article Body Prose */
.article-body {
  max-width: 780px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text);
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px 24px;
  color: var(--text-muted);
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; line-height: 1.7; }

.article-body strong { color: var(--text); font-weight: 600; }

.article-body a {
  color: var(--main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body img {
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.article-body blockquote {
  border-left: 3px solid var(--main);
  padding: 16px 20px;
  margin: 20px 0;
  background: rgba(255,106,0,.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

/* CTA Box inside article */
.article-cta-box {
  background: linear-gradient(135deg, rgba(255,106,0,.08), rgba(255,184,0,.06));
  border: 1px solid rgba(255,106,0,.2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin: 36px 0;
}

.article-cta-box h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--text);
}

.article-cta-box p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 16px;
}

/* ---- Yazı içi butonlar — okunabilirlik garantisi ---- */
.article-body .btn,
.entry-content .btn,
.article-cta-box .btn,
.sidebar-cta .btn {
  text-decoration: none !important;
  border-bottom: none !important;
}

.article-body a.btn-primary,
.entry-content a.btn-primary,
.article-cta-box a.btn-primary {
  background: linear-gradient(135deg, var(--main), var(--main-dark)) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
  box-shadow: 0 2px 14px rgba(255,106,0,.35);
}
.article-body a.btn-primary:hover,
.entry-content a.btn-primary:hover,
.article-cta-box a.btn-primary:hover {
  background: linear-gradient(135deg, var(--main-light), var(--main)) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.article-body a.btn-accent,
.entry-content a.btn-accent,
.article-cta-box a.btn-accent,
.sidebar-cta a.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
.article-body a.btn-accent:hover,
.entry-content a.btn-accent:hover,
.article-cta-box a.btn-accent:hover,
.sidebar-cta a.btn-accent:hover {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

.article-body a.btn-outline,
.entry-content a.btn-outline {
  background: transparent !important;
  color: var(--main) !important;
  -webkit-text-fill-color: var(--main) !important;
}
.article-body a.btn-outline:hover,
.entry-content a.btn-outline:hover {
  background: var(--main) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.article-body .btn-icon,
.entry-content .btn-icon {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* ---- Gutenberg buton blokları (block CSS kaldırıldığı için tema basar) ---- */
.entry-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  list-style: none;
}
.entry-content .wp-block-button { margin: 0; }
.entry-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
  box-shadow: 0 2px 14px rgba(255,106,0,.35);
  transition: all var(--transition);
  border: none;
}
.entry-content .wp-block-button__link:hover {
  background: linear-gradient(135deg, var(--main-light), var(--main));
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  transform: translateY(-1px);
}
.entry-content .is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--main);
  color: var(--main) !important;
  -webkit-text-fill-color: var(--main) !important;
  text-shadow: none;
  box-shadow: none;
}
.entry-content .is-style-outline .wp-block-button__link:hover {
  background: var(--main);
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* ============================================================
   10b. TEK YAZI LAYOUT — İÇERİK + SIDEBAR
   ============================================================ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.single-main { min-width: 0; }
.single-layout .article-body {
  max-width: 100%;
  margin: 0;
}

/* İlgili yazılar */
.related-posts {
  margin-top: 50px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid var(--main);
  line-height: 1.3;
}
.posts-grid--related {
  grid-template-columns: repeat(3, 1fr);
}
.posts-grid--related .card-body { padding: 14px 16px; }
.posts-grid--related .card-body h3 { font-size: .95rem; margin-bottom: 0; }

/* ============================================================
   11. 404 PAGE
   ============================================================ */
.page-404 {
  text-align: center;
  padding: 100px 20px;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* ============================================================
   12. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--transition);
}
.pagination a:hover {
  border-color: var(--main);
  color: var(--main);
}
.pagination .current {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero h1 { font-size: 2.2rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid--blog { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 1.7rem; }

  .blog-layout { grid-template-columns: 1fr 280px; gap: 24px; }
  .single-layout { grid-template-columns: 1fr 280px; gap: 24px; }
  .posts-grid--related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .blog-layout { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .posts-grid--blog { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 680px) {
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: .95rem; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.4rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .posts-grid--blog { grid-template-columns: 1fr !important; }
  .posts-grid--related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .header-wrap { padding: 10px 14px; }
  .custom-logo { max-height: 36px; }
  .btn-text-hide { display: none; }
  .btn-sm { padding: 8px 12px; }

  .article-title { font-size: 1.4rem; }
  .article-body h2 { font-size: 1.25rem; }

  .float-telegram { width: 46px; height: 46px; font-size: 1.2rem; bottom: 20px; left: 20px; }
  .scroll-top { width: 40px; height: 40px; bottom: 20px; right: 20px; }
}
