/* =============================================================================
   /vizyonbelgesi — one-page Vizyon Belgesi reader.
   Loaded via inline <link> at the top of the page (same pattern as
   page-flipbook.css / page-politikalar.css).
   ============================================================================= */

/* ───── Intro ───── */

.tdp-vizyon-intro {
  padding: 64px 0 24px;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}

.tdp-vizyon-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.tdp-vizyon-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c41e3a;
}

.tdp-vizyon-kicker::before,
.tdp-vizyon-kicker::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #c41e3a;
}

.tdp-vizyon-intro h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.tdp-vizyon-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: #6b7280;
  margin: 0;
}

.tdp-vizyon-hint {
  margin-top: 22px !important;
  font-size: 13px !important;
  color: #9ca3af !important;
}

/* ───── Accordion ───── */

.tdp-vizyon-reader {
  padding: 16px 0 70px;
  background: #fff;
}

.tdp-vizyon-accordion {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tdp-vizyon-item {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 16px;
  overflow: hidden;
  /* Keep the opened chapter's head clear of the sticky site header
     when arriving via #slug. */
  scroll-margin-top: 110px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tdp-vizyon-item:hover {
  border-color: rgba(196, 30, 58, 0.35);
}

.tdp-vizyon-item.is-open {
  border-color: rgba(196, 30, 58, 0.45);
  box-shadow: 0 18px 48px rgba(26, 26, 46, 0.08);
}

.tdp-vizyon-item-head {
  margin: 0;
  font: inherit;
}

.tdp-vizyon-item-btn {
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

/* Mouse/touch clicks must not leave the browser's default ring behind;
   keyboard users still get a visible focus indicator. */
.tdp-vizyon-item-btn:focus {
  outline: none;
}

.tdp-vizyon-item-btn:focus-visible {
  outline: 3px solid rgba(196, 30, 58, 0.45);
  outline-offset: -3px;
  border-radius: 16px;
}

.tdp-vizyon-item-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(196, 30, 58, 0.08);
  color: #c41e3a;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}

.tdp-vizyon-item.is-open .tdp-vizyon-item-num {
  background: #c41e3a;
  color: #fff;
}

.tdp-vizyon-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tdp-vizyon-item-title {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #1a1a2e;
}

.tdp-vizyon-item-subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.tdp-vizyon-item-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #9ca3af;
  transition: transform 0.3s ease, color 0.25s ease, background 0.25s ease;
}

.tdp-vizyon-item.is-open .tdp-vizyon-item-chevron {
  transform: rotate(180deg);
  color: #c41e3a;
  background: rgba(196, 30, 58, 0.08);
}

/* Reveal: grid-row trick — animates to the content's real height,
   so even the 22k-character chapter never gets clipped. */
.tdp-vizyon-item-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tdp-vizyon-item.is-open .tdp-vizyon-item-panel {
  grid-template-rows: 1fr;
}

.tdp-vizyon-item-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.tdp-vizyon-body {
  padding: 4px 28px 8px 90px;
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
}

.tdp-vizyon-body p {
  margin: 0 0 18px;
}

.tdp-vizyon-body h4 {
  position: relative;
  margin: 30px 0 8px;
  padding-left: 14px;
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: #0a0a0f;
}

.tdp-vizyon-body h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: #c41e3a;
}

.tdp-vizyon-body h4 + p {
  margin-top: 6px;
}

.tdp-vizyon-body ul,
.tdp-vizyon-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.tdp-vizyon-body a {
  color: #c41e3a;
  text-decoration: underline;
}

.tdp-vizyon-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 28px 24px 90px;
  padding-top: 18px;
  border-top: 1px solid #eef0f3;
}

.tdp-vizyon-item-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #c41e3a;
  text-decoration: none;
}

.tdp-vizyon-item-link:hover {
  text-decoration: underline;
}

.tdp-vizyon-item-close {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 13px;
  color: #9ca3af;
  cursor: pointer;
}

.tdp-vizyon-item-close:hover {
  color: #1a1a2e;
}

/* ───── Pillars ───── */

.tdp-vizyon-pillars {
  display: flex;
  flex-wrap: wrap;
}

.tdp-vizyon-pillars > [class*='col-'] {
  display: flex;
}

.tdp-vizyon-pillar {
  width: 100%;
}

/* ───── Download CTA ───── */

.tdp-vizyon-cta {
  padding: 64px 0;
  background: linear-gradient(135deg, #c41e3a 0%, #9a1730 100%);
}

.tdp-vizyon-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.tdp-vizyon-cta-cover {
  flex-shrink: 0;
  width: 150px;
  display: block;
  transform: rotate(-2.5deg);
  transition: transform 0.25s ease;
}

.tdp-vizyon-cta-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tdp-vizyon-cta-cover:hover,
.tdp-vizyon-cta-cover:focus-visible {
  transform: rotate(0deg) translateY(-4px);
}

.tdp-vizyon-cta-copy h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 8px;
}

.tdp-vizyon-cta-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.tdp-vizyon-cta-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.tdp-vizyon-cta-meta span + span::before {
  content: '·';
  margin-right: 10px;
}

.tdp-vizyon-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 18px 32px;
  border-radius: 12px;
  background: #fff;
  color: #c41e3a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tdp-vizyon-cta-btn:hover,
.tdp-vizyon-cta-btn:focus-visible {
  color: #9a1730;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

/* ───── Responsive ───── */

@media (max-width: 767px) {
  .tdp-vizyon-intro {
    padding: 44px 0 16px;
  }

  .tdp-vizyon-item-btn {
    grid-template-columns: 40px 1fr 28px;
    gap: 14px;
    padding: 18px 16px;
  }

  .tdp-vizyon-item-num {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 14px;
  }

  .tdp-vizyon-body {
    padding: 0 16px 8px;
    font-size: 15px;
  }

  .tdp-vizyon-item-foot {
    margin: 8px 16px 20px;
  }

  .tdp-vizyon-cta {
    padding: 48px 0;
  }

  .tdp-vizyon-cta-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .tdp-vizyon-cta-cover {
    width: 132px;
  }

  .tdp-vizyon-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tdp-vizyon-item,
  .tdp-vizyon-item-panel,
  .tdp-vizyon-item-chevron,
  .tdp-vizyon-cta-cover,
  .tdp-vizyon-cta-btn {
    transition: none;
  }
}

/* ─────────────────────────────────────────────
   Parti Programı — kapaklı hero
   ───────────────────────────────────────────── */
.tdp-program-hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}

.tdp-program-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  max-width: 1020px;
  margin: 0 auto;
}

.tdp-program-hero-copy {
  flex: 1;
  min-width: 0;
}

.tdp-program-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #c41e3a;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.tdp-program-hero-kicker::before {
  content: '';
  width: 40px;
  height: 2px;
  background: #c41e3a;
  display: block;
}

.tdp-program-hero-copy h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1a1a2e;
  margin: 0 0 14px;
}

.tdp-program-hero-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0 0 28px;
  max-width: 560px;
}

.tdp-program-hero-tagline {
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  color: #c41e3a;
  margin: -14px 0 28px;
}

.tdp-program-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tdp-program-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tdp-program-btn-primary {
  background: #c41e3a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(196, 30, 58, 0.28);
}

.tdp-program-btn-primary:hover,
.tdp-program-btn-primary:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(196, 30, 58, 0.36);
  text-decoration: none;
}

.tdp-program-btn-outline {
  background: #fff;
  color: #1a1a2e;
  border: 2px solid #e5e7eb;
}

.tdp-program-btn-outline:hover,
.tdp-program-btn-outline:focus-visible {
  color: #c41e3a;
  border-color: rgba(196, 30, 58, 0.35);
  text-decoration: none;
}

.tdp-program-hero-cover {
  flex-shrink: 0;
  width: min(340px, 34vw);
  display: block;
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

.tdp-program-hero-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(64, 0, 0, 0.28), 0 8px 20px rgba(64, 0, 0, 0.16);
}

.tdp-program-hero-cover:hover,
.tdp-program-hero-cover:focus-visible {
  transform: rotate(0deg) translateY(-6px);
}

@media (max-width: 767px) {
  .tdp-program-hero {
    padding: 40px 0 48px;
  }

  .tdp-program-hero-row {
    flex-direction: column-reverse;
    gap: 32px;
    text-align: center;
  }

  .tdp-program-hero-kicker {
    justify-content: center;
  }

  .tdp-program-hero-kicker::before {
    display: none;
  }

  .tdp-program-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .tdp-program-hero-tagline {
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  color: #c41e3a;
  margin: -14px 0 28px;
}

.tdp-program-hero-actions {
    justify-content: center;
  }

  .tdp-program-hero-cover {
    width: min(240px, 64vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tdp-program-hero-cover,
  .tdp-program-btn {
    transition: none;
  }
}
