/* ==========================================================================
   /yonetim — Yönetim Kadromuz (v4: compact roster + clean masthead)

   - No stats strip. Masthead is a single clean column.
   - Leader cards: vertical, photo-forward, 4 social slots always visible.
   - MYK cards: horizontal roster (photo 96×96 left, text right). Clearly
     compact but not tiny.
   - Every section has a centered header with a short accent rule.
   - Responsive across 320 → 1920.
   ========================================================================== */

/* ---------- Masthead ---------------------------------------------------- */

.tdp-yonetim-masthead {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(ellipse at 88% 0%, rgba(196, 30, 58, 0.07), transparent 55%),
    linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
  border-bottom: 1px solid rgba(10, 10, 15, 0.06);
  overflow: hidden;
}
.tdp-masthead-content {
  max-width: 820px;
}
.tdp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  color: #c41e3a;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.tdp-eyebrow-bar {
  width: 44px;
  height: 2px;
  background: #c41e3a;
  display: block;
}
.tdp-masthead-title {
  font-size: clamp(40px, 6.5vw, 86px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: #0a0a0f;
}
.tdp-masthead-title span {
  color: #c41e3a;
}
.tdp-masthead-lede {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.7;
  color: #4a5568;
  max-width: 620px;
  margin: 0;
}
.tdp-masthead-lede strong {
  color: #0a0a0f;
  font-weight: 700;
}

/* ---------- Breadcrumb ------------------------------------------------- */

.breadcrumb-nav.tdp-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.25px;
  margin-bottom: 24px;
}
.breadcrumb-nav.tdp-crumb a {
  color: rgba(10, 10, 15, 0.5);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.breadcrumb-nav.tdp-crumb a:hover,
.breadcrumb-nav.tdp-crumb a:focus-visible {
  color: #c41e3a;
  outline: none;
}
.breadcrumb-nav.tdp-crumb .separator {
  color: rgba(196, 30, 58, 0.55);
  font-weight: 300;
  user-select: none;
  font-size: 11px;
}
.breadcrumb-nav.tdp-crumb .current {
  color: #0a0a0f;
  font-weight: 600;
}

/* ---------- Section header (centered, symmetric) ---------------------- */

.tdp-yonetim-section {
  padding: clamp(56px, 8vw, 100px) 0;
}
.tdp-yonetim-section-leaders { background: #fff; }
.tdp-yonetim-section-myk     { background: #f8f9fb; }
.tdp-yonetim-section-council {
  background: #fff;
  border-top: 1px solid rgba(10, 10, 15, 0.06);
}
.tdp-yonetim-section-meclis {
  background: #fff;
  border-top: 1px solid rgba(10, 10, 15, 0.06);
}

.tdp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.tdp-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #c41e3a;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tdp-section-title {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 900;
  color: #0a0a0f;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.tdp-section-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #4a5568;
  margin: 0 auto 20px;
  max-width: 620px;
}
.tdp-section-rule {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: #c41e3a;
  border-radius: 2px;
}

/* ---------- Leader grid (vertical cards) ------------------------------ */

.tdp-leader-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.4vw, 28px);
  justify-content: center;
}
.tdp-leader-grid > * {
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 0;
}

.tdp-leader-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 15, 0.06);
  box-shadow: 0 1px 3px rgba(10, 10, 15, 0.05);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.2s ease;
  opacity: 0;
  animation: tdp-fade-up 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.tdp-leader-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: 0 30px 60px -24px rgba(10, 10, 15, 0.18);
}

.tdp-leader-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0a0f;
}
.tdp-leader-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tdp-leader-card:hover .tdp-leader-photo {
  transform: scale(1.05);
}
.tdp-leader-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0) 45%, rgba(10, 10, 15, 0.88) 100%);
}
.tdp-leader-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tdp-leader-name-block {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}
.tdp-leader-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  border-left: 2px solid #c41e3a;
  padding-left: 10px;
  line-height: 1.3;
}
.tdp-leader-name {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Social row — always present */
.tdp-leader-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  background: #fafbfd;
  border-top: 1px solid rgba(10, 10, 15, 0.06);
}
.tdp-social-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid rgba(10, 10, 15, 0.09);
  background: #fff;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.tdp-social-slot--active {
  color: #1a1a2e;
}
.tdp-social-slot--active:hover,
.tdp-social-slot--active:focus-visible {
  background: #c41e3a;
  color: #fff;
  border-color: #c41e3a;
  transform: translateY(-2px);
  outline: none;
}
.tdp-social-slot--muted {
  color: rgba(10, 10, 15, 0.2);
  background: rgba(10, 10, 15, 0.02);
  cursor: default;
}

/* ---------- MYK grid (circular cabinet pattern) ------------------------

   Cabinet-style pattern used by White House, UK GOV, EU institutional
   pages: circular portrait framed with a white ring, name below,
   role + portfolio in red caps, domain in muted body text. Feels
   institutional without being stiff. 9 members fit cleanly in 3×3.
   ---------------------------------------------------------------------- */

.tdp-myk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.tdp-myk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 36px) clamp(20px, 2.4vw, 28px) clamp(26px, 3vw, 32px);
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(10, 10, 15, 0.06);
  box-shadow: 0 1px 2px rgba(10, 10, 15, 0.04);
  overflow: visible;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.2s ease;
  opacity: 0;
  animation: tdp-fade-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.tdp-myk-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 30, 58, 0.28);
  box-shadow: 0 30px 60px -28px rgba(10, 10, 15, 0.22);
}

/* Serif numeral watermark, top-left corner of the card */
.tdp-myk-numeral {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(10, 10, 15, 0.3);
  letter-spacing: 2px;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}

/* Circular portrait frame — white outer ring + thin hairline + soft shadow.
   Photo inside is positioned to emphasise the face (center 18% vertical). */
.tdp-myk-photo-frame {
  position: relative;
  width: clamp(120px, 12vw, 148px);
  height: clamp(120px, 12vw, 148px);
  border-radius: 50%;
  overflow: hidden;
  background: #0a0a0f;
  margin: 0 0 20px;
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 5px rgba(10, 10, 15, 0.08),
    0 14px 32px -14px rgba(10, 10, 15, 0.2);
  transition: box-shadow 0.35s ease;
}
.tdp-myk-card:hover .tdp-myk-photo-frame {
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 5px rgba(196, 30, 58, 0.35),
    0 22px 40px -18px rgba(196, 30, 58, 0.28);
}
.tdp-myk-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tdp-myk-card:hover .tdp-myk-photo {
  transform: scale(1.06);
}

/* Body — stacked, centered hierarchy */
.tdp-myk-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.tdp-myk-role {
  font-size: 10.5px;
  font-weight: 700;
  color: #c41e3a;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1.2;
}
.tdp-myk-name {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 900;
  color: #0a0a0f;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 2px 0 0;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: anywhere;
}
.tdp-myk-portfolio {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #c41e3a;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 6px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tdp-myk-domain {
  font-size: 13px;
  line-height: 1.65;
  color: #5a6270;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 10, 15, 0.08);
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive: 3 cols desktop, 2 tablet, 1 small phone, 2 if the
   viewport can fit them comfortably (≥ 480 px). */
@media (max-width: 991px) {
  .tdp-myk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .tdp-myk-grid { grid-template-columns: 1fr; }
  .tdp-myk-card { padding: 26px 22px 24px; }
}

/* ---------- Party Council ---------------------------------------------- */

.tdp-konsei-figure {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(10, 10, 15, 0.3);
  background: #0a0a0f;
  aspect-ratio: 16 / 9;
}
.tdp-konsei-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tdp-konsei-figure:hover img {
  transform: scale(1.02);
}
.tdp-konsei-hairline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #c41e3a, transparent);
}
.tdp-konsei-caption {
  text-align: center;
  margin: 18px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
@media (max-width: 575px) {
  .tdp-konsei-figure { aspect-ratio: 4 / 3; }
}

/* ---------- Parti Meclisi ---------------------------------------------- */

.tdp-meclis-figure {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px -36px rgba(10, 10, 15, 0.35);
  background: #0a0a0f;
  aspect-ratio: 16 / 9;
}
.tdp-meclis-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tdp-meclis-figure:hover img {
  transform: scale(1.02);
}
.tdp-meclis-hairline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #c41e3a, transparent);
}
.tdp-meclis-caption {
  text-align: center;
  margin: 18px 0 clamp(40px, 5vw, 64px);
  font-size: 11.5px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
@media (max-width: 575px) {
  .tdp-meclis-figure { aspect-ratio: 4 / 3; border-radius: 8px; }
}

.tdp-meclis-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .tdp-meclis-groups { grid-template-columns: 1fr; gap: 20px; }
}

.tdp-meclis-group {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(10, 10, 15, 0.08);
  box-shadow: 0 2px 6px rgba(10, 10, 15, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tdp-meclis-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.18), transparent);
  border-radius: 10px 10px 0 0;
}
.tdp-meclis-group:hover {
  box-shadow: 0 18px 40px -20px rgba(10, 10, 15, 0.18);
  transform: translateY(-2px);
}

.tdp-meclis-group-featured {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
}
.tdp-meclis-group-featured::before {
  background: linear-gradient(90deg, #c41e3a 0%, rgba(196, 30, 58, 0.4) 70%, transparent 100%);
  height: 3px;
}

.tdp-meclis-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(10, 10, 15, 0.1);
  flex-wrap: wrap;
}
.tdp-meclis-group-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.tdp-meclis-group-label {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  color: #0a0a0f;
  letter-spacing: -0.015em;
  line-height: 1;
}
.tdp-meclis-group-featured .tdp-meclis-group-label {
  color: #c41e3a;
}
.tdp-meclis-group-hint {
  font-size: 11px;
  font-weight: 700;
  color: rgba(10, 10, 15, 0.5);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.tdp-meclis-group-count {
  font-size: 11px;
  font-weight: 700;
  color: #c41e3a;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tdp-meclis-names {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 22px;
}
.tdp-meclis-group-featured .tdp-meclis-names {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 767px) {
  .tdp-meclis-names { grid-template-columns: repeat(2, 1fr); }
  .tdp-meclis-group-featured .tdp-meclis-names { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .tdp-meclis-names,
  .tdp-meclis-group-featured .tdp-meclis-names { grid-template-columns: 1fr; }
}

.tdp-meclis-name {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #0a0a0f;
  letter-spacing: -0.005em;
  line-height: 1.4;
  border-bottom: 1px solid rgba(10, 10, 15, 0.06);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.tdp-meclis-name:hover {
  color: #c41e3a;
  padding-left: 4px;
}
.tdp-meclis-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.tdp-meclis-group-featured .tdp-meclis-dot {
  background: #c41e3a;
}
.tdp-meclis-name:hover .tdp-meclis-dot {
  background: #c41e3a;
  transform: scale(1.3);
}
.tdp-meclis-name-text {
  flex: 1;
  min-width: 0;
}

/* ---------- Entrance animation ----------------------------------------- */

@keyframes tdp-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsive guardrails -------------------------------------- */

/* Small phones */
@media (max-width: 575px) {
  .tdp-leader-social-row { gap: 8px; padding: 14px; }
  .tdp-social-slot { width: 34px; height: 34px; font-size: 12px; }
  .tdp-myk-photo-frame { width: 128px; height: 128px; }
  .tdp-myk-name { font-size: 18px; }
  .tdp-myk-domain { font-size: 12.5px; }
}

@media (max-width: 360px) {
  .tdp-section-title { font-size: 24px; }
  .tdp-section-desc { font-size: 13.5px; }
  .tdp-masthead-title { font-size: 36px; }
  .tdp-leader-name { font-size: 18px; }
  .tdp-myk-photo-frame { width: 112px; height: 112px; }
  .tdp-myk-card { padding: 22px 18px 20px; }
  .tdp-myk-name { font-size: 17px; }
}

/* ---------- Reduced motion --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .tdp-leader-card,
  .tdp-leader-card:hover,
  .tdp-leader-photo,
  .tdp-leader-card:hover .tdp-leader-photo,
  .tdp-myk-card,
  .tdp-myk-card:hover,
  .tdp-myk-photo,
  .tdp-myk-card:hover .tdp-myk-photo,
  .tdp-myk-photo-frame,
  .tdp-myk-card:hover .tdp-myk-photo-frame,
  .tdp-konsei-figure img,
  .tdp-konsei-figure:hover img,
  .tdp-social-slot,
  .tdp-social-slot--active:hover {
    transition: none !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }
}
