/*
 * bursverenler.org yardım alt sayfaları
 * Kapsam: Yalnızca .bv-help-page sınıfı kullanılan içerikler
 * /yardim-menuleri liste sayfasını ve sitenin diğer alanlarını etkilemez.
 */

.bv-help-page,
.bv-help-page * {
  box-sizing: border-box;
}

.bv-help-page {
  --bv-help-navy: #123a60;
  --bv-help-navy-dark: #082c4d;
  --bv-help-blue: #205f85;
  --bv-help-teal: #2a817b;
  --bv-help-orange: #ef6b4a;
  --bv-help-text: #293845;
  --bv-help-muted: #667785;
  --bv-help-border: #d9e4ea;
  --bv-help-surface: #ffffff;
  --bv-help-soft: #f5f9fb;
  --bv-help-blue-soft: #eaf4f8;
  --bv-help-teal-soft: #e9f6f3;
  --bv-help-orange-soft: #fff1ec;
  --bv-help-warning: #9a6400;
  --bv-help-warning-soft: #fff7df;
  --bv-help-danger: #a23d3d;
  --bv-help-danger-soft: #fff0f0;
  --bv-help-shadow: 0 14px 36px rgba(8, 44, 77, 0.08);

  width: 100%;
  max-width: 1120px;
  margin: 20px auto 72px;
  color: var(--bv-help-text);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
}

.bv-help-page h2,
.bv-help-page h3,
.bv-help-page h4,
.bv-help-page p,
.bv-help-page ul,
.bv-help-page ol,
.bv-help-page figure {
  margin-top: 0;
}

.bv-help-page h2,
.bv-help-page h3,
.bv-help-page h4 {
  color: var(--bv-help-navy-dark);
  line-height: 1.25;
}

.bv-help-page a {
  overflow-wrap: anywhere;
}

.bv-help-page img {
  float: none !important;
  max-width: 100%;
  height: auto !important;
}

.bv-help-page [id] {
  scroll-margin-top: 24px;
}

/* Sayfa girişi */

.bv-help-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid #cfe0e8;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 107, 74, 0.16), transparent 34%),
    linear-gradient(135deg, #eaf5f8 0%, #ffffff 72%);
  box-shadow: var(--bv-help-shadow);
}

.bv-help-hero__eyebrow,
.bv-help-section__eyebrow {
  margin-bottom: 9px;
  color: var(--bv-help-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bv-help-hero h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(28px, 4.2vw, 44px);
}

.bv-help-hero__lead {
  max-width: 850px;
  margin-bottom: 0;
  color: #40515f;
  font-size: clamp(17px, 2vw, 20px);
}

.bv-help-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.bv-help-meta__item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #c9dce5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--bv-help-navy);
  font-size: 14px;
  font-weight: 700;
}

/* Ana içerik ve sağ gezinme alanı */

.bv-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 30px;
  margin-top: 34px;
}

.bv-help-main,
.bv-help-sidebar {
  min-width: 0;
}

.bv-help-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.bv-help-side-card {
  overflow: hidden;
  border: 1px solid var(--bv-help-border);
  border-radius: 16px;
  background: var(--bv-help-surface);
  box-shadow: 0 8px 22px rgba(8, 44, 77, 0.06);
}

.bv-help-side-card__title {
  margin: 0;
  padding: 15px 17px;
  border-bottom: 1px solid var(--bv-help-border);
  background: var(--bv-help-soft);
  color: var(--bv-help-navy-dark);
  font-size: 15px;
  font-weight: 800;
}

.bv-help-side-nav {
  display: grid;
  padding: 8px;
}

.bv-help-side-nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: #425563;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}

.bv-help-side-nav a::after {
  position: absolute;
  top: 50%;
  right: 11px;
  color: #8aa0ae;
  content: "›";
  transform: translateY(-52%);
}

.bv-help-side-nav a[aria-current="page"],
.bv-help-side-nav a[aria-current="location"] {
  padding-left: 14px;
  background: var(--bv-help-blue-soft);
  color: var(--bv-help-navy-dark);
}

.bv-help-side-nav a[aria-current="page"]::before,
.bv-help-side-nav a[aria-current="location"]::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 4px;
  width: 3px;
  border-radius: 4px;
  background: var(--bv-help-orange);
  content: "";
}

.bv-help-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 14px;
  border: 2px solid var(--bv-help-navy);
  border-radius: 11px;
  color: var(--bv-help-navy) !important;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  touch-action: manipulation;
}

/* İçerik bölümleri */

.bv-help-section {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--bv-help-border);
  border-radius: 20px;
  background: var(--bv-help-surface);
  box-shadow: 0 10px 28px rgba(8, 44, 77, 0.06);
}

.bv-help-section + .bv-help-section {
  margin-top: 24px;
}

.bv-help-section--soft {
  background: var(--bv-help-soft);
}

.bv-help-section h2 {
  margin-bottom: 14px;
  font-size: clamp(23px, 3vw, 31px);
}

.bv-help-section h3 {
  margin-bottom: 10px;
  font-size: clamp(19px, 2.3vw, 23px);
}

.bv-help-section > :last-child {
  margin-bottom: 0;
}

.bv-help-intro-answer {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--bv-help-teal);
  border-radius: 0 12px 12px 0;
  background: var(--bv-help-teal-soft);
  color: #34534f;
  font-size: 17px;
}

/* Numara verilmiş işlem adımları */

.bv-help-steps {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: bv-help-step;
}

.bv-help-step {
  position: relative;
  min-width: 0;
  padding: 22px 22px 22px 72px;
  border: 1px solid var(--bv-help-border);
  border-radius: 16px;
  background: #ffffff;
  counter-increment: bv-help-step;
}

.bv-help-step::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--bv-help-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  content: counter(bv-help-step);
}

.bv-help-step h3,
.bv-help-step h4 {
  margin-bottom: 8px;
}

.bv-help-step > :last-child {
  margin-bottom: 0;
}

.bv-help-step__action {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--bv-help-blue-soft);
  color: var(--bv-help-navy-dark);
  font-weight: 800;
}

/* Liste türleri */

.bv-help-check-list,
.bv-help-plain-list {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.bv-help-check-list li,
.bv-help-plain-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 27px;
}

.bv-help-check-list li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  color: var(--bv-help-teal);
  font-weight: 900;
  content: "✓";
}

.bv-help-plain-list li::before {
  position: absolute;
  top: 0.72em;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bv-help-orange);
  content: "";
}

.bv-help-check-list li:last-child,
.bv-help-plain-list li:last-child {
  margin-bottom: 0;
}

/* Bilgi, ipucu ve uyarılar */

.bv-help-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #cbdfe8;
  border-left: 5px solid var(--bv-help-blue);
  border-radius: 12px;
  background: var(--bv-help-blue-soft);
  color: #354f60;
}

.bv-help-callout--tip {
  border-color: #c9e6df;
  border-left-color: var(--bv-help-teal);
  background: var(--bv-help-teal-soft);
  color: #34534f;
}

.bv-help-callout--warning {
  border-color: #ead9a7;
  border-left-color: #c58600;
  background: var(--bv-help-warning-soft);
  color: #624b18;
}

.bv-help-callout--danger {
  border-color: #efcaca;
  border-left-color: var(--bv-help-danger);
  background: var(--bv-help-danger-soft);
  color: #683c3c;
}

.bv-help-callout__label {
  display: block;
  margin-bottom: 4px;
  color: currentColor;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.bv-help-callout > :last-child {
  margin-bottom: 0;
}

/* Ekran görüntüsü ve video */

.bv-help-figure {
  margin: 24px 0;
  padding: 10px;
  border: 1px solid var(--bv-help-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(8, 44, 77, 0.07);
}

.bv-help-figure img {
  display: block;
  width: 100% !important;
  border-radius: 10px;
  object-fit: contain;
}

.bv-help-figure figcaption {
  padding: 11px 6px 3px;
  color: var(--bv-help-muted);
  font-size: 14px;
  line-height: 1.5;
}

.bv-help-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.bv-help-image-grid .bv-help-figure {
  margin: 0;
}

.bv-help-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 24px 0;
  border: 1px solid var(--bv-help-border);
  border-radius: 16px;
  background: #0a243b;
  box-shadow: 0 10px 26px rgba(8, 44, 77, 0.12);
  aspect-ratio: 16 / 9;
}

.bv-help-video iframe,
.bv-help-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablolar */

.bv-help-table-wrap {
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--bv-help-border);
  border-radius: 14px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.bv-help-table {
  width: 100%;
  min-width: 580px;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
}

.bv-help-table th,
.bv-help-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--bv-help-border);
  text-align: left;
  vertical-align: top;
}

.bv-help-table th {
  background: var(--bv-help-navy);
  color: #ffffff;
  font-weight: 800;
}

.bv-help-table tr:last-child td {
  border-bottom: 0;
}

.bv-help-table tbody tr:nth-child(even) {
  background: var(--bv-help-soft);
}

/* Sık sorulan sorular */

.bv-help-faq {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.bv-help-faq details {
  overflow: hidden;
  border: 1px solid var(--bv-help-border);
  border-radius: 13px;
  background: #ffffff;
}

.bv-help-faq summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  color: var(--bv-help-navy-dark);
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

.bv-help-faq summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--bv-help-blue);
  font-size: 24px;
  line-height: 1;
  content: "+";
  transform: translateY(-52%);
}

.bv-help-faq details[open] summary {
  background: var(--bv-help-blue-soft);
}

.bv-help-faq details[open] summary::after {
  content: "−";
}

.bv-help-faq__answer {
  padding: 17px 18px 19px;
  border-top: 1px solid var(--bv-help-border);
}

.bv-help-faq__answer > :last-child {
  margin-bottom: 0;
}

/* Butonlar */

.bv-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.bv-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 2px solid var(--bv-help-blue);
  border-radius: 10px;
  background: var(--bv-help-blue);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  touch-action: manipulation;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.bv-help-button--secondary {
  border-color: var(--bv-help-navy);
  background: var(--bv-help-navy);
}

.bv-help-button--outline {
  background: #ffffff;
  color: var(--bv-help-blue) !important;
}

.bv-help-button--donation {
  border-color: var(--bv-help-orange);
  background: var(--bv-help-orange);
}

.bv-help-button:focus-visible,
.bv-help-side-nav a:focus-visible,
.bv-help-all-link:focus-visible,
.bv-help-related-card:focus-visible,
.bv-help-faq summary:focus-visible {
  outline: 3px solid rgba(32, 95, 133, 0.3);
  outline-offset: 3px;
}

/* İlgili yardım sayfaları */

.bv-help-related {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 20px;
  background: var(--bv-help-navy-dark);
  color: #ffffff;
}

.bv-help-related__eyebrow {
  margin-bottom: 7px;
  color: #9fd4e2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bv-help-related h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 30px);
}

.bv-help-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.bv-help-related-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 92px;
  padding: 17px 42px 17px 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  text-decoration: none !important;
}

.bv-help-related-card::after {
  position: absolute;
  top: 50%;
  right: 16px;
  color: #9fd4e2;
  font-size: 24px;
  content: "›";
  transform: translateY(-52%);
}

.bv-help-related__all {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

/* Sayfa sonu önceki ve sonraki bağlantıları */

.bv-help-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.bv-help-pager a {
  display: flex;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--bv-help-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--bv-help-navy-dark) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none !important;
}

.bv-help-pager a:last-child {
  justify-content: flex-end;
  text-align: right;
}

/* Etkileşim */

@media (hover: hover) {
  .bv-help-side-nav a:hover {
    background: var(--bv-help-soft);
    color: var(--bv-help-navy-dark);
  }

  .bv-help-all-link:hover {
    background: var(--bv-help-navy);
    color: #ffffff !important;
  }

  .bv-help-button:hover {
    border-color: var(--bv-help-navy-dark);
    background: var(--bv-help-navy-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
  }

  .bv-help-button--donation:hover {
    border-color: #d55538;
    background: #d55538;
  }

  .bv-help-button--outline:hover {
    color: #ffffff !important;
  }

  .bv-help-related-card:hover {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.14);
  }

  .bv-help-pager a:hover {
    border-color: #b8cdd8;
    background: var(--bv-help-blue-soft);
  }
}

/* Tablet ve telefon */

@media (max-width: 960px) {
  .bv-help-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .bv-help-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bv-help-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .bv-help-page {
    margin-top: 14px;
    margin-bottom: 48px;
    font-size: 16px;
  }

  .bv-help-hero {
    padding: 25px 19px;
    border-radius: 18px;
  }

  .bv-help-layout {
    gap: 24px;
    margin-top: 24px;
  }

  .bv-help-section,
  .bv-help-related {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .bv-help-step {
    padding: 64px 18px 20px;
  }

  .bv-help-step::before {
    top: 17px;
    left: 18px;
  }

  .bv-help-image-grid,
  .bv-help-sidebar,
  .bv-help-related-grid,
  .bv-help-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .bv-help-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .bv-help-button {
    width: 100%;
    min-height: 50px;
  }

  .bv-help-related-card {
    min-height: 72px;
  }

  .bv-help-pager a,
  .bv-help-pager a:last-child {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bv-help-button {
    transition: none;
  }
}

@media print {
  .bv-help-page {
    max-width: none;
    margin: 0;
    color: #000000;
    font-size: 12pt;
  }

  .bv-help-hero,
  .bv-help-section,
  .bv-help-figure {
    border: 1px solid #cccccc;
    box-shadow: none;
  }

  .bv-help-sidebar,
  .bv-help-actions,
  .bv-help-related,
  .bv-help-pager {
    display: none !important;
  }

  .bv-help-layout {
    display: block;
  }
}
