/* ==========================================================================
   ATUDER - Acil Tıp Uzmanları Derneği | Modern Web Platformu
   CSS Framework & Custom Styling
   ========================================================================== */

:root {
  --atuder-red: #c61f26;
  --atuder-red-dark: #9e141a;
  --atuder-red-light: #ff4d56;
  --atuder-red-subtle: #fef2f2;
  --atuder-navy: #0f172a;
  --atuder-navy-light: #1e293b;
  --atuder-blue: #0284c7;
  --atuder-blue-light: #e0f2fe;
  --atuder-gray-50: #f8fafc;
  --atuder-gray-100: #f1f5f9;
  --atuder-gray-200: #e2e8f0;
  --atuder-gray-400: #94a3b8;
  --atuder-gray-600: #475569;
  --atuder-gray-800: #1e293b;
  --atuder-white: #ffffff;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 20px 40px rgba(198, 31, 38, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Typography */
body {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  color: var(--atuder-gray-800);
  background-color: var(--atuder-gray-50);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Site Width Setting: 90% Width Layout */
.container-fluid,
.site-container {
  width: 90% !important;
  max-width: 1720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

@media (max-width: 768px) {
  .container-fluid,
  .site-container {
    width: 94% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  color: var(--atuder-navy);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: var(--transition-fast);
  color: inherit;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--atuder-gray-200);
  padding: 10px 0;
  font-size: 0.88rem;
}

.topbar-badge {
  background: var(--atuder-red-subtle);
  color: var(--atuder-red);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--atuder-red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(198, 31, 38, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.98) 85%, rgba(255, 255, 255, 0) 100%);
  padding: 4px 0 4px 20px;
  border-radius: 8px;
}

.btn-auth-login {
  background: #ffffff;
  color: var(--atuder-navy);
  border: 1.5px solid var(--atuder-gray-300);
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 12;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: var(--transition-fast);
}

.btn-auth-login:hover {
  background: var(--atuder-gray-100);
  border-color: var(--atuder-gray-400);
  color: var(--atuder-navy);
}

.btn-auth-register {
  background: linear-gradient(135deg, var(--atuder-red) 0%, var(--atuder-red-dark) 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  box-shadow: 0 4px 12px rgba(198, 31, 38, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  position: relative;
  z-index: 12;
  transition: var(--transition-fast);
}

.btn-auth-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(198, 31, 38, 0.35);
  color: #ffffff;
}

/* Topbar Utility Icon Buttons (İletişim & Arama) */
.btn-topbar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--atuder-navy);
  border: 1.5px solid var(--atuder-gray-300);
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 12;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: var(--transition-fast);
  padding: 0;
  outline: none;
}

.btn-topbar-icon:hover,
.btn-topbar-icon:focus-visible {
  background: var(--atuder-gray-100);
  border-color: var(--atuder-red);
  color: var(--atuder-red);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 31, 38, 0.2);
}

.btn-topbar-icon:active {
  transform: translateY(0);
}

.quick-search-tag {
  transition: var(--transition-fast);
}

.quick-search-tag:hover {
  background: var(--atuder-red) !important;
  color: #ffffff !important;
  border-color: var(--atuder-red) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(198, 31, 38, 0.25);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid var(--atuder-gray-200);
  padding-left: 12px;
}

.lang-btn {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--atuder-gray-600);
}

.lang-btn.active {
  background: var(--atuder-navy);
  color: #ffffff;
}

/* Brand Header with Medical Grid & Cardiac ECG Pulse Animation */
.main-header {
  background: #ffffff;
  padding: 12px 0 12px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--atuder-gray-200);
}

.header-ecg-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Medical ECG Graph Paper Grid Pattern (Ince Çizgili Belirgin Medikal Arkaplan) */
.header-medical-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(198, 31, 38, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(198, 31, 38, 0.065) 1px, transparent 1px),
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px;
  opacity: 0.92;
}

/* ECG SVG Heartbeat Waveform - Masked so it does NOT pass under logo OR login buttons */
.header-ecg-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 70px;
  transform: translateY(-50%);
  opacity: 0.65;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.4) 33%, #000000 40%, #000000 70%, rgba(0, 0, 0, 0.4) 76%, transparent 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.4) 33%, #000000 40%, #000000 70%, rgba(0, 0, 0, 0.4) 76%, transparent 82%, transparent 100%);
}

.ecg-base-line {
  fill: none;
  stroke: rgba(198, 31, 38, 0.1);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecg-live-pulse {
  fill: none;
  stroke: var(--atuder-red);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 240 1360;
  stroke-dashoffset: 1600;
  animation: ecgPulseSweep 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 4px rgba(198, 31, 38, 0.45));
}

@keyframes ecgPulseSweep {
  0% {
    stroke-dashoffset: 1600;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Pulsing Cardiac Beacon Dot - Soft & Minimal */
.ecg-beacon-dot {
  position: absolute;
  top: 50%;
  right: 45px;
  width: 6px;
  height: 6px;
  background: var(--atuder-red);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(198, 31, 38, 0.5);
  animation: cardiacBeep 2s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes cardiacBeep {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-50%) scale(1.4);
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(198, 31, 38, 0.6);
  }
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 5;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 82%, rgba(255, 255, 255, 0) 100%);
  padding: 0 20px 0 0;
  border-radius: 8px;
}

.brand-logo-img {
  height: 84px;
  max-height: 86px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
  vertical-align: middle;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 991.98px) {
  .brand-logo-img {
    height: 64px;
    max-height: 66px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    height: 48px;
    max-height: 50px;
  }
}

.header-info-cards {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--atuder-gray-50);
}

.header-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  color: var(--atuder-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.header-info-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--atuder-gray-400);
  font-weight: 600;
  text-transform: uppercase;
}

.header-info-text strong {
  font-size: 0.88rem;
  color: var(--atuder-navy);
}

/* ==========================================================================
   ESC Style Floating White Pill Navigation
   ========================================================================== */

/* Navigation Bar Container: Positioned Above Hero Slider */
.platform-nav-esc-wrap {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #ffffff;
  border-bottom: 1px solid var(--atuder-gray-200);
  margin-top: 0;
  margin-bottom: 0;
  pointer-events: auto;
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.platform-nav-esc-wrap > .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  display: flex !important;
  justify-content: center !important;
}

.platform-nav-esc-wrap .navbar-atuder-pill {
  pointer-events: auto;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 !important;
  min-height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.platform-nav-esc-wrap.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

.platform-nav-esc-wrap.is-scrolled .navbar-atuder-pill {
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
  transform: none;
}

/* Nav Pills Items */
.nav-pills-esc {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-atuder-pill .nav-link {
  color: #0f172a !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 8px !important;
  border-radius: 50rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.navbar-atuder-pill .nav-link:hover,
.navbar-atuder-pill .nav-link:focus,
.navbar-atuder-pill .nav-item.show > .nav-link,
.navbar-atuder-pill .nav-item.active > .nav-link {
  background: rgba(198, 31, 38, 0.09) !important;
  color: var(--atuder-red) !important;
}

.navbar-atuder-pill .nav-link-home {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--atuder-red) !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin-right: 5px;
  box-shadow: 0 3px 10px rgba(198, 31, 38, 0.35);
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.navbar-atuder-pill .nav-link-home:hover {
  background: var(--atuder-red-dark) !important;
  transform: scale(1.08);
}

/* Dropdown Caret Icon */
.navbar-atuder-pill .nav-link.dropdown-toggle::after {
  border: none;
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.6rem;
  margin-left: 3px;
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-atuder-pill .nav-item:hover .nav-link.dropdown-toggle::after,
.navbar-atuder-pill .nav-item.show .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--atuder-red);
}

/* Dropdown Menu Cards */
.navbar-atuder-pill .dropdown-menu {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(12, 26, 48, 0.16);
  padding: 10px 8px;
  margin-top: 8px;
  min-width: 270px;
  position: absolute;
}

/* Invisible hover bridge between navbar pill and dropdown */
.navbar-atuder-pill .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}

.navbar-atuder-pill .dropdown-item {
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.navbar-atuder-pill .dropdown-item:hover,
.navbar-atuder-pill .dropdown-submenu:hover > .dropdown-item,
.navbar-atuder-pill .dropdown-submenu.hover-open > .dropdown-item {
  background: rgba(198, 31, 38, 0.08);
  color: var(--atuder-red);
}

/* Submenu Flyout */
.navbar-atuder-pill .dropdown-submenu {
  position: relative;
}

.navbar-atuder-pill .dropdown-submenu > .dropdown-menu {
  top: -6px;
  left: 100%;
  margin-top: 0;
  margin-left: -2px; /* Slight overlap to completely eliminate gap */
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(12, 26, 48, 0.22);
  z-index: 1050;
}

/* Invisible protective hover bridge connecting parent item and submenu */
.navbar-atuder-pill .dropdown-submenu > .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  bottom: -15px;
  left: -25px;
  width: 30px;
  background: transparent;
  pointer-events: auto;
  z-index: 1;
}

/* Submenu Arrow Indicators */
.navbar-atuder-pill .dropdown-submenu > .dropdown-item.dropdown-toggle::after {
  content: "\f054"; /* fa-chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  border: none;
  font-size: 0.65rem;
  margin-left: auto;
  vertical-align: middle;
  color: #94a3b8;
}

/* Right-side navbar items (Medya, Mevzuatlar, Yeterlilik, Dokumanlar):
   Align top dropdown to the right edge and OPEN ALL SUBMENUS TO THE LEFT */
.navbar-atuder-pill .nav-item:last-child > .dropdown-menu,
.navbar-atuder-pill .nav-item:nth-last-child(2) > .dropdown-menu {
  left: auto !important;
  right: 0 !important;
}

.navbar-atuder-pill .nav-item:nth-last-child(-n+4) .dropdown-submenu > .dropdown-menu,
.navbar-atuder-pill .dropdown-submenu > .dropdown-menu.flyout-left,
.navbar-atuder-pill .dropdown-submenu > .dropdown-menu.dropdown-menu-end-flyout {
  left: auto !important;
  right: 100% !important;
  margin-left: 0 !important;
  margin-right: -2px !important;
}

.navbar-atuder-pill .nav-item:nth-last-child(-n+4) .dropdown-submenu > .dropdown-menu::before,
.navbar-atuder-pill .dropdown-submenu > .dropdown-menu.flyout-left::before,
.navbar-atuder-pill .dropdown-submenu > .dropdown-menu.dropdown-menu-end-flyout::before {
  left: auto !important;
  right: -25px !important;
  width: 30px !important;
}

.navbar-atuder-pill .nav-item:nth-last-child(-n+4) .dropdown-submenu > .dropdown-item.dropdown-toggle::after,
.navbar-atuder-pill .dropdown-submenu.flyout-left > .dropdown-item.dropdown-toggle::after {
  content: "\f053" !important; /* fa-chevron-left */
}

/* ==========================================================================
   Çalışma Grupları Submenu Optimization (Compact Spacing & Viewport Fit)
   ========================================================================== */
.navbar-atuder-pill .dropdown-submenu-calisma {
  position: relative;
}

/* Protective hover bridge specifically for Çalışma Grupları */
.navbar-atuder-pill .dropdown-submenu-calisma::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10px;
  width: 16px;
  height: 100%;
  background: transparent;
  pointer-events: auto;
  z-index: 10;
}

.navbar-atuder-pill .dropdown-menu.dropdown-menu-calisma {
  padding: 4px;
  min-width: 290px;
  max-width: 360px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(12, 26, 48, 0.22);
  /* Alt menülerin (Simülasyon vb.) dışa açılabilmesi için overflow visible olmalıdır */
  overflow: visible !important;
}

/* Remove default submenu bridge inside Çalışma Grupları to avoid gap artifacts */
.navbar-atuder-pill .dropdown-submenu-calisma > .dropdown-menu-calisma::before {
  display: none !important;
}

.navbar-atuder-pill .dropdown-menu-calisma .dropdown-item {
  padding: 2.5px 10px;
  font-size: 0.80rem;
  line-height: 1.22;
  font-weight: 500;
  border-radius: 6px;
  gap: 6px;
  margin-bottom: 1px;
  white-space: nowrap;
}

.navbar-atuder-pill .dropdown-menu-calisma .dropdown-item i {
  font-size: 0.58rem;
  opacity: 0.7;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.navbar-atuder-pill .dropdown-menu-calisma .dropdown-item:hover {
  background: rgba(198, 31, 38, 0.08);
  color: var(--atuder-red);
  font-weight: 600;
}

.navbar-atuder-pill .dropdown-menu-calisma .dropdown-item:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* Simülasyon ve diğer iç içe açılan alt menüler */
.navbar-atuder-pill .dropdown-menu-calisma .dropdown-submenu {
  position: relative;
}

.navbar-atuder-pill .dropdown-menu-calisma .dropdown-submenu > .dropdown-menu {
  top: -6px;
  left: 100%;
  margin-top: 0;
  margin-left: -2px;
  min-width: 210px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(12, 26, 48, 0.22);
  z-index: 1060;
}

/* 4. seviye alt menüler (Kurs Videoları 2 vb.) alttan yukarı açılarak ekrandan taşmaz */
.navbar-atuder-pill .dropdown-menu-calisma .dropdown-submenu .dropdown-submenu > .dropdown-menu {
  top: auto;
  bottom: -6px;
}

/* Simülasyon alt menüsü içindeki öğeler için rahat aralıklar */
.navbar-atuder-pill .dropdown-menu-calisma .dropdown-menu .dropdown-item {
  padding: 5px 12px;
  font-size: 0.83rem;
  line-height: 1.35;
  white-space: nowrap;
}

/* Simülasyon vb. alt menüler için geçiş köprüsü */
.navbar-atuder-pill .dropdown-menu-calisma .dropdown-submenu::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 14px;
  height: 100%;
  background: transparent;
  pointer-events: auto;
  z-index: 5;
}

@media (min-width: 992px) {
  .navbar-atuder-pill .dropdown-menu-calisma .dropdown-submenu:hover > .dropdown-menu,
  .navbar-atuder-pill .dropdown-menu-calisma .dropdown-submenu.hover-open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-atuder-pill .dropdown-menu.dropdown-menu-calisma {
    max-height: none;
    overflow-y: visible;
    box-shadow: none;
    border: none;
    padding: 2px 0 2px 14px;
    background: transparent;
  }
  .navbar-atuder-pill .dropdown-menu-calisma .dropdown-item {
    white-space: normal;
    padding: 4px 8px;
  }
}

@media (min-width: 992px) {
  .navbar-atuder-pill .nav-item.dropdown:hover > .dropdown-menu,
  .navbar-atuder-pill .nav-item.dropdown.hover-open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .navbar-atuder-pill .dropdown-submenu:hover > .dropdown-menu,
  .navbar-atuder-pill .dropdown-submenu.hover-open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Intermediate screens (1200px - 1400px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-atuder-pill .nav-link {
    font-size: 0.83rem;
    padding: 7px 8px !important;
  }
  .navbar-atuder-pill .nav-link-home {
    width: 35px;
    height: 35px;
    font-size: 0.88rem;
    margin-right: 4px;
  }
  .platform-nav-esc-wrap {
    margin-bottom: 0;
  }
}

/* Compact desktop (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .platform-nav-esc-wrap .navbar-atuder-pill {
    padding: 0 !important;
    min-height: auto;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .nav-pills-esc {
    gap: 1px;
  }
  .navbar-atuder-pill .nav-link {
    font-size: 0.77rem;
    padding: 6px 6px !important;
    gap: 2px;
  }
  .navbar-atuder-pill .nav-link-home {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
    margin-right: 2px;
  }
  .navbar-atuder-pill .nav-link.dropdown-toggle::after {
    font-size: 0.52rem;
    margin-left: 2px;
  }
  .platform-nav-esc-wrap {
    margin-bottom: 0;
    top: 0;
  }
}

/* Mobile & Tablet Styles (< 992px) */
@media (max-width: 991.98px) {
  .platform-nav-esc-wrap {
    position: static;
    margin-bottom: 0;
    padding: 0 12px 12px;
    background: #ffffff;
    border-bottom: 1px solid var(--atuder-gray-200);
    pointer-events: auto;
  }
  .platform-nav-esc-wrap .navbar-atuder-pill {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .nav-pills-esc {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .navbar-atuder-pill .navbar-collapse {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(12, 26, 48, 0.12);
    border: 1px solid #e2e8f0;
    max-height: 75vh;
    overflow-y: auto;
  }
  .navbar-atuder-pill .nav-link {
    border-radius: 8px;
    padding: 10px 14px !important;
  }
  .navbar-atuder-pill .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 14px;
    margin-top: 0;
    background: #f8fafc;
    border-radius: 10px;
  }
}

/* ==========================================================================
   Full-Width ESCardio Style Hero Slider Section
    Large Typography, High-Impact European Medical Layout
    ========================================================================== */
:root {
  --hero-sidebar-width: 260px;
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
  :root {
    --hero-sidebar-width: 235px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  :root {
    --hero-sidebar-width: 210px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  :root {
    --hero-sidebar-width: 180px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --hero-sidebar-width: 0px;
  }
}

.hero-slider-fullscreen {
  position: relative;
  background: #0c1a30;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.hero-esc-carousel {
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  position: relative;
  width: 100%;
}

.hero-esc-inner {
  border-radius: 0 !important;
  overflow: hidden;
  width: 100%;
}

.hero-card-fullscreen-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 1664 / 705;
  height: clamp(280px, calc((100vw - var(--hero-sidebar-width, 260px)) * 0.42368), 705px);
  min-height: clamp(280px, calc((100vw - var(--hero-sidebar-width, 260px)) * 0.42368), 705px);
  max-height: 705px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Transparent & Vivid Image Overlay with Focused Text Legibility Gradient */
.hero-esc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 26, 48, 0.78) 0%, rgba(12, 26, 48, 0.45) 48%, rgba(12, 26, 48, 0.08) 75%, transparent 100%),
              linear-gradient(0deg, rgba(12, 26, 48, 0.6) 0%, transparent 50%),
              linear-gradient(180deg, rgba(12, 26, 48, 0.35) 0%, transparent 35%);
  z-index: 1;
  pointer-events: none;
}

.hero-esc-content {
  position: relative;
  z-index: 2;
  padding: clamp(25px, 4.5vw, 60px) 0 clamp(20px, 3.2vw, 45px);
  max-width: 980px;
  color: #ffe59a;
}

.hero-esc-title,
h1.hero-esc-title,
.hero-esc-title.text-white {
  font-size: clamp(1.2rem, 2.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.22;
  color: #ffe59a !important;
  margin-bottom: clamp(10px, 1.4vw, 20px);
  letter-spacing: -0.02em;
  font-family: 'Mulish', sans-serif;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-esc-title .text-highlight {
  color: #ffe59a !important;
  background: none !important;
  -webkit-text-fill-color: #ffe59a !important;
}

.hero-esc-lead {
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  color: #ffe59a;
  line-height: 1.55;
  margin-bottom: clamp(12px, 1.8vw, 26px);
  max-width: 800px;
  font-weight: 400;
  font-family: 'Roboto Slab', serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.hero-esc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.2vw, 16px);
  align-items: center;
}

.btn-hero-esc-primary {
  background: var(--atuder-red);
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(0.85rem, 1vw, 1.02rem);
  padding: clamp(8px, 1vw, 14px) clamp(20px, 2vw, 34px);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(198, 31, 38, 0.45);
  border: 2px solid var(--atuder-red);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-esc-primary:hover {
  background: #a8171d;
  border-color: #a8171d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(198, 31, 38, 0.6);
}

.btn-hero-esc-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-esc-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--atuder-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

/* ESCardio Floating Round Nav Buttons */
.hero-esc-nav-btn {
  width: 70px;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.hero-esc-nav-btn:hover {
  opacity: 1;
}

.hero-nav-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.hero-esc-nav-btn:hover .hero-nav-circle {
  background: var(--atuder-red);
  border-color: var(--atuder-red);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(198, 31, 38, 0.5);
}

.hero-esc-nav-btn.prev {
  left: 15px;
}

.hero-esc-nav-btn.next {
  right: 15px;
}

/* ESCardio Pill Indicators */
.hero-esc-indicators {
  margin-bottom: 24px;
  gap: 8px;
}

.hero-esc-indicators [data-bs-target] {
  width: 28px;
  height: 6px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  margin: 0;
  transition: all 0.3s ease;
}

.hero-esc-indicators .active {
  width: 55px;
  background-color: var(--atuder-red);
}

/* Tablet (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-card-fullscreen-bg {
    height: 480px;
    min-height: 440px;
    max-height: 520px;
  }
  .hero-esc-content {
    padding: 35px 0 25px;
    max-width: 100%;
  }
  .hero-esc-title,
  h1.hero-esc-title {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }
  .btn-hero-esc-primary {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* Mobil (< 768px) */
@media (max-width: 767.98px) {
  .hero-card-fullscreen-bg {
    height: 330px;
    min-height: 300px;
    max-height: 360px;
  }
  .hero-esc-content {
    padding: 24px 0 20px;
    max-width: 100%;
  }
  .hero-esc-title,
  h1.hero-esc-title {
    font-size: 1.18rem;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .hero-esc-buttons {
    flex-direction: row;
    gap: 8px;
  }
  .btn-hero-esc-primary {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  .hero-esc-nav-btn {
    display: none;
  }
  .hero-esc-indicators {
    margin-bottom: 10px;
  }
}

/* ==========================================================================
   Section: Hakemli Dergiler (ESC Büyük Kapaklar - Butonsuz & Tıklanabilir)
   ========================================================================== */
.journal-item-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 18px 20px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 16px rgba(12, 26, 48, 0.04);
  position: relative;
}

.journal-item-card:hover {
  transform: translateY(-8px);
  border-color: var(--atuder-red);
  box-shadow: 0 20px 40px rgba(198, 31, 38, 0.12);
}

.journal-cover-display {
  height: 320px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  padding: 8px 0;
}

.journal-cover-img-lg {
  max-height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.journal-item-card:hover .journal-cover-img-lg {
  transform: scale(1.06) rotateY(-4deg);
  box-shadow: -8px 18px 32px rgba(198, 31, 38, 0.25);
}

.journal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--atuder-navy);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.journal-item-card:hover .journal-title {
  color: var(--atuder-red);
}

/* ==========================================================================
   Section: ESC Tarzı Dijital Platformlar & Ekosistem Vitrini
   ========================================================================== */
.section-portals-esc {
  background: #f7e8ea;
  border-top: 1px solid var(--atuder-gray-200);
}

.portals-esc-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(12, 26, 48, 0.05);
}

.portal-esc-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px 18px;
  transition: all .3s ease-in-out;
  box-shadow: 0px 10px 54px 0px rgba(174, 16, 34, .25);
}

.portal-esc-card:hover {
  transform: translateY(-6px);
  border-color: var(--atuder-red);
  box-shadow: 0px 14px 60px 0px rgba(174, 16, 34, .35);
}

.portal-esc-img-wrap {
  height: 95px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid #edf2f7;
  transition: background 0.25s ease;
}

.portal-esc-card:hover .portal-esc-img-wrap {
  background: #fff5f5;
  border-color: rgba(198, 31, 38, 0.2);
}

.portal-esc-img {
  max-height: 68px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.portal-esc-card:hover .portal-esc-img {
  transform: scale(1.08);
}

.portal-esc-tag {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.portal-esc-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--atuder-navy);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.portal-esc-card:hover .portal-esc-title {
  color: var(--atuder-red);
}

.portal-esc-desc {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 14px;
}

.portal-esc-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--atuder-red);
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.portal-esc-card:hover .portal-esc-link {
  transform: translateX(4px);
}

/* ==========================================================================
   Section: 10 Event Covers Strip (Under Journals Bar)
   ========================================================================== */
.section-event-covers-showcase {
  padding: 10px 0 25px;
  position: relative;
  z-index: 15;
}

.event-covers-showcase-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--atuder-gray-200);
  box-shadow: var(--shadow-sm);
  padding: 26px 48px 44px;
  position: relative;
  overflow: visible;
}

.event-covers-strip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 35px 16px 20px;
  margin: 0;
}

.event-covers-strip-track::-webkit-scrollbar {
  display: none;
}

.event-cover-strip-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 295px;
  min-height: 295px;
  max-height: 295px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.2s ease;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform-origin: center center;
  z-index: 1;
}

.event-cover-strip-card:hover {
  transform: scale(1.08);
  border-color: var(--atuder-red);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22), 0 0 0 1.5px var(--atuder-red);
  z-index: 99;
}

.event-cover-strip-img-wrap {
  height: 205px;
  min-height: 205px;
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.event-cover-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.event-cover-strip-content {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90px;
  flex-grow: 1;
  text-align: left;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.event-cover-strip-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 32px;
  transition: color 0.2s ease;
}

.event-cover-strip-card:hover .event-cover-strip-title {
  color: var(--atuder-red);
}

.event-cover-strip-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.71rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  white-space: nowrap;
  border: 1px solid rgba(2, 132, 199, 0.15);
  margin-top: auto;
}

.event-strip-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--atuder-gray-200);
  background: #ffffff;
  color: var(--atuder-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.event-strip-arrow:hover {
  background: var(--atuder-red);
  border-color: var(--atuder-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(198, 31, 38, 0.25);
}

/* ==========================================================================
   Special Projects & Working Groups Section (Under Video Section)
   ========================================================================== */
.section-special-portals {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--atuder-gray-200);
}

.special-portal-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--atuder-gray-200);
  border-radius: var(--radius-xl);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
  text-decoration: none;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.special-portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--atuder-red);
  opacity: 0;
  transition: var(--transition-fast);
}

.special-portal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 31, 38, 0.4);
  box-shadow: 0 12px 30px rgba(198, 31, 38, 0.12);
}

.special-portal-card:hover::before {
  opacity: 1;
}

.special-portal-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.special-portal-logo-wrap {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--atuder-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: var(--transition-smooth);
}

.special-portal-card:hover .special-portal-logo-wrap {
  transform: scale(1.05);
  border-color: var(--atuder-red);
}

.special-portal-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.special-portal-icon-covid {
  font-size: 2.2rem;
  color: var(--atuder-red);
}

.special-portal-info h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--atuder-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.special-portal-card:hover .special-portal-info h4 {
  color: var(--atuder-red);
}

.special-portal-info p {
  font-size: 0.85rem;
  color: var(--atuder-gray-600);
  margin-bottom: 0;
}

.btn-special-portal-action {
  background: var(--atuder-navy);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-fast);
  border: none;
}

.special-portal-card:hover .btn-special-portal-action {
  background: var(--atuder-red);
  box-shadow: 0 6px 18px rgba(198, 31, 38, 0.35);
  transform: translateX(4px);
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .special-portal-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-special-portal-action {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Section 1: Quick Access & Portals Hub (Deep Crimson Dark Theme & Animated Grid)
   ========================================================================== */
.section-portals {
  padding: 40px 0 50px;
  position: relative;
  margin-top: -30px;
  z-index: 10;
}

.portals-card-container {
  background: linear-gradient(145deg, #4a0d13 0%, #6b101c 50%, #3b080d 100%);
  border-radius: var(--radius-xl);
  box-shadow: none;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Subtle Animated Moving Grid Overlay (Belli Belirsiz Hareketli Kareli Zemin) */
.portals-animated-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: portalsGridDrift 30s linear infinite;
  opacity: 0.8;
  z-index: 1;
}

@keyframes portalsGridDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 48px 48px;
  }
}

.portal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 100%;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.portal-item:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 255, 255, 0.2);
}

.portal-logo-box {
  height: 58px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.portal-item:hover .portal-logo-box {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35);
}

.portal-logo-box img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0%);
}

.portal-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.portal-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.portal-item:hover .portal-title {
  color: #ffffff;
}

/* Secondary Quick Actions Dark Style */
.portal-quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.portal-quick-link:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.portal-quick-link .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.portal-divider-dark {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ==========================================================================
   Section 2: Dynamic Stream (News, Appointments, Physicians & Events)
   ========================================================================== */
.section-stream {
  padding: 60px 0 80px;
  background: #ffffff;
  position: relative;
}

.section-header-modern {
  margin-bottom: 36px;
  position: relative;
}

.section-subtitle {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--atuder-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 6px;
}

.section-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--atuder-navy);
}

/* Modern Tab Navigation */
.nav-pills-atuder {
  background: var(--atuder-gray-100);
  padding: 6px;
  border-radius: var(--radius-md);
  display: inline-flex;
  gap: 4px;
}

.nav-pills-atuder .nav-link {
  color: var(--atuder-gray-600);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition-fast);
}

.nav-pills-atuder .nav-link.active {
  background: #ffffff;
  color: var(--atuder-red);
  box-shadow: var(--shadow-sm);
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--atuder-gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition-smooth);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.news-card:hover {
  border-color: var(--atuder-red-light);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.news-thumb-img {
  width: 72px;
  height: 72px;
  min-width: 72px;
  max-width: 72px;
  min-height: 72px;
  max-height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--atuder-gray-200);
  background-color: #ffffff;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.news-card:hover .news-thumb-img {
  transform: scale(1.05);
  border-color: var(--atuder-red-light);
}

@media (max-width: 575.98px) {
  .news-thumb-img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    max-width: 60px;
    min-height: 60px;
    max-height: 60px;
  }
}

.news-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--atuder-red-subtle);
  color: var(--atuder-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.news-icon-badge.badge-blue {
  background: var(--atuder-blue-light);
  color: var(--atuder-blue);
}

.news-content {
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.news-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--atuder-red);
  background: var(--atuder-red-subtle);
  padding: 2px 8px;
  border-radius: 4px;
}

.news-category {
  font-size: 0.76rem;
  color: var(--atuder-gray-400);
  font-weight: 600;
}

.news-headline {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--atuder-navy);
  margin-bottom: 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-headline:hover {
  color: var(--atuder-red);
}

.news-link-btn {
  color: var(--atuder-navy);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link-btn:hover {
  color: var(--atuder-red);
}

/* Event Card on the Right Column */
.events-sidebar-card {
  background: var(--atuder-gray-50);
  border: 1px solid var(--atuder-gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.event-item-modern {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--atuder-gray-200);
  overflow: hidden;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
  display: flex;
}

.event-item-modern:hover {
  border-color: var(--atuder-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-date-box {
  background: linear-gradient(180deg, var(--atuder-red) 0%, var(--atuder-red-dark) 100%);
  color: #ffffff;
  padding: 14px 12px;
  text-align: center;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event-date-box .day {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-box .month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-date-box .year {
  font-size: 0.7rem;
  opacity: 0.8;
}

.event-details {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.event-location {
  font-size: 0.78rem;
  color: var(--atuder-gray-600);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.event-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--atuder-navy);
  margin-bottom: 0;
  line-height: 1.35;
}

.event-name:hover {
  color: var(--atuder-red);
}

/* ==========================================================================
   Section 3: Scientific Publications & Book Showcase
   ========================================================================== */
.section-publications {
  padding: 80px 0;
  background: var(--atuder-gray-50);
  position: relative;
  overflow: hidden;
}

.section-publications::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
}

/* Books Slider Carousel with Side Arrows */
.books-slider-container {
  position: relative;
  padding: 0 25px;
}

.books-slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 4px 20px 4px;
}

.books-slider-track::-webkit-scrollbar {
  display: none;
}

.book-card-item {
  flex: 0 0 calc(25% - 17px);
  min-width: 250px;
  max-width: 310px;
}

@media (max-width: 1200px) {
  .book-card-item {
    flex: 0 0 calc(33.333% - 15px);
    min-width: 240px;
  }
}

@media (max-width: 991.98px) {
  .book-card-item {
    flex: 0 0 calc(50% - 12px);
    min-width: 220px;
  }
}

@media (max-width: 575.98px) {
  .book-card-item {
    flex: 0 0 85%;
    min-width: 240px;
  }
}

.books-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--atuder-gray-300);
  color: var(--atuder-navy);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  z-index: 10;
  transition: all 0.25s ease;
  cursor: pointer;
}

.books-nav-arrow:hover {
  background: var(--atuder-red);
  color: #ffffff;
  border-color: var(--atuder-red);
  box-shadow: 0 8px 24px rgba(198, 31, 38, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.books-nav-arrow.prev {
  left: -20px;
}

.books-nav-arrow.next {
  right: -20px;
}

.book-card-3d {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  border: 1px solid var(--atuder-gray-200);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-card-3d:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--atuder-red);
}

.book-cover-wrap {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.book-cover-img {
  max-height: 220px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: var(--transition-smooth);
}

.book-card-3d:hover .book-cover-img {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(198, 31, 38, 0.25);
}

.book-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--atuder-navy);
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--atuder-red);
  background: var(--atuder-red-subtle);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
}

.btn-book-action {
  background: var(--atuder-gray-100);
  color: var(--atuder-navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  transition: var(--transition-fast);
}

.book-card-3d:hover .btn-book-action {
  background: var(--atuder-red);
  color: #ffffff;
}

/* ==========================================================================
   Section: Audio Stories & Podcasts (Seslendirilmiş Seçme Öyküler)
   ========================================================================== */
.section-audiobooks {
  background: #f8fafc;
  padding: 60px 0;
  border-top: 1px solid var(--atuder-gray-200);
  border-bottom: 1px solid var(--atuder-gray-200);
}

.audio-story-card {
  background: #ffffff;
  border: 1px solid var(--atuder-gray-200);
  border-radius: var(--radius-lg);
  padding: 26px 48px 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.audio-story-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--atuder-red);
  opacity: 0;
  transition: var(--transition-fast);
}

.audio-story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 31, 38, 0.3);
  box-shadow: 0 10px 25px rgba(198, 31, 38, 0.1);
}

.audio-story-card:hover::before {
  opacity: 1;
}

.audio-icon-wrap {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius-md);
  background: var(--atuder-red-subtle);
  border: 1px solid rgba(198, 31, 38, 0.15);
  color: var(--atuder-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.audio-story-card:hover .audio-icon-wrap {
  background: var(--atuder-red);
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
}

.audio-info {
  flex-grow: 1;
}

.audio-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--atuder-red);
  margin-bottom: 4px;
  line-height: 1.3;
}

.audio-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--atuder-navy);
  margin-bottom: 8px;
}

.audio-meta {
  display: flex;
  gap: 14px;
  font-size: 0.76rem;
  color: var(--atuder-gray-600);
  font-weight: 500;
}

.btn-audio-play {
  background: var(--atuder-gray-100);
  color: var(--atuder-navy);
  border: 1px solid var(--atuder-gray-200);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-audio-play:hover,
.audio-story-card:hover .btn-audio-play {
  background: var(--atuder-red);
  border-color: var(--atuder-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(198, 31, 38, 0.3);
}

@media (max-width: 575.98px) {
  .audio-story-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .audio-meta {
    justify-content: center;
    margin-bottom: 12px;
  }
  .btn-audio-play {
    width: 100%;
    justify-content: center;
  }
}

/* Journal Grid */
.journal-item-box {
  background: #ffffff;
  border: 1px solid var(--atuder-gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.journal-item-box:hover {
  border-color: var(--atuder-red);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.journal-item-box img {
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 4px;
}

/* ==========================================================================
   Section 4: Clinical Surveys with Dynamic Wave & Gradient Color Shift
   ========================================================================== */
.section-surveys {
  padding: 80px 0;
  background: linear-gradient(-45deg, #090d16, #1e293b, #28080c, #0d1527, #1c1427);
  background-size: 400% 400%;
  animation: surveyGradientShift 14s ease infinite;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

@keyframes surveyGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.surveys-waves-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.surveys-gradient-mesh {
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background: radial-gradient(circle at 25% 25%, rgba(198, 31, 38, 0.2) 0%, transparent 45%),
              radial-gradient(circle at 75% 75%, rgba(37, 99, 235, 0.16) 0%, transparent 50%),
              radial-gradient(circle at 50% 85%, rgba(198, 31, 38, 0.12) 0%, transparent 40%);
  filter: blur(40px);
  animation: meshFloat 18s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(180deg) scale(1.1);
  }
}

/* Layered Animated Wave SVGs */
.surveys-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  transform: translate3d(0, 0, 0);
}

.wave-layer-1 {
  opacity: 0.75;
  animation: waveMotion 18s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite alternate;
}

.wave-layer-2 {
  opacity: 0.55;
  animation: waveMotion 13s cubic-bezier(0.36, 0.45, 0.63, 0.53) -4s infinite alternate;
}

.wave-layer-3 {
  opacity: 0.65;
  animation: waveMotion 22s cubic-bezier(0.36, 0.45, 0.63, 0.53) -8s infinite alternate;
}

@keyframes waveMotion {
  0% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(-25%) scaleY(1.15);
  }
  100% {
    transform: translateX(-50%) scaleY(0.9);
  }
}

.survey-card-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.survey-card-modern:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--atuder-red);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.survey-badge {
  background: rgba(198, 31, 38, 0.3);
  color: #ff6b72;
  border: 1px solid rgba(198, 31, 38, 0.5);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.survey-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.survey-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.btn-survey-participate {
  background: linear-gradient(135deg, var(--atuder-red) 0%, var(--atuder-red-dark) 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  transition: var(--transition-fast);
}

.btn-survey-participate:hover {
  box-shadow: 0 6px 18px rgba(198, 31, 38, 0.4);
  color: #ffffff;
  transform: scale(1.02);
}

/* ==========================================================================
   Section 5: Special Video & Media Hub (4 Boxes from Screenshot)
   ========================================================================== */
.section-videos {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

.video-card-modern {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--atuder-gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-card-modern:hover {
  border-color: var(--atuder-red);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.video-thumbnail-box {
  position: relative;
  height: 180px;
  background: var(--atuder-navy);
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card-modern:hover .video-thumbnail-img {
  transform: scale(1.08);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.video-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--atuder-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 0 8px rgba(198, 31, 38, 0.3);
  transition: var(--transition-smooth);
}

.video-card-modern:hover .video-play-btn {
  transform: scale(1.15);
  box-shadow: 0 0 0 14px rgba(198, 31, 38, 0.4);
  background: #ffffff;
  color: var(--atuder-red);
}

.video-badge-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--atuder-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.video-provider-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.video-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--atuder-navy);
  margin-bottom: 6px;
  line-height: 1.35;
}

.video-card-desc {
  font-size: 0.84rem;
  color: var(--atuder-gray-600);
  margin-bottom: 16px;
}

/* Custom banner visuals for 4 videos */
.banner-acilin-sarkisi {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

.banner-mars {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--atuder-navy);
  text-align: center;
  padding: 20px;
}

/* ==========================================================================
   Section 6: ATUDER in Numbers (Statistics Counter)
   ========================================================================== */
.section-stats {
  padding: 60px 0;
  background: var(--atuder-navy);
  color: #ffffff;
  position: relative;
}

.stat-box {
  text-align: center;
  padding: 20px;
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--atuder-red);
  margin-bottom: 12px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Mulish', sans-serif;
}

.stat-label {
  font-size: 0.92rem;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Footer Section with Dark Medical Grid & Glowing Cardiac ECG
   ========================================================================== */
.site-footer {
  background: #fbf3f4;
  color: #475569;
  padding: 70px 0 24px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--atuder-red);
}

.footer-ecg-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Dark Medical Grid with Light Squares (Koyu Arka Planda Açık Renkli Kareler) */
.footer-medical-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to right, rgba(198, 31, 38, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(198, 31, 38, 0.08) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  opacity: 0.9;
}

/* Footer ECG Heartbeat Waveform */
.footer-ecg-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 90px;
  transform: translateY(-50%);
  opacity: 0.55;
}

.footer-ecg-base-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-ecg-live-pulse {
  fill: none;
  stroke: #ff3b44;
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 250 1350;
  stroke-dashoffset: 1600;
  animation: footerEcgSweep 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 8px rgba(255, 59, 68, 0.7));
}

@keyframes footerEcgSweep {
  0% {
    stroke-dashoffset: 1600;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.footer-logo {
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

.footer-title {
  color: var(--atuder-navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--atuder-red);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--atuder-red);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  color: var(--atuder-red);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(12, 26, 48, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--atuder-red);
  color: #ffffff !important;
  border-color: var(--atuder-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(198, 31, 38, 0.35);
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  margin-top: 50px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: #64748b;
}

/* ==========================================================================
   Modals & Interaction
   ========================================================================== */
.modal-content-modern {
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-color: #ffffff !important;
}

.modal-header-modern {
  background: linear-gradient(135deg, var(--atuder-navy) 0%, #1e293b 100%);
  color: #ffffff;
  border-bottom: 3px solid var(--atuder-red);
  padding: 20px 28px;
}

.modal-header-modern .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.modal-header-modern .btn-close:hover {
  opacity: 1;
}

/* Modal and Backdrop Z-Index Guarantee */
.modal {
  z-index: 1055 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

#loginModal {
  z-index: 1060 !important;
}

.form-control-modern {
  border: 1.5px solid var(--atuder-gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.form-control-modern:focus {
  border-color: var(--atuder-red);
  box-shadow: 0 0 0 4px rgba(198, 31, 38, 0.12);
}

/* Back to top button */
.btn-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--atuder-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(198, 31, 38, 0.35);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border: none;
}

.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: var(--atuder-red-dark);
  transform: translateY(-4px);
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .brand-logo-img {
    height: 46px;
  }
  .logo-wrapper {
    padding: 2px 10px 2px 0;
  }
  .btn-mobile-menu {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: var(--radius-sm);
    background: var(--atuder-red-subtle);
    border: 1.5px solid rgba(198, 31, 38, 0.25);
    color: var(--atuder-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    position: relative;
    z-index: 20;
    transition: var(--transition-fast);
  }
  .btn-mobile-menu:hover,
  .btn-mobile-menu:focus {
    background: var(--atuder-red);
    color: #ffffff;
    border-color: var(--atuder-red);
    box-shadow: 0 4px 14px rgba(198, 31, 38, 0.35);
  }
  .btn-auth-login,
  .btn-auth-register {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .header-info-cards {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .navbar-atuder {
    padding: 10px 0;
  }
  .navbar-atuder .navbar-collapse {
    background: var(--atuder-navy-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 10px;
    max-height: 75vh;
    overflow-y: auto;
  }
  .navbar-atuder .dropdown-menu {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border-top: none;
    padding-left: 12px;
  }
  .navbar-atuder .dropdown-item {
    color: #cbd5e1;
  }
  .navbar-atuder .dropdown-item:hover {
    background: transparent;
    color: #ffffff;
  }
  .portals-card-container {
    padding: 20px 14px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    height: 38px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .lang-switch {
    padding-left: 6px;
  }
  .btn-auth-login,
  .btn-auth-register {
    padding: 6px 8px;
  }
  .btn-topbar-icon {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }
}

.portal-esc-card:hover .portal-hero-img-hover { transform: scale(1.08) !important; }
.portals-esc-container { background: transparent !important; border: none !important; box-shadow: none !important; }

/* New Event Grid Styles */
.event-cover-esc-grid-card { display: flex; flex-direction: column; background: #ffffff; border-radius: 12px; overflow: hidden; text-decoration: none; height: 100%; border: 1px solid #e2e8f0; box-shadow: 0px 10px 54px 0px rgba(174, 16, 34, 0.25); transition: all 0.3s ease-in-out; }
.event-cover-esc-grid-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(182, 28, 36, 0.3); }
.event-cover-esc-img-wrap { height: 280px; width: 100%; overflow: hidden; }
.event-cover-esc-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.event-cover-esc-grid-card:hover .event-cover-esc-img { transform: scale(1.08); }
.event-cover-esc-content { padding: 16px; display: flex; flex-direction: column; justify-content: flex-start; }
.event-cover-esc-badge { background: #e0f2fe; color: #0284c7; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; display: inline-block; }
.event-cover-esc-title { font-size: 0.95rem; color: #1e293b; font-weight: 700; line-height: 1.35; margin: 0; }

/* Roboto Slab for Black Section Headers */
section h1.text-dark, section h2.text-dark, section h3.text-dark, section h4.text-dark, section h5.text-dark, section h6.text-dark, section h2.text-white { font-family: 'Roboto Slab', serif !important; font-weight: 700 !important; }
/* ==========================================================================
   Glowing Animated Moving Stroke Border for Survey Cards
   ========================================================================== */
.survey-card-glow-wrap {
  position: relative;
  padding: 3px;
  border-radius: 19px;
  overflow: hidden;
  height: 100%;
  display: flex;
  background: #e2e8f0;
  box-shadow: 0px 10px 40px 0px rgba(174, 16, 34, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.survey-card-glow-wrap::before {
  content: '';
  position: absolute;
  top: -75%;
  left: -75%;
  width: 250%;
  height: 250%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 130deg,
    rgba(198, 31, 38, 0.2) 165deg,
    #c61f26 195deg,
    #ff3b47 215deg,
    #ffffff 230deg,
    #ff3b47 245deg,
    #c61f26 265deg,
    rgba(198, 31, 38, 0.2) 295deg,
    transparent 330deg,
    transparent 360deg
  );
  animation: rotateGlowingBorder 4s linear infinite;
  z-index: 0;
}

.survey-glow-1::before {
  animation-delay: 0s;
}
.survey-glow-2::before {
  animation-delay: -1.33s;
}
.survey-glow-3::before {
  animation-delay: -2.66s;
}

@keyframes rotateGlowingBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.survey-card-glow-wrap:hover {
  transform: translateY(-8px);
  box-shadow: 0px 18px 50px 0px rgba(174, 16, 34, 0.34);
}

.survey-card-glow-wrap .survey-card-modern {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  height: 100%;
  border: none !important;
  box-shadow: none !important;
  margin: 0;
}

.survey-card-glow-wrap:hover .survey-card-img {
  transform: scale(1.08);
}

/* ==========================================================================
   Congress Banner with Glassmorphic Countdown Card & Animated Glow
   ========================================================================== */
.section-congress-banner {
  position: relative;
  z-index: 10;
}

.congress-banner-glow-wrap {
  position: relative;
  padding: 3px;
  border-radius: 23px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: 0px 10px 40px 0px rgba(174, 16, 34, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.congress-banner-glow-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250vw;
  height: 250vw;
  min-width: 2200px;
  min-height: 2200px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 140deg,
    rgba(198, 31, 38, 0.25) 165deg,
    #c61f26 195deg,
    #ff3b47 215deg,
    #ffffff 230deg,
    #ff3b47 245deg,
    #c61f26 265deg,
    rgba(198, 31, 38, 0.25) 295deg,
    transparent 320deg,
    transparent 360deg
  );
  animation: rotateGlowBanner 5s linear infinite;
  z-index: 0;
}

@keyframes rotateGlowBanner {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.congress-banner-glow-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0px 16px 50px 0px rgba(174, 16, 34, 0.28);
}

.congress-banner-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #ffffff !important;
  z-index: 1;
}

.congress-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: left center;
}

.congress-countdown-overlay {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  padding: 16px 20px 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 5;
  width: 310px;
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.countdown-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 8px #fbbf24;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.countdown-title {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.countdown-boxes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 6px 4px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.countdown-val {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-family: 'Roboto', sans-serif;
}

.countdown-lbl {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.countdown-date-badge {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  opacity: 0.95;
}

.btn-congress-visit {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 60%, #fde047 100%);
  color: #831843;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(253, 224, 71, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.25s ease;
  width: 100%;
}

.btn-congress-visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 224, 71, 0.55);
  color: #831843;
}

/* Responsive adjustments for Tablet & Mobile */
@media (max-width: 991.98px) {
  .congress-banner-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    background: #09172c !important;
  }
  .congress-banner-img {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 20px 20px 0 0 !important;
  }
  .congress-countdown-overlay {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 0 20px 20px !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: linear-gradient(135deg, #09172c 0%, #132746 100%) !important;
    padding: 16px 20px !important;
    box-shadow: none !important;
  }
}

@media (max-width: 575.98px) {
  .congress-banner-glow-wrap {
    padding: 2px !important;
    border-radius: 18px !important;
  }
  .congress-banner-wrapper {
    border-radius: 16px !important;
  }
  .congress-banner-img {
    border-radius: 16px 16px 0 0 !important;
  }
  .congress-countdown-overlay {
    border-radius: 0 0 16px 16px !important;
    padding: 14px 14px !important;
  }
  .countdown-val {
    font-size: 1.25rem !important;
  }
}

/* ==========================================================================
   Hero Slider Right News Thumbnails Sidebar (Widescreen Indicators - 250px)
   ========================================================================== */
.hero-slider-layout {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-thumbs-nav-col {
  width: var(--hero-sidebar-width, 260px);
  min-width: var(--hero-sidebar-width, 260px);
  max-width: var(--hero-sidebar-width, 260px);
  background: #ffffff;
  padding: clamp(8px, 0.9vw, 14px) clamp(6px, 0.8vw, 12px);
  gap: clamp(6px, 0.8vw, 12px);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-right: none;
  z-index: 10;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.04);
}

.hero-thumb-item {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex: 1;
  transition: transform 0.3s ease;
}

.hero-thumb-item:hover {
  border-color: #cbd5e1;
  transform: scale(1.02);
  z-index: 2;
}

.hero-thumb-item:hover img {
  transform: scale(1.06);
}

.hero-thumb-item.active {
  border: 2.5px solid var(--atuder-red) !important;
  box-shadow: 0 0 14px rgba(198, 31, 38, 0.45);
  transform: scale(1.02);
  z-index: 3;
}


/* ==========================================================================
   Google Translate UI Tamamen Gizleme (Top Bar / Banner Yok)
   ========================================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-ZVi9od-ORHb-Oxf5ab,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q,
.VIpgJd-ZVi9od-SmMuJa-wOHMyf,
body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

html, body {
  top: 0px !important;
  position: static !important;
  margin-top: 0px !important;
}

#google_translate_element {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

font[style] {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Sadece İngilizcede Menü Fontlarını Çok Az Küçült
   ========================================================================== */
html.lang-en .navbar-atuder-pill .nav-link,
html.translated-ltr .navbar-atuder-pill .nav-link {
  font-size: 0.88rem !important;
  padding: 6px 7px !important;
  letter-spacing: -0.2px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  html.lang-en .navbar-atuder-pill .nav-link,
  html.translated-ltr .navbar-atuder-pill .nav-link {
    font-size: 0.74rem !important;
    padding: 5px 5px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  html.lang-en .navbar-atuder-pill .nav-link,
  html.translated-ltr .navbar-atuder-pill .nav-link {
    font-size: 0.69rem !important;
    padding: 5px 3px !important;
  }
}

/* ==========================================================================
   Yönetim Kurulu (Board) Modern Responsive Kart Tasarımı
   ========================================================================== */
.board-container {
  width: 100%;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.board-president-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.board-president-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.board-president-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #c61f26, #e11d48, #c61f26);
}

.board-president-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -5px rgba(198, 31, 38, 0.16);
  border-color: rgba(198, 31, 38, 0.3);
}

.board-president-img-wrap {
  width: 155px;
  height: 195px;
  margin: 0 auto 18px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  border: 3px solid #ffffff;
  outline: 2px solid rgba(198, 31, 38, 0.25);
  background: #f8fafc;
}

.board-president-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.board-president-card:hover .board-president-img-wrap img {
  transform: scale(1.05);
}

.board-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 45px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.board-section-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--atuder-red, #c61f26);
}

.board-section-heading h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.02em;
}

.board-member-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  position: relative;
}

.board-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px -4px rgba(15, 23, 42, 0.09);
  border-color: rgba(198, 31, 38, 0.35);
}

.board-member-img-wrap {
  width: 125px;
  height: 160px;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  border: 2px solid #ffffff;
  background: #f1f5f9;
}

.board-member-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.board-member-card:hover .board-member-img-wrap img {
  transform: scale(1.05);
}

.board-member-role-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.badge-role-baskan {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-role-yardimci {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-role-sekreter {
  background: #ecfdf5;
  color: #047857;
}

.badge-role-mudur {
  background: #fef3c7;
  color: #b45309;
}

.badge-role-uye {
  background: #f1f5f9;
  color: #475569;
}

.badge-role-danisma {
  background: #f5f3ff;
  color: #6d28d9;
}

.board-member-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.35;
}

/* Genel tablo responsive ve ortalama güvencesi */
.inner-page-content-wrapper .page-content-body table {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Belge ve Form İndirme Kartları */
.doc-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.doc-download-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.doc-download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--atuder-red, #c61f26) 0%, #991b1b 100%);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.doc-download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(198, 31, 38, 0.12);
  border-color: #cbd5e1;
}

.doc-download-header {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1rem;
}

.doc-download-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 12px;
  background: #fef2f2;
  color: var(--atuder-red, #c61f26);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  transition: transform 0.25s ease;
  border: 1px solid #fee2e2;
}

.doc-download-card:hover .doc-download-icon {
  transform: scale(1.08) rotate(-2deg);
}

.doc-download-info {
  flex: 1;
}

.doc-download-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.doc-download-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  background: #fef2f2;
  color: var(--atuder-red, #c61f26);
  border: 1px solid #fee2e2;
}

.doc-download-desc {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.doc-download-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.doc-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.doc-download-btn-primary {
  background: var(--atuder-red, #c61f26);
  color: #ffffff !important;
  border: 1px solid var(--atuder-red, #c61f26);
}

.doc-download-btn-primary:hover {
  background: #a9181f;
  border-color: #a9181f;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(198, 31, 38, 0.35);
  transform: translateY(-1px);
}

.doc-download-btn-outline {
  background: #ffffff;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
}

.doc-download-btn-outline:hover {
  background: #f8fafc;
  color: #0f172a !important;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

/* Yayıncılık Politikaları Hero Başlıkları */
.pp-hero,
.pp-hero h1,
.pp-hero__title,
.inner-page-card .pp-hero h1,
.inner-page-card .pp-hero__title,
.inner-page-card h1.pp-hero__title {
  color: #ffffff !important;
}

.pp-hero__subtitle,
.inner-page-card .pp-hero p,
.inner-page-card .pp-hero__subtitle {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ==========================================================================
   Modern Events (Kongre, Sempozyum, Kurslar) Styling & Accordion
   ========================================================================== */
.events-hero-title {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.events-pill-tabs {
  background: #f1f5f9;
}

.events-pill-tabs .nav-link {
  color: #64748b;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  border: none;
}

.events-pill-tabs .nav-link.active {
  background: #ffffff !important;
  color: var(--atuder-red, #c61f26) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Event Cards */
.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(12, 26, 48, 0.06);
}

.event-card--upcoming {
  border-left: 4px solid var(--atuder-red, #c61f26);
  background: linear-gradient(135deg, #ffffff 0%, #fffcfc 100%);
  padding: 20px 24px;
}

.event-card--past {
  border-color: #e9ecef;
}

.event-card__date-box {
  flex-shrink: 0;
  width: 62px;
  background: #ffffff;
  border: 1.5px solid #fee2e2;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(198, 31, 38, 0.06);
  overflow: hidden;
  text-align: center;
}

.event-card__date-box .date-month {
  width: 100%;
  background: var(--atuder-red, #c61f26);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.event-card__date-box .date-day {
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.15;
  padding: 4px 0 2px;
  display: block;
}

.event-card__date-box .date-year {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 600;
  padding-bottom: 3px;
  display: block;
}

.event-card__content {
  flex-grow: 1;
  min-width: 0;
}

.event-card__title {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.event-card__title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.event-card__title a:hover {
  color: var(--atuder-red, #c61f26);
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

.event-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-card__action {
  flex-shrink: 0;
}

/* Accordion Specifics */
.events-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.events-accordion .accordion-item:hover {
  border-color: #cbd5e1;
}

.events-accordion .accordion-button {
  background: #ffffff;
  padding: 16px 20px;
  font-size: 1rem;
  color: #1e293b;
  box-shadow: none !important;
  border-radius: 14px !important;
}

.events-accordion .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: var(--atuder-red, #c61f26);
  border-bottom: 1px solid #e2e8f0;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.events-accordion .year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 31, 38, 0.08);
  color: var(--atuder-red, #c61f26);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 4px 12px;
  border-radius: 8px;
}

.events-accordion .accordion-body {
  background: #fafbfc;
}

/* Event Detail Card */
.event-detail-title {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.event-detail-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.event-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}

@media (max-width: 767.98px) {
  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .event-card__action {
    width: 100%;
  }
  .event-card__action .btn {
    width: 100%;
    text-align: center;
  }
  .events-hero-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Document & Publications Modern Pages (Belgeler & Bildiri Kitapları)
   ========================================================================== */
.documents-page-wrapper {
  color: #1e293b;
}

.doc-hero-section {
  position: relative;
}

.doc-page-title {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.doc-page-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 800px;
}

/* Category Grid Card (Root /belgeler/) */
.doc-category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.doc-category-card:hover {
  border-color: var(--atuder-red, #c61f26);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.doc-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--atuder-red, #c61f26);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.doc-category-card:hover::before {
  opacity: 1;
}

.doc-cat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(198, 31, 38, 0.08);
  color: var(--atuder-red, #c61f26);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.25s ease;
}

.doc-category-card:hover .doc-cat-icon {
  background: var(--atuder-red, #c61f26);
  color: #ffffff;
  transform: scale(1.08);
}

.doc-cat-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.doc-category-card:hover .doc-cat-arrow {
  background: var(--atuder-red, #c61f26);
  color: #ffffff;
  transform: translateX(4px);
}

.doc-cat-title {
  font-size: 1.15rem;
  line-height: 1.35;
  color: #0f172a;
  transition: color 0.2s ease;
}

.doc-category-card:hover .doc-cat-title {
  color: var(--atuder-red, #c61f26);
}

.doc-cat-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #64748b;
}

/* Toolbar & Search Filter */
.doc-toolbar .doc-search-box input {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.doc-toolbar .doc-search-box input:focus {
  border-color: var(--atuder-red, #c61f26);
  box-shadow: 0 0 0 4px rgba(198, 31, 38, 0.12);
  outline: none;
}

/* Document Item Card */
.doc-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.doc-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.doc-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.25s ease;
}

.doc-card-item:hover .doc-icon-badge {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  transform: scale(1.06);
}

/* Law (Kanunlar) Badge Variant */
.doc-icon-badge.doc-icon-badge--law {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, 0.25);
}
.doc-card-item:hover .doc-icon-badge.doc-icon-badge--law {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
}

/* Regulation (Yönetmelikler) Badge Variant */
.doc-icon-badge.doc-icon-badge--regulation {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #15803d;
  border-color: rgba(21, 128, 61, 0.25);
}
.doc-card-item:hover .doc-icon-badge.doc-icon-badge--regulation {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
}

/* Book (Bildiri Kitapları) Badge Variant */
.doc-icon-badge.doc-icon-badge--book {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
}
.doc-card-item:hover .doc-icon-badge.doc-icon-badge--book {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
}

/* Program (Bilimsel Programlar) Badge Variant */
.doc-icon-badge.doc-icon-badge--program {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  color: #7e22ce;
  border-color: rgba(126, 34, 206, 0.25);
}
.doc-card-item:hover .doc-icon-badge.doc-icon-badge--program {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  color: #ffffff;
}

/* Category Grid Icon Variants (/belgeler/) */
.doc-cat-icon--law {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #2563eb !important;
}
.doc-category-card:hover .doc-cat-icon--law {
  background: #2563eb !important;
  color: #ffffff !important;
}

.doc-cat-icon--regulation {
  background: rgba(22, 163, 74, 0.08) !important;
  color: #16a34a !important;
}
.doc-category-card:hover .doc-cat-icon--regulation {
  background: #16a34a !important;
  color: #ffffff !important;
}

.doc-cat-icon--book {
  background: rgba(220, 38, 38, 0.08) !important;
  color: #dc2626 !important;
}
.doc-category-card:hover .doc-cat-icon--book {
  background: #dc2626 !important;
  color: #ffffff !important;
}

.doc-cat-icon--program {
  background: rgba(126, 34, 206, 0.08) !important;
  color: #7e22ce !important;
}
.doc-category-card:hover .doc-cat-icon--program {
  background: #7e22ce !important;
  color: #ffffff !important;
}

.doc-cat-icon--form {
  background: rgba(217, 119, 6, 0.08) !important;
  color: #d97706 !important;
}
.doc-category-card:hover .doc-cat-icon--form {
  background: #d97706 !important;
  color: #ffffff !important;
}

/* Related Sibling Tabs */
.doc-related-tabs .nav-link {
  font-size: 0.88rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.doc-related-tabs .nav-link:hover:not(.bg-white) {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.04);
}

.doc-item-title {
  font-size: 1.02rem;
  line-height: 1.4;
  color: #0f172a;
  word-break: break-word;
}

.doc-meta-info {
  font-size: 0.82rem;
  color: #64748b;
}

.doc-download-btn {
  background: linear-gradient(135deg, var(--atuder-red, #c61f26) 0%, #991b1b 100%);
  border: none;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.doc-download-btn:hover {
  box-shadow: 0 6px 16px rgba(198, 31, 38, 0.35);
  transform: translateY(-1px);
  filter: brightness(1.08);
}

@media (max-width: 767.98px) {
  .doc-hero-section {
    padding-bottom: 12px;
  }
  .doc-page-title {
    font-size: 1.45rem;
  }
  .doc-card-item {
    padding: 16px !important;
  }
  .doc-card-item .d-flex.flex-column.flex-md-row {
    align-items: flex-start !important;
  }
  .doc-download-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Modern Media, Gallery & Video Styles
   ========================================================================== */

/* Media Hub (Node 11) */
.media-hub-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}
.media-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}
.media-hub-card-bg-icon {
  position: absolute;
  right: -15px;
  bottom: -20px;
  font-size: 8rem;
  opacity: 0.04;
  color: #0f172a;
  z-index: 0;
  pointer-events: none;
}
.hover-badge {
  transition: all 0.2s ease;
}
.hover-badge:hover {
  background: var(--atuder-red, #c61f26) !important;
  color: #ffffff !important;
  border-color: var(--atuder-red, #c61f26) !important;
}
.hover-badge:hover i {
  color: #ffffff !important;
}

/* Category Navigation Pills */
.category-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}
.category-pill-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.category-pill-btn.active {
  background: var(--atuder-red, #c61f26) !important;
  color: #ffffff !important;
  border-color: var(--atuder-red, #c61f26) !important;
  box-shadow: 0 4px 12px rgba(198, 31, 38, 0.25);
}

/* Photo Gallery Hub (Node 82) */
.photo-cat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}
.photo-cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(198, 31, 38, 0.08);
  color: var(--atuder-red, #c61f26);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.photo-cat-card:hover .photo-cat-icon {
  background: var(--atuder-red, #c61f26);
  color: #ffffff;
  transform: scale(1.08);
}

/* Album Listing Table */
.media-album-table-wrap {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
}
.media-album-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}
.media-album-table td {
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}
.album-row:hover td {
  background-color: #fafbfc;
}
.album-camera-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(198, 31, 38, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.album-title-link {
  transition: color 0.2s ease;
}
.album-title-link:hover {
  color: var(--atuder-red, #c61f26) !important;
}
.album-category-divider {
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid var(--atuder-red, #c61f26);
}
.album-cat-icon {
  font-size: 1.1rem;
}

/* Photo Lightbox Grid (galeriDetay) */
.gallery-photo-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.gallery-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}
.gallery-photo-card .ratio {
  overflow: hidden;
}
.gallery-photo-img {
  transition: transform 0.4s ease;
}
.gallery-photo-card:hover .gallery-photo-img {
  transform: scale(1.06);
}
.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-photo-card:hover .gallery-photo-overlay {
  opacity: 1;
}
.gallery-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(198, 31, 38, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.gallery-photo-card:hover .gallery-zoom-icon {
  transform: scale(1.1);
}

/* Video Showcase (Node 83 & Video Pages) */
.video-showcase-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1) !important;
}
.video-thumb-container {
  position: relative;
  background: #0f172a;
  overflow: hidden;
}
.video-thumb-container img {
  transition: transform 0.4s ease;
}
.video-showcase-card:hover .video-thumb-container img {
  transform: scale(1.06);
}
.video-play-btn-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  transition: background 0.2s ease;
}
.video-showcase-card:hover .video-play-btn-overlay {
  background: rgba(15, 23, 42, 0.15);
}
.video-play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--atuder-red, #c61f26);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 0 6px rgba(198, 31, 38, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-showcase-card:hover .video-play-circle {
  transform: scale(1.15);
  box-shadow: 0 0 0 10px rgba(198, 31, 38, 0.4);
}

/* ==========================================================================
   Modern Online Üyelik Formu Styles
   ========================================================================== */
.member-registration-wrapper {
  max-width: 980px;
  margin: 0 auto;
}
.member-section-card {
  border: 1px solid #e2e8f0 !important;
  background: #ffffff;
  transition: box-shadow 0.25s ease;
}
.member-section-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}
.member-section-icon {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
}
.member-registration-wrapper .form-label {
  font-size: 0.88rem;
  letter-spacing: 0.2px;
}
.member-registration-wrapper .form-control,
.member-registration-wrapper .form-select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.member-registration-wrapper .form-control:focus,
.member-registration-wrapper .form-select:focus {
  border-color: var(--atuder-red, #c61f26);
  box-shadow: 0 0 0 0.2rem rgba(198, 31, 38, 0.15);
}
.member-radio-list,
.member-radio-list table {
  width: auto !important;
  margin: 0 !important;
  border: none !important;
  border-collapse: separate !important;
}
.member-radio-list td {
  border: none !important;
  padding: 6px 20px 6px 0 !important;
}
.member-radio-list label {
  margin-left: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.92rem;
  color: #334155;
}
.member-radio-list input[type="radio"] {
  accent-color: var(--atuder-red, #c61f26);
  width: 16px;
  height: 16px;
  cursor: pointer;
  vertical-align: middle;
}
.captcha-img-wrap {
  min-height: 40px;
}
.member-submit-btn {
  background: linear-gradient(135deg, var(--atuder-red, #c61f26) 0%, #991b1b 100%) !important;
  border: none !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.3px;
  transition: all 0.25s ease !important;
}
.member-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 31, 38, 0.35) !important;
  filter: brightness(1.08);
}

/* ==========================================================================
   Site Search Results Page Modernization
   ========================================================================== */
.site-search-page-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

/* Remove forced table borders and margins from MasterContent inside CSE */
.inner-page-card .site-search-page-wrapper table,
.inner-page-card .site-search-page-wrapper table td,
.inner-page-card .site-search-page-wrapper table th,
.inner-page-card .gsc-control-cse table,
.inner-page-card .gsc-control-cse td,
.inner-page-card .gsc-control-cse th {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Force Google CSE elements to take 100% full width */
.site-search-page-wrapper .gsc-control-cse,
.site-search-page-wrapper .gsc-control-cse-tr,
.site-search-page-wrapper .gsc-results-wrapper-nooverlay,
.site-search-page-wrapper .gsc-results-wrapper-overlay,
.site-search-page-wrapper .gsc-wrapper,
.site-search-page-wrapper .gsc-results,
.site-search-page-wrapper .gsc-resultsbox-visible,
.site-search-page-wrapper .gsc-webResult.gsc-result,
.site-search-page-wrapper .gsc-table-result,
.site-search-page-wrapper .gs-webResult.gs-result,
.site-search-page-wrapper .gsc-expansionArea,
.site-search-page-wrapper .gsc-above-wrapper-area-container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
}

.site-search-page-wrapper .gsc-control-cse {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.site-search-page-wrapper .gsc-above-wrapper-area {
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 12px 0 !important;
  margin-bottom: 16px !important;
}

.site-search-page-wrapper .gsc-result-info {
  font-size: 0.95rem !important;
  color: #64748b !important;
  padding-left: 0 !important;
}

/* Google CSE Result Items */
.site-search-page-wrapper .gsc-webResult.gsc-result {
  padding: 18px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin: 0 !important;
}

.site-search-page-wrapper .gs-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--atuder-navy, #1e293b) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.site-search-page-wrapper .gs-title:hover,
.site-search-page-wrapper .gs-title:hover b {
  color: var(--atuder-red, #c61f26) !important;
  text-decoration: underline !important;
}

.site-search-page-wrapper .gs-visibleUrl {
  color: #059669 !important;
  font-size: 0.85rem !important;
  margin-top: 4px !important;
}

.site-search-page-wrapper .gs-snippet {
  color: #475569 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-top: 6px !important;
}

.site-search-page-wrapper .gsc-cursor-box {
  margin-top: 24px !important;
  padding-top: 16px !important;
}

.site-search-page-wrapper .gsc-cursor-page {
  padding: 6px 14px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  margin-right: 6px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
}

.site-search-page-wrapper .gsc-cursor-current-page {
  background: var(--atuder-red, #c61f26) !important;
  color: #ffffff !important;
  border-color: var(--atuder-red, #c61f26) !important;
}


