/**
 * Ortak rehber / Academy / kurumsal sayfa stilleri (GEO cevap-bloğu şablonu).
 * article.pf-guide altında kapsanır; tüm yeni bilgi sayfaları bu dosyayı kullanır.
 * Renkler yalnız marka token'larıyla (--pf-brand, --pf-bg-*, --pf-text-*).
 */

article.pf-guide {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Banner hero (kopya + büyük görsel + CTA) — rehber/sözlük/kurumsal sayfalar  */
/* -------------------------------------------------------------------------- */
.pf-guide-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.25rem, 5vw, 4rem);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(var(--pf-brand-rgb), 0.14), transparent 55%),
    var(--pf-bg-page);
  border-bottom: 1px solid var(--pf-border);
}

.pf-guide-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--pf-brand-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--pf-brand-rgb), 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 80% at 50% 20%, #000 40%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
}

.pf-guide-hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(var(--pf-brand-rgb), 0.18), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.pf-guide-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.pf-guide-hero__copy {
  min-width: 0;
}

.pf-guide-hero__title {
  font-family: var(--pf-font-display, inherit);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--pf-text);
  margin: 0.6rem 0 0;
}

.pf-guide-hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--pf-text-muted);
  margin: 1rem 0 0;
  max-width: 34rem;
}

.pf-guide-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.pf-guide-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--pf-radius-lg);
  overflow: hidden;
  border: 1px solid var(--pf-border);
  box-shadow: var(--pf-shadow);
  background: var(--pf-bg-card);
}

.pf-guide-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
}

@media (max-width: 880px) {
  .pf-guide-hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2rem);
  }
  .pf-guide-hero__media {
    order: -1;
  }
  .pf-guide-hero__lead {
    max-width: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Bölüm iskeleti                                                             */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--pf-bg-page);
  border-top: 1px solid var(--pf-border);
}

article.pf-guide .pf-guide-section--alt {
  background: var(--pf-bg-elevated);
}

/* -------------------------------------------------------------------------- */
/* Rehber görseli (hero altı figür)                                           */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-figuresection {
  padding: 0 0 clamp(1.5rem, 4vw, 3rem);
  background: var(--pf-bg-page);
}

article.pf-guide .pf-guide-figure {
  margin: 0 auto;
  max-width: 60rem;
  margin-top: clamp(-3.5rem, -5vw, -2rem);
  border-radius: var(--pf-radius-lg);
  overflow: hidden;
  border: 1px solid var(--pf-border);
  box-shadow: var(--pf-shadow);
  background: var(--pf-bg-card);
}

article.pf-guide .pf-guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
}

article.pf-guide .pf-guide-title {
  font-family: var(--pf-font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pf-text) !important;
  margin: 0 0 1rem;
  max-width: 46rem;
}

article.pf-guide .pf-guide-title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

article.pf-guide .pf-guide-lead {
  max-width: 48rem;
  margin: 0 0 1.5rem;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--pf-text-muted) !important;
}

article.pf-guide .pf-guide-lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

article.pf-guide .pf-guide-text {
  max-width: 48rem;
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--pf-text-muted) !important;
}

article.pf-guide .pf-guide-text a,
article.pf-guide .pf-guide-lead a,
article.pf-guide .pf-guide-answer a {
  color: var(--pf-brand) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* -------------------------------------------------------------------------- */
/* TL;DR / kısa cevap bloğu (AI alıntı hedefi)                                */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-answer {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.65rem;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-left: 4px solid var(--pf-brand);
  border-radius: var(--pf-radius-lg);
  box-shadow: var(--pf-shadow);
}

article.pf-guide .pf-guide-answer__label {
  display: inline-block;
  font-family: var(--pf-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pf-brand) !important;
  margin: 0 0 0.5rem;
}

article.pf-guide .pf-guide-answer__text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--pf-text) !important;
}

/* -------------------------------------------------------------------------- */
/* Listeler                                                                   */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-list {
  list-style: none;
  max-width: 46rem;
  margin: 0;
  padding: 0;
}

article.pf-guide .pf-guide-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--pf-border);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pf-text-muted) !important;
}

article.pf-guide .pf-guide-list li:last-child {
  border-bottom: none;
}

article.pf-guide .pf-guide-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--pf-brand);
}

article.pf-guide .pf-guide-checklist {
  list-style: none;
  max-width: 46rem;
  margin: 0;
  padding: 0;
}

article.pf-guide .pf-guide-checklist li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.85rem;
  border-bottom: 1px solid var(--pf-border);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pf-text-muted) !important;
}

article.pf-guide .pf-guide-checklist li:last-child {
  border-bottom: none;
}

article.pf-guide .pf-guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--pf-brand);
  font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* Adım adım (HowTo)                                                          */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-steps {
  list-style: none;
  counter-reset: pf-step;
  max-width: 48rem;
  margin: 0;
  padding: 0;
}

article.pf-guide .pf-guide-steps li {
  counter-increment: pf-step;
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
}

article.pf-guide .pf-guide-steps li:last-child {
  padding-bottom: 0;
}

article.pf-guide .pf-guide-steps li::before {
  content: counter(pf-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pf-brand-soft);
  color: var(--pf-brand) !important;
  font-family: var(--pf-font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

article.pf-guide .pf-guide-steps h3 {
  font-family: var(--pf-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--pf-text) !important;
  margin: 0.2rem 0 0.4rem;
}

article.pf-guide .pf-guide-steps p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--pf-text-muted) !important;
}

/* -------------------------------------------------------------------------- */
/* Kart ızgarası                                                              */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-grid {
  row-gap: 1.25rem;
  max-width: 54rem;
  margin: 0 auto;
}

article.pf-guide .pf-guide-card {
  height: 100%;
  padding: 1.5rem 1.4rem;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
}

article.pf-guide .pf-guide-card h3 {
  font-family: var(--pf-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pf-text) !important;
  margin: 0 0 0.5rem;
}

article.pf-guide .pf-guide-card p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--pf-text-muted) !important;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Karşılaştırma tablosu (pf-seo-table temel alınır)                          */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-table-wrap {
  max-width: 54rem;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

article.pf-guide .pf-guide-table th[scope="row"] {
  font-weight: 600;
  color: var(--pf-text) !important;
  white-space: nowrap;
}

article.pf-guide .pf-guide-table thead th:last-child {
  color: var(--pf-brand) !important;
}

/* -------------------------------------------------------------------------- */
/* SSS                                                                        */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-faq__list {
  margin: 0;
  max-width: 48rem;
}

article.pf-guide .pf-guide-faq__item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--pf-border);
}

article.pf-guide .pf-guide-faq__item:last-child {
  border-bottom: none;
}

article.pf-guide .pf-guide-faq__item dt {
  font-family: var(--pf-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pf-text) !important;
  margin: 0 0 0.5rem;
}

article.pf-guide .pf-guide-faq__item dd {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--pf-text-muted) !important;
  margin: 0;
}

article.pf-guide .pf-guide-faq__item dd a {
  color: var(--pf-brand) !important;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Özet + ilgili                                                              */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-guide-summary {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.65rem;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
}

article.pf-guide .pf-guide-summary p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--pf-text-muted) !important;
}

article.pf-guide .pf-guide-related__inner a {
  color: var(--pf-brand) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* -------------------------------------------------------------------------- */
/* Hub / Academy kategori ızgarası                                           */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-hub-grid {
  row-gap: 1.35rem;
  max-width: 60rem;
  margin: 0 auto;
}

article.pf-guide .pf-hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem 1.5rem;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

article.pf-guide .pf-hub-card:hover {
  border-color: rgba(var(--pf-brand-rgb), 0.45);
  transform: translateY(-2px);
}

article.pf-guide .pf-hub-card h3 {
  font-family: var(--pf-font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--pf-text) !important;
  margin: 0 0 0.6rem;
}

article.pf-guide .pf-hub-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--pf-text-muted) !important;
  margin: 0 0 1rem;
}

article.pf-guide .pf-hub-card__links {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

article.pf-guide .pf-hub-card__links li {
  padding: 0.35rem 0;
}

article.pf-guide .pf-hub-card__links a {
  color: var(--pf-brand) !important;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
}

article.pf-guide .pf-hub-card__links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* -------------------------------------------------------------------------- */
/* Kurumsal istatistik / kanıt şeridi                                        */
/* -------------------------------------------------------------------------- */
article.pf-guide .pf-fact-grid {
  row-gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

article.pf-guide .pf-fact-card {
  height: 100%;
  padding: 1.4rem 1.35rem;
  text-align: center;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
}

article.pf-guide .pf-fact-card strong {
  display: block;
  font-family: var(--pf-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pf-text) !important;
  margin: 0 0 0.35rem;
}

article.pf-guide .pf-fact-card span {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--pf-text-muted) !important;
}

/* -------------------------------------------------------------------------- */
/* İlgili rehberler şeridi (ürün/landing sayfalarında kullanılır)             */
/* -------------------------------------------------------------------------- */
.pf-related-guides {
  padding: 2.75rem 0;
}

.pf-related-guides__inner {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.6rem 1.65rem;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
}

.pf-related-guides__title {
  font-family: var(--pf-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pf-text) !important;
  margin: 0 0 0.9rem;
}

.pf-related-guides__inner p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--pf-text-muted) !important;
}

.pf-related-guides__inner a {
  color: var(--pf-brand) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* -------------------------------------------------------------------------- */
/* Kısa cevap kutusu (ürün/karşılaştırma sayfalarında, hero altında)          */
/* -------------------------------------------------------------------------- */
/* Karşılaştırma tablosu (alternatif/vs sayfaları). */
.pf-compare {
  padding: 1.5rem 0 0.5rem;
}

.pf-compare__title {
  font-family: var(--pf-font-display, inherit);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--pf-text);
}

.pf-compare__wrap {
  overflow-x: auto;
  border-radius: var(--pf-radius-lg);
  border: 1px solid var(--pf-border);
  background: var(--pf-bg-card);
}

.pf-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 32rem;
}

.pf-compare__table caption {
  text-align: left;
  padding: 0.85rem 1rem;
  color: var(--pf-text-muted);
  font-size: 0.85rem;
}

.pf-compare__table th,
.pf-compare__table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-top: 1px solid var(--pf-border);
  vertical-align: top;
}

.pf-compare__table thead th {
  border-top: none;
  font-weight: 700;
  color: var(--pf-text);
  background: rgba(var(--pf-brand-rgb), 0.06);
}

.pf-compare__table thead th:first-child {
  background: transparent;
}

.pf-compare__table tbody th {
  font-weight: 600;
  color: var(--pf-text);
  width: 34%;
}

.pf-compare__table td {
  color: var(--pf-text-muted);
}

.pf-compare__col-us {
  color: var(--pf-text);
  font-weight: 600;
}

/* Görünür breadcrumb navigasyonu (rehber/sözlük/hub/EEAT sayfaları). */
.pf-breadcrumb {
  padding: 1rem 0 0;
  background: var(--pf-bg-page);
}

.pf-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--pf-text-muted);
}

.pf-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pf-breadcrumb li + li::before {
  content: "›";
  color: var(--pf-text-muted);
  opacity: 0.6;
}

.pf-breadcrumb a {
  color: var(--pf-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.pf-breadcrumb a:hover {
  color: var(--pf-brand);
}

.pf-breadcrumb li[aria-current="page"] {
  color: var(--pf-text);
  font-weight: 600;
}

/* Ürün/landing sayfaları için kapsamsız hero görseli (article.pf-guide dışı). */
.pf-hero-figure {
  padding: 0 0 1.5rem;
}

.pf-hero-figure__inner {
  max-width: 60rem;
  margin: 0 auto;
  border-radius: var(--pf-radius-lg);
  overflow: hidden;
  border: 1px solid var(--pf-border);
  box-shadow: var(--pf-shadow);
  background: var(--pf-bg-card);
}

.pf-hero-figure__inner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
}

.pf-answer-section {
  padding: 1.75rem 0 0.5rem;
}

.pf-answer-box {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.4rem 1.6rem;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-left: 3px solid var(--pf-brand);
  border-radius: var(--pf-radius-lg);
}

.pf-answer-box__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pf-brand) !important;
  margin: 0 0 0.5rem;
}

.pf-answer-box__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--pf-text) !important;
}
