/* ==========================================================================
   MSI DERGİSİ - MODERN DEFENSE REVIEW DESIGN SYSTEM (msi-modern.css)
   Military Science & Intelligence - Refined UI, Uniform Cards & Magazine Showcase
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --msi-red: #cb382a;
  --msi-red-dark: #a8271a;
  --msi-red-light: #fbeae8;
  --msi-navy: #0f192b;
  --msi-navy-light: #1c2b46;
  --msi-navy-dark: #080e18;
  --msi-gold: #c59b27;
  --msi-text-dark: #121826;
  --msi-text-muted: #5a6474;
  --msi-border-color: rgba(15, 25, 43, 0.08);
  --msi-card-bg: #ffffff;
  --msi-radius-sm: 6px;
  --msi-radius-md: 10px;
  --msi-radius-lg: 16px;
  --msi-shadow-sm: 0 2px 8px rgba(15, 25, 43, 0.04);
  --msi-shadow-md: 0 8px 24px rgba(15, 25, 43, 0.08);
  --msi-shadow-lg: 0 16px 40px rgba(15, 25, 43, 0.12);
  --msi-shadow-red: 0 12px 30px rgba(203, 56, 42, 0.22);
}

/* --------------------------------------------------------------------------
   Modern Typography & Reset
   -------------------------------------------------------------------------- */
body {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--msi-text-muted);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: var(--msi-text-dark);
  letter-spacing: -0.02em;
}

.font-heading {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif !important;
}

/* --------------------------------------------------------------------------
   Text Clamp & Ellipsis Utilities (Fixes uneven text heights)
   -------------------------------------------------------------------------- */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  max-height: 2.8em;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 4.2em;
  max-height: 4.2em;
}

.line-clamp-title-sm {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.7em;
  font-size: 15px;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Uniform Image Wrappers (Prevents card layout breaks)
   -------------------------------------------------------------------------- */
.msi-img-wrap-16-9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--msi-radius-md);
  background-color: #e9ecef;
}

.msi-img-wrap-16-9 img,
.msi-img-wrap-16-9 a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.msi-card:hover .msi-img-wrap-16-9 img,
.trend-item:hover .msi-img-wrap-16-9 img {
  transform: scale(1.05);
}

/* Thumbnails in horizontal cards */
.msi-thumb-fixed {
  width: 140px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--msi-radius-sm);
  overflow: hidden;
  background-color: #e9ecef;
}

.msi-thumb-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trend-item:hover .msi-thumb-fixed img {
  transform: scale(1.06);
}

/* Category circles/squares */
.msi-cat-thumb {
  width: 100%;
  height: 160px;
  border-radius: var(--msi-radius-md);
  overflow: hidden;
  position: relative;
}

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

.msi-cat-thumb:hover img {
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Modern Card Refinements
   -------------------------------------------------------------------------- */
.msi-modern-card {
  background: #ffffff;
  border: 1px solid var(--msi-border-color);
  border-radius: var(--msi-radius-md);
  box-shadow: var(--msi-shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.msi-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--msi-shadow-md);
  border-color: rgba(203, 56, 42, 0.25);
}

.msi-modern-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.25rem;
}

/* Fix for existing .trend-item class to ensure uniform size */
.trend-box .trend-item {
  border: 1px solid var(--msi-border-color);
  border-radius: var(--msi-radius-md);
  transition: all 0.3s ease;
  background: #fff;
  min-height: 140px;
}

.trend-box .trend-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--msi-shadow-md);
  border-color: rgba(203, 56, 42, 0.2);
}

/* --------------------------------------------------------------------------
   Pill Badges & Defense Tags
   -------------------------------------------------------------------------- */
.msi-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 30px;
  line-height: 1;
}

.msi-badge-red {
  background: var(--msi-red);
  color: #ffffff !important;
}

.msi-badge-navy {
  background: var(--msi-navy);
  color: #ffffff !important;
}

.msi-badge-magazine {
  background: linear-gradient(135deg, #cb382a 0%, #8b1509 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(203, 56, 42, 0.3);
}

.msi-badge-gold {
  background: var(--msi-gold);
  color: #ffffff !important;
}

/* Pulsing live dot */
.msi-live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--msi-red);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(203, 56, 42, 0.7);
  animation: msi-pulse 1.8s infinite;
}

@keyframes msi-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(203, 56, 42, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(203, 56, 42, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(203, 56, 42, 0);
  }
}

/* --------------------------------------------------------------------------
   PROMINENT MAGAZINE SHOWCASE SECTION (Vitrin)
   -------------------------------------------------------------------------- */
.msi-magazine-kiosk {
  background: linear-gradient(135deg, #0a1120 0%, #152238 60%, #201014 100%);
  border-radius: var(--msi-radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--msi-shadow-lg);
  color: #ffffff;
}

.msi-magazine-kiosk::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(203, 56, 42, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* 3D Realistic Magazine Cover */
.msi-3d-magazine-wrap {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.msi-3d-magazine {
  position: relative;
  width: 260px;
  border-radius: 4px 12px 12px 4px;
  box-shadow: -8px 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.msi-3d-magazine:hover {
  transform: rotateY(-2deg) rotateX(0deg) translateY(-8px);
  box-shadow: -4px 20px 45px rgba(203, 56, 42, 0.35);
}

.msi-3d-magazine img {
  width: 100%;
  height: auto;
  border-radius: 4px 12px 12px 4px;
  display: block;
}

/* Realistic spine highlight */
.msi-3d-magazine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0.2) 50%, rgba(0,0,0,0.3) 100%);
  border-radius: 4px 0 0 4px;
  z-index: 2;
  pointer-events: none;
}

/* Magazine Topic Pills */
.msi-mag-topic-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.25s ease;
}

.msi-mag-topic-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
  border-color: rgba(203, 56, 42, 0.4);
}

.msi-mag-topic-item i {
  color: var(--msi-red);
  margin-right: 12px;
  margin-top: 3px;
  font-size: 14px;
}

/* Magazine Action Buttons */
.btn-msi-primary {
  background: linear-gradient(135deg, var(--msi-red) 0%, #b82517 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(203, 56, 42, 0.4);
  transition: all 0.3s ease;
  border: none;
  text-decoration: none !important;
}

.btn-msi-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(203, 56, 42, 0.55);
  color: #ffffff;
}

.btn-msi-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-msi-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Magazine Past Issues Strip */
.msi-issues-strip {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 25px;
}

.msi-issue-thumb-card {
  display: block;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.msi-issue-thumb-card:hover {
  transform: translateY(-4px);
}

.msi-issue-thumb-card img {
  width: 90px;
  height: 125px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 6px;
}

.msi-issue-thumb-card span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Elite Header Design System
   -------------------------------------------------------------------------- */
.header-top-bar {
  background: #0b1329 !important;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  padding: 7px 0;
}

.badge-live-ticker {
  background: #cb382a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.blink-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
  margin-right: 6px;
  animation: msiBlink 1.2s infinite;
}

@keyframes msiBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.header-ticker-marquee {
  overflow: hidden;
}

.header-ticker-marquee marquee {
  vertical-align: middle;
}

.header-ticker-marquee a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-right: 25px;
}

.header-ticker-marquee a:hover {
  color: #ffffff !important;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #94a3b8;
  font-size: 12.5px;
  white-space: nowrap;
}

.header-top-right a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-top-right a:hover {
  color: #ffffff;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social-links a {
  color: #64748b;
  font-size: 13px;
  transition: all 0.2s ease;
}

.header-social-links a:hover {
  color: #cb382a;
}

/* Main Navigation Bar */
.header_menu {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15, 25, 43, 0.08);
  height: 72px;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.header_menu .navbar.navbar-default {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  width: 100%;
}

.header_menu .navbar-brand {
  padding: 0 !important;
  margin-right: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 72px !important;
}

.header_menu .navbar-brand img {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  display: block !important;
}

.header_menu .navbar-brand img + img {
  display: none !important;
}

.header_menu .navbar-collapse1 {
  display: flex !important;
  align-items: center !important;
  height: 72px !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 22px !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 72px !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  float: none !important;
  height: 72px !important;
  position: relative !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  padding: 0 !important;
  height: 72px !important;
  line-height: 72px !important;
  position: relative !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li a i.icon-arrow-down {
  font-size: 10px !important;
  opacity: 0.6;
  margin-left: 2px;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li:hover > a,
.header_menu .navbar.navbar-default .nav.navbar-nav li.active > a {
  color: #cb382a !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #cb382a;
  border-radius: 3px 3px 0 0;
  transition: width 0.25s ease;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li:hover > a::after,
.header_menu .navbar.navbar-default .nav.navbar-nav li.active > a::after {
  width: 100% !important;
}

/* Modern Dropdown Menus */
.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(15, 25, 43, 0.12) !important;
  border: 1px solid rgba(15, 25, 43, 0.08) !important;
  padding: 8px 0 !important;
  min-width: 220px !important;
  top: 100% !important;
  margin-top: 0 !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu:before {
  display: none !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li {
  display: block !important;
  width: 100% !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li a {
  padding: 9px 20px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  display: block !important;
  transition: all 0.2s ease !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li a:hover {
  background: #fdf2f1 !important;
  color: #cb382a !important;
  padding-left: 24px !important;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li a::after {
  display: none !important;
}

/* Luxury E-Dergi Pill Button */
.btn-nav-edergi {
  background: linear-gradient(135deg, #cb382a 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  padding: 7px 16px !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  box-shadow: 0 4px 14px rgba(203, 56, 42, 0.32) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  white-space: nowrap !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-nav-edergi:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(203, 56, 42, 0.45) !important;
  background: linear-gradient(135deg, #e03f30 0%, #cb382a 100%) !important;
  color: #ffffff !important;
}

.btn-nav-edergi .badge-edergi {
  background: #ffffff;
  color: #cb382a;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* Header Action Buttons (Search & Drawer) */
.header-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid rgba(15, 25, 43, 0.06);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.header-action-btn:hover {
  background: #cb382a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(203, 56, 42, 0.25);
}

.header-action-btn i {
  color: inherit !important;
}

/* --------------------------------------------------------------------------
   Signature Original Template Slider (.slider.slider-before)
   50/50 Split Editorial Card with Red Brand Shelf Backdrop
   -------------------------------------------------------------------------- */
.banner-signature-wrap {
  position: relative;
  padding: 24px 0 50px 0;
  background: #f8fafc;
}

.banner-signature-wrap .slider.slider-before {
  height: 540px !important;
  position: relative;
  padding: 24px 20px !important;
}

.banner-signature-wrap .slider-before:before {
  background: #cb382a !important;
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 50% !important;
  border-radius: 16px 16px 0 0;
}

.slider-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fdf2f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #cb382a;
  border: 2px solid rgba(203, 56, 42, 0.2);
  flex-shrink: 0;
}

.banner-signature-wrap .swiper-container {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 25, 43, 0.14);
}

.banner-signature-wrap .swiper-slide {
  position: relative;
  overflow: hidden;
}

.banner-signature-wrap .slide-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.banner-signature-wrap .slide-inner .slide-image {
  position: absolute;
  width: 53% !important;
  height: 100% !important;
  left: 0;
  top: 0;
  background-size: cover !important;
  background-position: center !important;
}

.banner-signature-wrap .slide-inner .slide-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 100%);
}

.banner-signature-wrap .slide-inner .swiper-content {
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: auto !important;
  width: 52% !important;
  position: absolute !important;
  z-index: 999 !important;
  right: 0 !important;
  padding: 44px 50px !important;
  background: #ffffff !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.1) !important;
  border-radius: 14px 0 0 14px !important;
  border: 1px solid rgba(15, 25, 43, 0.06);
}

.banner-signature-wrap .swiper-content .slider-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.banner-signature-wrap .swiper-content .slider-badge-cat {
  background: #cb382a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.banner-signature-wrap .swiper-content .slider-badge-issue {
  background: #0f192b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.banner-signature-wrap .swiper-content .slider-date {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.banner-signature-wrap .swiper-content h1 {
  font-size: 30px !important;
  letter-spacing: -0.02em !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin-bottom: 14px !important;
}

.banner-signature-wrap .swiper-content h1 a {
  color: #0b1329 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.banner-signature-wrap .swiper-content h1 a:hover {
  color: #cb382a !important;
}

.banner-signature-wrap .swiper-content p {
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1.65 !important;
  margin-bottom: 22px !important;
}

.banner-signature-wrap .swiper-content .slider-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 25, 43, 0.08);
}

.banner-signature-wrap .swiper-content .slider-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-signature-wrap .swiper-content .slider-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1f5f9;
}

.banner-signature-wrap .swiper-content .slider-author-name {
  font-weight: 700;
  font-size: 13.5px;
  color: #1e293b;
}

.banner-signature-wrap .swiper-content .slider-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #64748b;
  font-size: 13px;
}

.banner-signature-wrap .swiper-content .btn-slider-read {
  background: #cb382a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(203, 56, 42, 0.25);
  text-decoration: none !important;
}

.banner-signature-wrap .swiper-content .btn-slider-read:hover {
  background: #a8271a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(203, 56, 42, 0.4);
}

/* Swiper navigation arrows */
.banner-signature-wrap .swiper-button-next,
.banner-signature-wrap .swiper-button-prev {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
}

.banner-signature-wrap .swiper-button-next:hover,
.banner-signature-wrap .swiper-button-prev:hover {
  background: #cb382a !important;
  transform: scale(1.08) !important;
}

.banner-signature-wrap .swiper-button-next:after,
.banner-signature-wrap .swiper-button-prev:after {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #1e293b !important;
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  width: auto !important;
}

.banner-signature-wrap .swiper-button-next:hover:after,
.banner-signature-wrap .swiper-button-prev:hover:after {
  color: #ffffff !important;
}

/* Swiper pagination dots */
.banner-signature-wrap .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ffffff;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.banner-signature-wrap .swiper-pagination-bullet-active {
  background: #cb382a;
  opacity: 1;
  width: 24px;
  border-radius: 6px;
}

/* Responsive for Signature Slider */
@media (max-width: 991px) {
  .banner-signature-wrap .slider.slider-before {
    height: auto !important;
  }
  .banner-signature-wrap .slide-inner {
    position: relative !important;
    height: auto !important;
  }
  .banner-signature-wrap .slide-inner .slide-image {
    position: relative !important;
    width: 100% !important;
    height: 280px !important;
    border-radius: 12px 12px 0 0;
  }
  .banner-signature-wrap .slide-inner .swiper-content {
    position: relative !important;
    width: 100% !important;
    top: auto !important;
    transform: none !important;
    right: auto !important;
    border-radius: 0 0 12px 12px !important;
    padding: 26px 20px !important;
  }
  .banner-signature-wrap .swiper-content h1 {
    font-size: 22px !important;
  }
  .banner-signature-wrap .slider-before:before {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Detail Page Reading Improvements
   -------------------------------------------------------------------------- */
.msi-article-reading {
  font-size: 17px;
  line-height: 1.8;
  color: #2b3545;
}

.msi-article-meta-bar {
  background: #f8f9fb;
  border: 1px solid var(--msi-border-color);
  border-radius: var(--msi-radius-md);
  padding: 14px 20px;
}

.msi-source-box {
  background: #fdf5f4;
  border-left: 4px solid var(--msi-red);
  padding: 16px 20px;
  border-radius: 0 var(--msi-radius-sm) var(--msi-radius-sm) 0;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Sidebar Magazine Widget (Premium Mini Showcase)
   -------------------------------------------------------------------------- */
.msi-sidebar-mag-card {
  background: linear-gradient(145deg, #0b1322 0%, #17243b 65%, #241318 100%);
  border-radius: var(--msi-radius-md);
  padding: 24px 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(11, 19, 34, 0.25);
  margin-bottom: 25px;
}

.msi-sidebar-mag-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(203, 56, 42, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.msi-sidebar-mag-thumb {
  perspective: 600px;
  display: inline-block;
  margin-bottom: 15px;
}

.msi-sidebar-mag-thumb img {
  width: 130px;
  height: auto;
  border-radius: 3px 8px 8px 3px;
  box-shadow: -6px 10px 22px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: rotateY(-10deg) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.msi-sidebar-mag-card:hover .msi-sidebar-mag-thumb img {
  transform: rotateY(0deg) translateY(-4px);
  box-shadow: 0 14px 28px rgba(203, 56, 42, 0.35);
}

.msi-sidebar-mag-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.msi-sidebar-mag-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 16px;
}

.msi-sidebar-mag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  text-align: left;
}

.msi-sidebar-mag-list li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.msi-sidebar-mag-list li:last-child {
  border-bottom: none;
}

.msi-sidebar-mag-list li i {
  color: var(--msi-red);
  font-size: 11px;
}

.msi-sidebar-mag-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--msi-red) 0%, #a52115 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  box-shadow: 0 4px 15px rgba(203, 56, 42, 0.4);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.msi-sidebar-mag-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(203, 56, 42, 0.6);
  color: #ffffff !important;
}

.msi-sidebar-mag-sublink {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.msi-sidebar-mag-sublink:hover {
  color: #ffffff;
}

/* Detail article modern header card */
.msi-article-header-modern {
  background: #ffffff;
  border-radius: var(--msi-radius-md);
  padding: 24px 0 16px 0;
}

.msi-article-header-modern .badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.msi-article-header-modern .article-main-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--msi-navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.msi-article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--msi-text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--msi-border-color);
  margin-bottom: 20px;
}

.msi-article-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.msi-article-meta-row span i {
  color: var(--msi-red);
}

/* --------------------------------------------------------------------------
   MSI Magazine Archive Kütüphane Kartları
   -------------------------------------------------------------------------- */
.msi-archive-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--msi-border-color);
  padding: 24px 20px;
  box-shadow: 0 4px 18px rgba(15, 25, 43, 0.05);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.msi-archive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 25, 43, 0.12);
  border-color: rgba(203, 56, 42, 0.35);
}

.msi-archive-cover-holder {
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #f8f9fa 0%, #edf0f3 100%);
  border-radius: 8px;
  padding: 15px;
}

.msi-archive-cover-holder img {
  max-height: 240px;
  width: auto;
  border-radius: 4px;
  box-shadow: -4px 6px 16px rgba(0, 0, 0, 0.25);
  transform: rotateY(-8deg);
  transition: all 0.35s ease;
}

.msi-archive-card:hover .msi-archive-cover-holder img {
  transform: rotateY(0deg) scale(1.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.msi-archive-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #cb382a;
  background: rgba(203, 56, 42, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.msi-archive-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--msi-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.msi-archive-desc {
  font-size: 13px;
  color: var(--msi-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.msi-archive-meta {
  font-size: 11px;
  font-family: 'Space Grotesk', monospace;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}

.msi-archive-actions {
  display: flex;
  gap: 8px;
}

.msi-archive-btn-primary {
  flex: 1;
  background: var(--msi-red);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
  text-decoration: none !important;
  cursor: pointer;
}

.msi-archive-btn-primary:hover {
  background: #a8271a;
  color: #ffffff;
}

.msi-archive-btn-outline {
  flex: 1;
  background: transparent;
  color: var(--msi-navy) !important;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.msi-archive-btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--msi-navy);
}

/* --------------------------------------------------------------------------
   Guaranteed Rock-Solid Sticky Navbar (Zero layout shift, no flicker)
   -------------------------------------------------------------------------- */
.main_header_area .header_menu.fixed-top {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1040 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  background: #ffffff !important;
  transform: none !important;
  animation: none !important;
  transition: box-shadow 0.25s ease, background 0.25s ease !important;
}

.main_header_area .header_menu.hide {
  top: 0 !important;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   Responsive Layout Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .msi-3d-magazine {
    width: 200px;
    transform: none;
  }
  .btn-nav-edergi {
    display: none;
  }
  .msi-article-header-modern .article-main-title {
    font-size: 24px;
  }
}

