@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..700&family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================================
   tavsanlar.com — Blog teması (2026 yenileme)
   Tüm sayfalar bu dosyayı paylaşır.
   ========================================================= */

:root {
  color-scheme: light;

  /* Mürekkep & metin */
  --ink: #1b2a22;
  --ink-soft: #33433a;
  --muted: #5f6f66;
  --faint: #8a978f;

  /* Zemin */
  --paper: #fbf8f1;
  --paper-2: #f6f1e6;
  --card: #ffffff;
  --linen: #f1ebdd;
  --mist: #eaf3ec;

  /* Çizgiler */
  --line: #e6ded0;
  --line-soft: #efe9dc;

  /* Marka renkleri */
  --leaf: #1f7a52;
  --leaf-deep: #145438;
  --leaf-bright: #2c9568;
  --moss: #8a9a55;
  --clay: #c06a4a;
  --amber: #e3a94f;
  --berry: #b14a63;
  --sky: #d8e8ee;

  /* Tonlu yüzeyler */
  --leaf-tint: #e7f1ea;
  --amber-tint: #fbf0db;
  --clay-tint: #f8e9e2;

  /* Gölge */
  --shadow-xs: 0 2px 8px rgba(27, 42, 34, 0.05);
  --shadow-sm: 0 8px 24px rgba(27, 42, 34, 0.07);
  --shadow-md: 0 18px 48px rgba(27, 42, 34, 0.11);
  --shadow-lg: 0 32px 80px rgba(27, 42, 34, 0.16);

  /* Yarıçap */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* Tipografi */
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;

  /* Genişlik */
  --maxw: 1180px;
  --maxw-wide: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(60rem 40rem at 88% -10%, rgba(44, 149, 104, 0.10), transparent 60%),
    radial-gradient(48rem 34rem at -10% 6%, rgba(227, 169, 79, 0.10), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.14;
}

h1, h2, h3, p, summary {
  overflow-wrap: anywhere;
}

::selection {
  background: var(--leaf);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--leaf-bright);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 76px);
  background: rgba(251, 248, 241, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(27, 42, 34, 0.06);
  background: rgba(251, 248, 241, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(31, 122, 82, 0.22);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: rotate(-6deg) scale(1.05);
}

.brand-logo {
  width: min(222px, 60vw);
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.brand-name {
  font-family: var(--font-head);
  color: var(--ink);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--leaf-tint);
  color: var(--leaf-deep);
}

/* Navigasyon */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--leaf-deep);
  background: var(--leaf-tint);
}

.nav a:hover::after {
  transform: scaleX(0);
}

/* Mobil menü butonu (JS ile eklenir) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------------------------------------------------------
   Genel yerleşim
   --------------------------------------------------------- */
main {
  display: block;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--leaf-tint);
  color: var(--leaf-deep);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf-bright);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.section-note {
  max-width: 52ch;
  margin-top: 12px;
}

/* Buton */
.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:active { transform: translateY(1px); }

.button.outline-button {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.button.outline-button:hover {
  border-color: var(--leaf);
  color: var(--leaf-deep);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  max-width: var(--maxw-wide);
  margin: clamp(20px, 4vw, 44px) auto 0;
  padding: clamp(26px, 4vw, 40px) clamp(18px, 5vw, 40px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:nth-child(2) {
  font-style: italic;
  font-weight: 500;
  color: var(--leaf);
}

.hero-copy > p {
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  margin: 18px 0 26px;
}

/* Arama paneli */
.search-panel {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}

.search-panel input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}

.search-panel input::placeholder { color: var(--faint); }
.search-panel input:focus { outline: none; }

.search-panel button {
  flex: 0 0 auto;
  padding: 12px 26px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.search-panel button:hover {
  background: var(--leaf-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 122, 82, 0.28);
}

/* Konu şeridi */
.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.topic-strip a {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.topic-strip a:hover {
  border-color: var(--leaf);
  background: var(--leaf-tint);
  color: var(--leaf-deep);
  transform: translateY(-2px);
}

/* Hero görsel */
.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 62%;
  border-radius: var(--r-lg);
  background: var(--amber-tint);
  z-index: -1;
}

.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}

.hero-badge strong {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
}

.hero-badge span {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

/* Son makaleler bölümü — hafif tonlu zemin */
.latest-section {
  max-width: none;
  width: 100%;
  margin-top: clamp(20px, 4vw, 40px);
  background:
    linear-gradient(180deg, var(--paper-2), rgba(246, 241, 230, 0));
}

.latest-section > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------
   İstatistik bandı
   --------------------------------------------------------- */
.stats-band {
  max-width: var(--maxw);
  margin: clamp(34px, 5vw, 56px) auto 0;
  padding: 0 clamp(18px, 5vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stats-band article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 26px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-band article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.stats-band strong {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--leaf-deep);
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   Editör notu
   --------------------------------------------------------- */
.editor-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--amber);
  box-shadow: var(--shadow-xs);
  max-width: 300px;
}

.editor-note span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}

.editor-note strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---------------------------------------------------------
   Yazı kartları (post-card grid)
   --------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.post-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.post-card > a > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
  flex: 1;
}

.post-card h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.post-card p {
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.post-card:hover img {
  transform: scale(1.05);
}

.post-card:hover h3 {
  color: var(--leaf-deep);
}

.category {
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--leaf-tint);
  color: var(--leaf-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--leaf);
  font-weight: 700;
  font-size: 0.9rem;
}

.read-more::after {
  content: "→";
  transition: transform 0.25s ease;
}

.post-card:hover .read-more::after {
  transform: translateX(5px);
}

/* Öne çıkan kart */
.featured-card {
  grid-column: span 2;
}

.featured-card a {
  flex-direction: row;
}

.featured-card img {
  width: 48%;
  height: 100%;
  min-height: 320px;
}

.featured-card > a > div {
  justify-content: center;
  padding: clamp(24px, 3vw, 42px);
}

.featured-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.featured-card p {
  font-size: 1.02rem;
  flex: 0;
}

.compact-grid .post-card img {
  height: 184px;
}

/* ---------------------------------------------------------
   Kategori bandı
   --------------------------------------------------------- */
.category-band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(22px, 5vw, 48px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background:
    linear-gradient(135deg, var(--leaf-deep), var(--leaf));
  border-radius: var(--r-lg);
  width: calc(100% - clamp(36px, 10vw, 80px));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.category-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.category-band > div { position: relative; }
.category-band .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.category-band .eyebrow::before { background: var(--amber); }

.category-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}

.category-band .section-note {
  color: rgba(255, 255, 255, 0.82);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  position: relative;
}

.category-grid a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-grid a:last-child:nth-child(odd) {
  grid-column: span 2;
}

.category-grid a:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.category-grid span {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber);
}

.category-grid strong {
  font-family: var(--font-head);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--ink);
}

.category-grid small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   SSS
   --------------------------------------------------------- */
.faq-section { }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--leaf-tint);
  color: var(--leaf-deep);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--leaf);
  color: #fff;
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
}

/* ---------------------------------------------------------
   Makale sayfası
   --------------------------------------------------------- */
.article-hero {
  max-width: var(--maxw);
  margin: clamp(24px, 4vw, 48px) auto 0;
  padding: 0 clamp(18px, 5vw, 40px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.article-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  margin: 6px 0 16px;
}

.article-hero > div > p {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  max-width: 52ch;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.article-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf-bright);
}

/* Yerleşim: içerik + içindekiler */
.article-layout {
  max-width: var(--maxw);
  margin: clamp(40px, 5vw, 70px) auto;
  padding: 0 clamp(18px, 5vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 274px;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}

.article-content {
  max-width: 74ch;
}

.article-content h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin: 42px 0 14px;
  padding-top: 6px;
  scroll-margin-top: 100px;
}

.article-content h2:first-of-type { margin-top: 8px; }

.article-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 10px;
  scroll-margin-top: 100px;
}

.article-content p {
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.article-content ul li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--leaf);
  transform: rotate(45deg);
}

.article-content ol {
  counter-reset: steps;
}

.article-content ol li {
  position: relative;
  counter-increment: steps;
  padding-left: 40px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.article-content ol li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--leaf-tint);
  color: var(--leaf-deep);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.article-content a:not(.button) {
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(31, 122, 82, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.article-content a:not(.button):hover {
  text-decoration-color: var(--leaf);
}

.article-content blockquote {
  margin: 26px 0;
  padding: 18px 26px;
  border-left: 4px solid var(--leaf);
  background: var(--leaf-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-head);
  font-size: 1.16rem;
  font-style: italic;
  color: var(--ink);
}

.article-content img {
  border-radius: var(--r-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

/* Kısa cevap kutusu */
.key-box {
  padding: 22px 26px;
  margin-bottom: 30px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--amber-tint), var(--card));
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  box-shadow: var(--shadow-xs);
}

.key-box strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--clay);
}

.key-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

/* Kaynak bağlantıları */
.source-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-links a {
  display: inline-flex;
  width: fit-content;
  font-size: 0.92rem;
}

/* Makale alt navigasyonu */
.article-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-footer-nav a {
  flex: 1 1 220px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.article-footer-nav a:hover {
  border-color: var(--leaf);
  color: var(--leaf-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* İçindekiler */
.toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
}

.toc strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.toc a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.toc a:hover {
  background: var(--leaf-tint);
  color: var(--leaf-deep);
}

.toc a.is-active {
  color: var(--leaf-deep);
  background: var(--leaf-tint);
  border-left-color: var(--leaf);
  font-weight: 600;
}

/* ---------------------------------------------------------
   Arşiv sayfası
   --------------------------------------------------------- */
.archive-hero {
  text-align: center;
  padding-bottom: clamp(20px, 3vw, 36px);
}

.archive-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 6px 0 14px;
}

.archive-hero .eyebrow { margin-left: auto; margin-right: auto; }

.archive-hero > p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.08rem;
}

.article-archive {
  padding-top: 0;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
footer {
  margin-top: clamp(50px, 7vw, 90px);
  padding: clamp(40px, 5vw, 60px) clamp(22px, 5vw, 76px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  border-top: 4px solid var(--leaf);
}

footer span { font-size: 0.92rem; line-height: 1.6; }

footer span:first-child {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

footer a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber);
}

/* ---------------------------------------------------------
   Giriş animasyonu (reveal)
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Okuma ilerleme çubuğu */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--leaf), var(--amber));
  z-index: 60;
  transition: width 0.1s linear;
}

/* Yukarı çık butonu */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--leaf-deep);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 55;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--leaf);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 980px) {
  .hero,
  .article-hero {
    grid-template-columns: 1fr;
  }

  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }

  .article-hero img { aspect-ratio: 16 / 10; }

  .category-band {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .toc strong {
    width: 100%;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .toc a {
    border-left: none;
    border: 1px solid var(--line-soft);
  }

  .featured-card { grid-column: span 1; }
  .featured-card a { flex-direction: column; }
  .featured-card img { width: 100%; min-height: 0; height: 230px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px clamp(18px, 5vw, 40px) 22px;
    background: rgba(251, 248, 241, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 13px 16px;
    border-radius: 12px;
  }

  .nav a:hover { background: var(--leaf-tint); }

  .nav-toggle { display: inline-flex; }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-grid a:last-child:nth-child(odd) { grid-column: span 1; }

  .section-heading {
    align-items: flex-start;
  }

  .article-footer-nav { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-copy h1 span { display: inline; }
  .search-panel { flex-direction: column; border-radius: var(--r-md); }
  .search-panel button { width: 100%; }
  .hero-badge { left: 8px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Yazdırma */
@media print {
  .site-header, .toc, .to-top, .read-progress, .article-footer-nav, footer { display: none; }
  body { background: #fff; }
  .article-layout { display: block; }
}

/* ---------------------------------------------------------
   E-E-A-T: yazar satırı ve veteriner uyarısı
   --------------------------------------------------------- */
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 0.88rem;
  font-weight: 500;
}

.vet-notice {
  margin: 22px 0 26px;
  padding: 16px 20px 16px 48px;
  position: relative;
  border-radius: var(--r-md);
  background: var(--clay-tint);
  border: 1px solid #eccfc3;
  border-left: 4px solid var(--clay);
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.65;
}

.vet-notice::before {
  content: "⚕";
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 1.2rem;
  color: var(--clay);
}

.vet-notice strong {
  color: var(--clay);
  font-family: var(--font-head);
}

/* Makale içi FAQ başlığı boşluğu */
.article-content .faq-list {
  margin: 16px 0 8px;
  max-width: none;
}
