:root {
  --blue: #1f5fa8;
  --red: #d62839;
  --navy-950: #06192d;
  --navy-900: #0a2c4a;
  --navy-850: #113a5f;
  --ink: #122236;
  --muted: #5c6a79;
  --line: #dbe3ec;
  --surface: #ffffff;
  --bg: #eef2f6;
  --sidebar-sticky-top: calc(var(--fixed-nav-height, 48px) + 12px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 88%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.45;
}

body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

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

a:hover {
  color: var(--blue);
}

.container {
  width: min(1320px, calc(100% - 120px));
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 500;
}

.public-header {
  position: relative;
  isolation: isolate;
}

.public-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/header-pattern.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0b2743;
  opacity: 0.4;
  filter: grayscale(100%) brightness(0.95) contrast(1.08);
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 0;
}

.public-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 28, 0.3) 0%, rgba(4, 16, 28, 0.14) 45%, rgba(4, 16, 28, 0.28) 100%);
  pointer-events: none;
  z-index: 0;
}

.public-header > * {
  position: relative;
  z-index: 1;
}

.public-header .header-top {
  background: linear-gradient(90deg, rgba(10, 44, 74, 0.62), rgba(17, 58, 95, 0.58));
  color: #f8fbff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-top-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-icon-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  color: #f8fbff;
  font-size: 0.9rem;
  line-height: 1;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.icon-btn svg path {
  stroke: currentColor;
  stroke-width: 0.45;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.site-logo-image {
  width: 230px;
  height: auto;
  max-width: min(45vw, 230px);
  object-fit: contain;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(140deg, var(--red), #f15a6a);
}

.brand-text {
  display: grid;
  line-height: 1.2;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-text small {
  font-size: 0.74rem;
  opacity: 0.85;
  letter-spacing: 0.01em;
  margin-top: 3px;
  font-weight: 600;
}

.brand-copy {
  display: grid;
  align-items: start;
  margin-top: 0;
  gap: 0;
}

.public-header .main-nav {
  background: rgba(6, 25, 45, 0.64);
  color: #f2f7fc;
  border-bottom: 2px solid var(--blue);
  position: relative;
  z-index: 530;
  box-shadow: 0 3px 10px rgba(6, 20, 36, 0.2);
}

.public-header .main-nav.is-fixed {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 760;
  background: rgba(6, 25, 45, 0.98);
  border-bottom-color: rgba(31, 95, 168, 0.95);
  box-shadow: 0 8px 18px rgba(4, 14, 26, 0.35);
}

body.has-sticky-menu {
  padding-top: var(--fixed-nav-height, 48px);
}

.breaking-ticker {
  background: rgba(10, 34, 56, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef5fd;
  font-weight: 700;
}

.ticker-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  direction: ltr;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  direction: ltr;
  --ticker-distance: 50%;
  --ticker-duration: 26s;
  animation: ticker-scroll-ltr var(--ticker-duration) linear infinite;
  will-change: transform;
}

.ticker-track.is-rtl {
  animation-name: ticker-scroll-ltr;
}

.ticker-track.is-rtl .ticker-item {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: max-content;
  flex-shrink: 0;
  padding-inline-end: 24px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #e9f3fc;
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 700;
  flex-shrink: 0;
}

.ticker-item:hover {
  color: #fff;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  flex-shrink: 0;
}

.breaking-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll-ltr {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--ticker-distance)), 0, 0);
  }
}

.nav-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  font-size: 0.97rem;
  font-weight: 800;
}

.nav-links a {
  padding: 2px 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  color: #f2f7fc;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  color: #fff;
  border-bottom-color: var(--red);
}

.nav-tools {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-form input {
  width: 180px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 9px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
}

.search-form input::placeholder {
  color: rgba(244, 248, 253, 0.86);
}

.search-form button {
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  height: 32px;
  padding: 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  overflow: hidden;
}

.lang-switch a {
  min-width: 42px;
  text-align: center;
  padding: 7px 8px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #f5f9fd;
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch a + a {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.24);
}

.lang-switch a.active {
  background: var(--red);
  color: #fff;
}

.admin-login-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #f5f9fd;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.admin-login-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.admin-login-icon svg path {
  stroke: currentColor;
  stroke-width: 0.45;
}

.admin-login-icon:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.has-login-modal {
  overflow: hidden;
}

.site-login-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.site-login-modal.is-open {
  display: block;
}

.site-login-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(6, 18, 32, 0.62);
  cursor: pointer;
}

.site-login-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 32px));
  margin: 72px auto 0;
  padding: 14px;
  border-radius: 10px;
  display: grid;
  gap: 10px;
}

.site-login-modal-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f2b49;
}

.site-login-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 43, 73, 0.08);
  color: #1f3f63;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f9fd;
  padding: 6px 9px;
  font-weight: 700;
}

.admin-header {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-bottom: 1px solid #ccd9e7;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  box-shadow: 0 6px 18px rgba(10, 23, 39, 0.1);
}

.admin-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-header-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-logo-image {
  width: 134px;
  height: auto;
  object-fit: contain;
}

.admin-brand {
  align-items: center;
  gap: 0;
}

.admin-header-context {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-header-kicker {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #103e67;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-header-context strong {
  color: #163857;
  font-size: 0.9rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-view-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #9eb8d2;
  background: linear-gradient(180deg, #2a6db8 0%, #1f5fa8 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-view-site-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, #255fa1 0%, #184f8e 100%);
  border-color: #184f8e;
}

.admin-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.admin-nav-links a {
  color: #1e466c;
  border: 1px solid #c5d5e6;
  background: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  line-height: 1.1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.admin-nav-links a.active {
  color: #fff;
  background: #1f5fa8;
  border-color: #1f5fa8;
}

.admin-nav-links a:hover {
  color: #fff;
  background: #184f8e;
  border-color: #184f8e;
}

.admin-nav-links a.is-logout {
  color: #8d1b2c;
  background: #fff5f6;
  border-color: #f0c5cb;
}

.admin-nav-links a.is-logout:hover {
  color: #fff;
  background: #c8293c;
  border-color: #c8293c;
}

.admin-header-user {
  min-width: 120px;
  display: grid;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #c5d5e6;
  background: #fff;
  color: #153956;
}

.admin-header-user-label {
  font-size: 0.66rem;
  font-weight: 700;
  color: #667b92;
  line-height: 1.1;
}

.admin-header-user strong {
  font-size: 0.8rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

main {
  padding: 12px 0 24px;
}

body.admin-area {
  min-height: 100vh;
  padding-top: 10px;
  padding-bottom: 80px;
}

body.admin-area main {
  padding: 16px 0 22px;
}

body.admin-area .container {
  width: min(1120px, calc(100% - 384px));
}

@media (max-width: 1480px) {
  body.admin-area .container {
    width: min(1120px, calc(100% - 140px));
  }
}

body.admin-area .section-title {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

body.admin-area .form-card,
body.admin-area .table {
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(10, 23, 39, 0.06);
}

body.admin-area .form-card {
  padding: 14px;
}

body.admin-area .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

body.admin-area .form-grid > button,
body.admin-area .form-grid > .form-actions,
body.admin-area .form-grid > .alert {
  grid-column: 1 / -1;
}

body.admin-area .form-grid textarea {
  min-height: 180px;
}

body.admin-area .table th,
body.admin-area .table td {
  padding: 10px 12px;
}

body.admin-area .table td:last-child {
  white-space: nowrap;
}

body.admin-area .inline-form {
  display: inline-block;
  margin-inline-start: 6px;
}

body.admin-area .button.secondary {
  background: #f7faff;
}

.admin-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.admin-login-layout-single {
  grid-template-columns: minmax(300px, 520px);
  justify-content: center;
}

.admin-login-promo {
  border-radius: 10px;
  border: 1px solid #c8d7e7;
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(31, 95, 168, 0.2) 0%, rgba(31, 95, 168, 0) 55%),
    linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.admin-login-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #103f67;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-login-promo h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.2;
  color: #113253;
}

.admin-login-promo p {
  margin: 0;
  color: #4f6175;
  font-size: 0.92rem;
  line-height: 1.55;
}

.admin-login-pills {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-login-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #c6d6e7;
  background: #fff;
  color: #1f4f7d;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-login-card {
  border-radius: 10px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.admin-login-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #0f2b49;
}

.admin-login-head p {
  margin: 4px 0 0;
  color: #647689;
  font-size: 0.88rem;
}

.admin-login-form {
  display: grid;
  gap: 10px;
}

.admin-login-field {
  display: grid;
  gap: 4px;
}

.admin-login-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #304255;
}

.admin-login-field input {
  width: 100%;
  height: 40px;
  border: 1px solid #ccd8e5;
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
  font: inherit;
}

.admin-login-submit {
  width: 100%;
  height: 38px;
  margin-top: 4px;
  font-size: 0.9rem;
}

.newsroom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas: 'main side';
  gap: 16px;
  align-items: start;
}

.newsroom-main {
  grid-area: main;
}

.newsroom-left {
  grid-area: left;
}

.newsroom-sidebar {
  grid-area: side;
}

.home-three-col .newsroom-left,
.newsroom-sidebar {
  position: sticky;
  top: var(--sidebar-sticky-top);
}

.home-three-col {
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  grid-template-areas: 'left main side';
}

.news-panel,
.form-card,
.table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(12, 25, 42, 0.04);
}

.news-panel {
  margin-bottom: 10px;
}

.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.hero-splide .splide__track,
.hero-splide .splide__list,
.hero-splide .splide__slide {
  height: 100%;
}

.hero-splide .splide__slide {
  position: relative;
}

.hero-splide .splide__arrows {
  pointer-events: none;
}

.hero-splide .splide__arrow {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(6, 25, 45, 0.42);
  opacity: 1;
}

.hero-splide .splide__arrow:hover {
  background: rgba(6, 25, 45, 0.68);
}

.hero-splide .splide__arrow svg {
  fill: #fff;
}

.hero-splide .splide__arrow--prev {
  left: 10px;
}

.hero-splide .splide__arrow--next {
  right: 10px;
}

.hero-splide .splide__pagination {
  bottom: 10px;
  gap: 7px;
}

.hero-splide .splide__pagination__page {
  margin: 0;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.hero-splide .splide__pagination__page.is-active {
  transform: none;
  width: 18px;
  border-radius: 999px;
  background: #fff;
}

.hero-link {
  display: block;
  position: relative;
  color: #fff;
  height: 100%;
}

.hero-link:hover {
  color: #fff;
}

.hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-img-fallback {
  background: linear-gradient(135deg, #36567a, #1d3552);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 45, 0.12) 30%, rgba(6, 25, 45, 0.9) 100%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  max-width: min(88%, 980px);
  padding: 24px;
  display: grid;
  gap: 8px;
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(242, 247, 252, 0.95);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(214, 40, 57, 0.9);
  color: #fff;
  font-weight: 700;
}

.hero-title {
  display: block;
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2.1rem);
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-excerpt {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(238, 245, 253, 0.95);
  overflow-wrap: anywhere;
}

.featured-story {
  overflow: hidden;
}

.featured-media-wrap,
.featured-media,
.article-hero,
.article-hero img,
.thumb,
.thumb img {
  width: 100%;
}

.featured-media-wrap,
.featured-media,
.article-hero {
  aspect-ratio: 16 / 9;
}

.thumb-43 {
  aspect-ratio: 4 / 3;
}

.featured-media,
.thumb img,
.article-hero img {
  height: 100%;
  object-fit: cover;
}

.placeholder-media {
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #edf1f5, #e4ebf2);
}

.placeholder-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 80%);
  transform: translateX(-100%);
  animation: placeholder-shimmer 1.5s ease-in-out infinite;
}

@keyframes placeholder-shimmer {
  to {
    transform: translateX(100%);
  }
}

.featured-content {
  padding: 10px 12px 12px;
}

.headline-kicker {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.headline-xl {
  margin: 6px 0;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  line-height: 1.28;
}

.headline-md {
  margin: 0 0 4px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.headline-sm {
  margin: 0 0 3px;
  font-size: 1rem;
  line-height: 1.3;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--muted);
}

.excerpt-sm {
  margin: 6px 0 0;
  color: #4a5664;
  font-size: 0.9rem;
  line-height: 1.45;
}

.list-panel,
.compact-panel,
.sidebar-panel,
.static-panel,
.article-shell,
.related-block {
  padding: 10px 12px;
}

.related-block .standard-card-media {
  position: relative;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.block-head h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.block-link,
.result-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

.headline-list,
.standard-list {
  display: grid;
}

.story-row,
.standard-list-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.story-row:last-child,
.standard-list-item:last-child {
  border-bottom: none;
}

.thumb {
  border-radius: 2px;
  overflow: hidden;
}

.story-content,
.standard-content {
  min-width: 0;
}

.standard-thumb {
  min-height: 100%;
}

.compact-list {
  display: grid;
}

.compact-item {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.compact-item:last-child {
  border-bottom: none;
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 12px;
}

.standard-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.standard-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.standard-card-media {
  border-bottom: 1px solid var(--line);
}

.standard-card-content {
  padding: 8px;
}

.standard-card-content .headline-sm {
  margin: 0 0 5px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.standard-card-content .headline-sm a {
  color: #122236;
  font-weight: 700;
}

.category-glance-card .standard-card-media {
  aspect-ratio: 16 / 9;
  position: relative;
}

.category-glance-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 45, 0.05) 30%, rgba(7, 26, 45, 0.78) 100%);
  pointer-events: none;
}

.category-overlay-title {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 8px;
  z-index: 2;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.28;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.rtl .category-overlay-title {
  text-align: right;
}

.category-glance-card .standard-card-content {
  display: grid;
  gap: 8px;
  padding: 10px 10px 8px;
}

.category-glance-card .headline-sm {
  margin: 0;
  min-height: 2.8em;
  text-align: center;
}

.category-glance-card .headline-sm a {
  color: #153252;
}

.category-glance-arrow {
  color: #b0bccb;
  font-size: 1.12rem;
  line-height: 1;
  width: 20px;
  display: inline-block;
}

.category-glance-arrow:hover {
  color: #7d8ea5;
}

.sidebar-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}

.sidebar-list {
  display: grid;
}

.sidebar-item {
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}

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

.sidebar-item h4 {
  margin: 0 0 3px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.social-glance-list {
  display: grid;
  gap: 10px;
}

.social-glance-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.social-glance-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.social-glance-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 2px;
  overflow: hidden;
  background: #e8edf3;
  position: relative;
}

.social-glance-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-glance-content {
  min-width: 0;
}

.social-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #d5dfeb;
  color: #294c75;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.social-platform-chip--overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  margin-bottom: 0;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(6, 25, 45, 0.7);
  color: #f7fbff;
}

body.rtl .social-platform-chip--overlay {
  left: auto;
  right: 8px;
}

.social-platform-chip svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.social-glance-content h4 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  line-height: 1.35;
}

.left-news-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.left-news-thumb {
  display: block;
  width: 84px;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  background: #e8edf3;
}

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

.left-news-content {
  min-width: 0;
}

.sidebar-links {
  display: grid;
  gap: 7px;
}

.sidebar-links a {
  color: #334155;
  font-weight: 600;
}

.article-layout .newsroom-main {
  min-width: 0;
}

.article-shell {
  padding-top: 12px;
}

.article-head {
  margin-bottom: 8px;
}

.share-row {
  margin: 8px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-row a {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.article-hero {
  border-radius: 3px;
  overflow: hidden;
}

.article-body {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.article-body p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.72;
  white-space: pre-line;
}

.static-page-wrap {
  max-width: none;
}

.static-text {
  margin: 0;
  color: #3f4d5d;
}

.about-content p {
  margin: 0 0 10px;
}

.about-content ul {
  margin: 0 0 10px;
  padding-inline-start: 18px;
}

.about-content li {
  margin: 0 0 5px;
}

.form-card,
.static-panel {
  padding: 12px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 10px;
  font: inherit;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  height: 34px;
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}

.inline-form {
  display: inline;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.table th {
  background: #f2f6fb;
  font-weight: 700;
}

.badge {
  display: inline-block;
  font-size: 0.74rem;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid var(--line);
}

.badge-read {
  color: #0f4f2f;
  border-color: #b9dfcb;
  background: #eaf7f0;
}

.badge-unread {
  color: #8b1f26;
  border-color: #f2c2c6;
  background: #fff0f1;
}

.card-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.alert {
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.alert.error {
  background: #fae9eb;
  color: #8b1f26;
  border: 1px solid #f3c1c6;
}

.alert.success {
  background: #e8f1fa;
  color: #1b4f87;
  border: 1px solid #bdd4ec;
}

.pagination {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pagination a,
.pagination .current {
  min-width: 32px;
  text-align: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 0.84rem;
}

.pagination .current {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.image-day-section {
  margin-top: 12px;
  padding: 0 0 12px;
  width: 100%;
  color: var(--ink);
}

.image-day-shell {
  width: min(1320px, calc(100% - 120px));
  margin: 0 auto;
}

.image-day-head {
  margin-bottom: 8px;
  padding-inline: 2px;
}

.image-day-head h2 {
  margin: 0;
  font-size: clamp(1.14rem, 1.5vw, 1.4rem);
  line-height: 1.2;
  color: #123256;
}

.image-day-head p {
  margin: 4px 0 0;
  color: #5f6f80;
  font-size: 0.86rem;
}

.image-day-carousel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: clamp(220px, 31vw, 320px);
  border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(11, 28, 47, 0.09);
  background: #fff;
}

.image-day-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.image-day-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.image-day-media {
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.image-day-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-day-content {
  min-width: 0;
  padding: clamp(12px, 1.8vw, 18px);
  display: grid;
  align-content: center;
  gap: 7px;
  background: linear-gradient(145deg, #f8fbff 0%, #edf3f9 100%);
  border-inline-start: 1px solid var(--line);
}

.image-day-date {
  display: inline-flex;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d4e0ed;
  font-size: 0.72rem;
  font-weight: 700;
  color: #365d87;
}

.image-day-content h3 {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.25;
  text-wrap: balance;
  color: #112c49;
}

.image-day-content p {
  margin: 0;
  color: #4f6072;
  font-size: 0.88rem;
  line-height: 1.45;
}

.image-day-pagination {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.image-day-dot {
  appearance: none;
  padding: 0;
  width: 9px;
  height: 9px;
  border: 1px solid #9db4cc;
  background: #d9e5f1;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.image-day-dot:hover {
  transform: scale(1.15);
  background: #b8cde2;
}

.image-day-dot.is-active {
  width: 18px;
  background: var(--blue);
  border-color: var(--blue);
}

.site-footer {
  margin-top: 20px;
}

.public-footer {
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(31, 95, 168, 0.22) 0%, rgba(7, 26, 45, 0) 62%),
    linear-gradient(180deg, #081a2f 0%, #061527 100%);
  color: #d3deea;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #2d78ca 15%, #e54356 50%, #2d78ca 85%, transparent 100%);
}

.footer-main {
  padding: 22px 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
  align-items: start;
  gap: 24px 30px;
}

.footer-branding {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-logo-image {
  width: 196px;
  max-width: min(44vw, 196px);
}

.footer-chip-row {
  margin-top: 4px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #edf4fb;
  font-size: 0.74rem;
  font-weight: 700;
}

.footer-right {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-column h4 {
  margin: 0 0 8px;
  color: #e9f2fb;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-quick-links {
  display: grid;
  gap: 7px;
}

.footer-quick-links a {
  color: #c4d3e3;
  font-size: 0.82rem;
  font-weight: 650;
}

.footer-quick-links a:hover {
  color: #ffffff;
  transform: translateX(1px);
}

.footer-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.footer-social-link {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 7px;
  color: #dbe8f4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  font-weight: 650;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social-name {
  line-height: 1.2;
  white-space: nowrap;
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.footer-social-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 12, 21, 0.55);
}

.footer-bottom-inner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.82rem;
}

.footer-credit {
  color: #afc0d2;
  font-weight: 600;
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #9bb0c5;
}

.inline-heart {
  color: #ff8e9c;
  font-size: 0.92em;
  line-height: 1;
  display: inline-block;
  transform: translateY(1px);
}

.footer-disclaimer {
  color: #8da3b8;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: #10385b;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(6, 25, 45, 0.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
  z-index: 150;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #1f5fa8;
}

.admin-footer {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  color: #51657a;
  border-top: 1px solid #ccd9e7;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  box-shadow: 0 -5px 14px rgba(10, 23, 39, 0.08);
}

.admin-footer-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-footer-brand {
  display: grid;
  gap: 2px;
  font-size: 0.78rem;
}

.admin-footer-brand strong {
  color: #183c5d;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #c5d5e6;
  background: #fff;
  color: #1e466c;
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-footer-links a:hover {
  color: #fff;
  background: #184f8e;
  border-color: #184f8e;
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

body.rtl .meta-row,
body.rtl .section-title,
body.rtl .form-actions {
  justify-content: flex-start;
}

body.rtl .newsroom-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  grid-template-areas: 'side main';
}

body.rtl .home-three-col {
  grid-template-columns: 320px minmax(0, 1fr) 280px;
  grid-template-areas: 'side main left';
}

body.rtl .brand,
body.rtl .footer-logo {
  flex-direction: row-reverse;
}

body.rtl .brand-copy {
  text-align: right;
}

body.rtl .story-row,
body.rtl .standard-list-item {
  grid-template-columns: minmax(0, 1fr) 150px;
}

body.rtl .story-row .thumb,
body.rtl .standard-list-item .thumb {
  order: 2;
}

body.rtl .story-row .story-content,
body.rtl .standard-list-item .standard-content {
  order: 1;
}

body.rtl .left-news-item {
  grid-template-columns: minmax(0, 1fr) 84px;
}

body.rtl .left-news-thumb {
  order: 2;
}

body.rtl .left-news-content {
  order: 1;
}

body.rtl .social-glance-card {
  grid-template-columns: 1fr;
}

body.rtl .social-glance-thumb {
  order: 0;
}

body.rtl .social-glance-content {
  order: 0;
}

body.rtl .hero-content {
  left: auto;
  right: 0;
  text-align: right;
}

body.rtl .hero-splide .splide__arrow--prev {
  left: auto;
  right: 10px;
}

body.rtl .hero-splide .splide__arrow--next {
  right: auto;
  left: 10px;
}

body.rtl .image-day-content {
  text-align: right;
  border-inline-start: none;
  border-inline-end: 1px solid var(--line);
}

body.rtl .image-day-media {
  order: 2;
}

body.rtl .image-day-content {
  order: 1;
}

body.rtl .hero-meta {
  justify-content: flex-start;
}

body.rtl .footer-main {
  grid-template-columns: minmax(0, 1.95fr) minmax(0, 1.05fr);
}

body.rtl .footer-branding {
  text-align: right;
}

body.rtl .footer-right {
  direction: rtl;
}

body.rtl .footer-social-link {
  flex-direction: row-reverse;
  justify-content: flex-start;
  text-align: right;
}

body.rtl .footer-social {
  direction: rtl;
  justify-content: flex-start;
}

body.rtl .footer-social-icon {
  margin-inline-start: 0;
  margin-inline-end: 0;
}

body.rtl .footer-social-name {
  text-align: right;
}

body.rtl .footer-social-link--instagram {
  grid-column: auto;
  padding-inline: 8px;
}

body.rtl .footer-social-link--instagram .footer-social-name {
  font-size: 0.68rem;
}

body.rtl .footer-bottom-inner {
  flex-direction: row-reverse;
}

body.rtl .footer-meta {
  justify-content: flex-start;
}

body.rtl .admin-header-branding {
  flex-direction: row-reverse;
}

body.rtl .admin-header-context {
  text-align: right;
}

body.rtl .admin-header-actions {
  flex-direction: row-reverse;
}

body.rtl .admin-view-site-btn {
  direction: rtl;
}

body.rtl .admin-header-user {
  text-align: right;
}

body.rtl .admin-footer-inner {
  flex-direction: row-reverse;
}

body.rtl .admin-footer-brand {
  text-align: right;
}

body.rtl .admin-footer-links {
  direction: rtl;
}

body.rtl .back-to-top {
  right: auto;
  left: 16px;
}

body.rtl .table th,
body.rtl .table td {
  text-align: right;
}

body.rtl .admin-login-promo,
body.rtl .admin-login-card,
body.rtl .admin-login-field label,
body.rtl .admin-login-head p {
  text-align: right;
}

body.rtl .admin-login-pills {
  justify-content: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .ticker-track.is-rtl {
    animation: none;
    width: max-content;
  }

  .ticker-group {
    min-width: auto;
    padding-inline-end: 0;
    gap: 14px;
  }

  .ticker-group[aria-hidden="true"] {
    display: none;
  }

  .ticker-viewport {
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 1080px) {
  .newsroom-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas: 'main side';
  }

  .home-three-col {
    grid-template-columns: 250px minmax(0, 1fr) 290px;
    grid-template-areas: 'left main side';
  }

  body.rtl .newsroom-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-areas: 'side main';
  }

  body.rtl .home-three-col {
    grid-template-columns: 290px minmax(0, 1fr) 250px;
    grid-template-areas: 'side main left';
  }

  .nav-links {
    gap: 10px;
    font-size: 0.9rem;
  }

  .search-form input {
    width: 150px;
  }

  .standard-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .footer-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .newsroom-layout,
  body.rtl .newsroom-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      'main'
      'side';
  }

  .home-three-col,
  body.rtl .home-three-col {
    grid-template-columns: 1fr;
    grid-template-areas:
      'main'
      'left'
      'side';
  }

  .home-three-col .newsroom-left,
  .newsroom-sidebar {
    position: static;
    top: auto;
  }

  .footer-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-login-promo {
    padding: 18px;
  }

  .image-day-slide {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    display: none;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: none;
  }

  .image-day-slide.is-active {
    display: grid;
    pointer-events: auto;
  }

  .image-day-carousel {
    min-height: 0;
  }

  .image-day-media {
    height: clamp(190px, 42vw, 260px);
  }

  .image-day-content {
    border-inline-start: none;
    border-inline-end: none;
    border-top: 1px solid var(--line);
  }

  .nav-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 8px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 6px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-tools {
    width: 100%;
    margin-inline-start: 0;
    justify-content: space-between;
  }

  .search-form {
    flex: 1;
  }

  .search-form input {
    width: 100%;
    min-width: 0;
  }

  .standard-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-header,
  .admin-footer {
    position: static !important;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: auto;
    box-shadow: none;
  }

  body.admin-area {
    padding-top: 0;
    padding-bottom: 20px;
  }

  body.admin-area .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0 12px;
    gap: 10px;
  }

  .admin-header-branding {
    width: 100%;
    justify-content: space-between;
  }

  .admin-header-context {
    align-items: flex-end;
    text-align: right;
  }

  .admin-header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 8px;
  }

  .admin-nav-links {
    width: 100%;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-nav-links a {
    flex: 0 0 auto;
  }

  .admin-header-user {
    display: none;
  }

  .admin-view-site-btn {
    min-height: 30px;
    padding: 0 10px;
    width: auto;
    justify-self: start;
  }

  .admin-footer-inner {
    min-height: auto;
    padding: 8px 0;
    gap: 10px;
  }
}

@media (max-width: 760px) {
  html {
    font-size: 90%;
  }

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

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

  .image-day-section {
    padding: 0 0 10px;
  }

  .image-day-carousel {
    border-radius: 6px;
  }

  .image-day-content {
    gap: 6px;
    padding: 10px 11px 11px;
  }

  .image-day-content h3 {
    font-size: 0.97rem;
  }

  .image-day-content p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .admin-login-promo,
  .admin-login-card {
    padding: 14px;
  }

  .admin-login-promo h1 {
    font-size: 1.16rem;
  }

  .admin-login-head h2 {
    font-size: 1.1rem;
  }

  .public-header::before {
    opacity: 0.26;
    background-size: cover;
    background-position: center center;
  }

  .public-header::after {
    background: linear-gradient(180deg, rgba(5, 18, 32, 0.34) 0%, rgba(5, 18, 32, 0.46) 100%);
  }

  .hero-splide .splide__arrow {
    width: 32px;
    height: 32px;
  }

  .hero-splide .splide__arrow--prev {
    left: 8px;
  }

  .hero-splide .splide__arrow--next {
    right: 8px;
  }

  .hero-splide .splide__pagination {
    bottom: 8px;
    gap: 6px;
  }

  .hero-content {
    max-width: 100%;
    padding: 14px;
    gap: 6px;
  }

  .hero-title {
    font-size: clamp(1rem, 4.8vw, 1.3rem);
    line-height: 1.28;
  }

  .hero-excerpt {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .hero-meta {
    font-size: 0.68rem;
    gap: 6px;
  }

  .header-top-inner {
    min-height: 74px;
  }

  .site-logo-image {
    width: 170px;
    max-width: 56vw;
  }

  .top-icon-links {
    display: none;
  }

  .ticker-inner {
    min-height: 36px;
    gap: 8px;
  }

  .ticker-label {
    height: 24px;
    padding: 0 8px;
    font-size: 0.76rem;
  }

  .ticker-item {
    font-size: 0.8rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  body.rtl .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-social-link {
    min-height: 32px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .footer-bottom-inner {
    min-height: 52px;
    align-items: flex-start;
    padding: 10px 0;
  }

  .footer-meta {
    gap: 4px 10px;
  }

  .back-to-top {
    width: 34px;
    height: 34px;
    right: 10px;
    bottom: 10px;
    border-radius: 7px;
  }

  body.rtl .back-to-top {
    left: 10px;
    right: auto;
  }

  .story-row,
  body.rtl .story-row,
  .standard-list-item,
  body.rtl .standard-list-item {
    grid-template-columns: 1fr;
  }

  .left-news-item,
  body.rtl .left-news-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.rtl .left-news-item {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .left-news-thumb {
    width: 72px;
  }

  .story-row .thumb,
  body.rtl .story-row .thumb,
  .story-row .story-content,
  body.rtl .story-row .story-content,
  .standard-list-item .thumb,
  body.rtl .standard-list-item .thumb,
  .standard-list-item .standard-content,
  body.rtl .standard-list-item .standard-content {
    order: initial;
  }

  .thumb-43 {
    aspect-ratio: 16 / 9;
  }

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

  .footer-inner {
    min-height: 64px;
  }

  body.admin-area {
    padding-top: 0;
    padding-bottom: 20px;
  }

  body.admin-area .container {
    width: calc(100% - 28px);
  }

  .admin-header-branding {
    align-items: center;
    gap: 8px;
  }

  .admin-header-context strong {
    max-width: 100%;
    font-size: 0.8rem;
  }

  .admin-header-actions {
    gap: 8px;
  }

  body.rtl .admin-header-actions {
    align-items: stretch;
  }

  .admin-nav-links {
    justify-content: flex-start;
  }

  .admin-view-site-btn {
    width: auto;
  }

  .admin-header-user {
    max-width: 100%;
  }

  .admin-header-kicker {
    display: none;
  }

  .admin-logo-image {
    width: 118px;
  }

  .admin-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0 10px;
  }

  body.rtl .admin-footer-inner {
    align-items: flex-end;
  }
}

/* Mobile admin rewrite: compact, touch-friendly, and stable on small screens. */
@media (max-width: 980px) {
  body.admin-area .container {
    width: calc(100% - 24px);
  }

  body.admin-area main {
    padding: 10px 0 16px;
  }

  body.admin-area .section-title {
    font-size: 1.08rem;
    margin-bottom: 8px;
  }

  .admin-header-inner {
    padding: 10px 0;
    gap: 8px;
  }

  .admin-header-branding {
    width: 100%;
  }

  .admin-header-context {
    align-items: flex-start;
    text-align: left;
  }

  body.rtl .admin-header-context {
    align-items: flex-end;
    text-align: right;
  }

  .admin-header-context strong {
    white-space: normal;
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .admin-header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    padding-bottom: 0;
  }

  .admin-nav-links a {
    justify-content: center;
    text-align: center;
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .admin-header-user {
    display: none;
  }

  .admin-view-site-btn {
    min-height: 34px;
    padding: 0 14px;
    width: auto;
    justify-self: start;
  }

  body.rtl .admin-view-site-btn {
    justify-self: end;
  }

  body.admin-area .table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  body.admin-area .table th,
  body.admin-area .table td {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  body.admin-area .container {
    width: calc(100% - 18px);
  }

  .admin-nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav-links a {
    min-height: 36px;
    font-size: 0.76rem;
  }

  .admin-view-site-btn {
    width: 100%;
    justify-content: center;
    justify-self: stretch;
  }

  body.rtl .admin-view-site-btn {
    justify-self: stretch;
  }

  .admin-footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .admin-footer-links a {
    justify-content: center;
    text-align: center;
    min-height: 34px;
  }
}
