/*
Theme Name: Bursa Bilgi Rehber
Theme URI: https://www.bursabilgi.com.tr/
Author: Bursa Bilgi
Description: BursaBilgi.com.tr için özel hazırlanmış, hızlı, mobil uyumlu ve SEO odaklı şehir rehberi WordPress teması.
Version: 1.0.8
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bursa-bilgi
*/

:root{
  --bb-green:#236b43;
  --bb-green-dark:#15482e;
  --bb-green-soft:#eaf4ee;
  --bb-cream:#f7f5ef;
  --bb-ink:#17201b;
  --bb-muted:#66726b;
  --bb-line:#dfe6e1;
  --bb-white:#fff;
  --bb-radius:18px;
  --bb-shadow:0 12px 36px rgba(23,32,27,.08);
  --bb-container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--bb-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.68;-webkit-font-smoothing:antialiased}
a{color:var(--bb-green);text-decoration:none}
a:hover{color:var(--bb-green-dark)}
img{max-width:100%;height:auto;display:block}
.container{width:min(calc(100% - 32px),var(--bb-container));margin:auto}
.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}

.site-header{position:sticky;top:0;z-index:40;background:#fff;border-top:3px solid var(--bb-green-dark);border-bottom:1px solid #e5ebe7}
.header-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:30px;min-height:76px}
.brand-lockup{display:flex;align-items:center;gap:14px;min-width:230px}
.site-branding{display:flex;align-items:center}
.custom-logo{max-height:52px;width:auto}
.site-title{font-size:25px;font-weight:800;letter-spacing:-.4px;color:var(--bb-green-dark)}
.site-title span{color:var(--bb-green)}
.brand-note{padding-left:14px;border-left:1px solid var(--bb-line);font-family:Georgia,"Times New Roman",serif;font-size:12px;line-height:1.35;color:#68766e;max-width:112px}
.main-nav ul{display:flex;justify-content:flex-end;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.main-nav a{display:block;padding:10px 11px;color:#26322b;font-size:14px;font-weight:650;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--bb-green-dark);border-bottom-color:var(--bb-green)}
.header-actions{display:flex;align-items:center;gap:8px}
.header-search{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--bb-line);border-radius:8px;background:#fff;color:var(--bb-green-dark);cursor:pointer}
.header-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.menu-toggle{display:none;border:1px solid var(--bb-line);background:#fff;width:40px;height:40px;border-radius:8px;font-size:19px;color:var(--bb-green-dark)}

.hero{padding:48px 0 28px;background:linear-gradient(135deg,#edf6f0 0%,#fff 54%,#f6f1e6 100%);border-bottom:1px solid #edf0ed}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:44px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;background:#fff;border:1px solid #dce9e0;border-radius:999px;color:var(--bb-green-dark);font-size:13px;font-weight:750;box-shadow:0 6px 20px rgba(35,107,67,.06)}
.hero h1{max-width:720px;margin:16px 0 16px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,65px);line-height:1.03;letter-spacing:-1.8px;font-weight:700;color:#173323}
.hero p{max-width:680px;font-size:18px;color:#526159;margin:0 0 24px}
.hero-links{display:flex;flex-wrap:wrap;gap:10px}
.hero-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px;padding-top:20px;border-top:1px solid #dfe9e2}
.hero-facts span{font-size:12.5px;line-height:1.45;color:#66736b}
.hero-facts strong{display:block;margin-bottom:2px;color:#20382a;font-size:13px}
.pill-link{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--bb-line);font-size:14px;font-weight:650;color:#26382e}
.pill-link:hover{background:var(--bb-green);color:#fff;border-color:var(--bb-green)}
.hero-feature{position:relative;min-height:410px;border-radius:28px;overflow:hidden;background:#dbe8df;box-shadow:var(--bb-shadow)}
.hero-feature img{width:100%;height:410px;object-fit:cover}
.hero-feature:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(11,36,22,.84))}
.hero-feature-copy{position:absolute;z-index:2;left:26px;right:26px;bottom:24px;color:#fff}
.hero-feature-copy .cat{font-size:12px;text-transform:uppercase;letter-spacing:1.1px;font-weight:800;opacity:.86}
.hero-feature-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:29px;line-height:1.12;margin:6px 0 0;color:#fff}

.section{padding:52px 0}
.section.alt{background:var(--bb-cream)}
.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}
.section-head h2{font-family:Georgia,"Times New Roman",serif;margin:0;font-size:34px;line-height:1.1;color:#173323}
.section-head p{margin:5px 0 0;color:var(--bb-muted)}
.section-link{font-weight:750;font-size:14px;white-space:nowrap}
.feature-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:22px}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.popular-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.popular-grid .card-body{padding:17px}
.popular-grid .card h3{font-size:19px}
.home-panel{background:#fff;border:1px solid var(--bb-line);border-radius:28px;padding:28px;box-shadow:0 14px 40px rgba(23,32,27,.05)}
.home-panel .section-head{margin-bottom:20px}
.card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--bb-line);border-radius:var(--bb-radius);overflow:hidden;transition:.2s ease;min-width:0;box-shadow:0 4px 14px rgba(23,32,27,.03)}
.card:hover{transform:translateY(-3px);box-shadow:var(--bb-shadow);border-color:#cbdad0}
.card-media{display:block;aspect-ratio:16/9;background:#e7ece8;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.card:hover .card-media img{transform:scale(1.025)}
.card-body{display:flex;flex-direction:column;flex:1;padding:20px}
.meta{display:flex;flex-wrap:wrap;gap:8px 12px;color:#78837c;font-size:12px;margin-bottom:8px}
.card h3{font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.24;margin:0 0 9px;color:#1c2b22}
.card h3 a{color:inherit}
.card p{font-size:14px;color:#68746c;margin:0}
.category-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--bb-green-soft);color:var(--bb-green-dark);font-weight:750;font-size:11px;margin-bottom:10px}

.guide-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.post-grid .card p{margin-top:auto}
.guide-item{position:relative;display:flex;flex-direction:column;gap:10px;padding:22px 20px;background:linear-gradient(180deg,#fff 0%,#f8fbf9 100%);border:1px solid #dce7e0;border-radius:20px;color:#26372d;min-height:190px;box-shadow:0 12px 32px rgba(23,32,27,.05);overflow:hidden}
.guide-item:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(23,32,27,.09);border-color:#c8d9ce}
.guide-item:before{content:"";position:absolute;inset:auto -25px -25px auto;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(35,107,67,.14),rgba(35,107,67,0));pointer-events:none}
.guide-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--bb-green-soft);border:1px solid #d6e5db;font-size:22px;color:var(--bb-green-dark);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.guide-item strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.25;margin:0;color:#173323}
.guide-item span{font-size:13px;line-height:1.6;color:var(--bb-muted)}
.guide-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-style:normal;font-size:12px;font-weight:700;letter-spacing:.2px;color:var(--bb-green-dark)}
.guide-meta .arrow{font-size:18px;line-height:1;transform:translateY(-1px)}

.content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:42px;padding:44px 0 64px}
.content-main{min-width:0}
.archive-header{margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--bb-line)}
.archive-header h1,.entry-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.8px;margin:0 0 12px;color:#173323}
.archive-description{max-width:780px;color:var(--bb-muted)}
.archive-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.sidebar{min-width:0}
.widget{padding:22px;background:#f8faf8;border:1px solid var(--bb-line);border-radius:16px;margin-bottom:20px}
.widget-title{font-family:Georgia,"Times New Roman",serif;font-size:20px;margin:0 0 13px;color:#183424}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{padding:9px 0;border-bottom:1px solid #e6ebe7;font-size:14px}
.widget li:last-child{border-bottom:0}
.widget-copy{margin:-3px 0 14px;color:var(--bb-muted);font-size:13px;line-height:1.6}
.sidebar-search-widget form{display:flex;gap:7px}
.sidebar-search-widget input{min-width:0;flex:1;padding:10px 11px;border:1px solid var(--bb-line);border-radius:9px;background:#fff}
.sidebar-search-widget button{border:0;border-radius:9px;background:var(--bb-green);color:#fff;padding:0 12px;font-weight:700}
.popular-list{list-style:none!important;margin:0!important;padding:0!important;counter-reset:none}
.popular-list li{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:11px 0!important}
.popular-no{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:var(--bb-green-soft);color:var(--bb-green-dark);font-size:11px;font-weight:800}
.popular-list a{font-size:13.5px;line-height:1.45;font-weight:650;color:#304138}
.category-widget .cat-item{display:flex;align-items:center;gap:5px;color:#7c887f}
.category-widget .cat-item a{margin-right:auto}

.breadcrumbs{font-size:13px;color:#768078;padding-top:22px}
.breadcrumbs a{color:#55705f}
.single-article{max-width:820px}
.entry-header{margin-bottom:25px}
.entry-meta{display:flex;flex-wrap:wrap;gap:10px 16px;color:#7a847e;font-size:13px}
.featured-image{border-radius:22px;overflow:hidden;margin:24px 0 30px;background:#e8eeea}
.featured-image img{width:100%;max-height:520px;object-fit:cover}
.entry-content{font-size:17px;color:#29342e}
.entry-content p{margin:0 0 1.25em}
.entry-content h2,.entry-content h3,.entry-content h4{font-family:Georgia,"Times New Roman",serif;color:#173323;scroll-margin-top:110px}
.entry-content h2{font-size:31px;line-height:1.18;margin:1.65em 0 .62em}
.entry-content h3{font-size:24px;line-height:1.25;margin:1.5em 0 .55em}
.entry-content ul,.entry-content ol{padding-left:24px}
.entry-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px}
.bb-table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:24px 0;border:1px solid var(--bb-line);border-radius:12px;background:#fff}
.bb-table-scroll table{width:100%;min-width:680px;margin:0;border:0}
.bb-table-scroll th,.bb-table-scroll td{min-width:120px;vertical-align:top;overflow-wrap:normal;word-break:normal}
.bb-table-scroll th:first-child,.bb-table-scroll td:first-child{min-width:160px}
.bb-table-scroll th:last-child,.bb-table-scroll td:last-child{min-width:300px}
.entry-content th,.entry-content td{padding:12px;border:1px solid var(--bb-line);text-align:left}
.entry-content blockquote{margin:28px 0;padding:20px 24px;border-left:4px solid var(--bb-green);background:var(--bb-green-soft);border-radius:0 14px 14px 0}
.entry-content img{border-radius:14px}
.toc{margin:28px 0;padding:20px 22px;background:#f5f8f6;border:1px solid var(--bb-line);border-radius:16px}
.toc strong{display:block;margin-bottom:8px;color:#183424}
.toc ol{margin:0;padding-left:20px}
.toc li{margin:5px 0;font-size:14px}
.related{margin-top:46px;padding-top:34px;border-top:1px solid var(--bb-line)}
.related h2{font-family:Georgia,"Times New Roman",serif;font-size:28px}
.related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}

.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:30px}
.page-numbers{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--bb-line);border-radius:10px;padding:0 12px;color:#34443a}
.page-numbers.current,.page-numbers:hover{background:var(--bb-green);color:#fff;border-color:var(--bb-green)}

.site-footer{background:linear-gradient(180deg,#143523 0%,#112d1e 100%);color:#cbd9d0;padding:56px 0 20px}
.footer-intro{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;padding:0 0 26px;margin-bottom:28px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-intro h2{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1.1;color:#fff}
.footer-intro p{margin:0;max-width:760px;color:#b8c8bf;font-size:15px;line-height:1.8}
.footer-pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.footer-pill{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#e7efe9;font-size:13px;font-weight:700}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.1fr;gap:36px}
.footer-brand p{max-width:440px;color:#aebfb4;font-size:14px;line-height:1.8}
.footer-title{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:#fff;margin:0 0 14px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:8px 0;font-size:14px}
.site-footer a{color:#cbd9d0}
.site-footer a:hover{color:#fff}
.footer-mini-posts li{padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-mini-posts li:last-child{border-bottom:0;padding-bottom:0}
.footer-mini-posts a{display:block;font-weight:600;line-height:1.5}
.footer-bottom{margin-top:36px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);font-size:12px;color:#91a499;display:flex;justify-content:space-between;gap:20px}

.search-overlay{position:fixed;inset:0;background:rgba(10,28,18,.84);z-index:100;display:none;align-items:flex-start;justify-content:center;padding-top:15vh}
.search-overlay.is-open{display:flex}
.search-box{width:min(680px,calc(100% - 30px));background:#fff;padding:26px;border-radius:20px;box-shadow:0 20px 70px rgba(0,0,0,.3)}
.search-box form{display:flex;gap:10px}
.search-box input{flex:1;padding:14px 16px;border:1px solid var(--bb-line);border-radius:12px;font-size:16px}
.search-box button{border:0;background:var(--bb-green);color:#fff;border-radius:12px;padding:0 18px;font-weight:700}

@media(max-width:980px){
 .header-main{grid-template-columns:1fr auto;gap:12px}.brand-lockup{min-width:0}.brand-note{display:none}.menu-toggle{display:block}.main-nav{position:absolute;left:16px;right:16px;top:78px;background:#fff;border:1px solid var(--bb-line);border-radius:12px;box-shadow:var(--bb-shadow);padding:8px;display:none}.main-nav.is-open{display:block}.main-nav ul{display:block}.main-nav a{padding:11px 12px;border-bottom:0;border-radius:7px}.main-nav a:hover,.main-nav .current-menu-item>a{background:var(--bb-green-soft)}.hero-grid,.content-wrap,.feature-grid{grid-template-columns:1fr}.hero-feature{min-height:350px}.hero-feature img{height:350px}.post-grid{grid-template-columns:repeat(2,1fr)}.popular-grid{grid-template-columns:repeat(2,1fr)}.guide-strip{grid-template-columns:repeat(2,1fr)}.sidebar{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.footer-intro{grid-template-columns:1fr}.footer-pills{justify-content:flex-start}.footer-grid{grid-template-columns:repeat(2,1fr)}.home-panel{padding:22px}
}
@media(max-width:640px){
 .header-main{min-height:68px}.site-branding{min-width:0}.custom-logo{max-height:44px}.site-title{font-size:20px}.hero{padding:32px 0 20px}.hero h1{font-size:38px}.hero p{font-size:16px}.hero-facts{grid-template-columns:1fr;gap:8px}.hero-facts span{padding-left:10px;border-left:2px solid #d6e5db}.hero-feature,.hero-feature img{height:300px;min-height:300px}.hero-feature-copy h2{font-size:24px}.section{padding:38px 0}.section-head{align-items:start}.section-head h2{font-size:29px}.post-grid,.popular-grid,.archive-grid,.guide-strip,.sidebar,.footer-grid{grid-template-columns:1fr}.content-wrap{padding-top:28px}.entry-content{font-size:16px}.entry-content h2{font-size:27px}.footer-intro h2{font-size:28px}.footer-pills{justify-content:flex-start}.footer-bottom{display:block}.footer-bottom span{display:block;margin:5px 0}.home-panel{padding:18px;border-radius:22px}.related-grid{grid-template-columns:1fr}.bb-table-scroll{margin:20px 0;border-radius:10px}.bb-table-scroll table{font-size:14px;min-width:680px}.bb-table-scroll th,.bb-table-scroll td{padding:10px 12px}
}
