/* ====================================
   BAKKA – Pixel-Perfect Replica CSS
   Source: bakka.gov.tr official code
   ==================================== */

/* --- Reset & Design Tokens --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:root {
  /* Official palette */
  --bg-turquoise: #026a9c;
  --primary-dark: #0a435f;
  --gradient-hero: linear-gradient(180deg, #026a9c 0%, #0a435f 100%);
  --white: #ffffff;
  --black: #000000;
  --gray-0: #f8f9fa;
  --gray-1: #f1f3f4;
  --gray-2: #e9ecef;
  --gray-5: #adb5bd;
  --gray-6: #868e96;
  --gray-7: #495057;
  --gray-9: #212529;
  --text: #333333;
  --text-dimmed: #666666;
  --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-2: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-3: 0 10px 15px rgba(0, 0, 0, 0.1);
  --navbar-height: 82px;
  --dynamic-menu-height: 30px;
  --max-width: 1200px;
}

@media (max-width: 992px) {
  :root {
    --navbar-height: 52px;
  }
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, Helvetica, 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 100vw;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* ==========================================
   NAVBAR  (from Navbar.module.css)
   ========================================== */
.navbar-container {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background-color: var(--white);
  box-shadow: var(--shadow-1);
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

/* Transparent on home page (hero visible) */
.navbar-container.transparent {
  background-color: transparent;
  box-shadow: none;
  border-bottom: none;
}

/* Next.js Spacer Replica */
.GeneralLayout_navbarSpacer__el_VL {
  height: var(--navbar-height);
  width: 100%;
  display: block;
}



@media (max-width: 992px) {
  .navbar {
    padding: 0;
    /* Remove padding on mobile to save space */
  }
}

.navbar {
  position: relative;
  width: 100%;
  padding: 0.35rem 0;
  background-color: transparent;
  min-height: var(--navbar-height);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr) auto;
  grid-template-rows: 70px;
  align-items: center;
  width: 100%;
  gap: clamp(0.55rem, 1vw, 0.9rem);
  min-height: 70px;
  padding: 0 1rem;
}

/* Column 1 – Ministry logo */
.col-ministry {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.ministry-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.45rem;
  border: 1px solid var(--white);
  transition: all 0.2s ease;
}

.navbar-container:not(.transparent) .ministry-logo-box {
  border-color: var(--black);
}

.ministry-logo-box:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.navbar-container:not(.transparent) .ministry-logo-box:hover {
  border-color: #333;
}

.ministry-logo-box img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Column 2 – BAKKA logo */
.col-bakka {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.bakka-logo img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Column 3 – Dynamic menu */
.col-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.dynamic-menu {
  display: none;
  /* shown >= 1066px */
  width: 100%;
  padding: 0.2rem 0;
  min-height: var(--dynamic-menu-height);
  overflow: visible;
}

.dynamic-menu-items {
  display: flex;
  align-items: center;
  gap: clamp(0.3rem, 0.65vw, 0.65rem);
  flex-wrap: nowrap;
  justify-content: center;
  overflow: visible;
}

.dynamic-menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dynamic-menu-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.dynamic-menu-text {
  font-size: clamp(0.76rem, 0.72vw, 0.86rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.dynamic-menu-text.dark {
  color: var(--black);
}

.dynamic-menu-text.light {
  color: var(--white);
}

.dynamic-menu-text:hover {
  color: #7bb1c9;
}

/* Dropdown */
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 1000;
  margin-top: 4px;
  white-space: nowrap;
  display: none;
}

.dropdown-panel.open {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.8rem;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #e8f4f8;
  color: var(--bg-turquoise);
  transform: translateX(2px);
  box-shadow: 0 2px 4px rgba(2, 106, 156, 0.1);
}

/* Column 4 – Language toggle + Hamburger */
.col-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 0 1 auto;
}

/* Language toggle minimal */
.lang-toggle {
  display: none;
  /* shown >= 1066px */
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.neu-lang-wrapper {
  display: flex;
  align-items: center;
}

.language-toggle-simple {
  display: grid;
  grid-template-rows: 1fr 1px 1fr;
  flex: 0 0 auto;
  width: 20px;
  height: 32px;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 2px;
  box-shadow: none;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  line-height: 1;
}

.language-toggle-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.language-toggle-simple.light {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.08);
}

.language-toggle-simple.dark {
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
}

.language-toggle-simple.dark .language-toggle-option.is-active {
  color: #ffffff;
  background: #111827;
}

.language-toggle-simple.light .language-toggle-option.is-active {
  color: #111827;
  background: #ffffff;
}

.language-toggle-divider {
  display: block;
  width: 70%;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  opacity: 0.35;
}

.corporate-neu-track {
  width: 60px;
  height: 32px;
  background: #f1f3f4;
  border-radius: 50px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 3px;
  text-decoration: none;
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.18),
    inset -5px -5px 10px #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  overflow: hidden;
}

.neu-track-flag-full {
  position: absolute;
  top: 0;
  width: calc(100% - 16px);
  /* Adjusted for slightly larger track */
  height: 100%;
  display: flex;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.neu-track-flag-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 2;
}

.neu-track-flag-full.reveals-right {
  right: 0;
  left: auto;
}

.neu-track-flag-full.reveals-left {
  left: 0;
  right: auto;
}

.full-vibrant-flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.4) brightness(0.85);
}

.corporate-neu-knob {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Darker, more prominent shadow */
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.45),
    -1px -1px 3px rgba(255, 255, 255, 0.8);
  position: absolute;
  left: 3px;
  z-index: 10;
}

.corporate-neu-knob.is-right {
  left: calc(100% - 29px);
  /* Darker reversed shadow */
  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.45),
    1px -1px 3px rgba(255, 255, 255, 0.8);
}

.corporate-neu-track:hover {
  background: #e8eaed;
}

.neu-flag {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.neu-toggle-track:active .neu-toggle-knob {
  box-shadow: inset 2px 2px 5px #d1d1d1,
    inset -2px -2px 5px #ffffff;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 1.5rem;
}

/* Mobile header row */
.mobile-header-row {
  --mobile-logo-height: clamp(25px, 7.8vw, 29px);
  display: none;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
  padding: 0.35rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.mobile-ministry-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  border: 1px solid var(--white);
  transition: border-color 0.2s ease;
}

.navbar-container:not(.transparent) .mobile-ministry-logo {
  border-color: var(--black);
}

.mobile-ministry-logo > a {
  display: flex;
  align-items: center;
  line-height: 0;
}

.mobile-ministry-logo img {
  display: block;
  height: var(--mobile-logo-height);
  width: auto;
  object-fit: contain;
  max-width: 160px;
}

.mobile-bakka-logo img {
  height: var(--mobile-logo-height);
  width: auto;
  object-fit: contain;
  max-width: 170px;
}

/* Navbar responsive */
@media (min-width: 1067px) {
  .dynamic-menu {
    display: block;
  }

  .neu-lang-wrapper {
    display: flex;
  }

  .mobile-header-row {
    display: none;
  }
}

@media (max-width: 1066px) {
  .navbar-inner {
    display: none;
  }

  .mobile-header-row {
    display: flex;
  }

  .dynamic-menu {
    display: none;
  }

  .neu-lang-wrapper {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-header-row {
    padding: 0.35rem 0.85rem;
  }
}

/* ==========================================
   HERO  (from Hero.module.css)
   ========================================== */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  padding: 2rem 0;
  overflow: visible;
  width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 60vh;
  background-image: url('/static/images/background/turkiye-bg.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: visible;
  padding: 0 1.5rem;
}

.hero-first-section {
  margin-inline: auto;
  max-width: var(--max-width);
  display: flex;
  margin-top: 60px;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 1.0625rem;
  position: relative;
  z-index: 3;
  align-items: stretch;
  min-height: 25rem;
  padding: 0;
  width: 100%;
}

/* --- Carousel container (left side visually, right in DOM due to row-reverse) --- */
.hero-carousel {
  width: 46.875rem;
  /* 750px */
  height: 26.25rem;
  /* 420px */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0.625rem;
  flex-shrink: 0;
  z-index: 4;
}

.hero-carousel::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: var(--white);
  z-index: -1;
}

/* Embla carousel generic */
.embla {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.embla-viewport {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.embla-container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  height: 100%;
  width: 100%;
}

.embla-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.embla-slide-item {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.embla-slide-item a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/*
 * Bu genel karartma banner slider'ı da etkilediği için geçici olarak devre dışı.
 * Haber slider'ına özel karşılığı hemen aşağıda tutuluyor.
.embla-slide-item a::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.26) 20%, transparent 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 80%);
  z-index: 1;
  pointer-events: none;
}
*/

.hero-carousel .embla-slide-item a::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.26) 20%, transparent 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 80%);
  z-index: 1;
  pointer-events: none;
}

.embla-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embla-slide-title {
  position: absolute;
  bottom: 50px;
  padding-inline: 1.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  line-height: 1.3;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.embla-news-header {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  pointer-events: none;
}

.embla-news-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Carousel controls */
.embla-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 2;
}

.embla-dots {
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: center;
}

.embla-dot {
  width: 24px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  outline: none;
}

.embla-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.embla-dot:hover::before {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.15);
}

.embla-dot.active::before {
  background-color: #fff;
  border-color: #fff;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.28);
}

.embla-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 0;
}

.news-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 800;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  pointer-events: auto;
}

.news-link:hover {
  color: var(--white);
}

.news-link-icon {
  flex: 0 0 auto;
}

/* Responsive adjustments for Embla Carousel controls and titles on tablets and mobile screens */
@media (max-width: 768px) {
  .embla-slide-title {
    font-size: 0.95rem;
    bottom: 50px;
    padding-inline: 1rem;
    left: 16px;
    right: 16px;
    line-height: 1.25;
  }

  .embla-controls {
    left: 16px;
    right: 16px;
    bottom: 12px;
    gap: 0.5rem;
    width: auto;
  }

  .embla-news-header {
    top: 14px;
    left: 16px;
    right: 16px;
    gap: 0.75rem;
  }

  .embla-news-title {
    font-size: 0.9rem;
  }

  .embla-dots {
    gap: 2px;
  }

  .embla-dot {
    width: 22px;
    height: 24px;
  }

  .embla-dot::before {
    width: 7px;
    height: 7px;
  }

  .embla-dot.active::before {
    width: 9px;
    height: 9px;
  }

  .news-link {
    font-size: 0.75rem;
    min-height: 32px;
    padding: 0 6px;
  }
}

@media (max-width: 480px) {
  .embla-slide-title {
    font-size: 0.85rem;
    bottom: 44px;
    padding-inline: 0.75rem;
    left: 12px;
    right: 12px;
  }

  .embla-controls {
    left: 12px;
    right: 12px;
    bottom: 8px;
    gap: 0.25rem;
  }

  .embla-news-header {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .embla-news-title {
    font-size: 0.8rem;
  }

  .embla-dot {
    width: 20px;
    height: 20px;
  }

  .embla-dot::before {
    width: 6px;
    height: 6px;
  }

  .embla-dot.active::before {
    width: 8px;
    height: 8px;
  }

  .news-link {
    font-size: 0.7rem;
    min-height: 28px;
    padding: 0 4px;
  }

  .news-link-icon {
    width: 16px;
    height: 16px;
  }
}

/* Current breadcrumb: compact label and a softer home affordance. */
.breadcrumb-mini .breadcrumb-home {
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.breadcrumb-home svg {
  width: 18px;
  height: 18px;
}

.breadcrumb-mini .breadcrumb-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Long-form CMS copy is easier to scan with balanced line edges. */
.content-parser p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

/* Poster-only BAKKA popup, still rendered by Dyno's native popup component. */
.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-content {
  padding: 10px;
}

.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-content > h2:empty,
.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-actions:empty {
  display: none;
}

.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-body > a {
  display: block;
  line-height: 0;
}

.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-body img {
  display: block;
  width: 100%;
  height: auto;
}

.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-close {
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .92);
  color: #102a38;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-close:hover,
.dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-close:focus-visible {
  background: #082f43;
  color: #fff;
  transform: scale(1.05);
}

.bakka-popup-countdown {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(3, 24, 35, .9);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
}

@media (max-width: 680px) {
  .dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-content {
    padding: 8px;
  }

  .dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-close,
  .bakka-popup-countdown {
    top: 8px;
    width: 34px;
    height: 34px;
  }

  .dyno-popup-shell:has(.dyno-popup-body a[data-popup-timeout]) .dyno-popup-close {
    right: 8px;
  }

  .bakka-popup-countdown {
    left: 8px;
  }
}

/* --- Hero Second Container (right side → info column) --- */
.hero-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  justify-content: space-between;
}

/* Yerel Kalkınma Hamlesi Logo */
.hero-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.5rem 0;
  flex-shrink: 0;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.hero-title-logo {
  position: relative;
  width: 180px;
  height: 180px;
  background-image: url('/static/images/background/yerel-kalkinma-hamlesi-logo-kare.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 8;
  filter: drop-shadow(0 0 15px rgba(0, 204, 255, 0.6));
}

.hero-title-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: rgba(0, 204, 255, 0.6);
  filter: blur(35px);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/* Corner decorations */
.hero-border-tl,
.hero-border-br {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 6;
}

.hero-border-tl {
  top: 0;
  left: 0;
}

.hero-border-br {
  bottom: 0;
  right: 0;
}

.hero-border-tl::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--bg-turquoise);
}

.hero-border-tl::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 40px;
  background: var(--bg-turquoise);
}

.hero-border-br::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--bg-turquoise);
}

.hero-border-br::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3px;
  height: 40px;
  background: var(--bg-turquoise);
}

/* Inner corner decorations */
.hero-border-tl-inner,
.hero-border-br-inner {
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: 7;
}

.hero-border-tl-inner {
  top: 8px;
  left: 8px;
}

.hero-border-br-inner {
  bottom: 8px;
  right: 8px;
}

.hero-border-tl-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-dark);
}

.hero-border-tl-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 28px;
  background: var(--primary-dark);
}

.hero-border-br-inner::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-dark);
}

.hero-border-br-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 28px;
  background: var(--primary-dark);
}

/* Nav cards compact */
.hero-nav-items {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
  z-index: 6;
  width: 100%;
  padding: 0;
  transform: scale(0.9);
  transform-origin: center;
}

.hero-nav-item {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
}

.hero-nav-card {
  display: flex;
  max-height: 97px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.7rem 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 100px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 120px;
}

.hero-nav-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-nav-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-nav-icon-circle img {
  filter: brightness(0) invert(1);
  width: 16px;
  height: 16px;
}

.hero-nav-card-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 0.7rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero-nav-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.sliding-texts-container {
  position: relative;
  height: 1.1rem;
  overflow: hidden;
  margin-bottom: 2px;
}

.sliding-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 0.6rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  white-space: nowrap;
}

.sliding-text.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-nav-card-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Hero search bar */
.hero-search-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 6;
  margin-top: 1rem;
}

.hero-search-wrapper {
  width: 100%;
  max-width: 600px;
  min-width: 300px;
}

.hero-search-input {
  width: 100%;
  height: 74px;
  display: flex;
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0 24px;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-search-input input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
}

@media (max-width: 768px) {
  .hero-search-input {
    height: 54px;
    padding: 0 16px;
  }

  .hero-search-input input {
    font-size: 0.9rem;
  }
}

.hero-search-input input::placeholder {
  color: #aaa;
}

.hero-search-input button {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s;
}

.hero-search-input button:hover {
  color: var(--bg-turquoise);
}

/* ==========================================
   HERO PAGE LINKS  (from HeroPageLinks.module.css)
   ========================================== */
.hero-page-links-container {
  margin-top: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero-page-links {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  position: relative;
  z-index: 8;
}

.page-link {
  position: relative;
  flex: 1;
  max-width: 180px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  justify-content: center;
  z-index: 8;
}

.page-link-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  color: var(--white);
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 60px;
  height: 100%;
}

.page-link:hover .page-link-item {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.page-link-icon {
  height: 25px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.page-link-icon.form-icon {
  height: 32px;
  /* Base 25px + 4px */
}

.page-link-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
}

.page-link-text span {
  font-size: 13px;
  line-height: 1.2;
}

.page-link-text span:first-child {
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 0.125rem;
}

.page-link-text span:last-child {
  font-weight: 700;
}

/* ==========================================
   NOTIFICATIONS SECTION  (from Notifications.module.css)
   ========================================== */
.notifications-wrapper {
  position: relative;
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  margin-bottom: 0;
}

.notifications-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 1.875rem);
  overflow: visible;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

/* Banner Slider */
.banner-slider {
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 684px;
  flex: 1 1 36rem;
  aspect-ratio: 684 / 167;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

#bannerEmbla {
  position: relative;
}

.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  gap: 2px;
}

/*
 * Banner siyah gradyan katmanı geçici olarak devre dışı bırakıldı.
 * Tekrar göstermek için bu CSS yorumunu kaldırın.
.embla-slide-item.has-gradient::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.38) 38%, transparent 76%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, transparent 58%);
  pointer-events: none;
  z-index: 1;
}
*/

.banner-overlay-content {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.banner-top-title {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-mid-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.banner-sub-title {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
}

.banner-slider:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.2);
}

.banner-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Home Announcements */
.home-announcements {
  width: auto;
  max-width: none;
  min-width: 20rem;
  min-height: 10.4375rem;
  margin: 0;
  padding: 0.375rem 0 0;
  flex: 1 1 22rem;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.announcements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 0.75rem;
  margin-bottom: 0.125rem;
  padding: 0 0.125rem 0.375rem;
  border-bottom: 1px solid var(--gray-2);
  flex-shrink: 0;
}

.home-announcements .tabs {
  display: flex;
  min-width: 0;
  gap: 0.375rem;
}

.home-announcements .tab-btn {
  min-height: 2.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-7);
  cursor: pointer;
  white-space: nowrap;
  padding: 0.5rem 0.5rem;
  transition: color 0.2s ease;
  position: relative;
  background: none;
  border: none;
}

.home-announcements .tab-btn:hover {
  color: var(--bg-turquoise);
}

.home-announcements .tab-btn.active {
  color: var(--bg-turquoise);
  font-weight: 600;
}

.home-announcements .tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -0.4375rem;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: var(--bg-turquoise);
  border-radius: 1px;
}

.go-to-all {
  min-height: 2.125rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--bg-turquoise);
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  border: 1px solid var(--bg-turquoise);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.go-to-all:hover {
  background: transparent;
  color: var(--bg-turquoise);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 123, 191, 0.2);
}

.notifications-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 8rem;
  overflow: hidden;
}

.notifications-carousel .embla-viewport {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.notifications-carousel .embla-container {
  display: flex;
  flex-direction: column;
  touch-action: pan-x pinch-zoom;
  height: 100%;
  width: 100%;
}

.notifications-carousel .embla-slide {
  flex: 0 0 50%;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}

.carousel-nav-arrows {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.carousel-prev,
.carousel-next {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 0.5rem;
  border: 1px solid #edf2f7;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #718096;
  transition: all 0.2s ease;
  padding: 0;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.carousel-prev:hover:not(:disabled),
.carousel-next:hover:not(:disabled) {
  background: #fff;
  color: var(--bg-turquoise);
  border-color: var(--bg-turquoise);
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.3;
  cursor: default;
}

.tab-content {
  display: none;
  flex: 1;
  overflow: hidden;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
}

/* Announcement item */
.announcement-item {
  user-select: none;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0.25rem 3rem 0.25rem 0.625rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
  background: transparent;
  border-bottom: 1px solid var(--gray-1);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.announcement-item:hover {
  background: var(--gray-0);
}

.notifications-carousel .embla-slide:last-child .announcement-item {
  border-bottom: none;
}

.home-announcements .announcement-title {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-9);
  line-height: 1.28;
  margin: 0 0 0.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-announcements .announcement-item:hover .announcement-title {
  color: var(--bg-turquoise);
}

.home-announcements .announcement-date {
  flex-shrink: 0;
  font-size: 0.625rem;
  color: var(--gray-7);
  font-weight: 500;
}

.home-empty-state {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-7);
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
}

.home-empty-state-icon {
  flex: 0 0 auto;
  color: var(--bg-turquoise);
  opacity: 0.72;
}

.home-empty-state--hero {
  padding: 2rem;
  background: linear-gradient(145deg, #f8fafb, #eef3f5);
  color: var(--gray-8);
  font-size: 0.9375rem;
}

.home-empty-state--compact {
  min-height: 8rem;
  padding: 1rem 4.5rem 1rem 1rem;
  border-bottom: 1px solid var(--gray-1);
}

.notifications-carousel .home-empty-slide {
  flex-basis: 100%;
  padding: 0;
}

/* ==========================================
   FOOTER  (from Footer.module.css)
   ========================================== */
.footer {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 2rem 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer-logo-section {
  margin-inline: auto;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
}

.footer-logo-grid {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  height: 2.75rem;
  /* 44px */
  max-width: 100%;
  object-fit: contain;
  filter: contrast(0%) brightness(2);
  transition: filter 0.3s;
}

.footer-logo:hover {
  filter: none;
}

/* Contact section */
.footer-contact-wrapper {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
}

.footer-contact-section {
  display: flex;
  width: 100%;
  margin-inline: auto;
  max-width: var(--max-width);
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 0 1.5rem;
}

.footer-office {
  text-align: left;
  flex: 1;
  padding-block: 2.75rem;
}

.office-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.office-list-icon {
  width: 0.625rem;
  height: 0.625rem;
  background: var(--gradient-hero);
}

.footer-office h4 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
}

.footer-office h4 b {
  font-weight: 700;
}

.office-address {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.office-contact {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.office-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.office-contact a:hover {
  color: var(--white);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 2rem;
  margin-inline: auto;
  max-width: var(--max-width);
  font-size: 0.75rem;
  margin-bottom: 0.875rem;
  color: var(--white);
  padding: 0 1.5rem;
}

/* Go to top */
.go-to-top {
  position: absolute;
  right: 0;
  bottom: -0.4375rem;
  cursor: pointer;
}

.go-to-top span {
  position: absolute;
  transform: rotate(-90deg);
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  top: -70px;
  left: 10px;
  white-space: nowrap;
  user-select: none;
}

/* Social links (shown on mobile) */
.footer-social-links {
  display: none;
  justify-content: center;
  margin-top: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--white);
  font-size: 1.1rem;
}

.footer-social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
}

/* Footer responsive */
@media (max-width: 1200px) {
  .footer-office {
    flex: none;
    max-width: 100%;
  }

  .footer-contact-section,
  .footer-logo-section,
  .footer-bottom {
    max-width: 60.625rem;
  }

  .footer-logo-section {
    justify-content: center;
  }

  .footer-logo-grid {
    justify-content: 100%;
  }

}

@media (max-width: 1024px) {
  .notifications-container {
    flex-direction: column;
    align-items: center;
    gap: 1.375rem;
  }

  .banner-slider,
  .home-announcements {
    width: 100%;
    max-width: 46rem;
    flex: none;
  }

  .banner-slider {
    min-width: 0;
    height: auto;
    aspect-ratio: 684 / 167;
  }

  .banner-slider img {
    height: 100%;
    object-fit: cover;
  }

  .home-announcements {
    min-width: 0;
    display: flex !important;
    visibility: visible !important;
  }
}

@media (max-width: 992px) {

  .footer-contact-section,
  .footer-logo-section,
  .footer-bottom {
    max-width: 46.875rem;
  }

  .footer-social-links {
    display: flex;
  }

  .footer-office {
    padding-block: 1.25rem;
  }

  .footer-office h4 {
    font-size: 0.875rem;
  }

  .notifications-wrapper {
    padding: 1.5rem 0;
    margin-bottom: 0;
  }

  .notifications-container {
    padding: 0 clamp(1rem, 3vw, 1.25rem);
  }
}

@media (max-width: 768px) {

  .footer-contact-section,
  .footer-logo-section,
  .footer-bottom {
    max-width: 100%;
    padding: 0 1rem;
  }

  .notifications-container {
    max-width: 100%;
  }

  .footer-logo-section {
    padding: 0 1rem;
  }

  .footer-logo-grid {
    justify-content: center;
    gap: 1rem;
  }

  .footer-logo {
    height: 2.25rem;
  }
}

@media (max-width: 576px) {

  .footer-logo-section,
  .footer-contact-section,
  .footer-bottom {
    max-width: 100%;
    padding: 0 1rem;
  }

  .footer-logo-grid {
    gap: 0.8rem;
  }

  .footer-logo {
    height: 1.75rem;
  }

  .notifications-container {
    max-width: 100%;
    gap: 1rem;
    padding: 0 0.875rem;
  }

  .home-announcements {
    min-height: 11.5rem;
    padding: 0.375rem 0 0;
  }

  .announcements-header {
    gap: 0.375rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0.5rem;
  }

  .home-announcements .tabs {
    gap: 0;
  }

  .home-announcements .tab-btn {
    min-height: 2rem;
    padding: 0.4375rem 0.375rem;
    font-size: 0.8125rem;
  }

  .home-announcements .tab-btn.active::after {
    bottom: -0.5625rem;
    left: 0.375rem;
    right: 0.375rem;
  }

  .go-to-all {
    min-height: 2rem;
    padding: 0.4375rem 0.625rem;
    font-size: 0.5625rem;
  }

  .notifications-carousel-wrapper {
    height: 8rem;
  }

  .announcement-item {
    padding: 0.25rem 2.75rem 0.25rem 0.375rem;
  }

  .home-announcements .announcement-title {
    font-size: 0.8125rem;
    line-height: 1.3;
  }

  .carousel-prev,
  .carousel-next {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* ==========================================
   BAKKA.GOV.TR INNER-PAGE PARITY
   ========================================== */
.page-header-belt {
  min-height: 100px;
  height: 100px;
  padding: 0;
  margin-bottom: 28px;
  overflow: visible;
}

.page-header-content {
  position: relative;
  height: 100%;
  justify-content: center;
}

.page-header-main-row {
  height: 100%;
}

.page-header-belt--section .header-action-buttons {
  position: absolute;
  right: 20px;
  bottom: -22px;
}

.page-header-title {
  max-width: 930px;
  font-size: 1.85rem;
  text-shadow: none;
}

.header-action-buttons {
  gap: 8px;
}

.header-round-btn,
.page-header-belt .header-round-btn {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #575756;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  font-size: 13px;
}

.header-round-btn:hover,
.page-header-belt .header-round-btn:hover {
  background: #026a9c !important;
  border-color: #026a9c;
  color: #fff !important;
}

.header-share-dropdown {
  position: relative;
}

.header-share-menu {
  display: none;
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 1000;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
}

.header-share-menu.is-open {
  display: block;
}

.header-share-menu button {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid #f1f3f4;
  background: #fff;
  color: #333;
  text-align: left;
  cursor: pointer;
}

.inner-content-title {
  margin: 0 0 26px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.content-parser,
.content-parser p,
.content-parser li,
.description.content-parser,
.news-subtitle {
  color: #000 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.content-parser p {
  margin-bottom: 20px;
}

.content-parser p:last-child {
  margin-bottom: 0;
}

.editorial-archive {
  padding-top: 12px;
}

.editorial-archive .news-grid,
.editorial-archive .announcements-grid {
  gap: 28px 34px;
  margin-bottom: 30px;
}

.editorial-archive .news-card {
  min-height: 110px;
  margin-bottom: 0;
  padding-bottom: 18px;
}

.editorial-archive .news-card-image-wrapper {
  width: 140px;
  height: 110px;
}

.editorial-archive .news-card::before {
  left: 160px;
  height: 3px;
}

.editorial-archive .news-card-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.editorial-archive .news-card-date {
  color: #777;
  font-size: 13px;
}

.editorial-archive .announcement-card {
  min-height: 96px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.editorial-archive .announcement-date-box {
  width: 78px;
  height: 96px;
  padding: 8px;
  border-right: 3px solid var(--bg-turquoise);
}

.editorial-archive .date-day {
  margin: 2px 0;
  font-size: 31px;
}

.editorial-archive .announcement-card-right {
  padding: 14px 18px;
}

.editorial-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 36px 0 24px;
}

.editorial-pagination button,
.editorial-pagination select {
  min-width: 36px;
  height: 36px;
  border: 1px solid #dce2e6;
  border-radius: 3px;
  background: #fff;
  color: #575756;
  font-size: 14px;
  cursor: pointer;
}

.editorial-pagination select {
  min-width: 62px;
  padding: 0 8px;
}

.editorial-pagination button:disabled {
  cursor: default;
  opacity: 0.35;
}

.news-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 660px) 330px;
  justify-content: space-between;
  gap: 55px;
  margin: 28px 0 50px;
}

.detail-featured-image {
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: none;
}

.editorial-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 27px;
  color: #777;
  font-size: 13px;
}

.editorial-meta-divider {
  color: #c7c7c7;
}

.news-detail-page .description,
.announcement-detail-page .description,
.tender-detail-page .description {
  margin-bottom: 32px;
  color: #000;
  font-size: 16px;
  line-height: 1.6;
}

.news-sidebar-content {
  min-width: 0;
  padding: 0;
}

.news-sidebar-content .sidebar-section-header {
  margin-bottom: 6px;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 10px;
}

.news-sidebar-content .sidebar-section-header h2 {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

.news-sidebar-content .sidebar-all-link {
  color: #026a9c;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
}

.news-sidebar-content .sidebar-news-card {
  gap: 12px;
  padding: 12px 0;
}

.news-sidebar-content .sidebar-card-img {
  width: 100px;
  height: 78px;
  border: 0;
  box-shadow: none;
}

.news-sidebar-content .sidebar-card-img img {
  filter: none;
}

.news-sidebar-content .sidebar-card-title {
  margin: 0;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.support-period-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.support-period-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3e5e7;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.support-period-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.support-period-card img {
  width: 100%;
  aspect-ratio: 1.21;
  object-fit: cover;
}

.support-period-card span {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.redirect-landing {
  min-height: 260px;
}

.ministry-logo-box {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 992px) {
  .page-header-belt {
    min-height: 88px;
    height: 88px;
    padding: 0;
    margin-bottom: 30px;
  }

  .page-header-belt--editorial {
    height: auto;
    min-height: 118px;
  }

  .page-header-belt--editorial .page-header-main-row {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .page-header-belt--section .header-action-buttons {
    right: 20px;
  }

  .page-header-title {
    max-width: 100%;
    font-size: 1.4rem !important;
  }

  .news-detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mobile-header-row {
    min-height: 54px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

}

@media (max-width: 680px) {
  .inner-container {
    padding: 22px 16px 34px;
  }

  .inner-content-title {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .editorial-archive .news-grid,
  .editorial-archive .announcements-grid,
  .support-period-grid {
    grid-template-columns: 1fr;
  }

  .editorial-archive .news-grid {
    gap: 18px;
  }

  .editorial-archive .news-card-image-wrapper {
    width: 118px;
    height: 92px;
  }

  .editorial-archive .news-card::before {
    left: 138px;
  }

  .contact-offices-wrapper {
    gap: 20px;
  }

  .contact-card-row {
    margin-bottom: 0;
  }

  .contact-info-column {
    padding: 16px 18px;
  }

  .contact-text p,
  .contact-text a {
    font-size: 13.6px;
    line-height: 1.35;
  }

  .contact-detail-item {
    margin-bottom: 9px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    height: 1.5rem;
  }

  .footer-logo-grid {
    display: flex;
    flex-wrap: wrap;
    padding-inline: 0.5rem;
    justify-content: center;
    gap: 0.5rem;
  }

  .footer-contact-section,
  .footer-bottom,
  .footer-logo-section {
    max-width: 18.75rem;
  }
}

/* Hero responsive */
@media (min-width: 768px) {
  .hero-section {
    padding-top: 120px;
  }

  .hero-first-section {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 100px;
  }
}

@media (max-width: 1200px) {
  .hero-carousel {
    width: 36.25rem;
    height: 20.625rem;
  }

  .hero-page-links {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-link {
    flex: 0 0 calc(33.333% - 0.5rem);
    max-width: none;
  }
}

@media (max-width: 1100px) {
  .hero-first-section {
    flex-direction: column;
    align-items: center;
    gap: 0.9375rem;
    max-width: 46.875rem;
    min-height: auto;
    padding: 0 1rem;
  }

  .hero-search-wrapper {
    padding: 0 1rem;
  }

  .hero-carousel {
    width: 100%;
    height: auto;
    aspect-ratio: 750 / 420;
  }

  .hero-info {
    width: 100%;
    min-height: auto;
  }

  .hero-nav-items {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-nav-card {
    padding: 0.5rem;
    flex-direction: row;
    text-align: left;
    gap: 0.5rem;
    min-height: 60px;
  }

  .hero-nav-icon-circle {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
  }

  .hero-title-container {
    padding: 1.5rem 0;
  }

  .hero-title-logo {
    width: 140px;
    height: 140px;
  }

  .hero-title-container::before {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .hero-page-links {
    justify-content: center;
    gap: 0.5rem;
  }

  .page-link {
    flex: 0 0 calc(50% - 0.25rem);
    display: flex;
    justify-content: center;
    gap: 4px;
  }

  .page-link-icon {
    width: 22px;
  }

  .page-link-item {
    padding: 0.75rem 1.25rem;
    font-size: 11px;
    min-height: 65px;
    gap: 4px;
  }

  .page-link-icon {
    width: 22px;
    height: 22px;
  }

  .page-link-text span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-page-links {
    gap: 0.375rem;
  }

  .page-link {
    flex: 0 0 calc(50% - 0.25rem);
  }

  .page-link-item {
    padding: 0.5rem 0.4rem;
    font-size: 9px;
    min-height: 45px;
    gap: 4px;
  }

  .page-link-icon {
    width: 16px;
    height: 16px;
  }

  .page-link-text span {
    font-size: 9px;
  }
}

/* Print */
@media print {
  @page {
    margin: 16mm 14mm;
  }

  html,
  body {
    width: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt !important;
    line-height: 1.45 !important;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .footer,
  .navbar-container,
  .corporate-neu-switcher,
  .GeneralLayout_navbarSpacer__el_VL,
  .social-side-tabs,
  .acc-floating-container,
  .accessibility-float-btn,
  .accessibility-drawer-overlay,
  .accessibility-drawer,
  .accessibility-drawer-content,
  .accessibility-modal-overlay,
  .bakka-menu-sidebar,
  .blankmenu-sidebar,
  .detail-sidebar-column,
  .news-sidebar,
  .news-sidebar-content,
  .other-news-section,
  .header-action-buttons,
  .content-actions-bar,
  .breadcrumb-mini,
  .header-share-dropdown,
  .share-dropdown,
  .neighbor-nav-simple,
  .content-tags,
  .attachment-list-wrapper,
  .go-logo-overlay,
  button,
  svg,
  iconify-icon,
  script,
  style,
  template,
  textarea,
  .raw-cms-content,
  #desc-source,
  #content-source {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  html body .footer,
  html body .navbar-container,
  html body .corporate-neu-switcher,
  html body .GeneralLayout_navbarSpacer__el_VL,
  html body .social-side-tabs,
  html body .acc-floating-container,
  html body .accessibility-drawer-overlay,
  html body .accessibility-drawer-content,
  html body .accessibility-modal-overlay,
  html body aside.bakka-menu-sidebar,
  html body aside.blankmenu-sidebar,
  html body .detail-sidebar-column,
  html body .news-sidebar,
  html body .news-sidebar-content,
  html body .header-action-buttons,
  html body .content-actions-bar,
  html body .breadcrumb-mini,
  html body .header-share-dropdown,
  html body .share-dropdown,
  html body .neighbor-nav-simple,
  html body .content-tags,
  html body .attachment-list-wrapper,
  html body .go-logo-overlay,
  html body .raw-cms-content,
  html body #desc-source,
  html body #content-source {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .page-header-belt {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 0 10mm 0 !important;
    padding: 0 0 6mm 0 !important;
    display: block !important;
    background: #fff !important;
    color: #111 !important;
    border-bottom: 1px solid #d7dce0 !important;
  }

  .page-header-content,
  .page-header-main-row,
  .inner-page,
  .inner-container,
  .news-detail-container,
  .news-detail-grid,
  .detail-main-column,
  .news-main-detail,
  .tender-details,
  .announcement-details {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
  }

  .page-header-title {
    display: block !important;
    color: #111 !important;
    font-size: 22pt !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-meta-row {
    display: flex !important;
    color: #555 !important;
    font-size: 9pt !important;
    line-height: 1.3 !important;
    margin-top: 5pt !important;
    gap: 8pt !important;
  }

  .header-meta-row svg {
    display: none !important;
  }

  #description-render,
  #main-content-render,
  .description,
  .rich-text-body,
  .news-subtitle,
  .content-parser {
    color: #111 !important;
    background: #fff !important;
    border: 0 !important;
    margin: 0 0 10pt 0 !important;
    padding: 0 !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
  }

  .content-parser *,
  .description *,
  .rich-text-body *,
  .tender-details * {
    color: #111 !important;
    background: transparent !important;
  }

  .content-parser h1,
  .content-parser h2,
  .content-parser h3,
  .content-parser h4,
  .content-parser h5,
  .content-parser h6,
  .go-logo-table-title,
  .section-sub-title {
    color: #111 !important;
    page-break-after: avoid;
    break-after: avoid;
    margin: 12pt 0 6pt !important;
    line-height: 1.25 !important;
  }

  .content-parser h1 { font-size: 18pt !important; }
  .content-parser h2,
  .go-logo-table-title,
  .section-sub-title { font-size: 15pt !important; }
  .content-parser h3 { font-size: 13pt !important; }
  .content-parser h4,
  .content-parser h5,
  .content-parser h6 { font-size: 11pt !important; }

  .content-parser p,
  .content-parser li,
  .description,
  .rich-text-body {
    font-size: 11pt !important;
    line-height: 1.5 !important;
    margin: 0 0 7pt !important;
  }

  .content-parser a {
    color: #111 !important;
    text-decoration: underline !important;
  }

  .table-container,
  .go-logo-table-container {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    border: 0 !important;
    background: #fff !important;
  }

  .content-parser table,
  .tender-table,
  .go-logo-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 9.5pt !important;
    page-break-inside: auto;
  }

  .content-parser th,
  .content-parser td,
  .tender-table th,
  .tender-table td,
  .go-logo-table th,
  .go-logo-table td {
    border: 1px solid #cfd5da !important;
    padding: 5pt 6pt !important;
    vertical-align: top !important;
  }

  .content-parser tr,
  .tender-table tr,
  .go-logo-table tr {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .detail-featured-image,
  .image-frame-v2 {
    overflow: visible !important;
    margin: 0 0 10pt !important;
    border: 0 !important;
    background: #fff !important;
  }

  .dyno-accordion-container,
  .dyno-accordion-wrapper {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 0 !important;
    background: #fff !important;
    margin: 0 0 12pt !important;
  }

  .dyno-acc-panel {
    display: block !important;
    grid-template-rows: 1fr !important;
    background: #fff !important;
  }

  .dyno-acc-panel-inner {
    overflow: visible !important;
  }

  .dyno-acc-control {
    display: block !important;
    cursor: default !important;
    color: #111 !important;
    background: #fff !important;
    padding: 8pt 0 4pt !important;
    border: 0 !important;
    page-break-after: avoid;
    break-after: avoid;
  }

  .dyno-acc-icon-wrapper,
  .dyno-icon-plus,
  .dyno-icon-minus,
  .dyno-acc-checkbox {
    display: none !important;
  }

  .dyno-acc-label {
    display: block !important;
    color: #111 !important;
    font-size: 13pt !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  .dyno-acc-content,
  .dyno-acc-extra-content {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    color: #111 !important;
  }

  .person-grid,
  .links-grid,
  .go-media-grid {
    display: block !important;
  }

  .person-card-node,
  .link-card,
  .go-media-card {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #d7dce0 !important;
    margin: 0 0 8pt !important;
  }
}

/* ==========================================
   INNER PAGES  (from NewsList, NewsDetails, ContentParser)
   ========================================== */

/* Inner page shared layout */
.inner-page {
  padding-top: 0;
  min-height: 60vh;
  background: var(--white);
}

.inner-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 15px 1.25rem 40px 1.25rem;
  /* Reduced top padding */
}

@media (max-width: 992px) {
  .inner-container {
    padding: 25px 20px;
    /* Consistent mobile padding */
  }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--gray-6);
}

.breadcrumb a {
  color: var(--bg-turquoise);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb-sep {
  color: var(--gray-5);
}

/* ==========================================
   NEWS DETAIL (from NewsDetails.module.css)
   ========================================== */
.news-detail {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.news-main-content {
  flex: 2;
  padding-right: 5rem;
}

.other-news-section {
  flex: 1;
}

.news-detail-header img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 25rem;
  object-fit: cover;
  object-position: top;
  display: block;
  margin-bottom: 1.25rem;
}

.image-frame-container {
  position: relative;
}

.image-frame-top {
  width: 100%;
  height: 1.25rem;
  background-color: var(--bg-turquoise);
}

.date-and-count {
  color: var(--gray-6);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.news-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-9);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-subtitle {
  font-size: 1.1rem;
  color: var(--text-dimmed);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-style: normal;
}

/* Content Parser (Professional & Clean Style) */
.content-parser {
  width: 100%;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: visible;
  font-size: 1.05rem;
  color: #444;
}

.content-parser pre,
.content-parser code {
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.content-parser img {
  height: auto;
  max-width: 100%;
  border-radius: 6px;
}

/* Image Wrapper System */
.cms-image-wrapper {
  width: 100% !important;
  margin: 1.5rem 0;
  display: block !important;
  clear: both;
}

/* Internal alignment of the image within the full-width row */
.cms-image-wrapper.align-center {
  text-align: center;
}

.cms-image-wrapper.align-left {
  text-align: left;
}

.cms-image-wrapper.align-right {
  text-align: right;
}

.cms-image-wrapper img {
  display: inline-block !important;
  /* Keep its own width */
  margin: 0 !important;
  max-width: 100%;
  height: auto;
}

/* Special case: If an image is explicitly centered but at the root, it's already handled by .content-parser center */

/* Clearfix */
.content-parser::after {
  content: "";
  display: table;
  clear: both;
}

.content-parser a {
  color: var(--bg-turquoise);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.content-parser a:hover {
  opacity: 0.8;
}

/* Rich-text links that leave the current site */
.content-parser a.content-external-link::after {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-inline-start: 0.32em;
  vertical-align: 0.04em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.78;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.content-parser a.content-external-link:hover::after,
.content-parser a.content-external-link:focus-visible::after {
  opacity: 1;
  transform: translate(1px, -1px);
}

@media print {
  .content-parser a.content-external-link::after {
    display: none;
  }
}

.content-parser ul,
.content-parser ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
  width: 100%;
}

.content-parser ul {
  list-style-type: none;
  padding-left: 0.5rem;
}

.content-parser ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.content-parser ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--bg-turquoise);
  border-radius: 50%;
}

.content-parser ol {
  list-style-type: decimal;
}

.content-parser ol li {
  margin-bottom: 0.6rem;
  padding-left: 0.5rem;
}

.content-parser table {
  width: 100% !important;
  margin: 1.5rem 0;
  border-collapse: collapse;
  border: 1px solid #f1f3f4;
  background-color: #fff;
  table-layout: auto;
  display: table;
}

/* Ensure parent container can handle table overflow on mobile */
.content-parser {
  overflow-x: visible;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.content-parser table td,
.content-parser table th {
  border: 1px solid #f1f3f4;
  padding: 12px 20px;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
}

.content-parser table th {
  background-color: #fcfcfc;
  color: #ad0009;
  font-weight: 700;
  text-align: left;
}

.content-parser table .table-label {
  background-color: #fcfcfc;
  font-weight: 700;
  color: #ad0009;
  width: 220px;
}

.content-parser table tbody tr:nth-child(even) td {
  background-color: #fafafa;
}

.content-parser table tr:hover td {
  background-color: #f8f9fa;
}

.content-parser h1,
.content-parser h2,
.content-parser h3,
.content-parser h4,
.content-parser h5,
.content-parser h6 {
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #111;
  line-height: 1.3;
}

.content-parser h1 {
  font-size: 2.2rem;
}

.content-parser h2 {
  font-size: 1.8rem;
}

.content-parser h3 {
  font-size: 1.5rem;
}

.content-parser h4 {
  font-size: 1.25rem;
}

.content-parser p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  display: block;
  width: 100%;
  /* Inherit from container by default, allowing inline styles to override */
  text-align: inherit;
}

/* 1. Attribute & Inline Style Support (Flexible Matching) */
.content-parser [style*="left" i],
.content-parser [align="left" i] {
  text-align: left !important;
}

.content-parser [style*="center" i],
.content-parser [align="center" i] {
  text-align: center !important;
}

.content-parser [style*="right" i],
.content-parser [align="right" i] {
  text-align: right !important;
}

.content-parser [style*="justify" i],
.content-parser [align="justify" i] {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}

/* 2. CMS Specific Class Support */
.content-parser .text-left,
.content-parser .ql-align-left {
  text-align: left !important;
}

.content-parser .text-center,
.content-parser .ql-align-center {
  text-align: center !important;
}

.content-parser .text-right,
.content-parser .ql-align-right {
  text-align: right !important;
}

.content-parser .text-justify,
.content-parser .ql-align-justify {
  text-align: justify !important;
  text-justify: inter-word;
}


/* Content Tags */
.content-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-2);
}

.tags-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.tag-item {
  padding: 0.375rem 0.75rem;
  background: var(--gray-0);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--gray-7);
  transition: all 0.2s;
}

.tag-item:hover {
  background: var(--bg-turquoise);
  color: var(--white);
}

/* Content Navigation */
.content-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--gray-0);
  margin-top: 0.875rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  color: var(--gray-5);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link p {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

.nav-link:hover {
  color: var(--gray-9);
}

/* Other News Sidebar (from OtherNewsList.module.css) */
.other-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.625rem;
  color: var(--gray-6);
}

.other-news-header h5 {
  color: var(--gray-7);
  font-size: 1rem;
  font-weight: 600;
}

.other-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card-link {
  text-decoration: none;
  color: inherit;
}

.other-news-card {
  display: flex;
  gap: 1.25rem;
  border-bottom: 2px solid var(--gray-2);
  padding-block: 1.25rem;
}

.other-news-card img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.2s ease-out;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-2);
}

.news-card-link:hover .other-news-card img {
  filter: grayscale(0%);
}

.other-news-title {
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.2s;
  margin-bottom: 0.5rem;
  line-height: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link:hover .other-news-title {
  color: var(--bg-turquoise);
}

.other-news-snippet {
  font-size: 0.875rem;
  line-height: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-dimmed);
}

/* ==========================================
   NEWS LIST / ARCHIVE (from NewsList.module.css)
   ========================================== */
.news-list {
  margin-block: 3.125rem;
  width: 100%;
  padding-bottom: 2rem;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e7792;
  margin-bottom: 1.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid #e6e6e6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.news-card {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  padding: 0;
  position: relative;
  overflow: hidden;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.news-card::before {
  width: 100px;
  height: 4px;
  background: var(--bg-turquoise);
  position: absolute;
  left: 160px;
  bottom: 0;
  content: "";
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.news-card:hover::before {
  width: 100%;
}

.news-card-image-wrapper {
  flex: 0 0 auto;
  width: 8.75rem;
  height: 6.875rem;
  overflow: hidden;
}

.news-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.news-card:hover .news-card-image-wrapper img {
  filter: brightness(1.1);
}

.news-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.news-card:hover .news-card-title {
  color: var(--bg-turquoise);
}

.news-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-dimmed);
  margin-bottom: 0.3125rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-date {
  font-size: 0.8125rem;
  color: #555;
  /* Increased contrast from #888 */
  margin-top: auto;
}

.no-data-message {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-dimmed);
  font-size: 1.25rem;
}

/* ==========================================
   SEARCH PAGE
   ========================================== */
.search-page {
  padding: 2rem 0 4rem;
}

.search-form {
  margin-bottom: 2rem;
}

.search-input-large {
  display: flex;
  align-items: center;
  background: var(--gray-0);
  border: 2px solid var(--gray-2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  transition: border-color 0.2s;
}

.search-input-large:focus-within {
  border-color: var(--bg-turquoise);
}

.search-input-large svg {
  color: var(--gray-5);
  flex-shrink: 0;
}

.search-input-large input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

.search-input-large input::placeholder {
  color: var(--gray-5);
}

.search-input-large button {
  background: var(--bg-turquoise);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-input-large button:hover {
  background: var(--primary-dark);
}

.search-results {
  margin-top: 1rem;
}

.search-hint {
  text-align: center;
  color: var(--gray-5);
  font-style: italic;
  padding: 2rem;
}

/* ==========================================
   404 ERROR PAGE
   ========================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  padding-top: calc(var(--navbar-height) + 40px);
}

.error-code {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.error-code .digit {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gray-5);
  opacity: 0.3;
}

.error-code .digit.zero {
  color: var(--bg-turquoise);
  opacity: 1;
  animation: pulse404 2s ease-in-out infinite;
}

@keyframes pulse404 {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.error-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--gray-9);
  margin: 0 0 1rem;
}

.error-description {
  font-size: 1.125rem;
  color: var(--text-dimmed);
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 600px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--bg-turquoise);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gray-0);
  color: var(--gray-9);
}

.btn-secondary:hover {
  background: var(--gray-2);
}

/* Inner pages responsive */
@media (max-width: 992px) {
  .news-detail {
    flex-direction: column;
    padding-inline: 1.25rem;
  }

  .news-main-content {
    padding-right: 0;
  }

  .other-news-section {
    margin-top: 2rem;
  }

  .news-list {
    padding-inline: 1rem;
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .inner-page {
    padding-top: calc(var(--navbar-height) + 10px);
  }
}

@media (max-width: 576px) {
  .news-card {
    flex-direction: column;
  }

  .news-card::before {
    left: 0;
  }

  .news-card-image-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 0.625rem;
  }

  .other-news-card {
    flex-direction: column;
  }

  .other-news-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* --- NEWS DETAIL REDESIGN (REF: BAKKA.GOV.TR) --- */
.news-detail-container {
  display: flex;
  gap: 40px;
  margin-top: 0;
  align-items: flex-start;
}

.bakka-menu-sidebar,
.blankmenu-sidebar,
.detail-sidebar-column {
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px;
  min-width: 280px;
}

.news-main-detail {
  flex: 1;
  min-width: 0;
}

.news-sidebar-content {
  flex: 1;
  min-width: 320px;
  position: sticky;
  top: 100px;
}

.image-frame-v2 {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.image-frame-v2 img {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  display: block;
  border-left: 20px solid rgba(4, 175, 193, 0.05);
  border-right: 20px solid rgba(4, 175, 193, 0.05);
}

.date-info-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 25px;
  padding: 10px 15px;
  background: #f8fcfd;
  border-left: 4px solid var(--bg-turquoise);
}

.read-count-badge {
  background: rgba(4, 175, 193, 0.1);
  color: var(--bg-turquoise);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* Sidebar Specifics */
.sidebar-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-turquoise);
}

.sidebar-section-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
}

.sidebar-all-link {
  font-size: 0.8rem;
  color: var(--bg-turquoise);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

.sidebar-news-card {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.2s;
}

.sidebar-news-card:last-child {
  border-bottom: none;
}

.sidebar-card-img {
  width: 110px;
  height: 85px;
  flex-shrink: 0;
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.sidebar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-link:hover .sidebar-card-img img {
  filter: grayscale(0%);
}

.sidebar-card-icon-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-turquoise);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.news-card-link:hover .sidebar-card-icon-placeholder {
  background: var(--bg-turquoise);
  color: var(--white);
}

.sidebar-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.news-card-link:hover .sidebar-card-title {
  color: var(--bg-turquoise);
}

/* Grids */
.news-attachments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.news-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.news-grid-img-item {
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.news-grid-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-grid-img-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 1066px) {
  .news-detail-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 20px;
  }

  .news-sidebar-content {
    min-width: 100%;
    margin-top: 20px;
    position: static;
  }
}

@media (max-width: 768px) {
  .inner-page .inner-container,
  .inner-page .news-detail-container,
  .inner-page .news-main-detail {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .inner-page .news-detail-container > .bakka-menu-sidebar,
  .inner-page .news-detail-container > .news-main-detail {
    align-self: stretch;
  }

  .inner-page .organization-structure,
  .inner-page .person-grid,
  .inner-page .person-card-link-wrapper,
  .inner-page .person-card-node {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .inner-page .person-grid {
    justify-items: stretch;
  }
}




/* --- BLUE HEADER BELT (REF: BAKKA.GOV.TR) --- */
.page-header-belt {
  width: 100vw;
  min-height: 120px;
  /* Reduced from 140px */
  background: linear-gradient(180deg, #026a9c 0%, #0a435f 100%) !important;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 10;
  padding: 20px 0;
  /* Reduced from 30px */
  box-sizing: border-box;
  margin-bottom: 30px;
  /* Reduced from 40px */
}

.page-header-content {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-header-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.page-header-title {
  color: #fff !important;
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  flex: 1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.breadcrumb-mini {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-mini a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-mini a:hover {
  color: #fff;
}

.header-action-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.header-round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: bold;
  color: var(--primary-dark, #026a9c);
}

.header-round-btn:hover {
  background: var(--primary-dark, #026a9c);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 992px) {
  .page-header-belt {
    padding: 8px 12px 20px 12px;
    /* Tighter top space */
    margin-bottom: 20px;
    min-height: auto;
    background: linear-gradient(180deg, #026a9c 0%, #0a435f 100%) !important;
  }

  .page-header-content {
    gap: 8px;
  }

  .page-header-main-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .page-header-title {
    font-size: 1.5rem !important;
    margin-top: 5px;
    line-height: 1.2;
  }

  .breadcrumb-mini {
    justify-content: center;
    font-size: 0.75rem;
  }

  .header-round-btn {
    width: 38px;
    height: 38px;
  }
}





/* Social Side-Tabs (Dynamic Sidebar) */
.social-side-tabs {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.social-tab-link {
  display: flex;
  align-items: center;
  position: relative;
  width: 180px;
  height: 48px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transform: translateX(142px);
  /* Moved further right */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  overflow: hidden;
}

.social-tab-link:hover {
  background: linear-gradient(180deg, #026a9c 0%, #0a435f 100%);
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 8px 30px rgba(2, 106, 156, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.social-tab-content {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.social-tab-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, #026a9c 0%, #0a435f 100%);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(2, 106, 156, 0.5);
  padding: 6px;
}

.social-tab-icon svg {
  width: 100%;
  height: 100%;
}

.social-tab-text {
  font-size: 13px;
  font-weight: 600;
  color: #026a9c;
  line-height: 1.25;
  transition: all 0.3s ease;
  white-space: normal;
  max-width: 70px;
  opacity: 0;
}

.social-tab-link:hover .social-tab-text {
  color: #fff;
  opacity: 1;
}

.social-tab-link:hover .social-tab-icon {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .social-side-tabs {
    display: none;
  }
}

/* --- Duyurular (Announcements) --- */
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .announcements-grid {
    grid-template-columns: 1fr;
  }
}

.announcement-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.announcement-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 6px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #eef0f2;
  overflow: hidden;
  min-height: 100px;
}

.announcement-card:hover {
  box-shadow: 0 12px 30px rgba(10, 67, 95, 0.12);
  /* Branded shadow */
  border-color: var(--primary-dark);
}

.announcement-date-box {
  flex-shrink: 0;
  width: 115px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  /* Corporate Blue */
  color: #fff;
  padding: 12px;
  font-weight: 500;
  border-right: 4px solid var(--bg-turquoise);
  /* Brand accent */
}

/* Corporate Multi-color logic - if needed, but primary dark is more "kurumsal" */
.announcement-card-link:nth-of-type(2n) .announcement-date-box {
  background: #0d4e6d;
  /* Slightly lighter shade for variety */
}

.date-year {
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.85;
  font-weight: 600;
}

.date-day {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 4px 0;
}

.date-month {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.announcement-card-right {
  flex: 1;
  padding: 15px 24px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.announcement-card-right::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: #fcfdfe;
  transition: all 0.3s ease;
}

.announcement-card:hover .announcement-card-right::before {
  height: 100%;
  background: #fafbfc;
}

.announcement-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-9);
  /* Dark Charcoal for a more corporate look */
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.announcement-card:hover .announcement-title {
  color: var(--primary-dark);
}

/* Custom Pagination - Circle Style (Corporate Polish) */
.custom-pagination-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 50px 0;
  position: relative;
  z-index: 1;
}

.custom-pagination-group::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 44px;
  background-color: #f1f4f6;
  border-radius: 40px;
}

.pagination-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-dark);
}

.pagination-btn-circle:hover:not([data-disabled]) {
  background: var(--primary-dark);
  color: #fff;
}

.pagination-btn-circle[data-disabled] {
  cursor: default;
  opacity: 0.5;
  background: #f8f9fa;
}

.pagination-centered-display {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(10, 67, 95, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gray-6);
  position: relative;
  overflow: hidden;
  border: 2px solid #f1f4f6;
}

.pagination-select-hidden {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  border: none;
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  outline: none;
  cursor: pointer;
  color: var(--primary-dark);
  -webkit-appearance: none;
  appearance: none;
}

#pageDisplay {
  margin-top: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 13px;
}

/* Announcement Detail Enhancements */
.announcement-detail .detail-header {
  border-bottom: 2px solid var(--gray-2);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.announcement-detail .detail-subtitle {
  font-size: 1.25rem;
  color: var(--gray-7);
  font-weight: 600;
}

.detail-files-section {
  margin-top: 50px;
  padding: 35px;
  background: #f9fbff;
  border-radius: 12px;
  border: 1px solid #e1e7f0;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.file-download-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #e1e7f0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.file-download-card:hover {
  border-color: var(--bg-turquoise);
  box-shadow: 0 8px 20px rgba(2, 106, 156, 0.1);
  transform: translateX(5px);
}

.file-icon {
  font-size: 28px;
  color: #e74c3c;
  margin-right: 20px;
}

.file-info {
  display: flex;
  flex-direction: column;
}

.file-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-9);
}

.file-download-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--bg-turquoise);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: lightboxZoom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxZoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  display: none;
  /* Controlled by JS */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

@media (max-width: 1100px) {
  .lightbox-content {
    width: 100%;
    height: 100%;
  }

  .lightbox-img {
    max-height: 70vh;
  }

  .lightbox-nav {
    background: rgba(0, 0, 0, 0.4);
    width: 40px;
    height: 40px;
    font-size: 18px;
    border: none;
  }

  .lightbox-prev {
    left: -10px;
  }

  .lightbox-next {
    right: -10px;
  }

  .lightbox-close {
    top: -60px;
    right: 10px;
    font-size: 50px;
  }
}

/* News Detail Simple Grid (2-column Only) */
.news-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.news-info-column,
.news-content-area-wrapper {
  display: contents;
  /* Effectively removes my previous wrapper grouping */
}

.date-info-bar {
  font-size: 0.9rem;
  color: #555;
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 25px;
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 1024px) {
  .news-detail-grid {
    grid-template-columns: 1fr;
    width: 100%;
    box-sizing: border-box;
  }

  .detail-featured-image {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .detail-sidebar-column {
    order: 2;
    padding-left: 0 !important;
    margin-top: 40px;
  }
}

/* Side Navigation Bar Styles (Screenshot 3 Parity) */
.side-nav-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
  padding: 20px 10px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  transition: background 0.2s;
  height: 150px;
}

.side-nav-box:hover {
  background: #eee;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-offices-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-card-row {
  display: flex;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 25px;
  /* Reduced from 40px */
}

.contact-card-row:nth-child(even) {
  background: #fff;
}

.contact-info-column {
  flex: 0.8;
  padding: 20px 30px;
  /* Reduced from 30px 40px */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map-column {
  flex: 1.5;
  /* Widened the map side for more horizontal look */
  min-height: 300px;
  /* Reduced height to make it more horizontal */
}

.contact-office-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #8b6d2d;
  /* Compliant Gold (WCAG AA) */
  margin-bottom: 15px;
  /* Reduced from 25px */
  position: relative;
}

/* Removed underline to match the image */
.contact-office-title::after {
  display: none;
}

.contact-detail-item {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  /* Reduced from 20px */
  align-items: flex-start;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: #8b6d2d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
  border-radius: 0;
}

.contact-text strong {
  display: block;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-text p {
  margin: 0;
  font-size: 1.05rem;
  color: #666;
  /* Gray text for everything including email */
  line-height: 1.6;
}

.contact-text a {
  color: #666;
  /* Links are not gold in the reference */
  font-weight: 400;
  text-decoration: none;
}

/* Contact Page Themes */
.contact-card-row.blueTheme .contact-office-title {
  color: #333;
  /* Other cards are dark */
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: #b58e33;
  /* Muted Gold icon color */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
}

@media (max-width: 992px) {
  .contact-card-row {
    flex-direction: column;
  }

  .contact-map-column {
    width: 100%;
    height: 350px;
    min-height: 350px;
  }

  .contact-info-column {
    padding: 30px;
  }
}



/* ==========================================
   MOBILE MENU OVERLAY
   ========================================== */
body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
  visibility: visible;
}

.burger-menu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f3f4;
  background: #fff;
}

.burger-menu-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.burger-menu-close-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--gray-6);
  cursor: pointer;
  padding: 8px;
}

.burger-menu-close-text {
  font-size: 12px;
  font-weight: 700;
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  border-bottom: 1px solid #f8f9fa;
}

.menu-item-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.menu-item-link {
  text-decoration: none;
  color: var(--gray-9);
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}

.dropdown-arrow-btn {
  background: none;
  border: none;
  color: var(--gray-5);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.submenu-open .dropdown-arrow-btn {
  transform: rotate(180deg);
}

.mobile-submenu-collapse {
  display: none;
  background-color: #f8f9fa;
  padding: 8px 0;
}

.submenu-open .mobile-submenu-collapse {
  display: block;
}

.sub-menu-dropdown {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-menu-link {
  display: block;
  padding: 12px 24px 12px 40px;
  color: var(--gray-7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.mobile-language-switcher {
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #f1f3f4;
}

.mobile-language-option {
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-6);
  text-decoration: none;
  padding: 8px 16px;
}

.mobile-language-option.active {
  color: var(--bg-turquoise);
  background: rgba(2, 106, 156, 0.1);
  border-radius: 4px;
}

.mobile-language-divider {
  width: 1px;
  height: 16px;
  background-color: var(--gray-2);
}

.hamburger-menu-footer {
  padding: 24px;
  background: var(--gray-0);
  display: flex;
  justify-content: center;
}

/* ==========================================
   BLANKMENU SIDEBAR STYLES (Görsel Uyumlu)
   ========================================== */
.blankmenu-sidebar {
  background: transparent;
  padding: 0;
  margin-bottom: 30px;
  position: sticky;
  top: 100px;
}

.blankmenu-sidebar-title {
  padding: 0 0 10px 0;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
  font-size: 1.25rem;
  color: #026a9c;
  /* Kurumsal Mavi */
  display: inline-block;
  width: 100%;
}

.blankmenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blankmenu-item {
  margin-bottom: 12px;
}

.blankmenu-link {
  display: flex;
  align-items: center;
  padding: 8px 0;
  padding-left: 20px;
  /* Space for indicator */
  color: #555;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

/* Vertical indicator (inactive) */
.blankmenu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: #dfe3e6;
  /* Light Gray */
  border-radius: 1px;
  transition: all 0.2s ease;
}

.blankmenu-link:hover {
  color: #026a9c;
}

.blankmenu-link:hover::before {
  background: #026a9c;
  opacity: 0.5;
}

/* Active State */
.blankmenu-link--active {
  color: #026a9c !important;
  font-weight: 600;
}

.blankmenu-link--active::before {
  background: #026a9c !important;
  /* Dark Blue indicator */
  height: 18px;
  width: 4px;
}

.blankmenu-indicator {
  display: none;
}

@media (max-width: 992px) {
  .blankmenu-sidebar {
    position: static;
    margin-bottom: 25px;
    padding: 0;
    border: none;
    background: transparent;
  }

  .blankmenu-sidebar-title {
    display: none;
    /* Hide category title on mobile to save space */
  }

  .blankmenu-list {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 20px;
    /* Added side padding */
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .blankmenu-list::-webkit-scrollbar {
    display: none;
  }

  .blankmenu-item {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .blankmenu-link {
    padding: 8px 4px;
    font-size: 0.9rem;
    color: #64748b;
    border: none;
    position: relative;
    font-weight: 500;
  }

  .blankmenu-link--active {
    color: #026a9c !important;
    font-weight: 700;
  }

  .blankmenu-link--active::after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 0;
    right: 0;
    height: 2px;
    background: #026a9c;
    border-radius: 2px;
  }

  .blankmenu-link::before {
    display: none;
  }
}


.mobile-neu-lang-box {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.mobile-neu-lang-box .language-toggle-simple {
  min-height: 28px;
}

/* Logo Table Premium Styles */
.go-logo-table-wrapper {
  margin-top: 0;
  margin-bottom: 40px;
}

.go-logo-table-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #000;
  /* Black title */
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: none;
  /* Removed divider */
  position: relative;
  letter-spacing: -0.01em;
}

.go-logo-table-title::after {
  display: none;
  /* Removed gold line */
}

.go-logo-table-container {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  margin-bottom: 30px;
}

.go-logo-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 800px;
}

.go-logo-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  padding: 18px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.go-logo-table th:first-child {
  text-align: left;
  padding-left: 24px;
}

.go-logo-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  text-align: center;
  transition: background 0.2s;
}

.go-logo-table tr:last-child td {
  border-bottom: none;
}

.go-logo-table td:first-child {
  background: #fcfdfe;
  font-weight: 700;
  text-align: left;
  padding-left: 24px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
  font-size: 0.8rem;
}

.go-logo-cell {
  position: relative;
  width: 110px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.go-logo-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.go-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  /* Very subtle dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 8px;
}

.go-logo-cell:hover .go-logo-overlay {
  opacity: 1;
}

.go-logo-cell:hover .go-logo-img {
  opacity: 0.7;
  /* Keep logo visible as per screenshot */
}

.go-logo-action-btn {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #575756 !important;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  text-decoration: none !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.go-logo-action-btn:hover {
  background: #fff;
  color: #003366 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.go-logo-action-btn i {
  font-weight: 400;
  /* Use thinner icons if possible */
}

/* Tooltip match */
.go-logo-action-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  font-size: 0.65rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.go-logo-action-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

.go-bg-blue {
  background-color: #0066a1 !important;
}

.go-bg-black {
  background-color: #1a1a1a !important;
}

.go-bg-gray {
  background-color: #e2e8f0 !important;
}

@media (max-width: 1024px) {
  .go-logo-table-title {
    font-size: 1.2rem;
  }

  .go-logo-cell {
    width: 90px;
    height: 60px;
  }
}

@media (max-width: 640px) {
  .go-logo-table-wrapper {
    margin-top: 25px;
  }

  .go-logo-table-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .go-logo-table td:first-child {
    font-size: 0.75rem;
    padding-left: 15px;
  }
}

/* --- MEDIA NEWS CARDS (Basında BAKKA) --- */
.go-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding: 5px 0;
}

.go-media-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #f1f5f9;
  text-decoration: none !important;
  height: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

.go-media-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #0066a1;
}

.go-media-img-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
  font-size: 0;
  background: #f8fafc;
  position: relative;
}

.go-media-img-wrapper img,
.go-media-img-wrapper .cms-image-wrapper,
.go-media-img-wrapper .cms-image-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.go-media-card:hover .go-media-img-wrapper img {
  transform: scale(1.1);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.go-media-source-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #003366;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

.go-media-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.go-media-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.go-media-card:hover .go-media-title {
  color: #0066a1;
}

.go-media-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.go-media-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.go-media-link-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s;
}

.go-media-card:hover .go-media-link-icon {
  background: #0066a1;
  color: #fff;
}

@media (max-width: 640px) {
  .go-media-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==========================================
   ACCESSIBILITY SECTION & VIDEOS
   ========================================== */

.accessibility-section {
  padding: 10px 0 60px 0;
  background-color: #ffffff;
  position: relative;
}

.accessibility-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.accessibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.accessibility-card {
  position: relative;
  height: 240px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accessibility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--bg-turquoise);
}

.accessibility-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border: 2px solid var(--bg-turquoise);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accessibility-card-content {
  width: 100%;
}

.accessibility-card-title {
  color: #333333;
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Accessibility Drawer */
.accessibility-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.accessibility-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.accessibility-drawer-content {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: white;
  z-index: 11000;
  transition: right 0.3s ease-out;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.accessibility-drawer-content.active {
  right: 0;
}

.accessibility-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
}

.accessibility-drawer-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.accessibility-drawer-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  color: #666;
}

.accessibility-drawer-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000;
}

.accessibility-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accessibility-video-card {
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
}

.accessibility-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--bg-turquoise);
}

.accessibility-video-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8rem;
  line-height: 1.4rem;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.accessibility-video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.accessibility-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.accessibility-video-card:hover .accessibility-video-thumb img {
  transform: scale(1.05);
}

.accessibility-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accessibility-video-card:hover .accessibility-video-play-overlay {
  opacity: 1;
}

/* Accessibility Modal */
.accessibility-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.accessibility-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.accessibility-modal-content {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.accessibility-modal-overlay.active .accessibility-modal-content {
  transform: scale(1);
}

.accessibility-modal-header {
  padding: 1rem 1.5rem;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.accessibility-modal-header h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
}

.accessibility-video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.accessibility-video-wrapper video {
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .accessibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .accessibility-grid {
    grid-template-columns: 1fr;
  }

  .accessibility-drawer-content {
    max-width: 100%;
  }
}

/* Final cascade: original BAKKA inner-page measurements. */
.page-header-belt { min-height: 100px; height: 100px; padding: 0; margin-bottom: 28px; overflow: visible; }
.page-header-content { position: relative; height: 100%; justify-content: center; }
.page-header-main-row { height: 100%; }
.page-header-belt--section .header-action-buttons { position: absolute; right: 20px; bottom: -22px; }
.page-header-title { max-width: 930px; font-size: 1.85rem; text-shadow: none; }
.header-action-buttons { gap: 8px; }
.page-header-belt .header-round-btn { width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #e5e7eb; border-radius: 50%; background: #fff; color: #575756; box-shadow: 0 3px 12px rgba(0,0,0,.12); font-size: 13px; }
.page-header-belt .header-round-btn:hover { background: #026a9c !important; border-color: #026a9c; color: #fff !important; }
.header-share-dropdown { position: relative; }
.header-share-menu { display: none; position: absolute; top: calc(100% + 9px); right: 0; z-index: 1000; min-width: 190px; overflow: hidden; border: 1px solid #eee; border-radius: 8px; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.16); }
.header-share-menu.is-open { display: block; }
.header-share-menu button { display: block; width: 100%; padding: 12px 18px; border: 0; border-bottom: 1px solid #f1f3f4; background: #fff; color: #333; text-align: left; cursor: pointer; }
.inner-content-title { margin: 0 0 26px; color: #111; font-size: 24px; font-weight: 700; line-height: 1.25; }
.content-parser, .content-parser p, .content-parser li, .description.content-parser, .news-subtitle { color: #000 !important; font-size: 16px !important; line-height: 1.6 !important; }
.content-parser p { margin-bottom: 1.35rem; }
.editorial-archive { padding-top: 12px; }
.editorial-archive .news-grid, .editorial-archive .announcements-grid { gap: 28px 34px; margin-bottom: 30px; }
.editorial-archive .news-card { min-height: 110px; margin-bottom: 0; padding-bottom: 18px; }
.editorial-archive .news-card-image-wrapper { width: 140px !important; height: 110px !important; }
.editorial-archive .news-card::before { left: 160px !important; height: 3px; }
.editorial-archive .news-card-title { margin: 0 0 12px; font-size: 16px !important; font-weight: 600; line-height: 1.25; }
.editorial-archive .news-card-date { color: #777; font-size: 13px; }
.editorial-archive .announcement-card { min-height: 96px; border: 0; border-radius: 0; box-shadow: none; }
.editorial-archive .announcement-date-box { width: 78px; height: 96px; padding: 8px; border-right: 3px solid var(--bg-turquoise); }
.editorial-archive .date-day { margin: 2px 0; font-size: 31px; }
.editorial-archive .announcement-card-right { padding: 14px 18px; }
.editorial-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 36px 0 24px; }
.editorial-pagination button, .editorial-pagination select { min-width: 36px; height: 36px; border: 1px solid #dce2e6; border-radius: 3px; background: #fff; color: #575756; font-size: 14px; cursor: pointer; }
.editorial-pagination select { min-width: 62px; padding: 0 8px; }
.editorial-pagination button:disabled { cursor: default; opacity: .35; }
.news-detail-grid { display: grid; grid-template-columns: minmax(0,660px) 330px; justify-content: space-between; gap: 55px; margin: 28px 0 50px; }
.detail-featured-image { margin-bottom: 14px; overflow: hidden; box-shadow: none; }
.editorial-detail-meta { display: flex; align-items: center; gap: 10px; margin: 12px 0 27px; color: #777; font-size: 13px; }
.editorial-meta-divider { color: #c7c7c7; }
.news-detail-page .description, .announcement-detail-page .description, .tender-detail-page .description { margin-bottom: 32px; color: #000; font-size: 16px; line-height: 1.6; }
.news-sidebar-content { min-width: 0; padding: 0; }
.news-sidebar-content .sidebar-section-header { margin-bottom: 6px; border-bottom: 1px solid #d9d9d9; padding-bottom: 10px; }
.news-sidebar-content .sidebar-section-header h2 { margin: 0; color: #333; font-size: 18px; font-weight: 700; }
.news-sidebar-content .sidebar-all-link { color: #026a9c; font-size: 12px; font-weight: 600; text-decoration: none; text-transform: none; }
.news-sidebar-content .sidebar-news-card { gap: 12px; padding: 12px 0; }
.news-sidebar-content .sidebar-card-img { width: 100px; height: 78px; border: 0; box-shadow: none; }
.news-sidebar-content .sidebar-card-img img { filter: none; }
.news-sidebar-content .sidebar-card-title { margin: 0; color: #333; font-size: 13px; font-weight: 600; line-height: 1.35; }
.support-period-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.support-period-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3e5e7; background: #fff; color: #333; text-decoration: none; transition: box-shadow .2s ease,transform .2s ease; }
.support-period-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.support-period-card img { width: 100%; aspect-ratio: 1.21; object-fit: cover; }
.support-period-card span { padding: 16px; font-size: 16px; font-weight: 600; text-align: center; }
.redirect-landing { min-height: 260px; }
.ministry-logo-box { padding-top: 0; padding-bottom: 0; }

@media (max-width: 992px) {
  .page-header-belt { min-height: 88px; height: 88px; padding: 0; margin-bottom: 30px; }
  .page-header-belt--editorial { height: auto; min-height: 118px; }
  .page-header-belt--editorial .page-header-main-row { flex-direction: column; justify-content: center; gap: 10px; }
  .page-header-belt--section .header-action-buttons { right: 20px; }
  .page-header-title { max-width: 100%; font-size: 1.4rem !important; }
  .news-detail-grid { grid-template-columns: 1fr; gap: 0; }
  .mobile-header-row { min-height: 54px; padding-top: 5px; padding-bottom: 5px; }
}

@media (max-width: 680px) {
  .inner-container { padding: 22px 16px 34px; }
  .inner-content-title { margin-bottom: 20px; font-size: 22px; }
  .editorial-archive .news-grid, .editorial-archive .announcements-grid, .support-period-grid { grid-template-columns: 1fr; }
  .editorial-archive .news-grid { gap: 18px; }
  .editorial-archive .news-card-image-wrapper { width: 118px !important; height: 92px !important; }
  .editorial-archive .news-card::before { left: 138px !important; }
  .contact-offices-wrapper { gap: 20px; }
  .contact-card-row { margin-bottom: 0; }
  .contact-info-column { padding: 16px 18px; }
  .contact-text p, .contact-text a { font-size: 13.6px; line-height: 1.35; }
  .contact-detail-item { margin-bottom: 9px; }
}

/* Final inner-page correction against bakka.gov.tr (24 August 2026). */
.content-parser p {
  margin-bottom: 20px;
}

.content-parser p:last-child {
  margin-bottom: 0;
}

.page-header-content {
  max-width: 1170px;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
  gap: 8px;
}

.page-header-main-row {
  height: auto;
}

.breadcrumb-mini {
  min-height: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 18px;
}

.breadcrumb-mini .breadcrumb-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, .55);
}

.breadcrumb-mini .breadcrumb-current {
  max-width: 540px;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-header-belt--section .header-action-buttons {
  position: static;
}

.page-header-title {
  max-width: 975px;
  font-size: 24px;
  line-height: 32px;
}

.header-action-buttons {
  gap: 10px;
}

.page-header-belt .header-round-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.page-header-belt .header-round-btn:hover {
  border-color: #fff;
  background: #fff !important;
  color: #026a9c !important;
  transform: none;
  box-shadow: none;
}

.page-header-belt .share-btn {
  width: auto;
  padding: 0 15px;
  gap: 8px;
}

.header-share-menu {
  top: calc(100% + 10px);
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}

.header-share-menu .h-share-item {
  padding: 14px 24px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.inner-container {
  max-width: 1170px;
}

@media (min-width: 993px) {
  .page-header-belt--section {
    margin-bottom: -20px;
  }

  .inner-container {
    padding: 0;
  }

  .news-detail-container {
    gap: 21px;
    margin-top: 0;
  }

  .bakka-menu-sidebar,
  .blankmenu-sidebar {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
  }

  .news-detail-container > .news-main-detail {
    box-sizing: border-box;
    padding: 30px 20px 20px;
  }
}

.inner-content-title {
  margin: 0;
  padding: 16px 0;
  font-size: 24px;
  line-height: 36px;
}

.support-period-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.support-period-card {
  display: grid;
  grid-template-columns: 173px minmax(0, 1fr);
  align-items: center;
  height: 185px;
  min-height: 185px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  color: #2c2c2c !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  text-decoration: none !important;
}

.support-period-card:hover {
  transform: none;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
}

.support-period-card img {
  display: block !important;
  width: 120px !important;
  height: 99px !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  align-self: center !important;
  justify-self: center !important;
  object-fit: contain;
}

.ministry-logo-box {
  padding: .3rem .45rem;
}

.support-period-card span {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin: 0 0 20px;
  padding: 0 32px;
  border-left: 1px solid #dee2e6;
  color: #2c2c2c;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  text-align: left;
}

.direct-section-content p:empty {
  display: none;
}

.direct-section-content .cms-image-wrapper {
  margin: 0 !important;
}

.direct-section-content p:has(> img) {
  margin: 0 !important;
}

.direct-section-content img {
  display: block !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
}

.news-detail-page .page-header-belt--editorial {
  margin-bottom: 0;
}

.news-detail-page .inner-container {
  padding-top: 0;
}

.news-detail-page .news-detail-grid {
  grid-template-columns: 793.333333px 356.666667px;
  justify-content: start;
  gap: 20px;
  margin: 55px 0 50px;
}

.news-detail-page .detail-main-column {
  box-sizing: border-box;
  padding-right: 80px;
}

.news-detail-page .detail-sidebar-column,
.news-detail-page .news-sidebar-content {
  width: 356.666667px;
  min-width: 356.666667px;
  max-width: 356.666667px;
}

.detail-featured-image {
  margin-bottom: 0;
}

.news-detail-page .detail-featured-image img {
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.editorial-detail-meta {
  gap: 4px;
  margin: 20px 0 16px;
  color: #868e96;
  font-size: 14px;
  line-height: 21.7px;
}

.news-sidebar-content .sidebar-section-header {
  height: 27px;
  margin-bottom: 7px;
  padding-bottom: 0;
}

.news-sidebar-content .sidebar-section-header h2 {
  font-size: 16px;
  line-height: 24px;
}

.news-sidebar-content .sidebar-all-link {
  font-size: 14px;
  font-weight: 400;
  color: #868e96;
}

.news-sidebar-content .sidebar-news-card {
  gap: 16px;
  height: 162px;
  box-sizing: border-box;
  padding: 20px 0;
}

.news-sidebar-content .sidebar-card-img {
  width: 120px;
  height: 120px;
}

.news-sidebar-content .sidebar-card-img img {
  filter: grayscale(100%);
}

.news-sidebar-content .sidebar-card-title {
  display: -webkit-box !important;
  align-self: center;
  height: auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

@media (max-width: 992px) {
  .page-header-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .page-header-belt--section .header-action-buttons {
    position: static;
  }

  .page-header-belt .header-round-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .page-header-belt .share-btn {
    width: auto;
    padding: 0 12px;
  }

  .news-detail-page .news-detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }

  .news-detail-page .detail-main-column {
    padding-right: 0;
  }

  .news-detail-page .detail-sidebar-column,
  .news-detail-page .news-sidebar-content {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .support-period-card {
    grid-template-columns: 118px minmax(0, 1fr);
    height: 148px;
    min-height: 148px;
  }

  .support-period-card img {
    width: 88px !important;
    height: 73px !important;
  }

  .support-period-card span {
    padding: 0 18px;
    font-size: 15px;
  }
}

/* Breadcrumb and page actions share one vertically centered header row. */
.page-header-content {
  gap: 10px;
}

.page-header-main-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 18px;
  text-align: left;
}

.breadcrumb-mini {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  flex-wrap: nowrap;
  line-height: 18px;
}

.breadcrumb-mini .breadcrumb-home {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 7px rgba(0, 0, 0, .08);
}

.breadcrumb-mini .breadcrumb-home:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .16);
}

.breadcrumb-home svg {
  width: 17px;
  height: 17px;
}

/* Original BAKKA tender detail table: full width and compact 33 px rows. */
.tender-detail-page .tender-job-intro {
  margin: 0 0 8px;
  font-size: 14px !important;
  line-height: 24px !important;
}

.tender-detail-page .tender-table-container {
  width: 100%;
  max-width: none;
  margin: 0 0 28px;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tender-detail-page .tender-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
}

.tender-detail-page .tender-table td,
.tender-detail-page .tender-table th {
  height: 33px;
  box-sizing: border-box;
  padding: 4px 8px !important;
  border: 0 !important;
  font-size: 14px !important;
  line-height: 24px !important;
  vertical-align: top;
  white-space: normal;
}

.tender-detail-page .tender-table .table-label {
  width: 184px;
  background: #f6f6f6 !important;
  color: #111 !important;
  font-weight: 700;
}

.tender-detail-page .tender-table tbody tr:nth-child(even) td:not(.table-label),
.tender-detail-page .tender-table tr:hover td {
  background: #fff;
}

.tender-detail-page .tender-table .tender-result-value {
  padding: 6px 8px !important;
}

.tender-detail-page .tender-result-content,
.tender-detail-page .tender-result-content p {
  font-size: 14px !important;
  line-height: 21px !important;
}

.tender-detail-page .tender-result-content p {
  margin: 0 !important;
}

.breadcrumb-mini .breadcrumb-sep {
  flex: 0 0 1px;
  width: 1px;
  height: 17px;
  margin: 0 13px;
  background: rgba(255, 255, 255, .42);
  transform: rotate(18deg);
}

.breadcrumb-mini .breadcrumb-section {
  flex: 0 0 auto;
  white-space: nowrap;
}

.breadcrumb-mini .breadcrumb-current {
  flex: 0 1 auto;
  min-width: 0;
}

.page-header-title {
  flex: 0 0 auto;
  width: 100%;
}

.page-header-belt--section .header-action-buttons,
.page-header-belt--editorial .header-action-buttons {
  position: static;
  flex: 0 0 auto;
}

@media (max-width: 992px) {
  .page-header-belt--editorial .page-header-main-row,
  .page-header-main-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }

  .breadcrumb-mini {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .breadcrumb-mini .breadcrumb-section,
  .breadcrumb-mini .breadcrumb-sep--section {
    display: none;
  }

  .breadcrumb-mini .breadcrumb-sep {
    margin-right: 9px;
    margin-left: 9px;
  }
}

@media (max-width: 480px) {
  .page-header-main-row {
    gap: 8px;
  }

  .header-action-buttons {
    gap: 6px;
  }

  .page-header-belt .header-round-btn,
  .page-header-belt .share-btn {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .page-header-belt .share-btn span {
    display: none;
  }

  .breadcrumb-mini .breadcrumb-home {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
}

/* Final requested overrides: keep these after legacy theme compatibility rules. */
.breadcrumb-mini .breadcrumb-home {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.breadcrumb-mini .breadcrumb-home:hover {
  border-color: transparent;
  background: transparent;
  color: #fff;
  opacity: .78;
  transform: translateY(-1px);
}

.breadcrumb-home svg,
.breadcrumb-home iconify-icon {
  width: 19px;
  height: 19px;
  font-size: 19px;
}

.inner-page .content-parser p {
  text-align: justify !important;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

/* Editorial archive pagination: restrained, high-contrast institutional control. */
.editorial-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  margin: 38px auto 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-pagination::before {
  content: none;
}

.editorial-pagination .editorial-pagination-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d6e0e5;
  border-radius: 8px;
  background: #fff;
  color: #294754;
  box-shadow: 0 1px 2px rgba(16, 48, 62, .05);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.editorial-pagination .editorial-pagination-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editorial-pagination .editorial-pagination-button:hover:not(:disabled),
.editorial-pagination .editorial-pagination-button:focus-visible {
  border-color: #0a435f;
  background: #f3f8fa;
  color: #0a435f;
  box-shadow: 0 0 0 3px rgba(10, 67, 95, .12);
  outline: 0;
}

.editorial-pagination .editorial-pagination-button:disabled {
  border-color: #e6ecef;
  background: #f7f9fa;
  color: #aebbc1;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.editorial-page-picker {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 94px;
  width: 94px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #0a435f;
  border-radius: 8px;
  background: #0a435f;
  box-shadow: 0 1px 2px rgba(10, 67, 95, .12);
  transition: background-color .15s ease, box-shadow .15s ease;
}

.editorial-page-picker::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-right: 1.5px solid rgba(255, 255, 255, .7);
  border-bottom: 1.5px solid rgba(255, 255, 255, .7);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.editorial-page-picker:hover,
.editorial-page-picker:focus-within {
  background: #075774;
  box-shadow: 0 0 0 3px rgba(10, 67, 95, .14);
}

.editorial-pagination .editorial-page-picker select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  opacity: 0;
  cursor: pointer;
}

.editorial-page-total {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  padding-right: 13px;
  color: #fff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.editorial-page-total strong {
  font-size: 15px;
  font-weight: 700;
}

.editorial-page-separator {
  color: rgba(255, 255, 255, .48);
  font-weight: 400;
}

@media (max-width: 480px) {
  .editorial-pagination {
    gap: 5px;
    width: max-content;
    min-height: 38px;
    padding: 0;
  }

  .editorial-pagination .editorial-pagination-button {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 7px;
  }

  .editorial-page-picker {
    flex-basis: 84px;
    width: 84px;
    height: 38px;
    border-radius: 7px;
  }

  .editorial-page-total {
    gap: 4px;
    padding-right: 12px;
    font-size: 12px;
  }

  .editorial-page-total strong {
    font-size: 14px;
  }
}

/* Editorial page header: size to long titles and center actions against the full copy block. */
.page-header-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 8px;
}

.page-header-copy .breadcrumb-mini {
  flex: 0 0 auto;
  width: 100%;
}

.page-header-belt--editorial {
  height: auto;
  min-height: 100px;
  padding: 20px 0;
}

.page-header-belt--editorial .page-header-content {
  height: auto;
}

.page-header-belt--editorial .page-header-main-row {
  min-height: 60px;
  align-items: center;
}

.page-header-belt--editorial .page-header-title {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-header-belt--editorial .header-action-buttons {
  align-self: center;
}

@media (max-width: 992px) {
  .page-header-belt--editorial {
    height: auto;
    min-height: 118px;
    padding: 18px 0;
  }

  .page-header-belt--editorial .page-header-title {
    margin-top: 0;
    line-height: 1.28;
  }
}

@media (max-width: 480px) {
  .page-header-copy {
    gap: 7px;
  }

  .page-header-belt--editorial {
    min-height: 124px;
    padding: 16px 0;
  }

  .page-header-belt--editorial .page-header-main-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .page-header-belt--editorial .page-header-copy {
    width: 100%;
  }

  .page-header-belt--editorial .page-header-title {
    font-size: 18px !important;
    line-height: 1.32;
  }

  .page-header-belt--editorial .header-action-buttons {
    align-self: flex-start;
  }
}

/* Clear, restrained interaction states for the primary navigation. */
.dynamic-menu-link > .dynamic-menu-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: inherit;
  text-decoration: none;
}

.dynamic-menu-link > .dynamic-menu-anchor::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #026a9c;
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition: opacity .16s ease, transform .16s ease;
}

.dynamic-menu-item:hover > .dynamic-menu-link > .dynamic-menu-anchor::after,
.dynamic-menu-link > .dynamic-menu-anchor:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.dynamic-menu-item:hover > .dynamic-menu-link > .dynamic-menu-anchor .dynamic-menu-text.dark,
.dynamic-menu-link > .dynamic-menu-anchor:focus-visible .dynamic-menu-text.dark,
.dynamic-menu-item:hover > .dynamic-menu-link > .chevron-btn {
  color: #026a9c !important;
}

.dynamic-menu-link > .dynamic-menu-anchor:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(2, 106, 156, .24);
  outline-offset: 3px;
}

/* News sidebar archive link now communicates both mouse and keyboard interaction. */
.news-sidebar-content .sidebar-all-link {
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .15s ease, text-decoration-color .15s ease;
}

.news-sidebar-content .sidebar-all-link:hover {
  color: #026a9c;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.news-sidebar-content .sidebar-all-link:focus-visible {
  border-radius: 2px;
  color: #026a9c;
  outline: 2px solid rgba(2, 106, 156, .24);
  outline-offset: 3px;
  text-decoration: underline;
}

@media (min-width: 993px) {
  .sogreen-page .bakka-menu-sidebar {
    box-sizing: border-box;
    padding-top: 30px !important;
  }
}

/* Keep the fixed header, its spacer and inner-page flow on the same breakpoint system. */
@media (max-width: 1066px) {
  :root {
    --navbar-height: 71px;
  }

  .navbar {
    min-height: 70px;
  }

  .GeneralLayout_navbarSpacer__el_VL {
    height: 71px;
  }

  .inner-page {
    padding-top: 0;
  }
}

/* Preserve real page gutters when the viewport is narrower than the content max-width. */
@media (min-width: 993px) {
  .inner-container {
    width: calc(100% - 40px);
  }
}

/* Wide phones and tablets keep the compact header on one stable row. */
@media (min-width: 561px) and (max-width: 1066px) {
  .page-header-belt,
  .page-header-belt--section {
    height: 100px;
    min-height: 100px;
    margin-bottom: 20px;
    padding: 0;
  }

  .page-header-belt--editorial {
    height: auto;
    min-height: 100px;
    padding: 18px 0;
  }
}

/* Tablet content follows the mobile navbar without falling into a half-desktop state. */
@media (min-width: 769px) and (max-width: 1066px) {
  .inner-container {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1170px;
    padding: 25px 0 40px;
  }

  .news-detail-container,
  .news-main-detail {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .news-detail-container > .news-main-detail {
    padding: 0;
  }
}

/* Mobile page header: keep the breadcrumb readable and actions comfortably tappable. */
@media (max-width: 560px) {
  .page-header-belt,
  .page-header-belt--section,
  .page-header-belt--editorial {
    height: auto;
    min-height: 0;
    margin-bottom: 20px;
    padding: 14px 0;
  }

  .page-header-belt .page-header-content {
    box-sizing: border-box;
    gap: 0;
    padding: 0 16px;
  }

  .page-header-belt .page-header-main-row,
  .page-header-belt--editorial .page-header-main-row {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    text-align: left;
  }

  .page-header-belt .page-header-copy,
  .page-header-belt--editorial .page-header-copy {
    width: 100%;
    min-width: 0;
    gap: 6px;
  }

  .page-header-belt .breadcrumb-mini {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .page-header-belt .breadcrumb-current {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-header-belt .breadcrumb-home {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .page-header-belt .breadcrumb-sep {
    margin-right: 9px;
    margin-left: 9px;
  }

  .page-header-belt .header-action-buttons,
  .page-header-belt--editorial .header-action-buttons {
    box-sizing: border-box;
    width: 100%;
    align-self: stretch;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .page-header-belt .header-round-btn,
  .page-header-belt .share-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
  }

  .page-header-belt .share-btn span {
    display: none;
  }
}

/* Long editorial titles need the full row through landscape-phone widths. */
@media (max-width: 768px) {
  .page-header-belt--editorial {
    height: auto;
    min-height: 0;
    margin-bottom: 20px;
    padding: 14px 0;
  }

  .page-header-belt--editorial .page-header-main-row {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .page-header-belt--editorial .page-header-copy {
    width: 100%;
    min-width: 0;
    gap: 6px;
  }

  .page-header-belt--editorial .breadcrumb-mini {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    overflow: hidden;
  }

  .page-header-belt--editorial .page-header-title {
    width: 100%;
    font-size: 18px !important;
    line-height: 1.32;
  }

  .page-header-belt--editorial .header-action-buttons {
    box-sizing: border-box;
    width: 100%;
    align-self: stretch;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .page-header-belt--editorial .header-round-btn,
  .page-header-belt--editorial .share-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
  }

  .page-header-belt--editorial .share-btn span {
    display: none;
  }
}

/* Align the desktop page header with the same grid used by inner-page content. */
@media (min-width: 1067px) {
  .page-header-content {
    width: calc(100% - 40px);
    padding-right: 0;
    padding-left: 0;
  }

  .news-detail-container > .bakka-menu-sidebar,
  .news-detail-container > .blankmenu-sidebar {
    box-sizing: border-box;
    padding-top: 30px !important;
  }
}

/* Background-free breadcrumb with a quiet, typographic hierarchy. */
.page-header-belt .breadcrumb-mini {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  background: transparent;
  color: rgba(255, 255, 255, .68);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
}

.page-header-belt .breadcrumb-home {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  box-shadow: none;
  opacity: 1;
  transition: color .18s ease, transform .18s ease;
}

.page-header-belt .breadcrumb-home iconify-icon,
.page-header-belt .breadcrumb-home svg {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.page-header-belt .breadcrumb-home:hover,
.page-header-belt .breadcrumb-home:focus-visible {
  border-color: transparent;
  background: transparent;
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}

.page-header-belt .breadcrumb-home:focus-visible,
.page-header-belt .breadcrumb-section:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .36);
  outline-offset: 2px;
}

.page-header-belt .breadcrumb-mini .breadcrumb-sep {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  box-sizing: border-box;
  margin: 0 12px 0 10px;
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, .68);
  border-right: 2px solid rgba(255, 255, 255, .68);
  background: transparent;
  transform: rotate(45deg);
}

.page-header-belt .breadcrumb-section {
  color: rgba(255, 255, 255, .68);
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease;
}

.page-header-belt .breadcrumb-section:hover,
.page-header-belt .breadcrumb-section:focus-visible {
  color: #fff;
}

.page-header-belt .breadcrumb-current {
  color: rgba(255, 255, 255, .96);
  font-weight: 620;
  letter-spacing: 0;
}

/* Borderless page-header toolbar: icon clarity replaces boxes and underlines. */
.page-header-belt .header-action-buttons {
  align-items: center;
  gap: 2px;
}

.page-header-belt .header-round-btn,
.page-header-belt .share-btn {
  position: relative;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: rgba(255, 255, 255, .7);
  box-shadow: none;
  filter: none;
  transform: translateY(0);
  transition: color .18s ease, filter .18s ease, opacity .18s ease, transform .18s ease;
}

.page-header-belt .header-round-btn::after {
  content: none;
}

.page-header-belt .header-round-btn:hover,
.page-header-belt .header-round-btn:focus-visible {
  border-color: transparent;
  background: transparent !important;
  color: #fff !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .24));
  transform: translateY(-1px);
}

.page-header-belt .header-share-dropdown:has(.header-share-menu.is-open) .share-btn {
  color: #fff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .24));
}

.page-header-belt .header-round-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .4);
  outline-offset: 2px;
}

.page-header-belt .header-font-btn {
  font-size: 12.5px;
  font-weight: 720;
  letter-spacing: -.035em;
}

.page-header-belt .header-action-buttons > .header-round-btn:nth-of-type(3) {
  margin-left: 13px;
}

.page-header-belt .header-action-buttons > .header-round-btn:nth-of-type(3)::before,
.page-header-belt .header-share-dropdown::before {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .2);
  content: "";
  transform: translateY(-50%);
}

.page-header-belt .header-action-buttons > .header-round-btn:nth-of-type(3)::before {
  left: -8px;
}

.page-header-belt .header-share-dropdown {
  margin-left: 11px;
}

.page-header-belt .header-share-dropdown::before {
  left: -6px;
}

.page-header-belt .share-btn {
  width: auto;
  min-width: 80px;
  padding: 0 8px;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .01em;
}

@media (max-width: 768px) {
  .page-header-belt .header-action-buttons,
  .page-header-belt--editorial .header-action-buttons {
    gap: 2px;
    padding-top: 5px;
    border-top: 0;
  }

  .page-header-belt .header-round-btn,
  .page-header-belt .share-btn,
  .page-header-belt--editorial .header-round-btn,
  .page-header-belt--editorial .share-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
    flex-basis: 36px;
    padding: 0;
  }

  .page-header-belt .header-action-buttons > .header-round-btn:nth-of-type(3) {
    margin-left: 10px;
  }

  .page-header-belt .header-action-buttons > .header-round-btn:nth-of-type(3)::before {
    left: -6px;
  }

  .page-header-belt .header-share-dropdown {
    margin-left: 8px;
  }

  .page-header-belt .header-share-dropdown::before {
    left: -4px;
  }

  .page-header-belt .breadcrumb-mini .breadcrumb-sep {
    margin-right: 9px;
    margin-left: 8px;
  }
}
