/*
Theme Name: Mukayyet
Theme URI: https://mukayyet.com.tr
Author: Mukayyet
Description: Vergi, muhasebe ve finans alanında yarı akademik içerik yayımlayan Mukayyet platformu için profesyonel dergi teması.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mukayyet
*/

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ================================================================
   CSS VARIABLES
   ================================================================ */
:root {
  --primary:      #1a2533;
  --primary-mid:  #243447;
  --accent:       #b5251d;
  --accent-h:     #8f1a14;
  --gold:         #c8922a;
  --gold-light:   #f0c96e;
  --white:        #ffffff;
  --bg:           #ffffff;
  --bg-alt:       #f6f7f9;
  --bg-dark:      #0f1620;
  --text:         #1c1c1e;
  --text-mid:     #444;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;
  --border:       #e5e7eb;
  --border-dark:  #d1d5db;
  --shadow:       0 2px 8px rgba(0,0,0,.07);
  --shadow-md:    0 4px 20px rgba(0,0,0,.12);
  --fh: 'Merriweather', Georgia, 'Times New Roman', serif;
  --fb: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 3px;
  --tr: .2s ease;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--accent-h); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--fh); line-height: 1.3; color: var(--text); }
p { margin-bottom: 1rem; }
ul,ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-wrap  { display: flex; flex-direction: column; min-height: 100vh; }
.site-body  { flex: 1; }

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
  background: var(--bg-dark);
  padding: 5px 0;
  font-size: .78rem;
  color: #888;
}
.top-bar .container { display: flex; align-items: center; justify-content: space-between; }
.top-bar-date { letter-spacing: .02em; }
.top-bar-social { display: flex; gap: 14px; }
.top-bar-social a { color: #888; transition: color var(--tr); }
.top-bar-social a:hover { color: var(--gold); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

/* Logo */
.site-branding a { display: flex; align-items: center; gap: 10px; }
.custom-logo     { max-height: 46px; width: auto; }
.site-title      { font-family: var(--fh); font-size: 1.45rem; font-weight: 900; color: #fff; letter-spacing: -.02em; line-height: 1; }
.site-title a    { color: #fff; }
.site-title a:hover { color: var(--gold); }
.site-tagline    { font-family: var(--fb); font-size: .65rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; display: block; margin-top: 2px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.btn-icon {
  background: none; border: none; color: rgba(255,255,255,.65);
  cursor: pointer; padding: 8px 10px; font-size: 1rem;
  display: flex; align-items: center; transition: color var(--tr);
}
.btn-icon:hover { color: #fff; }
.btn-burger { display: none; }

/* ================================================================
   MEGA MENU
   ================================================================ */
.main-navigation { display: flex; align-items: stretch; }
.nav-menu { list-style: none; padding: 0; margin: 0; display: flex; align-items: stretch; }
.nav-menu > li { position: static; display: flex; align-items: stretch; }

/* Top-level links */
.nav-menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: rgba(255,255,255,.75);
  font-family: var(--fb);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--tr), background var(--tr);
  gap: 5px;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,.07); }

.nav-menu > li > a .arrow {
  font-size: .55rem;
  opacity: .5;
  margin-top: 1px;
  transition: transform var(--tr);
}
.nav-menu > li:hover > a .arrow { transform: rotate(180deg); }

/* ── Mega panel ── */
.mega-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 62px; /* header height */
  background: var(--primary-mid);
  border-top: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  z-index: 998;
  padding: 28px 0;
}
.nav-menu > li:hover > .mega-panel { display: block; }

.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 0;
}
.mega-inner.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mega-inner.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-inner.cols-2 { grid-template-columns: repeat(2, 1fr); }

.mega-col { padding: 0 20px 0 0; border-right: 1px solid rgba(255,255,255,.06); }
.mega-col:last-child { border-right: none; }
.mega-col + .mega-col { padding-left: 20px; }

.mega-col-title {
  font-family: var(--fb);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mega-links { list-style: none; padding: 0; margin: 0; }
.mega-links li { margin-bottom: 2px; }
.mega-links a {
  display: block;
  padding: 5px 0;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  transition: color var(--tr), padding var(--tr);
}
.mega-links a:hover { color: #fff; padding-left: 4px; }

.mega-featured {
  background: rgba(0,0,0,.2);
  padding: 16px;
  border-radius: var(--r);
}
.mega-featured-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.mega-featured-title {
  font-family: var(--fh);
  font-size: .9rem;
  color: #fff;
  line-height: 1.4;
  font-weight: 700;
}
.mega-featured-title a { color: #fff; }
.mega-featured-title a:hover { color: var(--gold); }

/* ── Simple dropdown (fallback for items without mega) ── */
.nav-menu > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-mid);
  min-width: 200px;
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  z-index: 998;
  list-style: none;
  padding: 8px 0;
}
.nav-menu > li:hover > ul { display: block; }
.nav-menu > li > ul li a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,.7);
  font-size: .84rem;
  transition: all var(--tr);
}
.nav-menu > li > ul li a:hover { color: #fff; background: rgba(255,255,255,.05); padding-left: 20px; }

/* ── Search overlay ── */
.search-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.88); z-index: 9999;
  align-items: center; justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay-inner { width: 100%; max-width: 640px; padding: 0 24px; }
.search-overlay input[type="search"] {
  width: 100%; background: none; border: none; border-bottom: 2px solid rgba(255,255,255,.4);
  color: #fff; font-size: 2rem; font-family: var(--fh); padding: .6rem 0; outline: none;
}
.search-overlay input::placeholder { color: rgba(255,255,255,.3); }
.search-close { position: absolute; top: 24px; right: 30px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; opacity: .6; transition: opacity var(--tr); }
.search-close:hover { opacity: 1; }

/* ── Mobile menu ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--primary);
  z-index: 9998; padding: 72px 0 0; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-list { list-style: none; padding: 0 20px; margin: 0; }
.mobile-nav-list > li > a {
  display: block; padding: 14px 0;
  color: rgba(255,255,255,.8); font-size: 1.05rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav-list > li > a:hover { color: var(--gold); }
.mobile-nav-sub { list-style: none; padding: 4px 0 8px 16px; }
.mobile-nav-sub a { display: block; padding: 6px 0; color: rgba(255,255,255,.55); font-size: .9rem; }
.mobile-nav-sub a:hover { color: rgba(255,255,255,.9); }
.mobile-close { position: absolute; top: 18px; right: 20px; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; opacity: .7; }
.mobile-close:hover { opacity: 1; }

/* ================================================================
   HERO SLIDER
   ================================================================ */
.hero-slider { position: relative; background: #111; overflow: hidden; }
.slider-track { display: flex; transition: transform .65s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.slide { min-width: 100%; position: relative; height: 520px; }
.slide img.slide-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.slide-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#1a2533,#0f1620); }

.slide-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 60px 52px;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 55%, transparent 100%);
}
.slide-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; margin-bottom: 12px; border-radius: 2px;
}
.slide-title { font-family: var(--fh); font-size: 1.95rem; font-weight: 700; color: #fff; line-height: 1.28; max-width: 720px; margin-bottom: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.slide-title a { color: #fff; } .slide-title a:hover { color: var(--gold-light); }
.slide-meta { color: rgba(255,255,255,.7); font-size: .83rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.slide-meta a { color: rgba(255,255,255,.8); font-weight: 600; }
.slide-meta a:hover { color: #fff; }
.slide-meta .dot { color: rgba(255,255,255,.35); }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.15);
  color: #fff; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 2px; font-size: 1.1rem; transition: background var(--tr);
  z-index: 10;
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }

.slider-dots { position: absolute; bottom: 18px; right: 60px; display: flex; gap: 6px; }
.slider-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; border: none; transition: background var(--tr); padding: 0; }
.slider-dot.active { background: #fff; }

/* ================================================================
   FEATURED STRIP (below slider)
   ================================================================ */
.featured-strip { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.featured-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--border);
}
.fs-item {
  padding: 18px 22px;
  border-right: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start;
  transition: background var(--tr);
}
.fs-item:last-child { border-right: none; }
.fs-item:hover { background: #fff; }
.fs-item-num {
  font-family: var(--fh); font-size: 1.8rem; font-weight: 900;
  color: var(--border-dark); line-height: 1; min-width: 28px; padding-top: 2px;
}
.fs-item-body {}
.fs-badge { font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; }
.fs-title { font-family: var(--fh); font-size: .95rem; font-weight: 700; line-height: 1.4; margin-bottom: 5px; }
.fs-title a { color: var(--text); }
.fs-title a:hover { color: var(--accent); }
.fs-meta { font-size: .75rem; color: var(--text-muted); }

/* ================================================================
   HOMEPAGE MAIN AREA
   ================================================================ */
.hp-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 0 0 40px;
  align-items: start;
}

/* ── Section header ── */
.sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 14px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}
.sec-hd-title {
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding-left: 12px;
}
.sec-hd-title::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 130%; background: var(--accent); border-radius: 2px;
}
.sec-hd-more { font-size: .72rem; color: var(--text-muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sec-hd-more:hover { color: var(--accent); }

/* ── Lead grid: 1 big + right list ── */
.lead-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 8px;
}
.lead-art {}
.lead-art-thumb {
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 16/10;
  background: var(--bg-alt);
}
.lead-art-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lead-art:hover .lead-art-thumb img { transform: scale(1.04); }
.lead-art-badge { font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 6px; }
.lead-art-title { font-family: var(--fh); font-size: 1.2rem; font-weight: 700; line-height: 1.38; margin-bottom: 8px; }
.lead-art-title a { color: var(--text); }
.lead-art-title a:hover { color: var(--accent); }
.lead-art-excerpt { font-size: .88rem; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead-art-meta { font-size: .76rem; color: var(--text-light); display: flex; gap: 6px; }
.lead-art-meta a { color: var(--text-muted); font-weight: 600; }
.lead-art-meta a:hover { color: var(--accent); }

/* Side list of smaller articles */
.art-list { list-style: none; padding: 0; margin: 0; }
.art-list-item {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.art-list-item:first-child { padding-top: 0; }
.art-list-item:last-child { border-bottom: none; }
.art-list-thumb {
  flex-shrink: 0; width: 82px; height: 62px; overflow: hidden; background: var(--bg-alt);
}
.art-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-list-body {}
.art-list-badge { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 3px; }
.art-list-title { font-family: var(--fh); font-size: .88rem; font-weight: 700; line-height: 1.38; margin-bottom: 4px; }
.art-list-title a { color: var(--text); }
.art-list-title a:hover { color: var(--accent); }
.art-list-meta { font-size: .72rem; color: var(--text-light); }

/* ── Card grid: 2x2 equal ── */
.card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.card-art { border-bottom: 2px solid transparent; transition: border-color var(--tr); }
.card-art:hover { border-color: var(--accent); }
.card-art-thumb { overflow: hidden; aspect-ratio: 16/10; background: var(--bg-alt); margin-bottom: 12px; }
.card-art-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-art:hover .card-art-thumb img { transform: scale(1.04); }
.card-art-badge { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 5px; }
.card-art-title { font-family: var(--fh); font-size: 1rem; font-weight: 700; line-height: 1.38; margin-bottom: 6px; }
.card-art-title a { color: var(--text); }
.card-art-title a:hover { color: var(--accent); }
.card-art-meta { font-size: .74rem; color: var(--text-light); display: flex; gap: 6px; }
.card-art-meta a { color: var(--text-muted); font-weight: 600; }

/* ── Akademi section (dark highlight) ── */
.sec-akademi {
  background: var(--primary);
  padding: 28px;
  margin-bottom: 4px;
}
.sec-akademi .sec-hd { padding-top: 0; border-bottom-color: rgba(255,255,255,.12); }
.sec-akademi .sec-hd-title { color: rgba(255,255,255,.9); }
.sec-akademi .sec-hd-title::before { background: var(--gold); }
.sec-akademi .sec-hd-more { color: rgba(255,255,255,.4); }
.sec-akademi .sec-hd-more:hover { color: var(--gold); }
.akademi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.akademi-art {}
.akademi-badge { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 6px; }
.akademi-title { font-family: var(--fh); font-size: 1.02rem; font-weight: 700; line-height: 1.38; margin-bottom: 8px; }
.akademi-title a { color: #fff; }
.akademi-title a:hover { color: var(--gold-light); }
.akademi-excerpt { font-size: .84rem; color: rgba(255,255,255,.5); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.akademi-meta { font-size: .74rem; color: rgba(255,255,255,.35); display: flex; gap: 6px; }
.akademi-meta a { color: rgba(255,255,255,.45); font-weight: 600; }
.akademi-meta a:hover { color: rgba(255,255,255,.8); }

/* ── Compact list (Çalışma Hayatı vb.) ── */
.compact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 28px; }
.compact-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start;
}
.compact-item:last-child { border-bottom: none; }
.compact-thumb { flex-shrink: 0; width: 70px; height: 52px; overflow: hidden; background: var(--bg-alt); }
.compact-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compact-badge { font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 3px; }
.compact-title { font-family: var(--fh); font-size: .88rem; font-weight: 700; line-height: 1.35; }
.compact-title a { color: var(--text); }
.compact-title a:hover { color: var(--accent); }
.compact-meta { font-size: .7rem; color: var(--text-light); margin-top: 3px; }

/* ── Sirküler section ── */
.sirk-strip { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; margin-bottom: 4px; }
.sirk-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.sirk-item {
  padding: 0 22px;
  border-right: 1px solid var(--border);
}
.sirk-item:first-child { padding-left: 0; }
.sirk-item:last-child { border-right: none; }
.sirk-no { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; }
.sirk-title { font-family: var(--fh); font-size: .9rem; font-weight: 700; line-height: 1.38; margin-bottom: 5px; }
.sirk-title a { color: var(--text); }
.sirk-title a:hover { color: var(--accent); }
.sirk-date { font-size: .72rem; color: var(--text-light); }

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar { position: sticky; top: 80px; }
.widget { margin-bottom: 28px; }
.widget-title {
  font-family: var(--fb); font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
  padding: 0 0 10px 12px; margin-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.widget-title::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 10px;
  width: 4px; background: var(--accent); border-radius: 2px;
}

/* Sidebar post list */
.w-post-list { list-style: none; padding: 0; margin: 0; }
.w-post-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.w-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.w-post-thumb { flex-shrink: 0; width: 66px; height: 50px; overflow: hidden; background: var(--bg-alt); }
.w-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.w-post-title { font-family: var(--fh); font-size: .83rem; font-weight: 700; line-height: 1.38; margin-bottom: 3px; }
.w-post-title a { color: var(--text); }
.w-post-title a:hover { color: var(--accent); }
.w-post-date { font-size: .7rem; color: var(--text-light); }

/* Sidebar sirküler */
.w-sirk-list { list-style: none; padding: 0; margin: 0; }
.w-sirk-item { padding: 9px 0; border-bottom: 1px solid var(--border); }
.w-sirk-item:last-child { border-bottom: none; padding-bottom: 0; }
.w-sirk-no { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 2px; }
.w-sirk-title { font-family: var(--fh); font-size: .84rem; font-weight: 700; line-height: 1.35; }
.w-sirk-title a { color: var(--text); }
.w-sirk-title a:hover { color: var(--accent); }
.w-sirk-date { font-size: .7rem; color: var(--text-light); margin-top: 2px; }

/* Authors widget */
.w-author-list { list-style: none; padding: 0; margin: 0; }
.w-author-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.w-author-item:last-child { border-bottom: none; }
.w-author-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--bg-alt); }
.w-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.w-author-name { font-size: .85rem; font-weight: 600; color: var(--text); }
.w-author-name a { color: var(--text); }
.w-author-name a:hover { color: var(--accent); }
.w-author-count { font-size: .72rem; color: var(--text-light); }

/* Newsletter widget */
.w-newsletter { background: var(--primary); padding: 18px; }
.w-newsletter .widget-title { color: rgba(255,255,255,.8); border-bottom-color: rgba(255,255,255,.1); }
.w-newsletter .widget-title::before { background: var(--gold); }
.w-newsletter p { font-size: .84rem; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.w-newsletter input[type="email"] {
  width: 100%; padding: 8px 10px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); color: #fff;
  font-family: var(--fb); font-size: .85rem; outline: none; margin-bottom: 8px;
}
.w-newsletter input::placeholder { color: rgba(255,255,255,.3); }

/* ================================================================
   INNER PAGES - SINGLE / ARCHIVE
   ================================================================ */
.page-header { background: var(--primary); padding: 30px 0; color: #fff; }
.page-header-title { font-family: var(--fh); font-size: 1.7rem; color: #fff; margin-bottom: 4px; }
.page-header-desc { color: rgba(255,255,255,.55); font-size: .9rem; }

.content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 36px 0 48px; align-items: start; }

/* Post list (archive) */
.post-list-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.post-list-item:last-child { border-bottom: none; }
.post-list-thumb { flex-shrink: 0; width: 165px; height: 115px; overflow: hidden; background: var(--bg-alt); }
.post-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-list-item:hover .post-list-thumb img { transform: scale(1.04); }
.post-list-badge { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 5px; }
.post-list-title { font-family: var(--fh); font-size: 1.1rem; font-weight: 700; line-height: 1.38; margin-bottom: 7px; }
.post-list-title a { color: var(--text); }
.post-list-title a:hover { color: var(--accent); }
.post-list-excerpt { font-size: .87rem; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-list-meta { font-size: .76rem; color: var(--text-light); display: flex; gap: 8px; flex-wrap: wrap; }
.post-list-meta a { color: var(--text-muted); font-weight: 600; }
.post-list-meta a:hover { color: var(--accent); }
.post-list-meta .sep { color: var(--border-dark); }

/* Single post */
.single-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 36px 0 48px; align-items: start; }
.entry-header { margin-bottom: 24px; }
.entry-badge { display: inline-block; background: var(--accent); color: #fff; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; margin-bottom: 14px; }
.entry-title { font-family: var(--fh); font-size: 2rem; font-weight: 700; line-height: 1.28; margin-bottom: 14px; max-width: 800px; }
.entry-subtitle { font-size: 1.05rem; color: var(--text-muted); font-style: italic; margin-bottom: 18px; max-width: 800px; line-height: 1.6; }
.entry-meta-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .83rem; color: var(--text-muted); padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.entry-meta-bar .author-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; }
.entry-meta-bar .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.entry-meta-bar .author-name { font-weight: 700; color: var(--text); }
.entry-meta-bar .author-name a { color: var(--text); }
.entry-meta-bar .author-name a:hover { color: var(--accent); }
.entry-meta-bar .dot { color: var(--border-dark); }
.entry-featured-img { margin-bottom: 28px; }
.entry-featured-img img { width: 100%; border-radius: var(--r); }
.entry-featured-img figcaption { font-size: .78rem; color: var(--text-muted); padding: 6px 0; font-style: italic; }
.entry-content { font-size: 1.04rem; line-height: 1.85; color: var(--text-mid); max-width: 760px; }
.entry-content h2 { font-size: 1.4rem; margin: 2rem 0 1rem; padding-bottom: .4rem; border-bottom: 1px solid var(--border); }
.entry-content h3 { font-size: 1.18rem; margin: 1.7rem 0 .8rem; }
.entry-content p { margin-bottom: 1.3rem; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content blockquote { border-left: 4px solid var(--accent); padding: 1rem 1.5rem; margin: 1.8rem 0; background: var(--bg-alt); font-style: italic; }
.entry-content img { border-radius: var(--r); margin: 1.5rem 0; }

/* Breadcrumb */
.breadcrumb { font-size: .78rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 12px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-dark); }

/* Tags */
.post-tags { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.post-tags-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: .05em; }
.tag-link { display: inline-block; padding: 3px 9px; background: var(--bg-alt); border: 1px solid var(--border); font-size: .76rem; color: var(--text-muted); border-radius: 2px; transition: all var(--tr); }
.tag-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Author box */
.author-box { margin-top: 32px; padding: 22px; background: var(--bg-alt); border: 1px solid var(--border); display: flex; gap: 18px; }
.author-box-avatar { flex-shrink: 0; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; }
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-name { font-family: var(--fh); font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.author-box-bio { font-size: .86rem; color: var(--text-muted); }

/* Related posts */
.related-posts { margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 16px; }
.related-card-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); margin-bottom: 10px; }
.related-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.related-card:hover .related-card-thumb img { transform: scale(1.04); }
.related-card-badge { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; }
.related-card-title { font-family: var(--fh); font-size: .9rem; font-weight: 700; line-height: 1.38; }
.related-card-title a { color: var(--text); }
.related-card-title a:hover { color: var(--accent); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 36px 0 10px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--border); color: var(--text); font-size: .85rem; font-weight: 600; transition: all var(--tr); border-radius: var(--r); }
.pagination a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; font-family: var(--fb); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; border: none; border-radius: 2px; transition: all var(--tr); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: .75rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--bg-dark); color: #888; }
.footer-main { padding: 48px 0 32px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand {}
.footer-logo { font-family: var(--fh); font-size: 1.5rem; font-weight: 900; color: #fff; display: block; margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: .86rem; line-height: 1.8; margin-bottom: 16px; color: #777; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.1); color: #777; display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: all var(--tr); border-radius: 2px; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col-title { font-family: var(--fb); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #777; font-size: .86rem; transition: color var(--tr); }
.footer-links a:hover { color: var(--gold); }
.footer-links .fdate { display: block; font-size: .7rem; color: #555; margin-top: 1px; }
.footer-bottom { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: .78rem; color: #555; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: .76rem; color: #555; }
.footer-legal a:hover { color: #888; }

/* ================================================================
   SEARCH FORM
   ================================================================ */
.search-form-wrap { display: flex; gap: 6px; }
.search-form-wrap input[type="search"] { flex: 1; padding: 8px 12px; border: 1px solid var(--border); font-family: var(--fb); font-size: .9rem; outline: none; border-radius: var(--r); }
.search-form-wrap input:focus { border-color: var(--accent); }

/* ================================================================
   UTILITIES
   ================================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-28 { margin-top: 28px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hp-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .main-navigation { display: none; }
  .btn-burger { display: flex; }
  .lead-grid { grid-template-columns: 1fr; }
  .content-wrap, .single-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .featured-strip-grid { grid-template-columns: 1fr; }
  .sirk-grid { grid-template-columns: 1fr; gap: 14px; }
  .sirk-item { border-right: none; padding: 0; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
  .sirk-item:last-child { border-bottom: none; }
}
@media (max-width: 680px) {
  .slide { height: 300px; }
  .slide-title { font-size: 1.3rem; }
  .slide-content { padding: 24px 24px 36px; }
  .slider-btn { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .akademi-grid { grid-template-columns: 1fr; }
  .compact-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .post-list-item { flex-direction: column; }
  .post-list-thumb { width: 100%; height: 180px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .entry-title { font-size: 1.5rem; }
  .top-bar { display: none; }
}

@media print {
  .site-header, .site-footer, .sidebar, .hero-slider, .mega-panel { display: none !important; }
  .single-wrap, .content-wrap { grid-template-columns: 1fr; }
}
