/*
Theme Name: Dostyeri V70 Rebuild
Theme URI: https://dostyeri.net
Author: OpenAI
Description: Düzeltilmiş, mobil uyumlu, kurumsal İslami portal teması.
Version: 70.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: dostyeri-v70-rebuild
*/

:root{
  --green:#166534;
  --green-dark:#12512a;
  --cream:#efecdf;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#d9dfd0;
  --blue:#1d9bf0;
  --yellow:#facc15;
  --shadow:0 10px 24px rgba(0,0,0,.08);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--cream);
  color:var(--text);
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.site-wrap{max-width:860px;margin:0 auto}
.site-header{
  background:var(--green);
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:34px;
  font-weight:800;
  letter-spacing:-.5px;
}
.brand-logo{
  width:44px;
  height:44px;
  border-radius:12px;
  object-fit:cover;
  background:#fff;
}
.menu-btn{
  width:46px;
  height:46px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}
.drawer-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.3);
  z-index:60;
}
.drawer{
  position:fixed;
  top:0;
  right:-340px;
  width:320px;
  max-width:92vw;
  height:100vh;
  background:linear-gradient(180deg,#1f7a3e,#166534);
  color:#fff;
  z-index:70;
  transition:right .25s ease;
  padding:18px;
  overflow:auto;
}
body.drawer-open .drawer{right:0}
body.drawer-open .drawer-overlay{display:block}
.drawer-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}
.drawer-close{
  width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.1);color:#fff;font-size:24px;cursor:pointer
}
.drawer-title{font-size:18px;opacity:.9;text-transform:uppercase;letter-spacing:2px;margin:18px 0 10px}
.drawer ul{list-style:none;padding:0;margin:0}
.drawer li{margin:0;padding:0}
.drawer a{display:block;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:18px}
.content{padding:16px}
.hero-slider{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  background:#ddd;
  box-shadow:var(--shadow);
}
.slides{position:relative}
.slide{
  display:none;
}
.slide.is-active{display:block}
.slide img{
  width:100%;
  height:300px;
  object-fit:cover;
}
.slide-caption{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  background:rgba(0,0,0,.55);
  color:#fff;
  padding:14px 16px;
  border-radius:18px;
}
.slide-caption h2{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.15;
}
.slide-caption p{
  margin:0;
  font-size:15px;
  line-height:1.5;
}
.slider-nav{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:10px;
}
.slider-dot{
  width:10px;height:10px;border-radius:50%;background:#b7c1ae;border:0;padding:0
}
.slider-dot.is-active{background:var(--green)}
.section{margin-top:18px}
.section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 20px;
  border-radius:999px;
  background:linear-gradient(180deg,#2e8b4a,#20743b);
  color:#fff;
  font-size:20px;
  font-weight:800;
  box-shadow:var(--shadow);
  border:4px solid #b8d0bb;
}
.pill-list{display:grid;gap:12px;margin-top:14px}
.pill-card{
  background:#fff;
  border-radius:999px;
  padding:14px 16px;
  display:grid;
  grid-template-columns:64px 1fr;
  gap:14px;
  align-items:center;
  box-shadow:var(--shadow);
}
.pill-thumb{
  width:64px;height:64px;border-radius:50%;overflow:hidden;background:#eee
}
.pill-thumb img{width:100%;height:100%;object-fit:cover}
.pill-title{font-size:18px;font-weight:800;line-height:1.25}
.grid{
  display:grid;
  gap:16px;
}
.grid-2{grid-template-columns:1fr 1fr}
.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-body{padding:18px}
.post-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.post-card h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.25;
}
.meta{
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}
.tick{
  color:var(--blue);
  font-weight:700;
}
.excerpt{
  font-size:15px;
  line-height:1.65;
  color:#374151;
}
.story-row{
  display:flex;
  gap:10px;
  overflow:auto;
  padding-bottom:4px;
}
.story{
  min-width:78px;
  text-align:center;
}
.story-ring{
  width:74px;
  height:74px;
  border-radius:50%;
  padding:3px;
  background:linear-gradient(180deg,#2e8b4a,#8abf95);
  margin:0 auto 8px;
}
.story-ring img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  border:3px solid #fff;
}
.story span{
  display:block;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
}
.box-title{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#4b5563;
}
.list-clean{list-style:none;padding:0;margin:0}
.list-clean li{
  padding:10px 0;
  border-bottom:1px solid var(--line);
  font-size:15px;
}
.list-clean li:last-child{border-bottom:0}
.category-list{
  display:grid;
  gap:10px;
}
.category-item{
  background:#fff;
  border-radius:18px;
  padding:16px 18px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  box-shadow:var(--shadow);
  font-weight:800;
}
.category-count{
  min-width:36px;
  height:36px;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  display:grid;
  place-items:center;
  padding:0 10px;
}
.notice{
  background:linear-gradient(180deg,#ffd766,#f5c94b);
  border:4px solid #efbf35;
  border-radius:24px;
  padding:18px 20px;
  box-shadow:var(--shadow);
  font-size:18px;
  font-weight:800;
}
.video-wrap iframe,.video-wrap video{
  width:100%;
  min-height:260px;
  border:0;
  display:block;
  background:#000;
}
.share-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.share-btn{
  padding:9px 12px;
  background:#f8fafc;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  border:1px solid #e5e7eb;
}
.gallery-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.gallery-grid img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
}
.site-footer{
  margin-top:24px;
  background:linear-gradient(180deg,#166534,#14532d);
  color:#fff;
  padding:24px 16px 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.footer-grid h4{margin:0 0 8px;font-size:18px}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid li{padding:6px 0;font-size:14px}
.copy{margin-top:18px;font-size:13px;opacity:.9}
.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:var(--yellow);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:32px;
  font-weight:900;
  text-decoration:none;
  box-shadow:var(--shadow);
}
@media (max-width:680px){
  .brand{font-size:28px}
  .slide img{height:240px}
  .slide-caption h2{font-size:22px}
  .grid-2,.footer-grid{grid-template-columns:1fr}
}
