/*
Theme Name: Ayetel Kürsi
Theme URI: https://ayetelkursi.org/
Author: ayetelkursi.org
Author URI: https://ayetelkursi.org/
Description: Ayetel Kürsi'yi Arapçası, okunuşu ve mealiyle sunan; korunma duaları, blog ve kurumsal sayfaları içinde gömülü gelen hafif tema. Gömülü SEO (başlık, açıklama, canonical, Open Graph, JSON-LD), sitemap.xml, robots.txt ve eski adres yönlendirmeleri içerir.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
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: ayetel-kursi
*/

/* ---------- Değişkenler ---------- */
:root {
  --green-dark: #1b5e3b;
  --green-mid: #2d7a50;
  --green-light: #3a9163;
  --green-pale: #e8f3ec;
  --gold: #c9a84c;
  --gold-dark: #7a6220;
  --gold-light: #e8d9a0;
  --gold-pale: #fbf6e6;
  --cream: #fdfbf7;
  --white: #fff;
  --text-dark: #2c2c2c;
  --text-mid: #3d3d3f;
  --text-light: #636a76;
  --border: #e5e0d8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Crimson Pro', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', 'Scheherazade New', serif;
  --transition: .25s ease;
  --container: 1160px;
}

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--green-dark); color: var(--white); padding: 10px 18px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Üst bölüm ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 48px; width: auto; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  display: block; font-size: .9rem; font-weight: 700; color: var(--text-mid);
  padding: 8px 14px; border-radius: 8px; transition: all var(--transition); white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-mid); background: var(--green-pale); }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; border-radius: 8px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: all var(--transition); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: .95rem; font-weight: 700; line-height: 1.3;
  transition: all var(--transition); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green-mid); color: var(--white); border-color: var(--green-mid); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 6px 20px rgba(45,90,64,.35); }
.btn-ghost { background: transparent; color: var(--green-mid); border-color: var(--green-mid); }
.btn-ghost:hover { background: var(--green-mid); color: var(--white); }
.hero .btn-primary { background: rgba(255,255,255,.95); color: var(--green-dark); border-color: rgba(255,255,255,.95); }
.hero .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.hero .btn-secondary { background: rgba(201,162,39,.2); color: rgba(255,255,255,.95); border-color: rgba(201,162,39,.6); }
.hero .btn-secondary:hover { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.hero .btn-outline { background: transparent; color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.45); }
.hero .btn-outline:hover { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.8); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 72px 0 64px; overflow: hidden;
  background: linear-gradient(135deg, #144a2e 0%, var(--green-dark) 55%, var(--green-mid) 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,162,39,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 40%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; min-height: 440px; }
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-block; font-family: var(--font-display); font-size: 1rem; color: var(--gold-light);
  background: rgba(201,162,39,.15); border: 1px solid rgba(201,162,39,.3);
  padding: 6px 18px; border-radius: 50px; margin-bottom: 24px; letter-spacing: .5px;
}
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--gold-light); }
.hero-desc { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-ornament { display: flex; align-items: center; justify-content: center; }
.hero-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 440px; }
.hero-stat-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(201,162,39,.3); border-radius: 14px;
  padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: background var(--transition);
}
.hero-stat-card:hover { background: rgba(201,162,39,.15); }
.hero-stat-wide { grid-column: 1 / -1; }
.hero-stat-number { font-size: 2.4rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.hero-stat-emoji { font-size: 1.8rem; line-height: 1.3; }
.hero-stat-main { font-family: var(--font-arabic); font-size: 1.5rem; color: var(--gold-light); line-height: 1.7; text-align: center; }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.72); text-align: center; font-weight: 700; letter-spacing: .5px; }

.audio-player { margin-top: 20px; animation: slideDown .35s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.audio-player-inner {
  background: rgba(0,0,0,.25); border: 1px solid rgba(201,162,39,.4); border-radius: 14px;
  padding: 16px 20px; display: flex; flex-direction: column; gap: 8px;
}
.audio-info { font-size: .875rem; color: var(--gold-light); font-weight: 700; }
.audio-player audio { width: 100%; height: 40px; border-radius: 8px; }
.audio-close { align-self: flex-end; font-size: .8rem; color: rgba(255,255,255,.7); padding: 4px 8px; border-radius: 6px; }
.audio-close:hover { color: var(--white); }

/* ---------- Sayfa başlığı ve ekmek kırıntısı ---------- */
.page-header { background: linear-gradient(135deg, #144a2e, var(--green-mid)); padding: 56px 0; text-align: center; color: var(--white); }
.page-header h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.25; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 640px; margin: 0 auto; }

.breadcrumb-nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .85rem; color: var(--text-light); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; }
.breadcrumb a { color: var(--green-mid); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .active { color: var(--text-mid); font-weight: 700; }

/* ---------- Bölümler ---------- */
.surah-section, .info-section, .faq-section, .blog-section, .related-section, .closing-section { padding: 72px 0; }
.info-section + .info-section { padding-top: 0; }
.alt-bg { background: var(--white); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-label {
  display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold-dark); background: var(--gold-pale); border: 1px solid rgba(201,162,39,.3);
  padding: 5px 16px; border-radius: 50px; margin-bottom: 14px;
}
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--green-dark); line-height: 1.3; margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; }
.section-cta { text-align: center; }

.action-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.action-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  border: 1.5px solid var(--border); border-radius: 50px; font-size: .875rem; font-weight: 700;
  color: var(--text-mid); background: var(--white); transition: all var(--transition);
}
.action-btn:hover { border-color: var(--green-mid); color: var(--green-mid); background: var(--green-pale); }

/* ---------- Sure metni ---------- */
.arabic-text-container, .meal-container, .transliteration-container {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px;
}
.arabic-text-container, .meal-container { background: var(--white); box-shadow: var(--shadow-sm); }
.transliteration-container { background: var(--cream); }
.alt-bg .meal-container { background: var(--cream); box-shadow: none; }
.bismillah {
  font-family: var(--font-arabic); font-size: clamp(1.6rem, 4vw, 2.4rem); text-align: center; color: var(--green-dark);
  padding: 16px 20px 24px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.ayah-block { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(229,224,213,.6); }
.ayah-block:last-child, .trans-block:last-child, .meal-block:last-child { border-bottom: none; }
.ayah-number {
  font-family: var(--font-arabic); font-size: .95rem; color: var(--gold-dark); background: var(--gold-pale);
  border: 1px solid rgba(201,162,39,.3); border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: center;
}
.ayah-text { font-family: var(--font-arabic); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 2.1; flex: 1; }
.trans-block, .meal-block { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(229,224,213,.6); align-items: baseline; }
.trans-number, .meal-number { font-weight: 800; min-width: 38px; font-size: .9rem; flex-shrink: 0; }
.trans-number { color: var(--gold-dark); }
.meal-number { color: var(--green-mid); }
.trans-text { font-family: var(--font-display); font-size: 1.08rem; font-style: italic; }
.meal-text { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.8; }
.more-ayahs-note {
  margin-top: 20px; padding: 14px 18px; background: var(--green-pale); border-left: 3px solid var(--green-mid);
  border-radius: 0 8px 8px 0; font-size: .9rem; color: var(--text-mid);
}

/* ---------- Bilgi kartları ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: box-shadow var(--transition); }
.info-section:not(.alt-bg) .info-card { background: var(--white); }
.info-card:hover { box-shadow: var(--shadow-md); }
.info-icon { font-size: 2.2rem; margin-bottom: 14px; line-height: 1; }
.info-card h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-dark); line-height: 1.3; margin-bottom: 14px; }
.info-card p { color: var(--text-mid); margin-bottom: 12px; font-size: .97rem; line-height: 1.75; }

.info-list { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.info-list li {
  display: flex; align-items: baseline; gap: 10px; font-size: .93rem; color: var(--text-mid);
  padding: 9px 14px; background: var(--white); border-radius: 8px; border: 1px solid var(--border);
}
.info-list li::before { content: "✓"; color: var(--green-mid); font-weight: 800; flex-shrink: 0; }
.info-list li > strong { margin-right: 4px; }

.notice-box {
  margin: 20px 0; padding: 14px 18px; background: var(--gold-pale); border: 1px solid rgba(201,162,39,.35);
  border-radius: 10px; font-size: .93rem; color: var(--text-mid); line-height: 1.65;
}
.notice-box.ozet { border-left: 4px solid var(--gold); font-size: 1rem; margin-top: 0; }

/* ---------- SSS ---------- */
.faq-container { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition); }
.article-faq .faq-item { background: var(--white); }
.faq-section .faq-item { background: var(--cream); }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-h { font: inherit; margin: 0; }
.faq-question {
  width: 100%; text-align: left; padding: 18px 22px; font-size: 1rem; font-weight: 700; color: var(--green-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background var(--transition);
}
.faq-question::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--gold-dark); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-question { background: var(--green-pale); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; padding: 0 22px; }
.faq-answer > div { overflow: hidden; color: var(--text-mid); font-size: .97rem; line-height: 1.75; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > div { padding: 16px 0 18px; border-top: 1px solid var(--border); }
@media (scripting: none) {
  .faq-answer { grid-template-rows: 1fr; }
  .faq-answer > div { padding: 16px 0 18px; border-top: 1px solid var(--border); }
}
.article-faq { margin-top: 44px; }
.article-faq > h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-dark); margin-bottom: 20px; }
.article-faq .faq-container { max-width: none; }

/* ---------- Kartlar ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.blog-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 56px 0 32px; }
.blog-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; transition: all var(--transition);
}
.alt-bg .blog-card { background: var(--cream); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-pale); }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .8rem; }
.blog-category, .category-tag { background: var(--green-pale); color: var(--green-mid); padding: 4px 12px; border-radius: 50px; font-weight: 800; }
.dua-tur { background: var(--gold-pale); color: var(--gold-dark); border: 1px solid rgba(201,162,39,.3); padding: 3px 11px; border-radius: 50px; font-weight: 800; font-size: .78rem; }
.blog-card-meta time { color: var(--text-light); }
.blog-card-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--green-dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card-title a:hover { color: var(--green-light); }
.blog-card > p { color: var(--text-light); font-size: .92rem; line-height: 1.65; flex: 1; margin-bottom: 18px; }
.read-more { font-weight: 800; font-size: .875rem; color: var(--gold-dark); align-self: flex-start; transition: color var(--transition); }
.read-more:hover { color: var(--green-mid); }
.dua-card-arabic {
  font-family: var(--font-arabic); font-size: 1.35rem; line-height: 2; color: var(--green-dark);
  background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px;
}
.alt-bg .dua-card-arabic { background: var(--white); }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 22px; text-align: center; display: block; transition: all var(--transition);
}
.related-card:hover { background: var(--green-pale); border-color: var(--green-mid); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.related-card h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--green-dark); margin-bottom: 8px; }
.related-card p { font-size: .87rem; color: var(--text-light); line-height: 1.5; }

.pagination { padding: 8px 0 64px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; min-width: 42px; height: 42px; padding: 0 14px; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 50px; background: var(--white); font-weight: 700; font-size: .9rem; color: var(--text-mid);
}
.pagination a.page-numbers:hover { border-color: var(--green-mid); color: var(--green-mid); }
.pagination .current { background: var(--green-mid); border-color: var(--green-mid); color: var(--white); }

/* ---------- Kapanış ---------- */
.closing-section { background: linear-gradient(135deg, #144a2e, var(--green-mid)); color: var(--white); }
.closing-content { max-width: 720px; margin: 0 auto; text-align: center; }
.closing-arabic { font-family: var(--font-arabic); font-size: 2rem; color: var(--gold-light); margin-bottom: 24px; }
.closing-content p { color: rgba(255,255,255,.85); line-height: 1.8; margin-bottom: 14px; }

/* ---------- Yazı / dua sayfası ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 48px 0 72px; align-items: start; }
.article-content { min-width: 0; }
.article-content h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; color: var(--green-dark); margin-bottom: 18px; line-height: 1.28; }
.article-meta { display: flex; gap: 10px 14px; font-size: .85rem; color: var(--text-light); margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.article-lead { font-size: 1.1rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; }
.article-image { margin-bottom: 28px; }
.article-image img { border-radius: var(--radius-lg); width: 100%; }

.content-body > :first-child { margin-top: 0; }
.content-body h2 { font-family: var(--font-display); font-size: 1.45rem; color: var(--green-dark); line-height: 1.35; margin: 38px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--green-pale); }
.content-body h3 { font-family: var(--font-display); font-size: 1.18rem; color: var(--green-mid); margin: 26px 0 10px; }
.content-body p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.85; }
.content-body a { color: var(--green-mid); text-decoration: underline; text-underline-offset: 3px; }
.content-body a:hover { color: var(--green-dark); }
.content-body ul:not(.info-list) { list-style: disc; padding-left: 22px; margin-bottom: 16px; color: var(--text-mid); }
.content-body ol { list-style: decimal; padding-left: 22px; margin-bottom: 16px; color: var(--text-mid); }
.content-body li { margin-bottom: 6px; }
.content-body blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--gold); background: var(--gold-pale); border-radius: 0 10px 10px 0; font-family: var(--font-display); font-style: italic; }
.content-body img { border-radius: var(--radius); margin: 20px 0; }
.content-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.content-body th, .content-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.content-body th { background: var(--green-pale); color: var(--green-dark); }
.content-body .transliteration-container, .content-body .meal-container { margin: 24px 0; padding: 24px; }
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--text-light); text-align: center; margin-top: 6px; }

.toc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 28px; }
.toc-title { font-family: var(--font-display); font-weight: 700; color: var(--green-dark); margin-bottom: 10px !important; }
.content-body .toc ol { margin: 0; padding-left: 20px; }
.content-body .toc li { margin-bottom: 4px; }
.content-body .toc a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.content-body .toc a:hover { text-decoration: underline; }

.dua-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin: 0 0 32px; overflow: hidden; }
.dua-row { padding: 22px 28px; border-bottom: 1px solid var(--border); }
.dua-row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.dua-row-head h2 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-dark); }
.dua-row .action-btn { padding: 6px 14px; font-size: .8rem; }
.dua-arabic { font-family: var(--font-arabic); font-size: clamp(1.6rem, 3.6vw, 2.1rem); line-height: 2.2; color: var(--green-dark); }
.dua-okunus { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.85; color: var(--text-dark); }
.dua-anlam { font-size: 1.05rem; line-height: 1.85; color: var(--text-mid); }
.dua-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 28px; background: var(--cream); }
.dua-kaynak { font-size: .9rem; color: var(--text-mid); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.post-nav > div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color var(--transition); }
.post-nav > div:hover { border-color: var(--green-mid); }
.post-nav span { font-size: .78rem; font-weight: 800; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.post-nav a { font-family: var(--font-display); font-weight: 600; color: var(--green-dark); line-height: 1.4; }
.post-nav-next { text-align: right; grid-column: 2; }

.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-card h2 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-card li a { font-size: .9rem; color: var(--text-mid); display: flex; align-items: baseline; gap: 8px; padding: 7px 0; line-height: 1.45; transition: color var(--transition); }
.sidebar-card li a::before { content: "›"; color: var(--gold-dark); font-weight: 800; }
.sidebar-card li a:hover { color: var(--green-mid); }
.sidebar-cta { background: var(--green-pale); border-color: var(--green-mid); }
.sidebar-cta p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }
.sidebar-cta .btn { margin-top: 14px; width: 100%; font-size: .9rem; }

/* ---------- Sayfalar ---------- */
.page-content { max-width: 760px; margin: 0 auto; padding: 56px 0 72px; }
.archive-intro { max-width: 820px; margin: 0 auto; padding: 48px 0 36px; }
.archive-intro p { font-size: 1.03rem; }
.archive-outro { max-width: 820px; margin: 16px auto 0; }
.archive-outro + .article-faq { max-width: 820px; margin: 44px auto 72px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; margin: 24px 0; }
.contact-form p { margin: 0; }
.contact-form label { display: block; font-weight: 800; color: var(--green-dark); margin-bottom: 8px; font-size: .9rem; }
.contact-form input, .contact-form textarea, .search-form input {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font: inherit; color: var(--text-dark); background: var(--white); transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus, .search-form input:focus { border-color: var(--green-mid); outline: none; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }
.form-tuzak { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.form-mesaj { padding: 14px 18px; border-radius: 10px; font-weight: 700; margin: 16px 0; }
.form-ok { background: var(--green-pale); color: var(--green-dark); border: 1px solid var(--green-light); }
.form-hata { background: #fdecea; color: #8a1f17; border: 1px solid #f1b0aa; }

.search-form { display: flex; gap: 8px; max-width: 460px; }
.search-form button { flex-shrink: 0; width: 48px; border-radius: 10px; background: var(--green-mid); color: var(--white); display: flex; align-items: center; justify-content: center; }
.search-form button:hover { background: var(--green-dark); }

.empty-state { max-width: 560px; margin: 0 auto; padding: 64px 0 88px; text-align: center; }
.empty-state p { color: var(--text-mid); margin-bottom: 20px; }
.empty-state .search-form { margin: 0 auto 28px; }
.empty-code { font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--green-pale); line-height: 1; -webkit-text-stroke: 2px var(--green-light); }
.empty-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Alt bölüm ---------- */
.site-footer { background: #123f28; color: rgba(255,255,255,.78); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1.2fr .9fr; gap: 36px; margin-bottom: 48px; }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 42px; width: auto; }
.btn svg, .action-btn svg { flex-shrink: 0; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 18px; }
.footer-brand .search-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--white); }
.footer-brand .search-form input::placeholder { color: rgba(255,255,255,.6); }
.footer-brand .search-form button { background: var(--gold); color: var(--green-dark); }
.footer-links h2 { font-family: var(--font-display); font-size: .98rem; font-weight: 600; color: var(--gold-light); margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.75); line-height: 1.45; display: inline-block; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: .82rem; gap: 12px 16px; flex-wrap: wrap;
}
.footer-disclaimer { font-style: italic; opacity: .75; }

/* ---------- Yardımcılar ---------- */
.lazy-fade { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition), border-color var(--transition); }
.lazy-fade.visible { opacity: 1; transform: none; }
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999; background: var(--green-dark); color: var(--white);
  padding: 14px 24px; border-radius: 10px; font-size: .9rem; font-weight: 700; box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0; transition: all .35s cubic-bezier(.34,1.56,.64,1); pointer-events: none;
}
.toast.show { transform: none; opacity: 1; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 1024px) {
  .related-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav {
    /* Üst bölümdeki backdrop-filter, fixed öğeler için kapsayıcı oluşturur; bu yüzden absolute. */
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 68px); height: calc(100dvh - 68px);
    background: #fff; border-top: 1px solid var(--border); padding: 16px 20px; overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1rem; border-radius: 10px; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .hero-info-cards { max-width: none; grid-template-columns: repeat(4, 1fr); }
  .hero-stat-card { padding: 14px 8px; }
  .hero-stat-number { font-size: 1.8rem; }
  .hero-buttons .btn { flex: 1 1 140px; }
  .info-grid, .blog-grid, .blog-list-grid { grid-template-columns: 1fr; }
  .surah-section, .info-section, .faq-section, .blog-section, .related-section, .closing-section { padding: 48px 0; }
  .arabic-text-container, .transliteration-container, .meal-container, .info-card { padding: 22px 18px; }
  .ayah-block { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sidebar { grid-template-columns: 1fr; }
  .dua-row { padding: 18px 18px; }
  .dua-foot { padding: 14px 18px; }
  .page-header { padding: 40px 0; }
  .article-layout { padding: 32px 0 56px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .related-grid, .footer-grid, .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { grid-column: auto; text-align: left; }
  .hero-info-cards { grid-template-columns: 1fr 1fr; }
  .trans-number, .meal-number { min-width: 30px; }
  .toast { left: 16px; right: 16px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .sidebar, .action-bar, .hero-buttons, .audio-player, .breadcrumb-nav, .post-nav, .toast { display: none !important; }
  body { background: #fff; }
  .hero, .page-header, .closing-section { background: none; color: #000; padding: 16px 0; }
  .hero h1, .hero h1 .highlight, .page-header h1 { color: #000; }
  .faq-answer { grid-template-rows: 1fr; }
}

/* ---------- Ayetelkursi.org'a özgü bileşenler ---------- */
h1, h2, h3 { letter-spacing: -.005em; }
.section-header h2, .page-header h1, .hero h1, .article-content h1 { font-weight: 700; }
.blog-card-title, .related-card h3 { font-size: 1.25rem; }
.content-body h2 { font-size: 1.6rem; }
.content-body h3 { font-size: 1.3rem; }
.trans-text, .meal-text, .dua-okunus { font-size: 1.2rem; }

.site-logo { gap: 10px; color: var(--green-dark); }
.logo-icon { display: flex; color: var(--green-dark); }
.logo-icon svg { width: 34px; height: 34px; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.logo-dot { color: var(--gold-dark); font-weight: 600; }
.footer-logo { color: var(--white); margin-bottom: 14px; }
.footer-logo .logo-icon { color: var(--gold-light); }
.footer-logo .logo-dot { color: var(--gold-light); }
.main-nav a { padding: 8px 11px; }

.hero .container.hero-center { display: block; min-height: 0; max-width: 860px; text-align: center; }
.hero-center .hero-desc { max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-center .hero-buttons { justify-content: center; }
.hero-center .audio-player { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
.hero h1 .highlight { display: block; }

.container.narrow { max-width: 860px; }
.intro-section { padding: 56px 0; }
.intro-section p { font-size: 1.06rem; }
.center-title { text-align: center; border: 0 !important; padding: 0 !important; font-size: clamp(1.6rem, 3vw, 2.1rem) !important; margin-bottom: 20px !important; }
.info-section .section-cta, .blog-section .section-cta { margin-top: 28px; }
.info-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-dark); line-height: 1.3; margin-bottom: 10px; }
.info-list li > span { flex: 1; }

.content-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px 36px; }
.alt-bg .content-card { background: var(--cream); }
.content-card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.content-card-header h2 { font-family: var(--font-display); font-size: 1.55rem; color: var(--green-dark); line-height: 1.25; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card-actions .action-btn { padding: 7px 14px; font-size: .82rem; }
.arabic-text { font-family: var(--font-arabic); font-size: 32px; line-height: 2.3; color: var(--green-dark); text-align: center; }
.card-badge-wrap { text-align: center; margin-top: 16px; }
.card-badge-wrap .section-label { margin: 0; }
.okunus-text { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; line-height: 1.9; color: var(--text-dark); }
.content-card .meal-text p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.8; color: var(--text-dark); margin-bottom: 12px; }
.content-card .meal-text p:last-child { margin-bottom: 0; }

.content-body td.ar { font-family: var(--font-arabic); font-size: 1.5rem; line-height: 2; color: var(--green-dark); white-space: nowrap; }
.content-body table { display: block; overflow-x: auto; }
.content-body blockquote { font-size: 1.2rem; line-height: 1.8; }

.closing-content h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--white); margin-bottom: 18px; }
.closing-content a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

.cookie-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #123f28; color: rgba(255,255,255,.9); padding: 14px 0; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-inner p { font-size: .9rem; }
.cookie-inner a { color: var(--gold-light); text-decoration: underline; }
.btn-sm { padding: 8px 20px; font-size: .85rem; background: var(--gold); color: #123f28; border-color: var(--gold); }
.btn-sm:hover { background: var(--gold-light); border-color: var(--gold-light); }

@media (max-width: 1180px) {
  .main-nav a { padding: 8px 8px; font-size: .86rem; }
}
@media (max-width: 1040px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 68px); height: calc(100dvh - 68px);
    background: #fff; border-top: 1px solid var(--border); padding: 16px 20px; overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1rem; border-radius: 10px; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 768px) {
  .content-card { padding: 22px 18px; }
  .arabic-text { font-size: 26px; }
  .info-grid { grid-template-columns: 1fr; }
}