/*
Theme Name: Serhendyolu Nasihatler Birebir Mobil
Theme URI: https://serhendyolu.com/
Author: OpenAI
Description: Nasihatler görünümüne çok yakın, mobil öncelikli, kayan yeni paylaşımlar alanı, tam ekran menü, sosyal ikonlar ve Ok Takip Kur'an panel galerisi bulunan özel WordPress tema.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: serhendyolu
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --sh-bg:#ececec;
  --sh-card:#ffffff;
  --sh-dark:#24262d;
  --sh-dark-2:#111218;
  --sh-accent:#df9a60;
  --sh-accent-2:#ff7f00;
  --sh-text:#1d1f23;
  --sh-muted:#7b7f86;
  --sh-border:#d8d8d8;
  --sh-red:#f15656;
  --sh-shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:8px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--sh-bg);
  color:var(--sh-text);
  font-family:"Poppins",system-ui,-apple-system,sans-serif;
  line-height:1.65;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit}

.site-shell{min-height:100vh}
.wrap{
  width:min(100%, 760px);
  margin:0 auto;
  padding:0 12px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:99;
  background:linear-gradient(180deg, rgba(39,41,48,.98), rgba(33,35,42,.98));
  box-shadow:0 8px 30px rgba(0,0,0,.24);
}
.site-header__inner{
  min-height:118px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.branding{
  min-width:0;
  display:flex;
  align-items:center;
  gap:14px;
}
.branding img{max-height:76px;width:auto}
.branding__title{
  font-family:"Cinzel",serif;
  margin:0;
  color:#ecd593;
  font-size:29px;
  line-height:1;
  letter-spacing:.1px;
  text-shadow:0 4px 14px rgba(0,0,0,.42);
}
.branding__tagline{margin-top:8px;color:#c39f77;font-size:15px;font-weight:300}
.header-tools{display:flex;align-items:center;gap:22px}
.header-link,.header-button{display:flex;align-items:center;gap:10px;color:var(--sh-accent-2);background:none;border:0;padding:0;cursor:pointer;font-size:18px}
.header-link .dashicons,.header-button .dashicons{width:32px;height:32px;font-size:32px}
.header-label{font-size:17px;font-weight:400}

.top-ticker{background:linear-gradient(180deg,#0d0f14,#151821);border-top:1px solid rgba(255,255,255,.05);overflow:hidden}
.top-ticker__inner{display:flex;align-items:center;min-height:56px}
.top-ticker__badge{width:50px;min-width:50px;height:56px;background:var(--sh-red);display:flex;align-items:center;justify-content:center;color:#fff}
.top-ticker__badge .dashicons{font-size:24px;width:24px;height:24px}
.top-ticker__track{overflow:hidden;white-space:nowrap;padding-left:14px;flex:1}
.top-ticker__track a{display:inline-block;color:#fff;font-size:17px;padding-right:38px}
.top-ticker__move{display:inline-block;padding-left:100%;animation:serhendyoluTicker 28s linear infinite}
@keyframes serhendyoluTicker{from{transform:translateX(0)}to{transform:translateX(-100%)}}

.main-section{padding:24px 0 30px}
.stack{display:grid;gap:20px}
.panel{background:var(--sh-card);border:1px solid var(--sh-border);border-radius:6px;box-shadow:var(--sh-shadow)}
.post-panel{padding:26px}
.hero-frame{position:relative;overflow:hidden;border-radius:4px}
.hero-frame img{width:100%;aspect-ratio:16/10;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.38) 58%, rgba(0,0,0,.72));display:flex;flex-direction:column;justify-content:flex-end;padding:18px 18px 20px}
.category-chip{align-self:flex-start;display:inline-flex;align-items:center;background:var(--sh-accent);color:#fff;padding:10px 18px;border-radius:8px;font-size:16px;margin-bottom:14px}
.hero-title{color:#fff;font-size:30px;line-height:1.15;font-weight:500;margin:0 0 10px;max-width:90%}
.hero-meta{display:flex;align-items:center;gap:8px;color:#fff;font-size:15px}
.flash-badge{position:absolute;left:16px;top:16px;width:50px;height:50px;border-radius:50%;background:var(--sh-red);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 20px rgba(241,86,86,.28)}
.flash-badge .dashicons{font-size:22px;width:22px;height:22px}
.icon-clock{width:16px;height:16px;border:2px solid currentColor;border-radius:50%;position:relative;display:inline-block;flex:0 0 auto}
.icon-clock:before{content:"";position:absolute;left:50%;top:22%;width:2px;height:5px;background:currentColor;transform:translateX(-50%)}
.icon-clock:after{content:"";position:absolute;left:50%;top:50%;width:5px;height:2px;background:currentColor}
.post-row{display:grid;grid-template-columns:190px 1fr;gap:22px;align-items:start;margin-top:22px}
.post-row__thumb{position:relative;overflow:hidden;border-radius:2px}
.post-row__thumb img{width:100%;aspect-ratio:16/10;object-fit:cover}
.post-row__content .meta{color:#80848a;font-size:16px;display:flex;gap:8px;align-items:center;margin-bottom:6px}
.post-row__content h3{font-size:25px;line-height:1.22;margin:0;font-weight:500}
.panel-title{margin:0 0 16px;font-size:22px;font-weight:500;padding-bottom:12px;position:relative}
.panel-title:after{content:"";position:absolute;left:0;bottom:0;width:74px;height:4px;background:#333741}
.panel-body{padding:26px}
.category-select{width:100%;min-height:54px;border:1px solid var(--sh-border);border-radius:3px;padding:12px 16px;color:#666;background:#fff}
.popular-item{display:grid;grid-template-columns:138px 1fr;gap:18px;margin-top:18px;align-items:start}
.popular-item img{width:100%;aspect-ratio:16/10;object-fit:cover}
.popular-item h4{margin:0 0 4px;font-size:21px;line-height:1.22;font-weight:500}
.popular-item .meta{color:#8a8d92;font-size:15px;display:flex;align-items:center;gap:8px}
.more-post-card{padding:0;overflow:hidden}
.more-post-card .body{padding:20px 24px 26px}
.more-post-card h3{font-size:27px;line-height:1.2;margin:0 0 12px;font-weight:600}
.more-post-card p{margin:0;color:#70737a;font-size:18px}
.more-post-card .body .meta{margin-bottom:10px;display:flex;align-items:center;gap:8px;color:#898c91}
.load-more{display:block;text-align:center;background:#fff;border:1px solid var(--sh-border);border-top:0;border-radius:0 0 6px 6px;font-size:22px;padding:22px 12px}
.breadcrumbs{color:#7a7d84;font-size:16px;margin-bottom:18px}
.single-shell{background:#fff;border:1px solid var(--sh-border);border-radius:6px;overflow:hidden;box-shadow:var(--sh-shadow)}
.single-head{padding:22px 18px 0}
.single-current{display:inline-flex;align-items:center;gap:8px;color:#333;font-size:18px;margin:12px 0 14px}
.single-title{font-size:32px;line-height:1.18;margin:0 0 14px;font-weight:500}
.single-stats{display:flex;gap:16px;flex-wrap:wrap;font-size:16px;color:#666;margin-bottom:20px}
.single-featured{width:100%;aspect-ratio:16/11;object-fit:cover}
.share-bar{display:grid;grid-template-columns:repeat(6,1fr)}
.share-btn{min-height:62px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:25px}
.share-facebook{background:#4678e8}.share-x{background:#111}.share-pinterest{background:#dd4551}.share-reddit{background:#f55b1f}.share-whatsapp{background:#27d549}.share-telegram{background:#1d97d8}
.entry-content{padding:24px 18px 4px;font-size:19px}.entry-content h2,.entry-content h3,.entry-content h4{line-height:1.24;margin:1.25em 0 .6em}.entry-content p{margin:0 0 1.05em}
.related-wrap{margin-top:22px}
.overlay-panel{position:fixed;inset:0;z-index:120;background:rgba(86,0,0,.75);backdrop-filter:blur(3px);padding:16px 16px 30px;display:none;overflow:auto}
.overlay-panel.is-active{display:block}
.overlay-close{display:flex;justify-content:flex-end;color:#fff;font-size:54px;line-height:1;margin-bottom:12px}
.overlay-search{position:relative;margin-bottom:26px}
.overlay-search .search-field{width:100%;min-height:62px;border-radius:34px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);color:#fff;padding:14px 68px 14px 22px;font-size:22px}
.overlay-search .search-field::placeholder{color:#f1f1f1}
.overlay-search .search-submit{position:absolute;top:8px;right:10px;border:0;background:none;color:#fff}
.overlay-search .search-submit .dashicons{width:36px;height:36px;font-size:36px}
.overlay-menu a{display:block;color:#fff;font-size:22px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.overlay-social{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding:26px 0 12px}
.overlay-social a{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600}
.site-footer{margin-top:26px;background:linear-gradient(180deg,#161820,#0b0c12);color:#fff}
.footer-box{padding:26px 0 0}
.quran-panel{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.08);border-radius:4px;padding:24px}
.quran-panel__head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.quran-panel__head h3{margin:0;color:var(--sh-accent);font-size:22px;font-weight:500;padding-bottom:10px;position:relative}
.quran-panel__head h3:after{content:"";position:absolute;left:0;bottom:0;width:72px;height:4px;background:var(--sh-accent)}
.quran-nav{display:flex;gap:10px}
.quran-nav button{width:40px;height:40px;border:1px solid rgba(255,255,255,.12);background:#1c1f28;color:#fff;border-radius:4px;cursor:pointer}
.quran-nav .dashicons{width:18px;height:18px;font-size:18px}
.quran-slide{display:none}.quran-slide.is-active{display:block}
.quran-slide img{width:100%;aspect-ratio:16/10;object-fit:cover}
.quran-caption{font-size:20px;line-height:1.25;margin-top:12px}
.quran-dots{display:flex;justify-content:center;gap:10px;padding-top:12px}
.quran-dot{width:12px;height:12px;border-radius:50%;background:#4a4d56;border:0;cursor:pointer}.quran-dot.is-active{background:var(--sh-accent)}
.footer-bottom{margin-top:18px;border-top:8px solid var(--sh-accent);background:#07080b;padding:24px 0 30px}
.footer-bottom__text{text-align:center;font-size:18px}.footer-bottom__text .heart{color:#ff2d2d}
.to-top{position:fixed;right:18px;bottom:18px;width:58px;height:58px;border-radius:50%;background:var(--sh-accent);color:#fff;box-shadow:0 14px 24px rgba(223,154,96,.35);display:flex;align-items:center;justify-content:center;z-index:90}
.to-top .dashicons{width:24px;height:24px;font-size:24px}
.pagination-wrap{display:flex;justify-content:center;gap:10px;padding:10px 0 0}.page-numbers{min-width:44px;height:44px;border-radius:6px;border:1px solid var(--sh-border);background:#fff;display:flex;align-items:center;justify-content:center}.page-numbers.current{background:var(--sh-accent);color:#fff;border-color:var(--sh-accent)}
.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}
@media (max-width:640px){.site-header__inner{min-height:108px}.branding__title{font-size:27px}.branding__tagline{font-size:14px}.post-panel{padding:14px}.hero-title{font-size:28px;max-width:100%}.post-row{grid-template-columns:1fr 1.4fr;gap:14px}.post-row__content h3{font-size:20px}.popular-item{grid-template-columns:1fr 1.4fr;gap:14px}.popular-item h4{font-size:19px}.more-post-card .body{padding:16px 18px 22px}.more-post-card h3{font-size:23px}.entry-content{font-size:18px}.single-title{font-size:30px}.header-tools{gap:18px}.header-label{font-size:16px}.wrap{padding:0 10px}}
