/*
Theme Name: Emobil
Theme URI: http://example.com/emobil
Author: Emobil Team
Author URI: http://example.com
Description: Emobil WordPress Theme converted from Next.js
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emobil
*/

:root {
  --primary: #111111;
  --background: #FFFFFF;
  --surface: #F5F5F7;
  --border: #EAEAEA;
  --success: #C1FD01;
  --text-secondary: #7d8595;
  --text-muted: #a2aab8;
  --dark-background: #0F1115;
  --dark-card: #17191D;
  --dark-border: rgba(255, 255, 255, .06);
  --shadow-normal: none;
  --shadow-hover: none;
  --radius-card: 12px;
  --radius-hero: 12px;
  --radius-button: 10px;
  --radius-input: 12px;
  --radius-avatar: 999px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.theme-dark {
  min-height: 100vh;
  --background: var(--dark-background);
  --surface: var(--dark-card);
  --border: var(--dark-border);
  --primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #7e8592;
  background: var(--background);
  color: var(--primary);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(24px);
}

.theme-dark .site-header {
  background: rgba(15, 17, 21, .82);
}

.nav-shell {
  width: min(1300px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: var(--space-24);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-image {
  width: 110px;
  height: 35px;
  object-fit: contain;
}

.logo-image-dark,
.theme-dark .logo-image-light {
  display: none;
}

.theme-dark .logo-image-dark {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}

.main-nav ul,
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav>ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-24);
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: var(--radius-button);
  color: inherit;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease;
}

.main-nav>ul>li>a,
.main-nav>a {
  padding: 0 var(--space-8);
}

.main-nav>ul>li:hover>a,
.main-nav>ul>li:focus-within>a,
.main-nav>a:hover,
.main-nav>a:focus,
.main-nav .current-menu-item>a,
.main-nav .current-menu-ancestor>a {
  color: var(--primary);
  background: var(--surface);
}

.main-nav .menu-item-has-children>a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: var(--space-8);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 70;
  display: grid;
  min-width: 240px;
  max-width: min(360px, calc(100vw - 48px));
  padding: var(--space-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(15, 17, 21, .12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.theme-dark .main-nav .sub-menu {
  background: rgba(23, 25, 29, .98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.main-nav .menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.main-nav li:hover>.sub-menu,
.main-nav li:focus-within>.sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.main-nav .sub-menu a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 var(--space-12);
  color: var(--primary);
  border-radius: var(--radius-button);
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus {
  background: var(--surface);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-8);
}

.notification-dropdown {
  position: relative;
  margin: -8px 0;
  padding: 8px 0;
}

.notification-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -20px;
  width: 420px;
  height: 18px;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-search input {
  width: 0;
  height: 40px;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-avatar);
  padding: 0;
  background: var(--surface);
  color: var(--primary);
  opacity: 0;
  outline: none;
  transition: width 180ms ease, opacity 180ms ease, padding 180ms ease, border-color 180ms ease;
}

.site-search.is-open input,
.site-search input:focus {
  width: min(240px, 32vw);
  padding: 0 88px 0 var(--space-16);
  border-color: var(--border);
  opacity: 1;
}

.site-search .search-close,
.site-search .search-submit {
  position: absolute;
  display: none;
}

.site-search .search-close {
  right: 40px;
}

.site-search .search-submit {
  right: 0;
}

.site-search.is-open .search-toggle {
  display: none;
}

.site-search.is-open .search-close,
.site-search.is-open .search-submit {
  display: inline-grid;
}

.icon-button,
.bookmark,
.hero-arrow {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.icon-button {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-avatar);
}

.icon-button:hover {
  background: var(--surface);
}

.notification-button {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--success);
  color: #111111;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  width: min(390px, calc(100vw - 32px));
  padding: var(--space-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 50px rgba(15, 17, 21, .12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.theme-dark .notification-panel {
  background: rgba(23, 25, 29, .98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.notification-dropdown:hover .notification-panel,
.notification-dropdown:focus-within .notification-panel,
.notification-dropdown.notification-click-open .notification-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notification-dropdown.notification-closed .notification-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: 0 0 var(--space-12);
}

.notification-panel-header strong {
  font-size: 14px;
  font-weight: 600;
}

.notification-close {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-avatar);
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.notification-close:hover,
.notification-close:focus {
  transform: translateY(-1px);
  border-color: rgba(193, 253, 1, .48);
  background: rgba(193, 253, 1, .14);
}

.notification-close svg,
.notification-close i {
  width: 14px !important;
  height: 14px !important;
  display: block;
}

.notification-list {
  display: grid;
}

.notification-item,
.notification-empty {
  padding: var(--space-12) 0;
}

.notification-item+.notification-item,
.notification-empty+.notification-item,
.notification-item+.notification-empty {
  border-top: 1px solid var(--border);
}

.notification-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.notification-item img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-avatar);
  object-fit: cover;
}

.notification-item span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.notification-item .notification-item-top {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.notification-item em {
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(62, 142, 12, .2);
  color: #2f7f08;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.theme-dark .notification-item em {
  background: rgba(193, 253, 1, .14);
  color: var(--success);
}

.notification-item small {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 300;
  line-height: 1.2;
}

.notification-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notification-empty {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.notification-all {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: var(--space-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 400;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.notification-all:hover,
.notification-all:focus {
  border-color: rgba(193, 253, 1, .48);
  background: rgba(193, 253, 1, .12);
  color: var(--primary);
}

.icon-button svg,
.bookmark svg,
.hero-arrow svg,
.button svg,
.section-header svg,
.breaking svg,
.store-links svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.menu-button,
.mobile-menu {
  display: none;
}

.mobile-submenu-toggle {
  display: none;
}

.breaking-shell {
  padding: 0 0 var(--space-24);
}

.breaking {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-24);
  padding: 0 var(--space-24);
  border-radius: 0 0 var(--radius-button) var(--radius-button);
  background: #c1fd00;
  color: #FFFFFF;
}

.breaking-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  color: var(--dark-background);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.breaking-label span {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-avatar);
  background: #000000;
  animation: breaking-dot-pulse 3s ease-in-out infinite;
}

@keyframes breaking-dot-pulse {

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

  50% {
    opacity: 0.28;
    transform: scale(0.72);
  }
}

.breaking p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.breaking-ticker {
  height: 22px;
  min-width: 0;

  overflow: hidden;
}

#breaking-ticker-inner {
  display: block;
}



.breaking-ticker p,
.breaking-ticker a,
.breaking-item {
  display: block;
  overflow: hidden;
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breaking .breaking-ticker a.breaking-item {
  display: flex;
  align-items: center;
  width: 100%;
}

.breaking-ticker p {
  margin: 0;
  line-height: 22px;
}

.breaking-item {
  height: 22px;
}

.breaking a,
.section-header a,
.button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.section-header a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
}

.breaking>a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
}

.hero-section {
  padding: 0 0 var(--space-48);
}

.hero-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-hero);
  background: #111111;
  box-shadow: var(--shadow-normal);
}

.hero-track {
  display: flex;
  width: 100%;
  height: 500px;
  transition: transform 650ms cubic-bezier(.22, .61, .36, 1);
  touch-action: pan-y;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hero-slide {
  min-width: 100%;
  height: 500px;
}

.hero-slide-link {
  display: block;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-overlay,
.card-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .42) 42%, rgba(0, 0, 0, .08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .00) 60%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: var(--space-96);
  bottom: var(--space-96);
  width: min(450px, calc(100% - 160px));
  color: #FFFFFF;
}

.eyebrow {
  margin: 0 0 var(--space-12);
  color: var(--success);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 600;
}

.hero-content a#hero-excerpt {
  max-width: 400px;
  margin: var(--space-16) 0 var(--space-24);
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-content h1 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.button {
  min-height: 52px;
  border: 0;
  border-radius: var(--radius-button);
  padding: 0 var(--space-24);
  cursor: pointer;
}

.button-light {
  background: #FFFFFF;
  color: #111111;
}

.button-dark {
  background: #111111;
  color: #FFFFFF;
}

.button-secondary {
  background: var(--surface);
  color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: var(--space-8);
}

.slider-nav {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: var(--space-24);
  transform: translateX(-50%);
  pointer-events: auto;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: var(--radius-avatar);
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 24px;
  background: var(--success);
}

.hero-nav-button {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-avatar);
  background: rgba(15, 17, 21, .45);
  color: #FFFFFF;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.hero-nav-button-left {
  left: var(--space-24);
}

.hero-nav-button-right {
  right: var(--space-24);
}

.hero-nav-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
}

.section {
  padding: var(--space-32) 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  margin-bottom: var(--space-24);
}

#haberler {
  position: relative;
}

.section-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.section-header.compact h2 {
  font-size: 15px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-24);
}

.featured-carousel {
  display: flex;
  overflow-x: auto;
  gap: var(--space-24);
  padding-bottom: var(--space-8);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.featured-carousel::-webkit-scrollbar,
.home-latest-grid::-webkit-scrollbar {
  display: none;
}

.featured-carousel .news-card {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
}

.section-carousel-button {
  position: absolute;
  top: calc(var(--space-24) + 180px);
  right: var(--space-12);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-avatar);
  background: var(--background);
  color: var(--primary);
  box-shadow: 0 12px 30px rgba(15, 17, 21, .18);
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.section-carousel-button:hover,
.section-carousel-button:focus {
  transform: translateX(2px);
  background: var(--surface);
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
}

.latest-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: var(--space-16);
  min-height: 166px;
  padding: var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--background);
  box-shadow: var(--shadow-normal);
  transition: transform 150ms ease, box-shadow 150ms ease;
  overflow: hidden;
}

.latest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.latest-card img {
  width: 118px;
  height: 153px;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius-input);
}

.latest-card div {
  min-width: 0;
  overflow: hidden;
}

.latest-card h3 {
  margin: 0 0 var(--space-8);
  display: -webkit-box;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.latest-card p:not(.eyebrow) {
  margin: 0 0 var(--space-12);
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-card span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 300;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-12);
  align-items: center;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 300;
	padding-bottom: 5px;
}

.campaign-card span:last-child,
.archive-card.campaign-card .archive-card-meta span:last-child {
  color: var(--primary);
  font-weight: 700;
}

.campaign-archive-section {
  display: grid;
  gap: var(--space-24);
  margin-top: var(--space-48);
}

.campaign-archive-section+.campaign-archive-section {
  padding-top: var(--space-32);
  border-top: 1px solid var(--border);
}

.campaign-card.is-expired {
  opacity: .72;
}

.archive-page {
  padding: var(--space-48) 0 var(--space-64);
  min-height: 50vh;
}

.archive-header {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-32);
}

.archive-header h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.archive-description {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
}

.archive-card {
  display: grid;
  gap: var(--space-12);
  min-width: 0;
  padding: var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--background);
  overflow: hidden;
}

.archive-card h2 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.archive-image-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-input);
}

.archive-image-link img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 180ms ease;
}

.archive-image-link:hover img {
  transform: scale(1.025);
}

.archive-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 300;
}

.archive-card p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.archive-pagination {
  margin-top: var(--space-32);
}

.load-more-shell {
  display: flex;
  justify-content: center;
  margin-top: var(--space-32);
}

.load-more-shell button:disabled {
  opacity: .62;
  cursor: wait;
}

.news-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-normal);
}

.card-image-link {
  display: block;
  height: 100%;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-gradient {
  background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .44) 52%, rgba(0, 0, 0, .04) 100%);
}

.news-content {
  position: absolute;
  left: var(--space-24);
  right: var(--space-24);
  bottom: var(--space-24);
  color: #FFFFFF;
}

.news-content h3 {
  margin: 0 0 var(--space-32);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 600;
}

.news-content span,
.story-feature span,
.video-row span,
.popular-list small {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
}

.news-content .card-meta span {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 300;
}

.explore-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
	display: none;
}

.explore-section .section-header {
  margin-bottom: var(--space-24);
}

.bookmark {
  position: absolute;
  right: var(--space-16);
  bottom: var(--space-16);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-avatar);
  color: #FFFFFF;
  background: rgba(0, 0, 0, .22);
}
a
.category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--space-16);
}

.category-card {
  position: relative;
  min-height: 150px;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--space-12);
  padding: var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: transparent;
  color: var(--primary);
  box-shadow: var(--shadow-normal);
  overflow: hidden;
  text-align: left;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-avatar);
  background: #307f0838;
  color: #FFFFFF;
}

.theme-dark .category-icon {
  background: rgba(193, 253, 1, .16);
  color: var(--success);
}

.category-icon svg,
.category-icon img {
  width: 30px;
  height: 30px;
}

.category-icon svg {
  stroke-width: 1;
}

.category-icon img {
  object-fit: contain;
}

.category-card strong {
  display: block;
  min-height: 38px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.category-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-avatar);
  background: transparent;
  color: var(--primary);
  transition: transform 150ms ease, background 150ms ease;
  margin-top: auto;
}

.category-arrow svg {
  width: 16px;
  height: 16px;
  stroke-width: 1;
}

.category-card:hover .category-arrow,
.category-card:focus .category-arrow {
  transform: translateX(3px);
  background: transparent;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: var(--space-16);
  padding: var(--space-32) 0;
}

.editorial-layout>.panel,
.editorial-layout>.popular-panel {
  min-width: 0;
  padding: var(--space-16);
}

.panel,
.popular-panel,
.video-card,
.newsletter-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--background);
  box-shadow: var(--shadow-normal);
}

.panel,
.popular-panel,
.video-card,
.newsletter-card {
  padding: var(--space-24);
}

.story-feature {
  display: grid;
  gap: var(--space-16);
}

.story-image-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-input);
}

.story-image-link img {
  transition: transform 180ms ease;
}

.story-image-link:hover img {
  transform: scale(1.025);
}

.story-feature img,
.video-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-input);
}

.vehicle-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(140px, 1fr);
  gap: var(--space-16);
  align-items: start;
}

.vehicle-panel .section-header {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.vehicle-panel .story-feature-main {
  grid-column: 1;
  grid-row: 2;
}

.story-feature-main h3 {
  font-size: 19px;
}

.battery-panel .story-feature-main h3 {
  font-size: 17px;
}

.mini-story-list {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  gap: var(--space-24);
  min-width: 0;
}

.mini-story {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--space-10, 10px);
  align-items: center;
  min-width: 0;
}

.mini-story img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.mini-story span,
.mini-story strong {
  min-width: 0;
}

.mini-story strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-story small {
  display: block;
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: 11px;
}

.battery-panel .story-feature-main img {
  aspect-ratio: 1.85 / 1;
}

.story-feature h3,
.video-row h3 {
  margin: 0 0 var(--space-12);
  font-size: 17px;
  line-height: 1.2;
}

.story-feature p,
.video-row p,
.newsletter-card p,
.footer p {
  margin: 0 0 var(--space-16);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.popular-list {
  display: grid;
  gap: var(--space-24);
  padding: 0;
  margin: 0;
  list-style: none;
}

.popular-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: var(--space-12);
}

.popular-list span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-avatar);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
}

.popular-list a {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.video-newsletter {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--space-24);
  padding: var(--space-32) 0;
}

.video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  align-items: center;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--space-32);
  align-items: center;
  overflow: hidden;
  background: var(--surface);
}

.newsletter-card h2 {
  margin: 0 0 var(--space-16);
  font-size: 15px;
}

.newsletter-card form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.newsletter-card input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 0 var(--space-16);
  background: var(--background);
  color: var(--primary);
  outline: none;
}

.field textarea {
  height: 120px;
  padding: var(--space-16);
  resize: vertical;
}

.newsletter-card>img {
  width: 220px;
}

.ad {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  place-items: center;
  margin-top: var(--space-32);
  margin-bottom: var(--space-48);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.ad img {
  width: 120px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--space-8);
}

.footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-48);
  padding: var(--space-64) 0 var(--space-48);
  border-top: 1px solid var(--border);
}

.footer h3 {
  margin: 0 0 var(--space-16);
  font-size: 14px;
}

.footer a:not(.logo) {
  display: block;
  margin-bottom: var(--space-12);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.store-links a {
  display: flex !important;
  align-items: center;
  gap: var(--space-8);
  width: 160px;
  min-height: 48px;
  padding: 0 var(--space-16);
  border-radius: var(--radius-input);
  background: #111111;
  color: #FFFFFF !important;
}

.article-page {
  min-height: 100vh;
  background: var(--background);
}

.article-hero {
  padding: var(--space-24) 0 var(--space-48);
}

.article-hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-hero);
  box-shadow: var(--shadow-normal);
}

.article-shell {
  width: min(780px, calc(100% - 48px));
  margin: 0 auto;
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-bottom: var(--space-24);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.article-kicker span:first-child {
  color: var(--success);
  text-transform: uppercase;
}

.article-shell h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 600;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-16);
  margin: var(--space-16) 0 40px;
  color: var(--text-secondary);
  font-size: 14px;
}

.article-content {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.72;
}

.article-content p,
.article-content li,
.article-content blockquote,
.article-content figcaption {
  color: var(--text-secondary);
  line-height: 1.72;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6,
.article-content strong,
.article-content b {
  color: var(--primary);
}

.article-content strong,
.article-content b {
  font-weight: 700;
}

.article-content a {
  color: var(--primary);
}

.article-summary {
  margin: var(--space-24) 0 var(--space-32);
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.5;
}

.article-author {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-16) 0 var(--space-32);
  border-bottom: 1px solid var(--border);
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-avatar);
  background: var(--surface);
  font-weight: 600;
}

.article-author div:not(.avatar) {
  display: grid;
  gap: var(--space-4);
  flex: 1;
}

.article-author span {
  color: var(--text-secondary);
  font-size: 14px;
}

.article-author button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-avatar);
  background: var(--surface);
  color: var(--primary);
}

.article-body {
  padding: var(--space-48) 0;
  line-height: 1.6;
}

.article-body p {
  margin: 0 0 var(--space-24);
  font-size: 16px;
  line-height: 1.8;
}

.article-ad {
  width: 100%;
  margin: 0 0 var(--space-48);
}

.article-gallery,
.article-video,
.article-missing {
  margin: 0 auto var(--space-48);
}

.article-gallery h2,
.article-video h2,
.related-news h2 {
  margin: 0 0 var(--space-24);
  font-size: 30px;
  line-height: 1.16;
}

.article-gallery div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-16);
}

.article-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.article-video {
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-48);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.article-video div {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-16);
  border-radius: var(--radius-avatar);
  background: #111111;
  color: #FFFFFF;
}

.article-video p,
.article-missing p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.related-news {
  padding: var(--space-32) 0 var(--space-48);
}

.article-missing {
  width: min(780px, calc(100% - 48px));
  padding: var(--space-96) 0;
}

.article-missing h1 {
  margin: 0 0 var(--space-16);
  font-size: 40px;
  line-height: 1.1;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--surface);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  padding: var(--space-32);
  border-right: 1px solid var(--border);
  background: var(--background);
}

.admin-sidebar nav {
  display: grid;
  gap: var(--space-8);
}

.admin-sidebar button,
.admin-preview-link,
.admin-editor-heading button,
.admin-list button {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-button);
  padding: 0 var(--space-16);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.admin-sidebar button.is-active,
.admin-list button.is-active {
  background: var(--surface);
}

.admin-preview-link {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.admin-content {
  padding: var(--space-32);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: var(--space-24);
  margin-bottom: var(--space-32);
}

.admin-topbar h1 {
  margin: 0;
  font-size: 30px;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.saved-pill {
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-avatar);
  background: rgba(140, 243, 0, .22);
  font-size: 14px;
  font-weight: 600;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

.metric-card,
.admin-editor {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--background);
  box-shadow: var(--shadow-normal);
}

.metric-card {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-24);
}

.metric-card span {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.metric-card strong {
  font-size: 30px;
}

.admin-editor {
  display: grid;
  grid-template-columns: 360px 1fr;
  overflow: hidden;
}

.admin-editor-list,
.admin-editor-form {
  padding: var(--space-24);
}

.admin-editor-list {
  border-right: 1px solid var(--border);
}

.admin-editor-heading,
.admin-editor-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.admin-editor-heading h2,
.admin-editor-form-title h2 {
  margin: 0;
  font-size: 15px;
}

.admin-editor-heading button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: #111111;
  color: #FFFFFF;
}

.admin-list {
  display: grid;
  gap: var(--space-8);
}

.admin-list button {
  height: auto;
  min-height: 56px;
  line-height: 1.35;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.field {
  display: grid;
  gap: var(--space-8);
}

.field.is-wide {
  grid-column: 1 / -1;
}

.field span,
.image-upload-field>span,
.toggle-row span {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.image-upload-field {
  display: grid;
  gap: var(--space-12);
}

.image-upload-field.is-wide {
  grid-column: 1 / -1;
}

.image-upload-preview,
.image-upload-empty {
  width: 100%;
  height: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
}

.image-upload-preview {
  object-fit: cover;
}

.image-upload-empty {
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.image-upload-control {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0 var(--space-16);
  border-radius: var(--radius-button);
  background: #111111;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.image-upload-control:has(input:disabled) {
  opacity: 0.72;
  cursor: wait;
}

.image-upload-control svg {
  width: 18px;
  height: 18px;
}

.image-upload-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-upload-error {
  margin: 0;
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
}

.toggle-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.toggle-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--success);
}

.danger-zone {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: var(--radius-input);
  background: rgba(239, 68, 68, 0.05);
}

.danger-zone div {
  display: grid;
  gap: var(--space-4);
}

.danger-zone strong {
  font-size: 14px;
  font-weight: 600;
}

.danger-zone span {
  color: var(--text-secondary);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .hide-mobile {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .mobile-menu.is-open {
    display: grid;
    width: min(100% - 48px, 1280px);
    margin: 0 auto;
    padding: var(--space-24) 0 var(--space-32);
    border-top: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
  }

  .mobile-menu.is-open>ul,
  .mobile-menu.is-open .menu {
    display: grid;
    gap: var(--space-4);
  }

  .mobile-menu li {
    position: relative;
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 48px 0 var(--space-12);
    border-radius: var(--radius-button);
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus,
  .mobile-menu .current-menu-item>a,
  .mobile-menu .current-menu-ancestor>a {
    background: var(--surface);
  }

  .mobile-submenu-toggle {
    position: absolute;
    top: 2px;
    right: 0;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-avatar);
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .mobile-submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 150ms ease;
  }

  .mobile-menu .submenu-open>.mobile-submenu-toggle::before {
    transform: translateY(2px) rotate(225deg);
  }

  .mobile-menu .sub-menu {
    display: grid;
    gap: var(--space-4);
    max-height: 0;
    overflow: hidden;
    padding-left: var(--space-12);
    opacity: 0;
    transition: max-height 180ms ease, opacity 150ms ease;
  }

  .mobile-menu .submenu-open>.sub-menu {
    max-height: 600px;
    opacity: 1;
  }

  .mobile-menu .sub-menu a {
    min-height: 40px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
  }

  .featured-carousel .news-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .latest-grid {
    grid-template-columns: 1fr 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-16);
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-carousel-button {
    display: none;
  }

  .video-newsletter,
  .admin-editor {
    grid-template-columns: 1fr;
  }

  .admin-editor-list {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {

  .container,
  .nav-shell {
    width: min(100% - 32px, 1280px);
  }

  .hero-card {
    min-height: 400px;
  }

  .hero-track,
  .hero-slide,
  .hero-slide img {
    height: 400px;
  }

  .hero-content {
    left: var(--space-24);
    right: var(--space-24);
    bottom: var(--space-64);
    width: auto;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .video-row,
  .newsletter-card,
  .footer,
  .latest-grid {
    grid-template-columns: 1fr;
  }

  .article-hero img {
    height: 400px;
  }

  .article-shell h1,
  .article-missing h1 {
    font-size: 34px;
  }

  .article-gallery div {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .editorial-layout {
    grid-template-columns: 1fr;
  }

  .vehicle-panel {
    grid-template-columns: 1fr;
  }

  .vehicle-panel .story-feature-main,
  .mini-story-list {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {

  .container,
  .nav-shell,
  .mobile-menu.is-open {
    width: calc(100% - 32px);
  }

  .notification-dropdown::after {
    right: -140px;
    width: min(360px, calc(100vw - 32px));
  }

  .notification-panel {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .logo {
    max-width: 148px;
  }

  .logo-image {
    width: 110px;
    height: auto;
  }

  .hero-card {
    min-height: 400px;
    border-radius: var(--radius-card);
  }

  .hero-track,
  .hero-slide,
  .hero-slide img {
    height: 400px;
  }

  .hero-content {
    bottom: var(--space-80);
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content a#hero-excerpt {
    margin: var(--space-12) 0 0;
  }

  .featured-carousel .news-card {
    flex-basis: calc((100% - 12px) / 1.45);
    min-height: 300px;
  }

  .hero-content .button {
    display: none;
  }

  .hero-nav-button {
    display: inline-grid;
    position: static;
    transform: none;
  }

  .slider-nav {
    inset: auto var(--space-12) var(--space-24);
    left: var(--space-12);
    right: var(--space-12);
    bottom: var(--space-24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: none;
  }

  .slider-dots {
    position: static;
    transform: none;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
  }

  .category-card {
    min-height: 112px;
    padding: var(--space-12) var(--space-8);
  }

  .category-card strong {
    min-height: 32px;
    font-size: 11px;
  }

  .category-icon {
    width: 40px;
    height: 40px;
  }

  .category-icon svg,
  .category-icon img {
    width: 24px;
    height: 24px;
  }

  .category-arrow {
    width: 28px;
    height: 28px;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-16);
  }

  .archive-card {
    padding: var(--space-12);
  }

  .archive-card h2 {
    font-size: 14px;
  }

  .archive-card p {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .archive-card-meta {
    gap: var(--space-8);
    font-size: 11px;
  }

  .home-latest-grid {
    display: flex;
    grid-template-columns: none;
    gap: var(--space-16);
    overflow-x: auto;
    padding-bottom: var(--space-8);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-latest-grid .latest-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .breaking-shell {
    padding-bottom: var(--space-16);
  }

  .breaking {
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-8);
    min-height: 48px;
    padding: 0 var(--space-12);
    align-items: center;
  }

  .breaking-label {
    gap: 0;
    font-size: 0;
    padding-top: 0;
  }

  .breaking>a {
    display: none;
  }

  .breaking-ticker p,
  .breaking-ticker a,
  .breaking-item {
    font-size: 14px;
    font-weight: 500;
    height: 36px;
    line-height: 1.3;
    white-space: normal;
  }

  .breaking .breaking-item {
    display: grid;
    align-items: center;
  }

  .breaking .breaking-item p,
  .breaking-ticker p {
    min-height: 36px;
    display: grid;
    align-items: center;
    line-height: 1.3;
  }

  .breaking-ticker {
    height: 36px;
  }

  #breaking-ticker-inner {
    display: grid;
    gap: 0;
  }

  .latest-card {
    grid-template-columns: 1fr;
  }

  .latest-card img {
    width: 100%;
    height: 220px;
  }

  .vehicle-panel {
    grid-template-columns: 1fr;
  }

  .article-hero img {
    height: 360px;
    border-radius: var(--radius-card);
  }

  .article-shell {
    width: calc(100% - 32px);
  }

  .article-shell h1,
  .article-missing h1 {
    font-size: 30px;
  }

  .article-meta {
    margin-bottom: 32px;
    font-size: 13px;
  }


  .category-showcase-section+.category-showcase-section {
    margin-top: var(--space-8);
  }

  .article-summary {
    font-size: 15px;
  }

  .newsletter-card form {
    grid-template-columns: 1fr;
  }

  .admin-content,
  .admin-sidebar {
    padding: var(--space-24);
  }
}

/* Admin Auth Screen */
.admin-auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  padding: var(--space-24);
}

.admin-auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-48) var(--space-32);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.theme-dark .admin-auth-card {
  box-shadow: none;
}

.admin-auth-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
}

.admin-auth-header h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
}

.admin-auth-header p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

.admin-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.auth-error {
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-input);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-success {
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-input);
  background: rgba(140, 243, 0, 0.1);
  color: #62aa00;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid rgba(140, 243, 0, 0.2);
}

.admin-sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.admin-sidebar-footer .admin-preview-link {
  margin-top: 0;
}

.button-danger {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.15);
  font-weight: 600;
  transition: all 150ms ease;
}

.button-danger:hover {
  background: rgba(239, 68, 68, 0.16);
}

.admin-sidebar .button-danger {
  min-height: 44px;
  width: 100%;
  border-radius: var(--radius-button);
  cursor: pointer;
  font-size: 14px;
}

.auth-switch-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: var(--space-12);
}

.auth-switch-text button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-left: var(--space-4);
  text-decoration: underline;
}

/* ─── Rich Text Editor ─────────────────────────────────────────────────────── */

.rich-text-editor {
  display: grid;
  gap: var(--space-8);
}

.rich-text-editor>span {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.rich-text-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.rich-text-toolbar button {
  height: 36px;
  padding: 0 var(--space-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.rich-text-toolbar button:hover:not(:disabled) {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.rich-text-toolbar button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rich-text-surface {
  min-height: 240px;
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: var(--space-16);
  background: var(--background);
  color: var(--primary);
  font-size: 15px;
  line-height: 1.7;
  outline: none;
}

.rich-text-surface:empty::before {
  content: attr(data-placeholder);
  color: var(--text-secondary);
  pointer-events: none;
}

.rich-text-surface p {
  margin: 0 0 var(--space-16);
}

.rich-text-surface ul,
.rich-text-surface ol {
  margin: 0 0 var(--space-16);
  padding-left: var(--space-24);
}

.rich-text-surface li {
  margin-bottom: var(--space-8);
}

.rich-text-surface b,
.rich-text-surface strong {
  font-weight: 700;
}

.rich-text-surface img {
  max-width: 100%;
  border-radius: var(--radius-input);
}

.rich-text-surface figure.rte-figure {
  margin: var(--space-24) 0;
}

.rich-text-surface figure.rte-figure figcaption {
  margin-top: var(--space-8);
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.rich-text-surface table.rte-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-24);
  font-size: 14px;
}

.rich-text-surface table.rte-table th,
.rich-text-surface table.rte-table td {
  border: 1px solid var(--border);
  padding: var(--space-8) var(--space-12);
  text-align: left;
}

.rich-text-surface table.rte-table thead th {
  background: var(--surface);
  font-weight: 600;
}

/* ─── Article body HTML content ─────────────────────────────────────────────── */

.article-body b,
.article-body strong {
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  margin: 0 0 var(--space-24);
  padding-left: var(--space-24);
  font-size: 16px;
  line-height: 1.8;
}

.article-body li {
  margin-bottom: var(--space-8);
}

.article-body figure.rte-figure {
  margin: var(--space-32) 0;
}

.article-body figure.rte-figure img {
  width: 100%;
  border-radius: var(--radius-input);
}

.article-body figure.rte-figure figcaption {
  margin-top: var(--space-8);
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
}

.article-body table.rte-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-32);
  font-size: 15px;
  overflow-x: auto;
  display: block;
}

.article-body table.rte-table th,
.article-body table.rte-table td {
  border: 1px solid var(--border);
  padding: var(--space-12) var(--space-16);
  text-align: left;
}

.article-body table.rte-table thead th {
  background: var(--surface);
  font-weight: 600;
}

/* ─── Slider Order Panel ────────────────────────────────────────────────────── */

.slider-order-panel {
  display: grid;
  gap: var(--space-12);
  padding-top: var(--space-16);
  border-top: 1px solid var(--border);
}

.slider-order-heading span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.slider-order-heading small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: var(--space-4);
}

.slider-order-list {
  display: grid;
  gap: var(--space-8);
}

.slider-order-empty {
  color: var(--text-secondary);
  font-size: 14px;
  padding: var(--space-16) 0;
}

.slider-order-item {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--background);
}

.slider-order-item.is-inactive {
  opacity: 0.5;
}

.slider-order-rank {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.slider-order-title {
  flex: 1;
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-order-title:hover {
  text-decoration: underline;
}

.slider-order-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.slider-order-actions {
  display: flex;
  gap: var(--space-4);
}

.slider-order-actions button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
}

.slider-order-actions button:hover:not(:disabled) {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.slider-order-actions button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

::selection {
    background: #c1fd00;
    color: #000000;
}

::-moz-selection {
    background: #c1fd00;
    color: #000000;
}
