/* ============================================================
   Türkiye Çevre Platformu — Marka Stilleri
   ============================================================ */

:root {
  --color-primary: #1E5631;
  --color-primary-dark: #164024;
  --color-primary-light: rgba(30, 86, 49, 0.08);
  --color-secondary: #4CAF7D;
  --color-secondary-light: rgba(76, 175, 125, 0.14);
  --color-earth: #6D4C41;
  --color-cta: #F4A300;
  --color-cta-hover: #e09200;
  --color-cta-light: rgba(244, 163, 0, 0.12);
  --color-bg: #F5F7F5;
  --color-surface: #FFFFFF;
  --color-text: #1C1C1C;
  --color-text-muted: #5a5a5a;
  --color-white: #FFFFFF;
  --color-border: #e8ece8;
  --color-header-bg: rgba(255, 255, 255, 0.88);
  --color-header-bg-scrolled: rgba(255, 255, 255, 0.96);
  --color-header-border: rgba(30, 86, 49, 0.06);
  --color-nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 32px rgba(30, 86, 49, 0.14);
  --transition: 0.3s ease-in-out;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-blur: blur(14px);
}

[data-theme="dark"] {
  --color-primary-light: rgba(76, 175, 125, 0.14);
  --color-secondary-light: rgba(76, 175, 125, 0.12);
  --color-bg: #1a2420;
  --color-surface: #121916;
  --color-text: #e8ece8;
  --color-text-muted: #a8b0a8;
  --color-border: #2d3832;
  --color-header-bg: rgba(18, 25, 22, 0.92);
  --color-header-bg-scrolled: rgba(18, 25, 22, 0.98);
  --color-header-border: rgba(76, 175, 125, 0.12);
  --color-nav-mobile-bg: rgba(18, 25, 22, 0.98);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .input-group-text {
  background-color: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background-color: var(--color-bg);
  color: var(--color-text);
  border-color: var(--color-secondary);
}

[data-theme="dark"] .text-muted {
  color: var(--color-text-muted) !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-surface);
  line-height: 1.6;
  margin: 0;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(30, 86, 49, 0.12);
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Dokunmatik hedefler — minimum 44px */
.btn-cta,
.btn-primary-brand,
.btn-outline-brand,
.btn-outline-light {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---- Buttons ---- */
.btn-cta {
  background: linear-gradient(135deg, var(--color-cta) 0%, #f5b020 100%);
  color: var(--color-text);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  box-shadow: 0 4px 14px rgba(244, 163, 0, 0.35);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--color-cta-hover) 0%, #e8a010 100%);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 163, 0, 0.4);
}

.btn-primary-brand {
  background: linear-gradient(135deg, var(--color-primary) 0%, #267a42 100%);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  box-shadow: 0 4px 14px rgba(30, 86, 49, 0.25);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary-brand:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline-brand {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-brand:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--color-header-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: var(--color-header-bg-scrolled);
  box-shadow: var(--shadow-sm);
}

.site-header .navbar {
  position: relative;
  padding: 0;
}

.site-header__container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.site-header .navbar > .container,
.site-header .navbar > .site-header__container {
  flex-direction: column;
  align-items: stretch;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 64px;
  padding: 0.5rem 0;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Header duyuru ticker */
.header-ticker {
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0.5rem 0 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.header-ticker--mobile {
  width: 100%;
  margin: 0 0 0.35rem;
  padding: 0.3rem 0.55rem;
}

.header-ticker__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-ticker__badge i {
  font-size: 0.85rem;
}

.header-ticker--mobile .header-ticker__badge-text {
  display: none;
}

.header-ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.header-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  animation: header-ticker-scroll var(--ticker-duration, 38s) linear infinite;
  will-change: transform;
}

.header-ticker:hover .header-ticker__track,
.header-ticker:focus-within .header-ticker__track {
  animation-play-state: paused;
}

.header-ticker__item {
  display: inline-block;
  padding: 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition);
}

.header-ticker__item:hover {
  color: var(--color-primary);
}

.header-ticker__sep {
  color: var(--color-border);
  font-size: 0.75rem;
  user-select: none;
}

.header-ticker__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: transparent;
  transition: color var(--transition), background var(--transition);
}

.header-ticker__all:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

[data-theme="dark"] .header-ticker {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-border);
}

[data-theme="dark"] .header-ticker__item {
  color: rgba(232, 236, 232, 0.78);
}

[data-theme="dark"] .header-ticker__item:hover {
  color: var(--color-secondary);
}

.header-ticker--reduced .header-ticker__track {
  animation: none;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.header-ticker--reduced .header-ticker__track::-webkit-scrollbar {
  display: none;
}

@keyframes header-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  max-width: none;
}

.site-logo__img {
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.site-logo__default,
.brand-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-secondary);
  letter-spacing: 0.4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus {
  background: var(--color-primary-light);
  border-color: rgba(30, 86, 49, 0.15);
}

.theme-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 125, 0.25);
}

.theme-toggle__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.theme-toggle__icon--dark {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--light {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--dark {
  display: block;
}

.site-header__nav {
  width: 100%;
}

.site-header__menu {
  width: 100%;
}

.site-header .nav-link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem !important;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition), background-color var(--transition);
}

.site-header .nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.site-header .nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  font-weight: 600;
}

[data-theme="dark"] .site-header .nav-link {
  color: rgba(232, 236, 232, 0.92);
}

[data-theme="dark"] .site-header .nav-link:hover,
[data-theme="dark"] .site-header .nav-link.active {
  color: #ffffff;
  background-color: rgba(76, 175, 125, 0.22);
}

.nav-backdrop {
  display: none;
}

.header-social {
  gap: 0.35rem;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  background: var(--color-bg);
  transition: all var(--transition);
  font-size: 0.95rem;
  border: 1px solid transparent;
  flex-shrink: 0;
}

.header-social a:hover {
  color: var(--color-white);
  background: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 86, 49, 0.25);
}

.navbar-toggler {
  border: 1px solid var(--color-border);
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 1.25rem;
  transition: background var(--transition), border-color var(--transition);
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background: var(--color-primary-light);
  border-color: rgba(30, 86, 49, 0.15);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(76, 175, 125, 0.25);
}

.navbar-toggler-icon {
  display: none;
}

.navbar-toggler .bi-list,
.navbar-toggler .bi-x-lg {
  line-height: 1;
}

@media (min-width: 992px) {
  .site-header .navbar-brand {
    flex: 0 0 auto;
    max-width: 220px;
  }
}

/* Masaüstü — iki satırlı header */
@media (min-width: 992px) {
  .site-header__nav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--color-header-border);
    padding: 0.35rem 0 0.65rem;
  }

  .site-header__menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.15rem 0.1rem;
    margin: 0 auto;
  }

  .site-header .nav-link {
    font-size: 0.875rem;
    padding: 0.45rem 0.7rem !important;
  }
}

@media (min-width: 1200px) {
  .site-header .nav-link {
    font-size: 0.925rem;
    padding: 0.5rem 0.85rem !important;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .header-social a {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 1400px) {
  .site-header__menu {
    gap: 0.2rem 0.25rem;
  }

  .site-header .nav-link {
    font-size: 0.95rem;
    padding: 0.55rem 0.9rem !important;
  }
}

/* Mobil menü */
@media (max-width: 991.98px) {
  .site-header .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 5.75rem);
  }

  .brand-title,
  .brand-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 20, 0.45);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .navbar-collapse.show,
  .site-header .navbar-collapse.collapsing {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem 1.25rem;
    margin-top: 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-nav-mobile-bg);
    backdrop-filter: var(--header-blur);
    -webkit-backdrop-filter: var(--header-blur);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: calc(100dvh - var(--site-header-height, 64px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
  }

  .site-header__menu {
    gap: 0.1rem;
  }

  .site-header .navbar-collapse .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1rem;
    white-space: normal;
  }
}

.header-social--mobile {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0 0.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.header-social--mobile a {
  width: 44px;
  height: 44px;
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  height: 75vh;
  min-height: 480px;
  max-height: 700px;
  overflow: hidden;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.hero-slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide__bg {
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 86, 49, 0.75) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-slide__content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-slide__text {
  max-width: 640px;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slide.active .hero-slide__text {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.hero-slide__desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.75rem;
  opacity: 0.92;
  line-height: 1.7;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition);
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hero-slider__arrow--prev { left: 1.25rem; }
.hero-slider__arrow--next { right: 1.25rem; }

.hero-slider__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-slider__dot {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-slider__dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  transition: all var(--transition);
}

.hero-slider__dot.active::before,
.hero-slider__dot:hover::before {
  background: var(--color-surface);
  border-color: var(--color-white);
}

/* ---- Announcements (Home) ---- */
.section-announcements {
  background: linear-gradient(180deg, rgba(30, 86, 49, 0.06) 0%, var(--color-surface) 100%);
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
}

.js .section-announcements {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .section-announcements.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.announcements-header {
  margin-bottom: 1.25rem;
}

.announcements-header .section-label {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}

.announcement-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  height: 100%;
}

.announcement-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.announcement-card__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.announcement-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.announcement-card__text {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.announcement-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.announcement-card__link:hover {
  color: var(--color-secondary);
}

/* ---- Sections ---- */
.section {
  padding: 5rem 0;
}

.js .section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-secondary);
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-secondary-light);
}

.section-label--accent {
  color: var(--color-cta);
  background: var(--color-cta-light);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-header .btn {
  flex-shrink: 0;
}

.section-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* ---- Intro ---- */
.section-intro {
  background: var(--color-surface);
}

.intro-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.intro-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30, 86, 49, 0.15) 100%);
  pointer-events: none;
}

.intro-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ---- Stats ---- */
.section-stats {
  background: var(--color-bg);
  padding: 3.5rem 0;
}

.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card__icon {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-card__label {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ---- Article Cards ---- */
.section-articles {
  background: var(--color-surface);
}

.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(76, 175, 125, 0.35);
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.article-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.article-card__avatar--placeholder,
.author-box__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 1.25rem;
  border: 1px solid #e8ece8;
  flex-shrink: 0;
}

.image-url-preview__img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid #e8ece8;
}

.article-card__author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.article-card__date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.article-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.article-card__title a {
  color: var(--color-text);
  transition: color var(--transition);
}

.article-card__title a:hover {
  color: var(--color-primary);
}

.article-card__summary {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  font-size: 0.85rem;
}

.article-card__read-time {
  color: var(--color-text-muted);
}

.article-card__link {
  font-weight: 600;
  color: var(--color-primary);
}

/* ---- Press List ---- */
.section-press {
  background: var(--color-bg);
}

.press-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.press-item {
  display: flex;
  gap: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-cta);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.press-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.press-item__date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(244, 163, 0, 0.12);
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.1;
}

.press-item__day {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-cta);
}

.press-item__month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-earth);
}

.press-item__title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.press-item__title a {
  color: var(--color-text);
}

.press-item__title a:hover {
  color: var(--color-primary);
}

.press-item__summary {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.press-item__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.press-item__thumb-link {
  flex-shrink: 0;
  display: none;
}

.press-item__thumb {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

@media (min-width: 576px) {
  .press-item__thumb-link {
    display: block;
  }

  .press-item:has(.press-item__thumb-link) {
    align-items: flex-start;
  }
}

/* ---- CTA Banner ---- */
.section-cta {
  padding: 4rem 0 5rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a4d2e 50%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 125, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__content,
.cta-banner__actions {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  color: var(--color-white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 560px;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---- Footer ---- */
.site-footer {
  background: #152e1c;
  color: rgba(255, 255, 255, 0.75);
}

.footer-main {
  padding: 4rem 0 3rem;
}

.footer-heading {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-about {
  font-size: 0.92rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-contact li,
.footer-contact a,
.footer-contact span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.footer-contact i {
  color: var(--color-secondary);
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--color-secondary);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.footer-newsletter-text {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-newsletter .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: none;
  font-size: 0.9rem;
}

.footer-newsletter .btn-cta {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  font-size: 0.85rem;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal-link:hover {
  color: var(--color-secondary);
}

/* ---- Inner Pages ---- */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 3.5rem 0;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(76, 175, 125, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(244, 163, 0, 0.18) 0%, transparent 40%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-hero__subtitle {
  opacity: 0.85;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 4rem 0;
}

.coming-soon-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.coming-soon-card__icon {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.coming-soon-card h3 {
  margin-bottom: 0.75rem;
}

.coming-soon-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* ---- Responsive ---- */

/* Tablet ve altı */
@media (max-width: 991.98px) {
  .hero-slider {
    height: 58vh;
    min-height: 380px;
    max-height: 560px;
  }

  .hero-slide__content {
    padding-bottom: 3rem;
  }

  .hero-slide__text {
    padding: 0 0.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slide__text .btn-lg {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slider__arrow {
    width: 44px;
    height: 44px;
  }

  .cta-banner {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
    width: 100%;
  }

  .page-hero {
    padding: 2.75rem 0;
  }

  .page-content {
    padding: 3rem 0;
  }

  .footer-main {
    padding: 3rem 0 2rem;
  }
}

/* Mobil */
@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-stats {
    padding: 2rem 0;
  }

  .section-related {
    padding: 2rem 0 2.5rem;
  }

  .section-cta {
    padding: 2rem 0 2.5rem;
  }

  /* Hero */
  .hero-slider {
    height: 52vh;
    min-height: 320px;
    max-height: 480px;
  }

  .hero-slide__title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    margin-bottom: 0.75rem;
  }

  .hero-slide__desc {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-slider__arrow {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .hero-slider__arrow--prev { left: 0.5rem; }
  .hero-slider__arrow--next { right: 0.5rem; }

  .hero-slider__dots {
    bottom: 0.5rem;
    gap: 0.15rem;
  }

  /* Bölüm başlıkları + butonlar */
  .section-header .btn-outline-brand,
  .announcements-header .btn-outline-brand {
    width: 100%;
  }

  .intro-image {
    height: 220px;
  }

  .section-intro .btn-primary-brand {
    width: 100%;
  }

  /* İstatistik kartları */
  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-card__number {
    font-size: 2rem;
  }

  /* Makale kartları */
  .article-card {
    padding: 1.25rem;
  }

  .article-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .article-card__cover {
    height: 180px;
  }

  /* Basın listesi */
  .press-item {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
  }

  .press-item__date {
    flex-direction: row;
    width: auto;
    height: auto;
    padding: 0.4rem 0.75rem;
    gap: 0.35rem;
    align-self: flex-start;
  }

  /* CTA bandı */
  .cta-banner {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .cta-banner__actions {
    flex-direction: column;
  }

  .cta-banner__actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-newsletter .input-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-newsletter .form-control {
    border-radius: var(--radius-sm);
    min-height: 44px;
  }

  .footer-newsletter .btn-cta {
    border-radius: var(--radius-sm);
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
    padding: 1rem 0;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom span {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* İç sayfalar */
  .page-hero {
    padding: 2.25rem 0;
  }

  .page-hero__subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .page-content {
    padding: 2.5rem 0;
  }

  .coming-soon-card {
    padding: 2rem 1.25rem;
  }

  /* Detay sayfaları */
  .content-detail__header {
    padding: 1.75rem 0 1.25rem;
  }

  .content-detail__cover-img {
    max-height: 260px;
    border-radius: var(--radius-md);
  }

  .content-detail__body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1.25rem;
    margin: 1.5rem 0 2rem;
  }

  .author-box__contact {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .social-share {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .social-share__buttons {
    justify-content: center;
  }

  .social-share__btn {
    width: 44px;
    height: 44px;
  }
}

/* Çok küçük ekranlar (iPhone SE vb.) */
@media (max-width: 374.98px) {
  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .hero-slider {
    min-height: 280px;
  }

  .site-header .navbar-collapse .nav-link {
    padding: 0.85rem 1rem !important;
    font-size: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.1rem;
  }
}

/* Güvenli alan — çentikli telefonlar */
@supports (padding: env(safe-area-inset-top)) {
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
}

/* ---- Cookie Consent ---- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(21, 46, 28, 0.96);
  color: rgba(255,255,255,0.9);
  padding: 1rem 0;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent__text {
  flex: 1;
  min-width: min(100%, 280px);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cookie-consent__link {
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.cookie-consent__link:hover {
  color: #fff;
}

body.cookie-visible {
  padding-bottom: var(--cookie-banner-height, 0px);
}

@media (max-width: 767.98px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }
}

/* ---- Focus styles ---- */
.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ---- Content Detail Pages ---- */
.content-detail__header {
  padding: 2.5rem 0 1.5rem;
  background: var(--color-bg);
}

.content-detail__header--press {
  background: linear-gradient(180deg, rgba(244, 163, 0, 0.08) 0%, var(--color-bg) 100%);
}

.content-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.content-detail__back:hover {
  color: var(--color-primary);
}

.content-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(244, 163, 0, 0.15);
  color: var(--color-earth);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.content-detail__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.content-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.content-detail__meta i {
  margin-right: 0.25rem;
}

.content-detail__cover {
  margin-bottom: 2rem;
}

.content-detail__cover-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.content-detail__body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.content-detail__body p {
  margin-bottom: 1.25rem;
}

.content-detail__attachment {
  margin-bottom: 2rem;
}

/* ---- Author Box ---- */
.author-box {
  display: flex;
  gap: 1.25rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0 3rem;
  border: 1px solid #e8ece8;
}

.author-box__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box__name {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.author-box__location {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.author-box__bio {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.author-box__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.author-box__contact a {
  color: var(--color-primary);
}

/* ---- Social Share ---- */
.social-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid #e8ece8;
  border-bottom: 1px solid #e8ece8;
  margin-bottom: 2rem;
}

.social-share__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.social-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
  text-decoration: none;
}

.social-share__btn:hover {
  transform: translateY(-2px);
  color: var(--color-white);
  opacity: 0.9;
}

.social-share__btn--facebook { background: #1877F2; }
.social-share__btn--twitter { background: #000000; }
.social-share__btn--whatsapp { background: #25D366; }
.social-share__btn--telegram { background: #0088cc; }
.social-share__btn--copy { background: var(--color-text-muted); }
.social-share__btn--copy.copied { background: var(--color-secondary); }

/* ---- Article Card List Variant ---- */
.article-card--list {
  padding: 0;
  overflow: hidden;
}

.article-card__cover-link {
  display: block;
}

.article-card__cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card--list .article-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card__location {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ---- Related Section ---- */
.section-related {
  background: var(--color-bg);
  padding: 3rem 0 4rem;
}

/* ---- Timeline ---- */
.timeline { max-width: 640px; margin: 0 auto; }

.timeline__item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline__year {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.timeline__content {
  background: var(--color-surface);
  border: 1px solid #e8ece8;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
}

/* ---- Contact Page ---- */
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-info-list i {
  color: var(--color-secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.rep-list { display: flex; flex-direction: column; gap: 0.75rem; }

.rep-card {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border-left: 3px solid var(--color-secondary);
}

.rep-card strong { display: block; margin-bottom: 0.25rem; color: var(--color-primary); }

.contact-map iframe { width: 100%; }

/* ---- Article Search & Writer Portal ---- */
.article-toolbar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.article-search-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.article-search-form .form-control,
.article-search-form .form-select {
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.article-search-form .input-group-text {
  background: var(--color-surface);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.article-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e4e0;
}

.article-toolbar__count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.writer-login-card,
.admin-card-public {
  background: var(--color-surface);
  border: 1px solid #e8ece8;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.writer-login-card {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.writer-login-card__icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.writer-login-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.page-hero--compact {
  padding: 2.5rem 0;
}

.page-hero--compact .content-detail__back {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

.page-hero--compact .content-detail__back:hover {
  color: var(--color-white);
}

@media (max-width: 767.98px) {
  .article-toolbar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .article-toolbar__actions .btn-cta {
    width: 100%;
  }

  .article-search-form .col-md-3 .d-flex {
    flex-direction: column;
  }

  .article-search-form .col-md-3 .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .timeline__item { flex-direction: column; align-items: flex-start; }
  .timeline__year { width: 56px; height: 56px; font-size: 0.85rem; }

  .section-announcements {
    padding: 2rem 0 2.5rem;
  }

  .announcements-grid {
    grid-template-columns: 1fr;
  }

  .announcement-card:hover {
    transform: none;
  }

  .press-item:hover {
    transform: none;
  }

  .article-card:hover,
  .stat-card:hover {
    transform: none;
  }

  .article-search-form .form-control,
  .article-search-form .form-select,
  .contact-form .form-control,
  .contact-form .form-select,
  .contact-form textarea {
    font-size: 16px;
  }

  .article-toolbar {
    padding: 1rem;
  }

  .article-search-form .col-md-6,
  .article-search-form .col-md-3 {
    width: 100%;
  }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .section,
  .section-announcements {
    opacity: 1;
    transform: none;
  }

  .hero-slide__bg {
    transform: none !important;
  }
}

/* ---- Eylem ve Etkinlik ---- */
.action-event-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.action-event-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.action-event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.action-event-card__media {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.action-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-event-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.action-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.action-event-card__meta i {
  color: var(--color-secondary);
}

.action-event-card__title {
  font-size: 1.15rem;
  margin: 0;
}

.action-event-card__title a {
  color: var(--color-text);
}

.action-event-card__title a:hover {
  color: var(--color-primary);
}

.action-event-card__summary {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.action-event-card__photos {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.action-event-card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--color-primary);
}

.action-event-card__link:hover {
  color: var(--color-secondary);
}

.action-event-list--compact .action-event-card--compact {
  grid-template-columns: 1fr;
  padding: 1rem 1.15rem;
}

.content-detail__header--action-event .content-detail__badge {
  background: rgba(76, 175, 125, 0.18);
}

.content-detail__lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.action-event-gallery {
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.action-event-gallery__title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.action-event-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0.85rem;
}

.action-event-gallery__item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}

.action-event-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.action-event-gallery__item:hover img {
  transform: scale(1.03);
}

@media (max-width: 767.98px) {
  .action-event-card {
    grid-template-columns: 1fr;
  }

  .action-event-card__media {
    max-height: 220px;
  }
}

