/* ============================================================
   BELUNA — rehber sayfaları ortak stili
   styles.css'in üstüne biner; palet oradan gelir.
   ============================================================ */

/* ---------------- Hero ---------------- */
.g-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  isolation: isolate;
  overflow: hidden;
}
.g-hero-media { position: absolute; inset: 0; z-index: -2; }
.g-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.g-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,43,35,0.35) 0%, rgba(18,43,35,0.72) 55%, rgba(18,43,35,0.94) 100%);
}
.g-hero-inner {
  position: relative; z-index: 1;
  width: min(900px, calc(100% - 56px));
  margin: 0 auto; padding: 120px 0 64px;
  color: var(--white);
}
.g-hero .eyebrow { color: #8ee0a5; }
.g-hero h1 {
  font-size: clamp(29px, 4.4vw, 54px);
  font-weight: 800; line-height: 1.08;
  color: var(--white); margin-bottom: 22px;
}
.g-hero h1 .accent { color: #8ee0a5; }
.g-lede { font-size: 18.5px; color: rgba(255,255,255,0.82); max-width: 62ch; margin: 0; }
.g-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 26px; font-size: 13.5px;
  color: rgba(255,255,255,0.6); letter-spacing: 0.02em;
}

/* ---------------- Gövde tipografisi ---------------- */
.g-body { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0 40px; }
.g-body h2 {
  font-size: clamp(25px, 3vw, 36px); font-weight: 800;
  margin: 68px 0 16px; scroll-margin-top: 96px;
}
.g-body h3 { font-size: 19.5px; font-weight: 800; margin: 34px 0 10px; }
.g-body p { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 18px; }
.g-body ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.g-body ul li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 17px; line-height: 1.7; color: var(--ink-soft);
}
.g-body ul li::before {
  content: ''; position: absolute; left: 4px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage-deep);
}
.g-body ol { margin: 0 0 22px; padding-left: 22px; }
.g-body ol li { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
.g-body strong { color: var(--ink); }
.g-body a:not(.btn) { color: var(--moss); font-weight: 700; }

/* ---------------- Üstteki uyarı ---------------- */
.g-disclaimer {
  border: 1px solid var(--line); border-left: 4px solid var(--clay);
  border-radius: var(--r-sm);
  padding: 22px 26px; margin: 0 0 22px; background: var(--white);
}
.g-disclaimer p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.7; }
.g-disclaimer p + p { margin-top: 8px; }

/* ---------------- İçindekiler ---------------- */
.g-toc {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 30px 32px;
  box-shadow: var(--shadow-sm); margin-bottom: 12px;
}
.g-toc strong {
  display: block; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 16px;
}
.g-toc ol { margin: 0; padding-left: 20px; }
.g-toc li { margin-bottom: 9px; font-size: 15.5px; }
.g-toc a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.g-toc a:hover { color: var(--moss); }

/* ---------------- Vurgu kutusu / alıntı ---------------- */
.g-note {
  background: var(--sage); border-radius: var(--r-sm);
  padding: 26px 30px; margin: 30px 0 26px;
}
.g-note p { margin: 0; font-size: 16px; color: var(--ink); }
.g-note p + p { margin-top: 10px; }

.g-quote {
  margin: 40px 0; padding: 8px 0 8px 28px;
  border-left: 4px solid var(--clay);
  font-size: 20px; line-height: 1.6; font-weight: 600; color: var(--ink);
}

/* ---------------- Tablo ---------------- */
.g-table-wrap { overflow-x: auto; margin: 26px 0 10px; }
.g-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: 16px;
}
.g-table th, .g-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.g-table th { background: var(--sage); font-weight: 800; color: var(--ink); font-size: 14.5px; }
.g-table td { color: var(--ink-soft); }
.g-table tr:last-child td { border-bottom: none; }
.g-table caption { caption-side: bottom; padding-top: 12px; font-size: 13.5px; color: var(--muted); text-align: left; }

/* ---------------- Beluna blokları ---------------- */
.g-promo {
  background: var(--ink); color: var(--white);
  border-radius: var(--r-md); padding: 40px 38px;
  margin: 46px 0; box-shadow: var(--shadow-md);
}
.g-promo .eyebrow { color: #8ee0a5; }
.g-promo h3 { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.g-promo p { font-size: 16.5px; color: rgba(255,255,255,0.74); margin: 0 0 22px; }
.g-promo ul li { color: rgba(255,255,255,0.74); font-size: 16px; }
.g-promo ul li::before { background: #8ee0a5; }
.g-promo strong { color: var(--white); }
.g-promo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.g-promo .btn:not(.btn-accent) {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.g-promo .btn:not(.btn-accent):hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.g-promo small { display: block; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ---------------- SSS ---------------- */
.g-faq { border-top: 1px solid var(--line); }
.g-faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.g-faq summary {
  cursor: pointer; font-size: 18px; font-weight: 700;
  color: var(--ink); list-style: none; display: flex;
  justify-content: space-between; gap: 18px; align-items: center;
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; color: var(--moss); font-size: 24px; font-weight: 800; flex: 0 0 auto; }
.g-faq details[open] summary::after { content: '\2013'; }
.g-faq details p { margin: 14px 0 0; font-size: 16.5px; color: var(--muted); }

/* ---------------- Referanslar ---------------- */
.g-refs { margin-top: 60px; padding-top: 34px; border-top: 2px solid var(--line); }
.g-refs h2 { font-size: 22px !important; margin: 0 0 8px !important; }
.g-refs > p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.g-refs ol { margin: 0; padding-left: 22px; }
.g-refs li { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 14px; }
.g-refs li a { color: var(--moss); font-weight: 700; word-break: break-word; }
.g-refs .g-ref-src { color: var(--ink); font-weight: 700; }

/* ---------------- Diğer rehberler ---------------- */
.g-more { background: var(--paper-dim); padding: 90px 0; }
.g-more h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 8px; text-align: center; }
.g-more > .wrap > p { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 52ch; }
.g-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-more-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 26px 26px 24px;
  text-decoration: none; display: block;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.g-more-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.g-more-card span { font-size: 24px; display: block; margin-bottom: 12px; }
.g-more-card strong { display: block; font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 6px; line-height: 1.35; }
.g-more-card small { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .g-more-grid { grid-template-columns: 1fr; } }

/* ---------------- Kapanış ---------------- */
.g-cta-final { background: var(--paper-dim); padding: 110px 0; text-align: center; }
.g-cta-final h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; margin-bottom: 18px; }
.g-cta-final p { font-size: 18px; color: var(--muted); max-width: 56ch; margin: 0 auto 32px; }
.g-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.g-cta-final .eyebrow { justify-content: center; }

.g-back { display: inline-flex; gap: 8px; align-items: center; margin-top: 40px; font-weight: 700; color: var(--moss); text-decoration: none; }

@media (max-width: 700px) {
  .g-hero { min-height: 56vh; }
  .g-hero-inner { padding: 100px 0 48px; }
  .g-body { padding: 56px 0 30px; }
  .g-promo { padding: 32px 26px; }
  .g-more { padding: 70px 0; }
}

/* ---------------- Fotoğrafsız hero (alt rehberler) ---------------- */
.g-hero--plain {
  background: linear-gradient(160deg, var(--ink) 0%, #0d2119 60%, var(--ink-soft) 100%);
  min-height: auto;
}
.g-hero--plain .g-hero-inner { padding: 118px 0 62px; }
.g-hero--plain::after {
  content: '';
  position: absolute;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,122,72,0.34), transparent 70%);
  top: -260px; right: -200px; filter: blur(10px); z-index: -1;
}
