/* tasarim7 â€“ RTEV TasarÄ±m 4 = tasarim5 yapÄ±sÄ± + tasarim2 kurumsal dili */
/* Kurumsal renk: beige #f4f1ea, primary blue #0e138a, dark #262524, Manrope+Cinzel */
.d7 {
  background: #f4f1ea;
  color: #1c1b19;
  min-height: 100vh;
  font-family: "Manrope", "Inter", sans-serif;
}
.d7-header {
  background: #f4f1ea;
  position: relative;
  z-index: 40;
  border-bottom: 2px solid #0e138a;
}
.d7-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.d7-logo img {
  height: 52px;
}
.d7-nav {
  display: flex;
  gap: 20px;
}
.d7-nav a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #404040;
  transition: 0.2s;
}
.d7-nav a:hover {
  color: #0e138a;
}
.d7-header-right {
  display: flex;
  gap: 14px;
  font-size: 10px;
  color: #777;
}
.d7-header-right a.btn {
  border: 1px solid rgba(14, 19, 138, 0.55);
  color: #0e138a;
  padding: 4px 10px;
  transition: 0.2s;
}
.d7-header-right a.btn:hover {
  background: #0e138a;
  color: #fff;
}
.d7-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: #0e138a;
}
.d7-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.d7-hero-animation {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0e138a;
}
.d7-hero-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 19, 138, 0.45),
    rgba(14, 19, 138, 0.2) 50%,
    rgba(14, 19, 138, 0.55)
  );
}
.d7-hero-c {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.d7-hero-c h1 {
  color: #fff;

  font-size: 44px;
  font-weight: 700;
  margin: 0 0 10px;
}
.d7-hero-c p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.d7-hero-btn {
  display: inline-block;
  background: #0e138a;
  color: #fff;
  padding: 12px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.d7-hero-btn:hover {
  background: #0e138a;
}
.d7-meet {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px;
}
.d7-meet h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0e138a;
  margin: 0 0 24px;
}
.d7-meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.d7-meet-cards {
  display: flex;
  flex-direction: column;
}
.d7-meet-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #d4d0c5;
  cursor: pointer;
  align-items: center;
  transition: 0.15s;
}
.d7-meet-card:hover {
  background: rgba(14, 19, 138, 0.04);
}
.d7-meet-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0e138a;
  margin: 0 0 4px;
}
.d7-meet-card p {
  font-size: 12px;
  color: #777;
  margin: 0;
  line-height: 1.5;
}
.d7-meet-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s;
}
.d7-meet-card:hover img {
  filter: grayscale(0);
}
.d7-meet-portrait {
  position: relative;
}
.d7-meet-portrait > img {
  width: 100%;
  aspect-ratio: 3/3;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.7s;
}
.d7-meet-portrait:hover > img {
  filter: grayscale(0);
}
.d7-meet-portrait::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 22px;
  height: 22px;
  border-top: 2px solid #0e138a;
  border-left: 2px solid #0e138a;
  z-index: 2;
  pointer-events: none;
}
.d7-meet-portrait::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-bottom: 2px solid #0e138a;
  border-right: 2px solid #0e138a;
  z-index: 2;
  pointer-events: none;
}
.d7-meet-portrait-cap {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;

  font-size: 13px;
  letter-spacing: 0.1em;
}

.d7-havel {
  background: #fff;
  border-top: 3px solid #0e138a;
  padding: 0;
}

.d7-havel-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px 0;
}

.d7-havel-head h2 {
  margin: 0;

  font-size: 32px;
  font-weight: 700;
  color: #0e138a;
}

.d7-havel-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 5fr 2fr;
  gap: 32px;
}

/* Ana gÃ¶rsel alanÄ± */

.d7-havel-video {
  position: relative;
  aspect-ratio: 19 / 9;
  background: #111;
  overflow: hidden;
  border: 2px solid #d4d0c5;
}

.d7-havel-video img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1);
  transition:
    filter 0.6s ease,
    transform 0.6s ease;
}

.d7-havel-video:hover img {
  filter: grayscale(0);
  transform: scale(1.015);
}

/* GÃ¶rsel iÃ§indeki aÃ§Ä±klama */

.d7-havel-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 90px 28px 24px;
  color: #fff;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.25) 25%,
    rgba(0, 0, 0, 0.7) 65%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.d7-havel-overlay strong {
  display: block;
  margin-bottom: 8px;

  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.d7-havel-overlay p {
  max-width: 720px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* Metin geÃ§iÅŸ animasyonu */

.d7-havel-overlay strong,
.d7-havel-overlay p {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.d7-havel-overlay.is-changing strong,
.d7-havel-overlay.is-changing p {
  opacity: 0;
  transform: translateY(10px);
}

/* Sidebar */

.d7-havel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.d7-havel-sidebar a {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 48px;
  max-height: 70px;
  padding: 12px 16px;
  overflow: hidden;
  background: #0e138a;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition:
    background-color 0.3s ease,
    padding-left 0.3s ease,
    color 0.3s ease;
}

.d7-havel-sidebar a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;

  background: #0e138a;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.d7-havel-sidebar a:hover,
.d7-havel-sidebar a:focus,
.d7-havel-sidebar a.active {
  padding-left: 22px;
  background: #0e138a;
  color: #fff;
}

.d7-havel-sidebar a:hover::before,
.d7-havel-sidebar a:focus::before,
.d7-havel-sidebar a.active::before {
  transform: scaleY(1);
}

/* Timeline */

.d7-timeline {
  background: #0e138a;
  padding: 24px 0;
  overflow-x: auto;
}

.d7-timeline-inner {
  display: flex;
  min-width: max-content;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.d7-timeline-item {
  flex: 0 0 230px;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.d7-timeline-item:last-child {
  border-right: 0;
}

.d7-timeline-item .year {
  margin: 0 0 8px;

  font-size: 20px;
  font-weight: 800;
}

.d7-timeline-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  margin-bottom: 8px;
  object-fit: cover;
  object-position: top;

  filter: grayscale(1);
  border: 1px solid rgba(255, 255, 255, 0.3);

  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.d7-timeline-item:hover img {
  filter: grayscale(0);
  transform: scale(1.01);
}

.d7-timeline-item p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.d7-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #d4d0c5;
}
.d7-tab {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #888;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  text-transform: uppercase;
}
.d7-tab.active,
.d7-tab:hover {
  color: #0e138a;
  border-bottom-color: #0e138a;
}
.d7-reagan {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px;
}
.d7-reagan-subtitle {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #666;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.d7-reagan h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0e138a;
  margin: 0 0 24px;
}
.d7-reagan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.d7-reagan-portrait {
  position: relative;
}
.d7-reagan-portrait > img {
  width: 100%;
  aspect-ratio: 1.8/2;
  object-fit: cover;
  filter: grayscale(1);
  transition: 0.7s;
}
.d7-reagan-portrait:hover > img {
  filter: grayscale(0);
}
.d7-reagan-portrait::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 22px;
  height: 22px;
  border-top: 2px solid #0e138a;
  border-left: 2px solid #0e138a;
  z-index: 2;
  pointer-events: none;
}
.d7-reagan-portrait::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-bottom: 2px solid #0e138a;
  border-right: 2px solid #0e138a;
  z-index: 2;
  pointer-events: none;
}
.d7-reagan-links {
  display: flex;
  flex-direction: column;
}
.d7-reagan-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #d4d0c5;
  cursor: pointer;
  transition: 0.2s;
  gap: 16px;
}
.d7-reagan-link:hover {
  color: #0e138a;
}
.d7-reagan-link-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0e138a;
  margin-bottom: 2px;
}
.d7-reagan-link-desc {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}
.d7-reagan-link span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.d7-reagan-link svg {
  width: 16px;
  height: 16px;
  color: #0e138a;
  flex-shrink: 0;
}
.d7-rank {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.d7-rank-left h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #666;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.d7-rank-map {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.d7-rank-map svg {
  width: 120px;
  height: auto;
  color: #0e138a;
}
.d7-rank-nums {
  display: flex;
  gap: 32px;
}
.d7-rank-num .big {
  font-size: 48px;
  font-weight: 800;
  color: #0e138a;
  line-height: 1;
}
.d7-rank-num .lbl {
  font-size: 11px;
  color: #666;
}
.d7-rank-btn {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 24px;
  background: #0e138a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.d7-rank-right h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #666;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.d7-event {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #d4d0c5;
}
.d7-event-date {
  min-width: 44px;
  text-align: center;
}
.d7-event-date .day {
  font-size: 28px;
  font-weight: 800;
  color: #0e138a;
  line-height: 1;
}
.d7-event-date .month {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #888;
  text-transform: uppercase;
}
.d7-event-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin: 0 0 4px;
}
.d7-event-info p {
  font-size: 11px;
  color: #777;
  margin: 0;
}
.d7-rank-viewall {
  margin-top: 16px;
  display: inline-block;
  padding: 8px 20px;
  background: #0e138a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.d7-dialogue {
  background: #262524;
  padding: 72px 0;
}
.d7-dialogue-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.d7-dialogue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.d7-dialogue-head .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}
.d7-dialogue-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.d7-dialogue-head a {
  font-size: 12px;
  color: #0e138a;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.d7-dialogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.d7-dialogue-card {
  background: #262626;
  overflow: hidden;
  transition: transform 0.3s;
}
.d7-dialogue-card:hover {
  transform: translateY(-4px);
}
.d7-dialogue-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: grayscale(1);
  transition: 0.5s;
}
.d7-dialogue-card:hover img {
  filter: grayscale(0);
}
.d7-dialogue-card-body {
  padding: 20px;
}
.d7-dialogue-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.d7-dialogue-card-body p {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.d7-mandela {
  padding: 72px 0;
  background: #f4f1ea;
}
.d7-mandela-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.d7-mandela-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.d7-mandela h3 {
  font-size: 26px;
  font-weight: 700;
  color: #262626;
  margin: 0 0 12px;
}
.d7-mandela p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 36px;
}
.d7-mandela-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.d7-mandela-logo .icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(14, 19, 138, 0.15);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.d7-mandela-logo .icon svg {
  width: 32px;
  height: 32px;
  color: #0e138a;
}
.d7-mandela-logo .name {
  font-size: 11px;
  font-weight: 600;
  color: #333;
}
.d7-mandela-logo .desc {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
}
.d7-carter {
  background: #2a3a4e;
  padding: 64px 0;
}
.d7-carter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  color: #fff;
}
.d7-carter-text p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
}
.d7-carter-text a {
  display: inline-block;
  padding: 12px 28px;
  background: #0e138a;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.d7-carter-news {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.d7-carter-card {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.d7-carter-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.5;
}
.d7-carter-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}
.d7-footer {
  position: relative;
  background: #262524;
  color: #fff;
  padding: 80px 0 32px;
  overflow: hidden;
}
.d7-footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.d7-footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  filter: grayscale(1);
}
.d7-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.d7-footer-quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}
.d7-footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.d7-footer-nav a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: 0.2s;
  letter-spacing: 0.06em;
}
.d7-footer-nav a:hover {
  color: #0e138a;
}
.d7-footer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.d7-footer-contact h4 {
  font-size: 11px;
  letter-spacing: 0.15em;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.7);
}
.d7-footer-contact p {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}
.d7-footer-newsletter {
  display: flex;
  gap: 8px;
}
.d7-footer-newsletter input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  color: #fff;
  font-size: 12px;
  width: 180px;
}
.d7-footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.d7-footer-newsletter button {
  background: #0e138a;
  color: #fff;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.d7-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.d7-footer-social {
  display: flex;
  gap: 12px;
}
.d7-footer-social svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.2s;
}
.d7-footer-social svg:hover {
  color: #0e138a;
}
.d7-footer-copy {
  text-align: center;
  margin-top: 24px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}

.d8-faq {
  padding: 64px 0 80px;
  background: #f9f9f9;
}
.d8-faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.d8-faq h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0e138a;
  margin: 0 0 32px;
  text-align: center;
}
.d8-faq-item {
  border-bottom: 1px solid #d4d4d4;
}
.d8-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition: 0.2s;
}
.d8-faq-q:hover {
  color: #0e138a;
}
.d8-faq-q svg {
  width: 18px;
  height: 18px;
  color: #999;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.d8-faq-q.open svg {
  transform: rotate(180deg);
  color: #0e138a;
}
.d8-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.d8-faq-a-inner {
  padding: 0 0 18px;
  font-size: 13px;
  line-height: 1.75;
  color: #555;
}

@media (max-width: 900px) {
  .d7-nav {
    display: none;
  }
  .d7-meet-grid,
  .d7-havel-grid,
  .d7-reagan-grid,
  .d7-rank,
  .d7-carter-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .d7-dialogue-grid {
    grid-template-columns: 1fr;
  }
  .d7-mandela-logos {
    grid-template-columns: 1fr 1fr;
  }
  .d7-footer-contacts {
    grid-template-columns: 1fr;
  }
  .d7-hero {
    height: 100svh;
    min-height: 0;
  }
  .d7-hero-c h1,
  .d7-meet h2,
  .d7-reagan h2 {
    font-size: 26px;
  }
}
::selection {
  background: #0e138a;
  color: #fff;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f4f1ea;
}
::-webkit-scrollbar-thumb {
  background: #0e138a;
  border-radius: 3px;
}

/* Tablet */

@media (max-width: 992px) {
  .d7-havel-grid {
    grid-template-columns: 2fr 1fr;
    gap: 20px;
  }

  .d7-havel-overlay {
    padding: 75px 22px 20px;
  }
}

/* Mobil */

@media (max-width: 768px) {
  .d7-havel-head {
    padding: 24px 20px 0;
  }

  .d7-havel-head h2 {
    font-size: 26px;
  }

  .d7-havel-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 16px;
  }

  .d7-havel-video {
    aspect-ratio: 4 / 3;
  }

  .d7-havel-overlay {
    padding: 70px 18px 16px;
  }

  .d7-havel-overlay strong {
    font-size: 18px;
  }

  .d7-havel-overlay p {
    font-size: 12px;
    line-height: 1.55;
  }

  .d7-havel-sidebar a {
    flex: initial;
    min-height: 46px;
  }

  .d7-timeline-inner {
    padding: 0 20px;
  }

  .d7-timeline-item {
    flex-basis: 260px;
  }
}

@media (max-width: 480px) {
  .d7-havel-video {
    aspect-ratio: 1 / 1;
  }

  .d7-havel-overlay {
    padding: 85px 15px 14px;
  }

  .d7-havel-overlay strong {
    font-size: 17px;
  }

  .d7-havel-overlay p {
    font-size: 11px;
    line-height: 1.5;
  }

  .d7-timeline-item {
    flex-basis: 230px;
  }
}

/* =========================================================
   TasarÄ±m 7 â€“ Ã§alÄ±ÅŸan masaÃ¼stÃ¼ ve mobil alt menÃ¼ler
   ========================================================= */
.d7-nav {
  align-items: center;
  gap: 13px;
  overflow: visible;
}

.d7-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.d7-nav > .d7-nav-item > .d7-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
}

.d7-dropdown-toggle {
  width: 18px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0e138a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.d7-dropdown-toggle svg {
  width: 9px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.d7-has-dropdown:hover > .d7-dropdown-toggle svg,
.d7-has-dropdown:focus-within > .d7-dropdown-toggle svg,
.d7-has-dropdown.is-open > .d7-dropdown-toggle svg {
  transform: rotate(180deg);
}

.d7-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  width: max-content;
  min-width: 245px;
  max-width: 310px;
  padding-top: 11px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.d7-dropdown ul {
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #f4f1ea;
  border: 1px solid rgba(14, 19, 138, 0.68);
  box-shadow: 0 16px 34px rgba(38, 37, 36, 0.16);
}

.d7-dropdown li + li {
  border-top: 1px solid rgba(14, 19, 138, 0.25);
}

.d7-nav .d7-dropdown a {
  display: block;
  padding: 10px 12px;
  color: #302f2b;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.025em;
  white-space: normal;
  text-decoration: none;
}

.d7-nav .d7-dropdown a:hover,
.d7-nav .d7-dropdown a:focus-visible {
  color: #fff;
  background: #0e138a;
  outline: none;
}

.d7-has-dropdown:hover > .d7-dropdown,
.d7-has-dropdown:focus-within > .d7-dropdown,
.d7-has-dropdown.is-open > .d7-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.d7-mobile-toggle,
.d7-mobile-nav {
  display: none;
}

@media (max-width: 1120px) and (min-width: 901px) {
  .d7-header-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .d7-nav {
    gap: 7px;
  }

  .d7-nav > .d7-nav-item > .d7-nav-link {
    font-size: 10.5px;
    letter-spacing: 0.035em;
  }

  .d7-dropdown-toggle {
    width: 14px;
  }
}

@media (max-width: 900px) {
  .d7-header-inner {
    min-height: 72px;
    padding: 10px 20px;
  }

  .d7-logo img {
    height: 44px;
  }

  .d7-header-right {
    align-items: center;
  }

  .d7-header-right > span,
  .d7-header-right > .btn {
    display: none;
  }

  .d7-mobile-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(14, 19, 138, 0.55);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .d7-mobile-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #0e138a;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .d7-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .d7-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .d7-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .d7-mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 8px 20px 28px;
    background: #f4f1ea;
    border-bottom: 2px solid #0e138a;
    box-shadow: 0 18px 34px rgba(38, 37, 36, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .d7-mobile-nav.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .d7-mobile-direct,
  .d7-mobile-accordion {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid rgba(14, 19, 138, 0.34);
    background: transparent;
    color: #302f2b;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .d7-mobile-accordion > span:last-child {
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.2s ease;
  }

  .d7-mobile-accordion[aria-expanded="true"] > span:last-child {
    transform: rotate(45deg);
  }

  .d7-mobile-submenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.22s ease;
  }

  .d7-mobile-submenu > div {
    overflow: hidden;
  }

  .d7-mobile-section.is-open .d7-mobile-submenu {
    grid-template-rows: 1fr;
  }

  .d7-mobile-submenu a {
    display: block;
    padding: 10px 14px;
    border-left: 2px solid #0e138a;
    color: #555143;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
  }

  .d7-mobile-submenu a:first-child {
    margin-top: 8px;
  }

  .d7-mobile-submenu a:last-child {
    margin-bottom: 8px;
  }

  .d7-mobile-submenu a:hover,
  .d7-mobile-submenu a:focus-visible {
    color: #fff;
    background: #0e138a;
    outline: none;
  }

  body.d7-menu-open {
    overflow: hidden;
  }
}


/* RTEV menÃ¼ aÄŸacÄ±: YapÄ±lanma Ã¼Ã§Ã¼ncÃ¼ seviye */
.d7-submenu-item {
  position: relative;
}

.d7-submenu-row {
  display: flex;
  align-items: stretch;
}

.d7-submenu-row > a {
  flex: 1;
}

.d7-submenu-toggle {
  width: 38px;
  border: 0;
  background: transparent;
  color: #0e138a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.d7-submenu-toggle svg {
  width: 7px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.d7-submenu-item:hover > .d7-submenu-row .d7-submenu-toggle,
.d7-submenu-item:focus-within > .d7-submenu-row .d7-submenu-toggle,
.d7-submenu-item.is-open > .d7-submenu-row .d7-submenu-toggle {
  color: #fff;
  background: #0e138a;
}

.d7-submenu-item:hover > .d7-submenu-row > a,
.d7-submenu-item:focus-within > .d7-submenu-row > a,
.d7-submenu-item.is-open > .d7-submenu-row > a {
  color: #fff;
  background: #0e138a;
}

.d7-submenu-item.is-open .d7-submenu-toggle svg {
  transform: rotate(180deg);
}

.d7-submenu {
  position: absolute;
  top: -8px;
  left: calc(100% + 9px);
  z-index: 1002;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.d7-submenu::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 10px;
  height: 100%;
}

.d7-submenu-item:hover > .d7-submenu,
.d7-submenu-item:focus-within > .d7-submenu,
.d7-submenu-item.is-open > .d7-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

@media (max-width: 900px) {
  .d7-mobile-nested {
    border-left: 2px solid #0e138a;
  }

  .d7-mobile-nested-trigger {
    width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    border: 0;
    background: rgba(14, 19, 138, 0.06);
    color: #403d35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  .d7-mobile-nested-trigger > span:last-child {
    font-size: 19px;
    font-weight: 300;
    transition: transform 0.2s ease;
  }

  .d7-mobile-nested-trigger[aria-expanded="true"] > span:last-child {
    transform: rotate(45deg);
  }

  .d7-mobile-nested-submenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.22s ease;
  }

  .d7-mobile-nested-submenu > div {
    overflow: hidden;
  }

  .d7-mobile-nested.is-open .d7-mobile-nested-submenu {
    grid-template-rows: 1fr;
  }

  .d7-mobile-submenu .d7-mobile-nested-submenu a {
    margin: 0;
    padding-left: 28px;
    border-left: 0;
    background: rgba(14, 19, 138, 0.035);
    font-size: 11.5px;
  }
}

/* RTEV Programlar: sekmeyle birlikte görsel geçişi */
.d7-havel-video .d7-havel-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  filter: grayscale(1);
  transform: scale(1);
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease,
    filter 0.6s ease,
    transform 0.6s ease;
}

.d7-havel-video .d7-havel-image.is-active {
  opacity: 1;
  visibility: visible;
}

.d7-havel-video:hover .d7-havel-image.is-active {
  filter: grayscale(0);
  transform: scale(1.015);
}

@media (prefers-reduced-motion: reduce) {
  .d7-havel-video .d7-havel-image {
    transition: none;
  }
}
