@charset "UTF-8";
/* =========================================================
   NEWS THEME — MAIN SCSS
   Design system: Editorial Indigo
   RTL-first | Responsive | Light / Dark mode
========================================================= */
/* =========================================================
   01. DESIGN TOKENS — LIGHT MODE
========================================================= */
:root {
  /* BRAND COLORS */
  --color-primary: #273b9e;
  --color-primary-hover: #1e2e7d;
  --color-primary-light: #e9edff;
  --color-primary-rgb: 39, 59, 158;
  --color-secondary: #27334a;
  --color-accent: #f05b78;
  --color-accent-rgb: 240, 91, 120;
  --color-primary-contrast: #ffffff;
  --white: #ffffff;
  /* BACKGROUNDS */
  --bg-body: #f5f7fc;
  --bg-card: #ffffff;
  --bg-secondary: #eef1f8;
  --bg-header: rgba(255, 255, 255, 0.96);
  --topbar-bg: rgba(246, 248, 253, 0.96);
  --main-bar-bg: #ffffff;
  --overlay-bg: rgba(13, 19, 40, 0.48);
  --bg-footer: #11172a;
  --bg-dark-section:
    linear-gradient(135deg,
      #151c40 0%,
      #293b88 55%,
      #11172a 100%);
  /* TEXT COLORS */
  --text-primary: #171b2e;
  --text-secondary: #50576d;
  --text-muted: #858ca0;
  /* BORDERS */
  --border-color: #e2e6f0;
  --border-strong: #cbd2e3;
  /* STATUS COLORS */
  --success-color: #168653;
  --warning-color: #b9770e;
  --danger-color: #d9364f;
  --info-color: #2474bd;
  /* SHADOWS */
  --shadow-sm:
    0 2px 8px rgba(29, 42, 102, 0.055);
  --shadow-md:
    0 8px 24px rgba(29, 42, 102, 0.09);
  --shadow-lg:
    0 18px 45px rgba(20, 31, 80, 0.14);
  --shadow-primary:
    0 8px 22px rgba(39, 59, 158, 0.20);
  --shadow-accent:
    0 6px 18px rgba(240, 91, 120, 0.18);
  /* FOCUS / ACCESSIBILITY */
  --focus-ring:
    0 0 0 3px rgba(39, 59, 158, 0.18);
  /* TYPOGRAPHY */
  --font-primary: "Cairo", sans-serif;
  --font-secondary: "Outfit", sans-serif;
  /* BORDER RADIUS */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  /* TRANSITIONS */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.45s ease;
  /* SOCIAL MEDIA COLORS */
  --facebook-color: #4267b2;
  --twitter-color: #1da1f2;
  --instagram-color:
    linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  --youtube-color: #ff0000;
}

/* =========================================================
   02. DESIGN TOKENS — DARK MODE
========================================================= */
html.dark-mode {
  color-scheme: dark;
  /* BRAND COLORS */
  --color-primary: #5267cf;
  --color-primary-hover: #6579e4;
  --color-primary-light: #252d4b;
  --color-primary-rgb: 82, 103, 207;
  --color-secondary: #e2e6f0;
  --color-accent: #ff7f9a;
  --color-accent-rgb: 255, 127, 154;
  --color-primary-contrast: #ffffff;
  --white: #ffffff;
  /* BACKGROUNDS */
  --bg-body: #0d111b;
  --bg-card: #151b2b;
  --bg-secondary: #20273a;
  --bg-header: rgba(21, 27, 43, 0.96);
  --topbar-bg: rgba(13, 17, 27, 0.96);
  --main-bar-bg: #151b2b;
  --overlay-bg: rgba(0, 0, 0, 0.64);
  --bg-footer: #080b13;
  --bg-dark-section:
    linear-gradient(135deg,
      #080d18 0%,
      #182143 55%,
      #080b13 100%);
  /* TEXT COLORS */
  --text-primary: #f3f5fc;
  --text-secondary: #c4cadb;
  --text-muted: #929bb1;
  /* BORDERS */
  --border-color: #2b3348;
  --border-strong: #414a63;
  /* STATUS COLORS */
  --success-color: #4bc68a;
  --warning-color: #f4bf55;
  --danger-color: #ff6b81;
  --info-color: #72baff;
  /* SHADOWS */
  --shadow-sm:
    0 2px 10px rgba(0, 0, 0, 0.20);
  --shadow-md:
    0 10px 28px rgba(0, 0, 0, 0.30);
  --shadow-lg:
    0 20px 55px rgba(0, 0, 0, 0.42);
  --shadow-primary:
    0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-accent:
    0 6px 18px rgba(255, 127, 154, 0.12);
  /* FOCUS / ACCESSIBILITY */
  --focus-ring:
    0 0 0 3px rgba(128, 147, 255, 0.28);
}

/* =========================================================
   03. GLOBAL FOUNDATION
========================================================= */
html {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  /*
     * Prevent horizontal overflow without unnecessarily
     * creating a new scrolling container.
     */
  overflow-x: clip;
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img,
picture,
video,
canvas,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

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

::-moz-selection {
  background: var(--color-primary-light);
  color: var(--text-primary);
}

::selection {
  background: var(--color-primary-light);
  color: var(--text-primary);
}

/* =========================================================
   04. SHARED VISUAL UTILITIES
========================================================= */
.dark-section {
  background: var(--bg-dark-section);
}

/* =========================================================
   05. SHARED COMPONENTS
========================================================= */
/* Theme switcher and header search */
button#theme-switch {
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
  padding: 0;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
button#theme-switch i:last-child {
  display: none;
}

.dark-mode #theme-switch {
  background-color: transparent;
  color: var(--white);
}
.dark-mode #theme-switch .bi:first-child {
  display: none;
}
.dark-mode #theme-switch .bi:last-child {
  display: block;
}

/*
|--------------------------------------------------------------------------
| Search + Theme Switch Wrapper
|--------------------------------------------------------------------------
*/
.search-theme-switch-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  height: 100%;
}

/*
|--------------------------------------------------------------------------
| Header Search
|--------------------------------------------------------------------------
*/
.header-search {
  position: relative;
}
.header-search .search-form {
  display: flex;
  align-items: center;
}
.header-search {
  /*
  |--------------------------------------------------------------------------
  | Search Input
  |--------------------------------------------------------------------------
  */
}
.header-search .search-input {
  width: 0;
  opacity: 0;
  visibility: hidden;
  border: none;
  outline: none;
  background: var(--bg-body);
  color: var(--text-primary);
  height: 46px;
  border-radius: 999px;
  padding-inline: 0;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: width 0.35s ease, opacity 0.25s ease, padding 0.35s ease, visibility 0.35s ease;
}
.header-search .search-input::-moz-placeholder {
  color: var(--text-muted);
}
.header-search .search-input::placeholder {
  color: var(--text-muted);
}
.header-search {
  /*
  |--------------------------------------------------------------------------
  | Active Search
  |--------------------------------------------------------------------------
  */
}
.header-search.active .search-input {
  width: 260px;
  opacity: 1;
  visibility: visible;
  padding-inline: 20px 55px;
}
.header-search {
  /*
  |--------------------------------------------------------------------------
  | Search Button
  |--------------------------------------------------------------------------
  */
}
.header-search .search-toggle-btn {
  position: absolute;
  inset-inline-end: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
  outline: none;
  border-radius: 50%;
}
.header-search .search-toggle-btn i {
  font-size: 16px;
}
.header-search .search-toggle-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.dark-mode .search-toggle-btn i {
  background-color: var(--bg-body) !important;
  color: var(--color-accent) !important;
}
.dark-mode .search-toggle-btn i:hover {
  color: var(--text-secondary) !important;
}
.dark-mode .header-content button {
  background-color: var(--bg-body);
  color: var(--color-accent);
}

/*
|--------------------------------------------------------------------------
| Mobile Responsive
|--------------------------------------------------------------------------
*/
@media (max-width: 768px) {
  .header-search.active .search-input {
    width: 200px;
  }
}
/* Typography and common navigation */
.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.header-section .title-section {
  border-bottom: 3px solid var(--color-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: var(--transition-fast);
}
.header-section .title-section:hover {
  color: var(--color-primary-hover);
}
.header-section .show-all {
  text-decoration: none;
  color: var(--white);
  background-color: var(--color-primary);
  padding: 4px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition-fast);
}
.header-section .show-all:hover {
  background-color: var(--color-primary-hover);
}
.header-section .show-all .fa-arrow-left {
  margin-right: 0.5rem;
}

/* ==========================================================================
   Section Cover Header
   ========================================================================== */
.header-cover {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 3rem 0 1.5rem;
  padding: 0;
  border-block-end: 1px solid var(--border-color);
  background: transparent;
}

/*
 * Editorial accent line.
 */
.header-cover::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -1px;
  width: 7rem;
  height: 2px;
  background: var(--color-primary);
}

/* ==========================================================================
   Title
   ========================================================================== */
.header-cover .title-cover {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  padding-inline-end: 1.1rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-block-end: 0;
  border-start-start-radius: var(--radius-md);
  border-start-end-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Icon
   ========================================================================== */
.header-cover .title-cover i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 0.85rem;
}

/* ==========================================================================
   Small Decorative Accent
   ========================================================================== */
.header-cover .title-cover::after {
  content: "";
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  margin-inline-start: 0.15rem;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ==========================================================================
   Hover
   ========================================================================== */
.header-cover .title-cover i {
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.header-cover:hover .title-cover i {
  transform: rotate(-8deg) scale(1.05);
  background: var(--color-primary-hover);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767.98px) {
  .header-cover {
    margin-block: 2rem 1rem;
  }
  .header-cover::after {
    width: 4.5rem;
    height: 2px;
  }
  .header-cover .title-cover {
    gap: 0.55rem;
    padding: 0.6rem 0.75rem;
    padding-inline-end: 0.9rem;
    font-size: 1rem;
    border-start-start-radius: var(--radius-sm);
    border-start-end-radius: var(--radius-sm);
  }
  .header-cover .title-cover i {
    width: 1.75rem;
    height: 1.75rem;
    flex-basis: 1.75rem;
    font-size: 0.75rem;
  }
  .header-cover .title-cover::after {
    width: 0.3rem;
    height: 0.3rem;
  }
}
.category-header {
  margin-bottom: 1.5rem;
}
.category-header .title-cat {
  font-size: 1.5rem;
  font-weight: 800;
  padding-bottom: 15px;
  position: relative;
}
.category-header .title-cat::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: var(--color-primary);
}
.category-header .title-cat::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 100%;
  background-color: var(--border-color);
}

.section-heading {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.section-heading .news-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
}
.section-heading .title-wrapper {
  margin-right: 0.25rem;
}
.section-heading .title-wrapper .title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
}
.section-heading .title-wrapper .separator {
  margin-top: 0.25rem;
  width: 3rem;
  height: 3px;
  background-color: var(--color-primary);
}

.breadcrumb-nav {
  margin-bottom: 1.5rem;
}
.breadcrumb-nav .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-nav li {
  color: var(--text-muted);
}
.breadcrumb-nav li:not(:last-child)::after {
  content: "/";
  margin-inline: 0.5rem;
}
.breadcrumb-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumb-nav a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Tablet
   ========================================================================== */
/* ==========================================================================
Mobile
========================================================================== */
@media (max-width: 767.98px) {
  .breadcrumb-nav li {
    font-size: 0.8rem;
  }
  .breadcrumb-nav li[aria-current=page] {
    display: none;
  }
}
/* ==========================================================================
   Reusable Section Header
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-block: 3rem 1.35rem;
  padding-block-end: 0.8rem;
  border-block-end: 1px solid var(--border-color);
}

/* ==========================================================================
   Main
   ========================================================================== */
.section-header-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

/* ==========================================================================
   Icon
   ========================================================================== */
.section-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 0.7rem;
  box-shadow: 0 5px 14px rgba(198, 40, 40, 0.16);
  font-size: 0.9rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* ==========================================================================
   Text
   ========================================================================== */
.section-header-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ==========================================================================
   Kicker
   ========================================================================== */
.section-header-kicker {
  display: block;
  margin-block-end: 0.05rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   Title
   ========================================================================== */
.section-header-title {
  position: relative;
  display: block;
  margin: 0;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Accent
   ========================================================================== */
.section-header-title::after {
  content: "";
  display: inline-block;
  width: 0.3rem;
  height: 0.3rem;
  margin-inline-start: 0.4rem;
  vertical-align: middle;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ==========================================================================
   View All
   ========================================================================== */
.section-header-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  padding-block: 0.45rem;
  padding-inline: 0.65rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.section-header-link i {
  color: var(--color-primary);
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}
.section-header-link:hover {
  color: var(--white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}
.section-header-link:hover i {
  color: var(--white);
  transform: translateX(-2px);
}
.section-header-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Header Interaction
   ========================================================================== */
.section-header:hover .section-header-icon {
  background: var(--color-primary-hover);
  box-shadow: 0 7px 18px rgba(198, 40, 40, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .section-header {
    align-items: center;
    margin-block: 2.25rem 1rem;
    padding-block-end: 0.7rem;
    gap: 0.75rem;
  }
  .section-header-main {
    gap: 0.6rem;
  }
  .section-header-icon {
    flex-basis: 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    font-size: 0.75rem;
  }
  .section-header-kicker {
    font-size: 0.58rem;
  }
  .section-header-title {
    font-size: 1rem;
  }
  .section-header-title::after {
    width: 0.25rem;
    height: 0.25rem;
    margin-inline-start: 0.3rem;
  }
  .section-header-link {
    padding-block: 0.4rem;
    padding-inline: 0.55rem;
    font-size: 0.65rem;
  }
  .section-header-link span {
    display: none;
  }
  .section-header-link i {
    font-size: 0.72rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .section-header {
    margin-block-start: 2rem;
  }
  .section-header-icon {
    flex-basis: 1.9rem;
    width: 1.9rem;
    height: 1.9rem;
  }
  .section-header-title {
    font-size: 0.95rem;
  }
}
/* ==========================================================================
   Dark Mode
   ========================================================================== */
html.dark-mode .section-header-icon {
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.15);
}
html.dark-mode .section-header-link:hover {
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.14);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .section-header-icon,
  .section-header-link,
  .section-header-link i {
    transition: none;
  }
}
/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/
.akhbar-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-start: 1.5rem;
}

/*
|--------------------------------------------------------------------------
| List
|--------------------------------------------------------------------------
*/
.akhbar-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/*
|--------------------------------------------------------------------------
| Item
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
|--------------------------------------------------------------------------
| Links
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item a,
.akhbar-pagination-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding-inline: 0.65rem;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  background-color: var(--card-bg);
  color: var(--heading-color);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/*
|--------------------------------------------------------------------------
| Hover
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item a:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| Current Page
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item .current {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  cursor: default;
}

/*
|--------------------------------------------------------------------------
| Dots
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item .dots {
  border-color: transparent;
  background-color: transparent;
  color: var(--text-muted-color);
  cursor: default;
}

/*
|--------------------------------------------------------------------------
| Previous / Next
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item a.prev,
.akhbar-pagination-item a.next {
  gap: 0.4rem;
  padding-inline: 0.8rem;
}

/*
|--------------------------------------------------------------------------
| Icons
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item a i {
  font-size: 0.7rem;
}

/*
|--------------------------------------------------------------------------
| Focus
|--------------------------------------------------------------------------
*/
.akhbar-pagination-item a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/
@media (max-width: 575.98px) {
  .akhbar-pagination {
    margin-block-start: 1.25rem;
  }
  .akhbar-pagination-list {
    gap: 0.3rem;
  }
  .akhbar-pagination-item a,
  .akhbar-pagination-item span {
    min-width: 34px;
    height: 34px;
    padding-inline: 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
  }
  .akhbar-pagination-item a.prev,
  .akhbar-pagination-item a.next {
    padding-inline: 0.65rem;
  }
  .akhbar-pagination-item a.prev span,
  .akhbar-pagination-item a.next span {
    display: none;
  }
}
/* Cards and article components */
.side-post {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--text-muted);
}
.side-post .title-post {
  line-height: 1.6;
}
.side-post .title-post .link {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-size: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}
.side-post .title-post .link:hover {
  color: var(--color-primary);
}
@media (max-width: 576px) {
  .side-post .title-post .link {
    font-size: 0.9rem;
    font-weight: normal;
  }
}
.side-post .excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.side-post .category {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
}
.side-post .separator {
  color: var(--text-muted);
  margin: 0 0.25rem;
}
.side-post .date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.featured-post {
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  box-shadow: var(--shadow-md);
}
.featured-post .overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: var(--overlay-bg);
  width: 100%;
  height: 100%;
  z-index: 2;
}
.featured-post .title-post {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 0.5rem;
  z-index: 3;
}
.featured-post .title-post .link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
}
.featured-post .wp-post-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
  object-fit: cover;
}

.video-card {
  max-width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.video-card .overlay {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.925) 0%, rgba(0, 0, 0, 0.01) 100%);
  width: 100%;
  height: 55%;
  z-index: 2;
}
.video-card .play-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  margin: 0.5rem;
}
.video-card .play-button .fa-circle-play {
  font-size: 2rem;
  color: var(--white);
  transition: var(--transition-fast);
}
.video-card .play-button .fa-circle-play:hover {
  color: var(--color-primary);
}
.video-card .title-date {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 3;
  padding: 0.5rem;
}
.video-card .title-date .title-post:hover a {
  color: var(--color-primary);
}
.video-card .title-date .title-post .link {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}
.video-card .title-date .date p {
  margin: 0;
  color: var(--white);
  font-size: 0.8rem;
}
.video-card .wp-post-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
  object-fit: cover;
}

.cover-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/9;
  height: 100%;
}
.cover-card .overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.925) 0%, rgba(0, 0, 0, 0.01) 100%);
  width: 100%;
  z-index: 2;
}
.cover-card .cover-card-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 5;
  padding: 0.5rem;
}
.cover-card .cover-card-content .title-card {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.cover-card .cover-card-content .title-card .link {
  color: var(--white);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 600;
}
.cover-card .cover-card-content .date {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.9rem;
}
.cover-card .cover-card-content .small-title {
  font-size: 1rem;
  line-height: 1.5;
}
.cover-card .cover-card-content .small-title .link {
  color: var(--white);
  text-decoration: none;
}
.cover-card .cover-card-content .excerpt {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.main-card .link-image .wp-post-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
  object-fit: cover;
}
.main-card .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.925) 0%, rgba(0, 0, 0, 0.01) 100%);
}
.main-card .card-infos {
  padding: 0 0.5rem;
  margin: 1rem 0 2rem;
}
.main-card .card-infos .title {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
  transition: var(--transition-fast);
}
.main-card .card-infos .title:hover a {
  color: var(--color-primary);
}
.main-card .card-infos .title .link {
  text-decoration: none;
  color: inherit;
}
.main-card .card-infos .date-user {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.main-card .card-infos .date-user .author .link {
  text-decoration: none;
  color: inherit;
}
.main-card .card-infos .date-user .separator {
  font-size: 1rem;
  color: var(--text-secondary);
}
.main-card .card-infos .date-user .author,
.main-card .card-infos .date-user .date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.featured-card .link-image .wp-post-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
  object-fit: cover;
}
.featured-card .card-infos {
  padding: 0 0.5rem;
  margin: 1rem 0 2rem;
}
.featured-card .card-infos .title {
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
  transition: var(--transition-fast);
}
.featured-card .card-infos .title:hover a {
  color: var(--color-primary);
}
.featured-card .card-infos .title .link {
  text-decoration: none;
  color: inherit;
}
.featured-card .card-infos .date-user {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.featured-card .card-infos .date-user .author .link {
  text-decoration: none;
  color: inherit;
}
.featured-card .card-infos .date-user .separator {
  font-size: 1rem;
  color: var(--text-secondary);
}
.featured-card .card-infos .date-user .author,
.featured-card .card-infos .date-user .date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.featured-card .card-infos .excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 4;
}

.related-card {
  width: 100%;
  margin-bottom: 1.5rem;
}
.related-card .card-image img {
  width: 100%;
  height: 220px;
  border-radius: var(--border-radius-lg);
  -o-object-fit: cover;
  object-fit: cover;
}
.related-card .card-content {
  padding: 0 0.5rem;
  margin-top: 1rem;
}
.related-card .card-content .post-category {
  font-size: 0.75rem;
  color: var(--white);
  background-color: var(--color-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.related-card .card-content .post-title {
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
  transition: var(--transition-fast);
}
.related-card .card-content .post-title:hover .link {
  color: var(--color-primary);
}
.related-card .card-content .post-title .link {
  text-decoration: none;
  color: inherit;
}
.related-card .card-content .post-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-secondary);
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 0 0.5rem var(--box-shadow-sm);
  overflow: hidden;
}
.mini-card .card-image {
  flex: 1;
  aspect-ratio: 4/3;
  border-radius: var(--border-radius-lg);
  -o-object-fit: cover;
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #eee;
}
.mini-card .card-content {
  flex: 2;
  padding: 0 0.5rem;
}
.mini-card .card-content .card-title {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
  transition: var(--transition-fast);
}
.mini-card .card-content .card-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Article Card
   Editorial News Card
   ========================================================================== */
.article-card {
  display: grid;
  grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  margin-block-end: 1.25rem;
  padding-block-end: 1.25rem;
  background: transparent;
  border: 0;
  border-block-end: 1px solid var(--border-color);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}
.article-card:last-child {
  margin-block-end: 0;
}
.article-card:hover {
  border-block-end-color: var(--color-primary);
}

/* ==========================================================================
   Image
   ========================================================================== */
.article-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}
.article-card-image a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.article-card-image a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}
.article-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}
.article-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.12) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

/* Image Hover */
.article-card:hover .article-card-image img {
  transform: scale(1.04);
}
.article-card:hover .article-card-image::after {
  opacity: 1;
}

/* ==========================================================================
   Image Placeholder
   ========================================================================== */
.article-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  color: var(--text-muted);
  font-size: 2rem;
}

/* ==========================================================================
   Content
   ========================================================================== */
.article-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 100%;
}

/* ==========================================================================
   Category
   ========================================================================== */
.article-card-category {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 0.65rem;
  padding-inline-start: 0.7rem;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.article-card-category::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 50%;
  width: 0.25rem;
  height: 0.25rem;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
}
.article-card-category:hover {
  color: var(--color-primary-hover);
  transform: translateX(-2px);
}

/* ==========================================================================
   Title
   ========================================================================== */
.article-card-title {
  display: -webkit-box;
  margin: 0 0 0.7rem;
  max-width: 42rem;
  overflow: hidden;
  color: var(--text-primary);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 850;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.article-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.article-card-title a:hover, .article-card-title a:focus-visible {
  color: var(--color-primary);
}
.article-card-title a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Excerpt
   ========================================================================== */
.article-card-excerpt {
  display: -webkit-box;
  max-width: 44rem;
  margin-block-end: auto;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ==========================================================================
   Meta
   ========================================================================== */
.article-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
  margin-block-start: 1rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
}

.article-card-date,
.article-card-views {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.article-card-date i,
.article-card-views i {
  color: var(--color-primary);
  font-size: 0.78rem;
}
.article-card-date span,
.article-card-views span {
  color: inherit;
}

/* Separator between metadata items */
.article-card-date::after {
  content: "";
  width: 3px;
  height: 3px;
  margin-inline-start: 0.35rem;
  background: var(--border-color);
  border-radius: 50%;
}

/* ==========================================================================
   Subtle Reading Accent
   ========================================================================== */
.article-card-content::after {
  content: "";
  width: 2.5rem;
  height: 2px;
  margin-block-start: 0.9rem;
  background: var(--color-primary);
  border-radius: 999px;
  opacity: 0.85;
  transition: width var(--transition-normal), opacity var(--transition-normal);
}

.article-card:hover .article-card-content::after {
  width: 4rem;
  opacity: 1;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .article-card {
    grid-template-columns: minmax(11rem, 30%) minmax(0, 1fr);
    gap: 1rem;
    padding-block-end: 1rem;
  }
  .article-card-title {
    font-size: 1.08rem;
    -webkit-line-clamp: 3;
  }
  .article-card-excerpt {
    font-size: 0.84rem;
    line-height: 1.8;
  }
  .article-card-meta {
    margin-block-start: 0.8rem;
  }
}
/* ==========================================================================
   Mobile
   Image First
   ========================================================================== */
@media (max-width: 767.98px) {
  .article-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-block-end: 1rem;
    padding-block-end: 1rem;
  }
  /* Full-width image on top */
  .article-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    margin-block-end: 0.9rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }
  .article-card-content {
    width: 100%;
    min-height: auto;
  }
  .article-card-category {
    margin-block-end: 0.45rem;
    padding-inline-start: 0.65rem;
    font-size: 0.68rem;
  }
  .article-card-title {
    margin-block-end: 0.5rem;
    font-size: 1.03rem;
    line-height: 1.6;
    -webkit-line-clamp: 3;
  }
  .article-card-excerpt {
    margin-block-end: 0;
    font-size: 0.82rem;
    line-height: 1.75;
    -webkit-line-clamp: 2;
  }
  .article-card-meta {
    gap: 0.7rem;
    margin-block-start: 0.75rem;
    font-size: 0.68rem;
  }
  .article-card-date i,
  .article-card-views i {
    font-size: 0.72rem;
  }
  .article-card-content::after {
    width: 2rem;
    margin-block-start: 0.75rem;
  }
  .article-card:hover .article-card-content::after {
    width: 3rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .article-card-image {
    aspect-ratio: 16/9;
    margin-block-end: 0.8rem;
    border-radius: var(--radius-sm);
  }
  .article-card-category {
    font-size: 0.65rem;
  }
  .article-card-title {
    font-size: 0.98rem;
    line-height: 1.58;
    -webkit-line-clamp: 3;
  }
  .article-card-excerpt {
    font-size: 0.78rem;
    line-height: 1.7;
    -webkit-line-clamp: 2;
  }
  .article-card-meta {
    gap: 0.6rem;
    font-size: 0.64rem;
  }
  .article-card-content::after {
    display: none;
  }
}
/* ==========================================================================
   Dark Mode
   ========================================================================== */
html.dark-mode .article-card-image {
  box-shadow: var(--shadow-sm);
}
html.dark-mode .article-card-image::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.24) 100%);
}
html.dark-mode .article-card-date::after {
  background: var(--border-color);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .article-card,
  .article-card-image img,
  .article-card-image::after,
  .article-card-category,
  .article-card-content::after {
    transition: none;
  }
}
/* ==========================================================================
   Article Card Variants
   ========================================================================== */
/* ==========================================================================
   Editorial
   ========================================================================== */
.article-card--editorial {
  /* Variant hook.
  Layout-specific styling will be added by the section that uses it. */
}

/* ==========================================================================
   Editorial Featured
   ========================================================================== */
.article-card--editorial-featured {
  /* Variant hook.
  Used by the primary Editorial Picks story. */
}

/* ==========================================================================
   Editorial Card Variants
   ========================================================================== */
/* ==========================================================================
   Editorial Featured
   ========================================================================== */
.article-card--editorial-featured {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.article-card--editorial-featured:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card--editorial-featured .article-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-card--editorial-featured .article-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 1rem 1.1rem 1.1rem;
}

.article-card--editorial-featured .article-card-category {
  margin-block-end: 0.45rem;
  font-size: 0.7rem;
}

.article-card--editorial-featured .article-card-title {
  width: 100%;
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 900;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.article-card--editorial-featured .article-card-excerpt {
  width: 100%;
  margin-block-start: 0.6rem;
  font-size: 0.83rem;
  line-height: 1.85;
  -webkit-line-clamp: 3;
}

.article-card--editorial-featured .article-card-meta {
  margin-block-start: 0.8rem;
  padding-block-start: 0.65rem;
  font-size: 0.65rem;
}

/* ==========================================================================
   Editorial List
   ========================================================================== */
.article-card--editorial-list {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding-block: 0.85rem;
  background: transparent;
  border: 0;
  border-block-end: 1px solid var(--border-color);
  border-radius: 0;
  box-shadow: none;
  transition: background-color var(--transition-fast), padding-inline-start var(--transition-fast), border-color var(--transition-fast);
}

.article-card--editorial-list:hover {
  background: var(--bg-secondary);
  border-block-end-color: var(--color-primary);
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   List Image
   ========================================================================== */
.article-card--editorial-list .article-card-image {
  width: 7.5rem;
  height: 5.25rem;
  aspect-ratio: auto;
  margin: 0;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.article-card--editorial-list .article-card-image img {
  transition: transform var(--transition-fast);
}

.article-card--editorial-list:hover .article-card-image img {
  transform: scale(1.045);
}

/* ==========================================================================
   List Content
   ========================================================================== */
.article-card--editorial-list .article-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.article-card--editorial-list .article-card-category {
  margin-block-end: 0.25rem;
  padding-inline-start: 0.6rem;
  font-size: 0.6rem;
}

.article-card--editorial-list .article-card-title {
  display: -webkit-box;
  width: 100%;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.6;
  -webkit-line-clamp: 2;
}

.article-card--editorial-list .article-card-excerpt {
  display: none;
}

.article-card--editorial-list .article-card-meta {
  width: auto;
  margin-block-start: 0.35rem;
  padding: 0;
  border: 0;
  font-size: 0.58rem;
}

.article-card--editorial-list .article-card-views {
  display: none;
}

/* ==========================================================================
   Editorial List Last Item
   ========================================================================== */
.article-card--editorial-list:last-child {
  border-block-end: 0;
}

/* ==========================================================================
   Editorial Variants — Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .article-card--editorial-featured .article-card-content {
    padding: 0.95rem 1rem 1rem;
  }
  .article-card--editorial-featured .article-card-title {
    font-size: 1.2rem;
  }
  .article-card--editorial-list {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }
  .article-card--editorial-list .article-card-image {
    width: 6.5rem;
    height: 4.7rem;
  }
  .article-card--editorial-list .article-card-title {
    font-size: 0.78rem;
  }
}
/* ==========================================================================
   Editorial Variants — Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .article-card--editorial-featured {
    border-radius: var(--radius-md);
  }
  .article-card--editorial-featured .article-card-image {
    aspect-ratio: 16/9;
  }
  .article-card--editorial-featured .article-card-content {
    padding: 0.85rem 0.9rem 0.95rem;
  }
  .article-card--editorial-featured .article-card-title {
    font-size: 1.03rem;
    line-height: 1.6;
  }
  .article-card--editorial-featured .article-card-excerpt {
    font-size: 0.76rem;
    line-height: 1.75;
  }
  .article-card--editorial-list {
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.7rem;
    padding-block: 0.75rem;
  }
  .article-card--editorial-list .article-card-image {
    width: 6rem;
    height: 4.25rem;
  }
  .article-card--editorial-list .article-card-title {
    font-size: 0.78rem;
    line-height: 1.55;
  }
  .article-card--editorial-list .article-card-category {
    font-size: 0.57rem;
  }
  .article-card--editorial-list .article-card-meta {
    font-size: 0.56rem;
  }
}
/* ==========================================================================
   Editorial Variants — Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .article-card--editorial-featured .article-card-content {
    padding-inline: 0.8rem;
  }
  .article-card--editorial-featured .article-card-title {
    font-size: 0.98rem;
  }
  .article-card--editorial-list {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.65rem;
  }
  .article-card--editorial-list .article-card-image {
    width: 5.5rem;
    height: 3.9rem;
  }
  .article-card--editorial-list .article-card-title {
    font-size: 0.74rem;
  }
}
/* ==========================================================================
   Overlay Post Card
   Reusable Editorial Image Card
   ========================================================================== */
/* ==========================================================================
   Card
   ========================================================================== */
.overlay-post-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.overlay-post-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ==========================================================================
   Link
   ========================================================================== */
.overlay-post-card-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.overlay-post-card-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Media
   ========================================================================== */
.overlay-post-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.overlay-post-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

/* ==========================================================================
   Image Hover
   ========================================================================== */
.overlay-post-card:hover .overlay-post-card-media img {
  transform: scale(1.045);
}

/* ==========================================================================
   Placeholder
   ========================================================================== */
.overlay-post-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  color: var(--text-muted);
  font-size: 2.5rem;
}

/* ==========================================================================
   Gradient Overlay
   ========================================================================== */
.overlay-post-card-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.02) 25%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.72) 78%, rgba(0, 0, 0, 0.94) 100%);
}

/* ==========================================================================
   Category Badge
   ========================================================================== */
.overlay-post-card-category {
  position: absolute;
  z-index: 3;
  inset-inline-start: 1rem;
  inset-block-start: 1rem;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 2rem);
  padding-block: 0.38rem;
  padding-inline: 0.7rem;
  overflow: hidden;
  color: #fff;
  background: var(--overlay-category-color);
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(5px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.overlay-post-card:hover .overlay-post-card-category {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
}

/* ==========================================================================
   Content
   ========================================================================== */
.overlay-post-card-content {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  inset-block-end: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-block: 1.15rem 1rem;
  padding-inline: 1.1rem;
  color: var(--white);
}

/* ==========================================================================
   Title
   ========================================================================== */
.overlay-post-card-title {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  font-size: clamp(1rem, 1.45vw, 1rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* ==========================================================================
   Meta
   ========================================================================== */
.overlay-post-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Meta Items
   ========================================================================== */
.overlay-post-card-date,
.overlay-post-card-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.overlay-post-card-date i,
.overlay-post-card-time i {
  color: var(--color-accent);
  font-size: 0.68rem;
}

/* ==========================================================================
   Meta Separator
   ========================================================================== */
.overlay-post-card-separator {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

/* ==========================================================================
   Category Accent Palette
   ========================================================================== */
.overlay-post-card--accent-1 {
  --overlay-category-color: var(--color-primary);
}

.overlay-post-card--accent-2 {
  --overlay-category-color: #2563eb;
}

.overlay-post-card--accent-3 {
  --overlay-category-color: #7c3aed;
}

.overlay-post-card--accent-4 {
  --overlay-category-color: #059669;
}

.overlay-post-card--accent-5 {
  --overlay-category-color: #d97706;
}

.overlay-post-card--accent-6 {
  --overlay-category-color: #db2777;
}

/* ==========================================================================
   Variants
   ========================================================================== */
.overlay-post-card--featured .overlay-post-card-media {
  aspect-ratio: 16/9;
}
.overlay-post-card--featured .overlay-post-card-title {
  font-size: clamp(1rem, 2vw, 1rem);
  line-height: 1.5;
}
.overlay-post-card--featured .overlay-post-card-content {
  padding-block: 1.4rem 1.25rem;
  padding-inline: 1.35rem;
}

.overlay-post-card--compact .overlay-post-card-media {
  aspect-ratio: 16/10;
}
.overlay-post-card--compact .overlay-post-card-content {
  padding-block: 0.9rem 0.8rem;
  padding-inline: 0.9rem;
}
.overlay-post-card--compact .overlay-post-card-title {
  font-size: 0.95rem;
  -webkit-line-clamp: 2;
}
.overlay-post-card--compact .overlay-post-card-meta {
  margin-block-start: 0.4rem;
  font-size: 0.6rem;
}
.overlay-post-card--compact .overlay-post-card-category {
  inset-inline-start: 0.75rem;
  inset-block-start: 0.75rem;
  padding-block: 0.3rem;
  padding-inline: 0.55rem;
  font-size: 0.61rem;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .overlay-post-card-media {
    aspect-ratio: 16/10;
  }
  .overlay-post-card-title {
    font-size: 1rem;
  }
  .overlay-post-card-category {
    inset-inline-start: 0.85rem;
    inset-block-start: 0.85rem;
  }
  .overlay-post-card-content {
    padding-block: 1rem 0.9rem;
    padding-inline: 0.95rem;
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .overlay-post-card {
    border-radius: var(--radius-md);
  }
  .overlay-post-card-media {
    aspect-ratio: 4/3;
  }
  .overlay-post-card-category {
    inset-inline-start: 0.85rem;
    inset-block-start: 0.85rem;
    max-width: calc(100% - 1.7rem);
    padding-block: 0.35rem;
    padding-inline: 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.63rem;
  }
  .overlay-post-card-content {
    padding-block: 1.05rem 0.85rem;
    padding-inline: 0.9rem;
  }
  .overlay-post-card-title {
    font-size: 0.98rem;
    line-height: 1.6;
    -webkit-line-clamp: 3;
  }
  .overlay-post-card-meta {
    gap: 0.4rem;
    margin-block-start: 0.45rem;
    font-size: 0.6rem;
  }
  .overlay-post-card-separator {
    width: 3px;
    height: 3px;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .overlay-post-card-media {
    aspect-ratio: 4/3;
  }
  .overlay-post-card-category {
    font-size: 0.6rem;
  }
  .overlay-post-card-content {
    padding-block: 0.9rem 0.75rem;
    padding-inline: 0.8rem;
  }
  .overlay-post-card-title {
    font-size: 0.92rem;
    line-height: 1.58;
  }
  .overlay-post-card-meta {
    font-size: 0.57rem;
  }
}
/* ==========================================================================
   Dark Mode
   ========================================================================== */
html.dark-mode .overlay-post-card {
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
html.dark-mode .overlay-post-card-gradient {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0.78) 78%, rgba(0, 0, 0, 0.96) 100%);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .overlay-post-card,
  .overlay-post-card-media img,
  .overlay-post-card-category {
    transition: none;
  }
}
/* ==========================================================================
   Mobile News Feed
   ========================================================================== */
.mobile-home-feed {
  display: none;
}

/* ==========================================================================
   Feed Header
   ========================================================================== */
.mobile-home-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 2rem 1rem;
  padding-block-end: 0.75rem;
  border-block-end: 1px solid var(--border-color);
}

.mobile-home-feed-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
}

.mobile-home-feed-title::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-inline-end: 0.45rem;
  vertical-align: middle;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ==========================================================================
   Feed List
   ========================================================================== */
.mobile-home-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   Feed Card
   ========================================================================== */
.mobile-feed-card {
  width: 100%;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.mobile-feed-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ==========================================================================
   Card Header
   ========================================================================== */
.mobile-feed-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.7rem;
  padding-inline: 0.85rem;
}

.mobile-feed-card-category {
  position: relative;
  max-width: 55%;
  overflow: hidden;
  padding-inline-start: 0.65rem;
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-feed-card-category::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  width: 0.28rem;
  height: 0.28rem;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Image
   ========================================================================== */
.mobile-feed-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.mobile-feed-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-feed-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.mobile-feed-card:hover .mobile-feed-card-image img {
  transform: scale(1.035);
}

/* ==========================================================================
   Placeholder
   ========================================================================== */
.mobile-feed-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  color: var(--text-muted);
  font-size: 2rem;
}

/* ==========================================================================
   Content
   ========================================================================== */
.mobile-feed-card-content {
  padding-block: 0.85rem 0.9rem;
  padding-inline: 0.9rem;
}

.mobile-feed-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mobile-feed-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-feed-card-title a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Meta
   ========================================================================== */
.mobile-feed-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.7rem;
  padding-block-start: 0.6rem;
  border-block-start: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.61rem;
  font-weight: 500;
}

.mobile-feed-card-date,
.mobile-feed-card-views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.mobile-feed-card-date i,
.mobile-feed-card-views i {
  color: var(--color-primary);
  font-size: 0.65rem;
}

.mobile-feed-card-separator {
  width: 3px;
  height: 3px;
  background: var(--border-color);
  border-radius: 50%;
}

/* ==========================================================================
   Loading Skeleton
   ========================================================================== */
.mobile-feed-loading {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  margin-block-start: 0.85rem;
}

.mobile-home-feed.is-loading .mobile-feed-loading {
  display: flex;
}

.mobile-feed-skeleton {
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.mobile-feed-skeleton-image {
  width: 100%;
  height: 11rem;
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: mobile-feed-skeleton 1.4s infinite;
}

.mobile-feed-skeleton-content {
  padding: 0.9rem;
}

.mobile-feed-skeleton-line {
  height: 0.7rem;
  margin-block-end: 0.55rem;
  background: var(--bg-secondary);
  border-radius: 999px;
  animation: mobile-feed-skeleton 1.4s infinite;
}

.mobile-feed-skeleton-line:last-child {
  width: 65%;
  margin-block-end: 0;
}

@keyframes mobile-feed-skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* ==========================================================================
   Error / End State
   ========================================================================== */
.mobile-feed-status {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-start: 0.9rem;
  padding: 0.8rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
}

.mobile-feed-retry {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0.75rem auto 0;
  padding-block: 0.5rem;
  padding-inline: 0.8rem;
  color: var(--white);
  background: var(--color-primary);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.mobile-home-feed.has-error .mobile-feed-retry {
  display: inline-flex;
}

/* ==========================================================================
   Mobile Only
   ========================================================================== */
@media (max-width: 767.98px) {
  .mobile-home-feed {
    display: block;
    width: 100%;
    margin-block-end: 2rem;
  }
  .mobile-feed-card {
    border-radius: var(--radius-md);
  }
  .mobile-feed-card-title {
    font-size: 0.98rem;
    line-height: 1.62;
  }
  .mobile-feed-card-meta {
    font-size: 0.59rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .mobile-feed-card-header {
    padding-block: 0.65rem;
    padding-inline: 0.75rem;
  }
  .mobile-feed-card-content {
    padding-block: 0.8rem 0.85rem;
    padding-inline: 0.8rem;
  }
  .mobile-feed-card-title {
    font-size: 0.94rem;
  }
  .mobile-feed-card-meta {
    font-size: 0.57rem;
  }
}
/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mobile-feed-card,
  .mobile-feed-card-image img {
    transition: none;
  }
  .mobile-feed-skeleton-image,
  .mobile-feed-skeleton-line {
    animation: none;
  }
}
/* Author components */
/*
|--------------------------------------------------------------------------
| Author Profile - Sidebar
|--------------------------------------------------------------------------
*/
.author-profile {
  width: 100%;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background-color: var(--card-bg);
  text-align: center;
}

/*
|--------------------------------------------------------------------------
| Avatar
|--------------------------------------------------------------------------
*/
.author-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 4px solid var(--card-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--border-color);
  background-color: var(--image-placeholder-bg);
}
.author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*
|--------------------------------------------------------------------------
| Author Info
|--------------------------------------------------------------------------
*/
.author-info {
  width: 100%;
}

/*
|--------------------------------------------------------------------------
| Name
|--------------------------------------------------------------------------
*/
.author-name {
  margin: 0 0 0.5rem;
  color: var(--heading-color);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
}

/*
|--------------------------------------------------------------------------
| Bio
|--------------------------------------------------------------------------
*/
.author-bio {
  max-width: 320px;
  margin: 0 auto 1.15rem;
  color: var(--text-muted-color);
  font-size: 0.8rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| Stats
|--------------------------------------------------------------------------
*/
.author-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-block-end: 1.15rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--card-hover-bg);
}
.author-stat strong {
  color: var(--primary-color);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}
.author-stat span {
  color: var(--text-muted-color);
  font-size: 0.75rem;
  font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| Social
|--------------------------------------------------------------------------
*/
.author-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: 1.15rem;
}
.author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background-color: var(--card-bg);
  color: var(--text-muted-color);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.author-social a:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}
.author-social a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Profile Button
|--------------------------------------------------------------------------
*/
.author-profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.author-profile-button i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.author-profile-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-1px);
}
.author-profile-button:hover i {
  transform: translateX(-3px);
}
.author-profile-button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .author-profile {
    padding: 1.25rem;
    border-radius: 15px;
  }
  .author-avatar {
    width: 82px;
    height: 82px;
  }
  .author-name {
    font-size: 1.05rem;
  }
  .author-bio {
    font-size: 0.76rem;
  }
  .author-social a {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}
/*
|--------------------------------------------------------------------------
| Author - Latest Posts
|--------------------------------------------------------------------------
*/
.author-latest-posts {
  width: 100%;
  margin-block-end: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background-color: var(--card-bg);
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/
.author-latest-posts-header {
  margin-block-end: 1.25rem;
}

.author-latest-posts-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.author-latest-posts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1rem;
}

.author-latest-posts-title {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}

.author-latest-posts-subtitle {
  margin: 0.2rem 0 0;
  color: var(--text-muted-color);
  font-size: 0.78rem;
  line-height: 1.5;
}

/*
|--------------------------------------------------------------------------
| Posts List
|--------------------------------------------------------------------------
*/
.author-latest-posts-list {
  display: flex;
  flex-direction: column;
}

/*
|--------------------------------------------------------------------------
| Post
|--------------------------------------------------------------------------
*/
.author-latest-post {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.15rem;
}
.author-latest-post:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

/*
|--------------------------------------------------------------------------
| Image
|--------------------------------------------------------------------------
*/
.author-latest-post-image {
  width: 100%;
  height: 145px;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--image-placeholder-bg);
}
.author-latest-post-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.author-latest-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}

.author-latest-post:hover .author-latest-post-image img {
  transform: scale(1.05);
}

/*
|--------------------------------------------------------------------------
| Placeholder
|--------------------------------------------------------------------------
*/
.author-latest-post-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-color);
  font-size: 2rem;
}

/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/
.author-latest-post-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/*
|--------------------------------------------------------------------------
| Category
|--------------------------------------------------------------------------
*/
.author-latest-post-category {
  display: inline-flex;
  margin-block-end: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.author-latest-post-category:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/
.author-latest-post-title {
  width: 100%;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.author-latest-post-title a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
.author-latest-post-title a:hover {
  color: var(--primary-color);
}

/*
|--------------------------------------------------------------------------
| Excerpt
|--------------------------------------------------------------------------
*/
.author-latest-post-excerpt {
  width: 100%;
  margin-block-end: 0.75rem;
  color: var(--text-muted-color);
  font-size: 0.82rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| Meta
|--------------------------------------------------------------------------
*/
.author-latest-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-block-start: auto;
  color: var(--text-muted-color);
  font-size: 0.7rem;
}

.author-latest-post-date,
.author-latest-post-views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/
.author-latest-posts-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 2rem 1rem;
  color: var(--text-muted-color);
  text-align: center;
}
.author-latest-posts-empty i {
  margin-block-end: 0.6rem;
  font-size: 2rem;
}
.author-latest-posts-empty p {
  margin: 0;
  font-size: 0.82rem;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/
@media (max-width: 991.98px) {
  .author-latest-post {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
  }
  .author-latest-post-image {
    height: 125px;
  }
  .author-latest-post-title {
    font-size: 0.98rem;
  }
  .author-latest-post-excerpt {
    font-size: 0.78rem;
  }
}
@media (max-width: 767.98px) {
  .author-latest-posts {
    padding: 1rem;
    border-radius: 15px;
  }
  .author-latest-post {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 0.85rem;
  }
  .author-latest-post-image {
    height: 105px;
    border-radius: 10px;
  }
  .author-latest-post-title {
    font-size: 0.9rem;
  }
  .author-latest-post-excerpt {
    font-size: 0.74rem;
    -webkit-line-clamp: 2;
  }
  .author-latest-post-category {
    font-size: 0.62rem;
  }
  .author-latest-post-meta {
    gap: 0.55rem;
    font-size: 0.65rem;
  }
}
@media (max-width: 575.98px) {
  .author-latest-posts {
    padding: 0.9rem;
  }
  .author-latest-post {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 0.7rem;
    padding-block: 0.9rem;
  }
  .author-latest-post-image {
    height: 82px;
    border-radius: 8px;
  }
  .author-latest-post-title {
    margin-block-end: 0.3rem;
    font-size: 0.82rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }
  .author-latest-post-excerpt {
    display: none;
  }
  .author-latest-post-category {
    margin-block-end: 0.35rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.58rem;
  }
  .author-latest-post-meta {
    font-size: 0.61rem;
  }
  .author-latest-posts-title {
    font-size: 0.98rem;
  }
  .author-latest-posts-subtitle {
    font-size: 0.7rem;
  }
}
/* Homepage content sections */
/* =========================================================
   TARFAIA PRESS — LATEST NEWS
   Modern International News Grid
   RTL | Responsive | Dark Mode
========================================================= */
.home-latest-news {
  position: relative;
  width: 100%;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background: var(--bg-body);
  color: var(--text-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* =========================================================
   CONTAINER
========================================================= */
.home-latest-news__container {
  width: calc(100% - clamp(1.25rem, 5vw, 4rem));
  max-width: 1440px;
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADER
========================================================= */
.home-latest-news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: 1.5rem;
}

.home-latest-news__header-content {
  min-width: 0;
}

.home-latest-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 0.35rem;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.6;
}

.home-latest-news__eyebrow > span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(var(--color-accent-rgb), 0.12);
}

.home-latest-news__title {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.4px;
}

.home-latest-news__description {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.8;
}

/* =========================================================
   VIEW ALL
========================================================= */
.home-latest-news__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.6rem;
  min-height: 43px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.77rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.home-latest-news__view-all i {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.home-latest-news__view-all:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.home-latest-news__view-all:hover i {
  color: #ffffff;
  transform: translateX(-3px);
}

/* =========================================================
   NEWS GRID — FOUR COLUMNS ON LARGE SCREENS
========================================================= */
.home-latest-news__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

/* =========================================================
   NEWS CARD
========================================================= */
.home-latest-news__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal), background-color var(--transition-normal);
}

.home-latest-news__card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* =========================================================
   IMAGE
========================================================= */
.home-latest-news__image-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-latest-news__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.home-latest-news__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-latest-news__card:hover .home-latest-news__img {
  transform: scale(1.045);
}

.home-latest-news__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 75% 20%, rgba(var(--color-primary-rgb), 0.1), transparent 45%), var(--bg-secondary);
  color: var(--text-muted);
  font-size: 1.8rem;
}

/* =========================================================
   CATEGORY BADGE
========================================================= */
.home-latest-news__category {
  position: absolute;
  inset-block-end: 0.75rem;
  inset-inline-start: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   CARD CONTENT
========================================================= */
.home-latest-news__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 1rem;
}

.home-latest-news__card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-wrap: pretty;
}

.home-latest-news__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.home-latest-news__card-title a:hover {
  color: var(--color-primary);
}

/* =========================================================
   EXCERPT
========================================================= */
.home-latest-news__excerpt {
  display: -webkit-box;
  margin: 0.55rem 0 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 450;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* =========================================================
   META
========================================================= */
.home-latest-news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-block-start: auto;
  padding-block-start: 0.85rem;
  border-block-start: 1px solid var(--border-color);
  margin-block-start: 0.85rem;
}

.home-latest-news__meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 550;
  line-height: 1.6;
}

.home-latest-news__meta time i {
  flex-shrink: 0;
  color: var(--color-primary);
}

.home-latest-news__read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.76rem;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.home-latest-news__read-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateX(-2px);
}

/* =========================================================
   LARGE DESKTOP — THREE COLUMNS
========================================================= */
@media (max-width: 1199.98px) {
  .home-latest-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
/* =========================================================
   TABLET — TWO COLUMNS
========================================================= */
@media (max-width: 899.98px) {
  .home-latest-news {
    padding-block: 2rem;
  }
  .home-latest-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
  .home-latest-news__content {
    padding: 0.9rem;
  }
  .home-latest-news__card-title {
    font-size: 0.86rem;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .home-latest-news {
    padding-block: 1.5rem;
  }
  .home-latest-news__container {
    width: calc(100% - 1.25rem);
  }
  .home-latest-news__header {
    align-items: flex-end;
    gap: 0.65rem;
    margin-block-end: 1rem;
  }
  .home-latest-news__eyebrow {
    font-size: 0.68rem;
  }
  .home-latest-news__title {
    font-size: 1.35rem;
  }
  .home-latest-news__description {
    max-width: 250px;
    font-size: 0.72rem;
    line-height: 1.7;
  }
  .home-latest-news__view-all {
    min-height: 35px;
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.67rem;
  }
  .home-latest-news__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }
  .home-latest-news__card {
    display: grid;
    grid-template-columns: minmax(110px, 34%) minmax(0, 1fr);
    align-items: stretch;
  }
  .home-latest-news__image-link {
    min-width: 0;
    height: 100%;
  }
  .home-latest-news__image {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
  }
  .home-latest-news__category {
    inset-block-end: 0.5rem;
    inset-inline-start: 0.45rem;
    max-width: calc(100% - 0.9rem);
    padding: 0.27rem 0.4rem;
    border-radius: 5px;
    font-size: 0.61rem;
  }
  .home-latest-news__content {
    padding: 0.8rem;
    min-width: 0;
  }
  .home-latest-news__card-title {
    font-size: 0.79rem;
    line-height: 1.8;
    -webkit-line-clamp: 3;
  }
  .home-latest-news__excerpt {
    margin-block-start: 0.35rem;
    font-size: 0.69rem;
    line-height: 1.75;
    -webkit-line-clamp: 2;
  }
  .home-latest-news__meta {
    gap: 0.35rem;
    margin-block-start: 0.6rem;
    padding-block-start: 0.55rem;
  }
  .home-latest-news__meta time {
    gap: 0.25rem;
    font-size: 0.61rem;
  }
  .home-latest-news__read-link {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: 0.68rem;
  }
}
/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 359.98px) {
  .home-latest-news__header {
    gap: 0.4rem;
  }
  .home-latest-news__view-all {
    padding-inline: 0.45rem;
    font-size: 0.62rem;
  }
  .home-latest-news__card {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .home-latest-news__content {
    padding: 0.65rem;
  }
  .home-latest-news__card-title {
    font-size: 0.74rem;
  }
  .home-latest-news__excerpt {
    font-size: 0.65rem;
  }
}
/* =========================================================
   DARK MODE
========================================================= */
html.dark-mode .home-latest-news__card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

html.dark-mode .home-latest-news__view-all {
  background: var(--bg-card);
  border-color: var(--border-color);
}

html.dark-mode .home-latest-news__placeholder {
  background: var(--bg-secondary);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.home-latest-news a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .home-latest-news *,
  .home-latest-news *::before,
  .home-latest-news *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* =========================================================
   TARFAIA PRESS — EDITORIAL SPOTLIGHT
   Section title: قضايا تستحق التوقف
   RTL | Responsive | Dark Mode
========================================================= */
.editorial-picks {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  overflow: clip;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-body) 100%);
  color: var(--text-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* =========================================================
   CONTAINER
========================================================= */
.editorial-picks__container {
  width: calc(100% - clamp(1.25rem, 5vw, 4rem));
  max-width: 1440px;
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADER
========================================================= */
.editorial-picks__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: 1.4rem;
}

.editorial-picks__header-main {
  min-width: 0;
}

.editorial-picks__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 0.35rem;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.6;
}

.editorial-picks__eyebrow-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.13);
  border-radius: 9px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.8rem;
}

.editorial-picks__title {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.4px;
}

.editorial-picks__description {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.8;
}

/* =========================================================
   VIEW ALL
========================================================= */
.editorial-picks__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.6rem;
  min-height: 43px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.77rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.editorial-picks__view-all i {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.editorial-picks__view-all:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.editorial-picks__view-all:hover i {
  color: #ffffff;
  transform: translateX(-3px);
}

/* =========================================================
   MAIN EDITORIAL LAYOUT
   In RTL, the feature occupies the right-hand column.
========================================================= */
.editorial-picks__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  grid-template-areas: "feature side";
  align-items: stretch;
  gap: 1rem;
  direction: rtl;
}

/* =========================================================
   FEATURE STORY
========================================================= */
.editorial-picks__feature {
  grid-area: feature;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 475px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: #151e40;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-normal);
}

.editorial-picks__feature:hover {
  box-shadow: var(--shadow-lg);
}

.editorial-picks__feature-link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 475px;
  height: 100%;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  overflow: hidden;
  background: linear-gradient(135deg, #273b9e, #11172a);
  color: #ffffff;
  text-decoration: none;
}

.editorial-picks__feature-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #202b5c;
}

.editorial-picks__feature-image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.editorial-picks__feature .editorial-picks__image-placeholder {
  position: absolute;
  inset: 0;
}

.editorial-picks__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.14), transparent 43%), linear-gradient(135deg, #354ca9, #151d3b);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

/* Dark overlay to support readable white text */
.editorial-picks__feature-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 15, 37, 0.04) 5%, rgba(9, 15, 37, 0.16) 35%, rgba(9, 15, 37, 0.94) 100%), linear-gradient(90deg, rgba(9, 15, 37, 0.14), transparent 75%);
  pointer-events: none;
}

.editorial-picks__feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.editorial-picks__feature-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: 0.9rem;
}

.editorial-picks__feature-label,
.editorial-picks__feature-category {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.38rem 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editorial-picks__feature-label {
  background: var(--color-accent);
}

.editorial-picks__feature-category {
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.editorial-picks__feature-title {
  display: -webkit-box;
  max-width: 780px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: -0.4px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-wrap: balance;
}

.editorial-picks__feature-excerpt {
  display: -webkit-box;
  max-width: 650px;
  margin-block-start: 0.65rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.95;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.editorial-picks__feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: 100%;
  margin-block-start: 1.15rem;
  padding-block-start: 0.9rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.22);
}

.editorial-picks__feature-footer > time {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.71rem;
  font-weight: 550;
}

.editorial-picks__feature-footer > time i {
  color: #ff91a9;
}

.editorial-picks__feature-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.77rem;
  font-weight: 800;
  transition: gap var(--transition-fast);
}

.editorial-picks__feature-read > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.editorial-picks__feature-link:hover .editorial-picks__feature-image {
  transform: scale(1.045);
}

.editorial-picks__feature-link:hover .editorial-picks__feature-read {
  gap: 0.8rem;
}

.editorial-picks__feature-link:hover .editorial-picks__feature-read > span {
  background: var(--color-accent);
  transform: translateX(-2px);
}

/* =========================================================
   SIDE EDITORIAL LIST
========================================================= */
.editorial-picks__side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.editorial-picks__side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block-end: 0.9rem;
  border-block-end: 1px solid var(--border-color);
}

.editorial-picks__side-kicker {
  display: block;
  margin-block-end: 0.2rem;
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 800;
}

.editorial-picks__side-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
}

.editorial-picks__side-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   NUMBERED STORY LIST
========================================================= */
.editorial-picks__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-picks__item {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-block-end: 1px solid var(--border-color);
}

.editorial-picks__item:last-child {
  border-block-end: 0;
}

.editorial-picks__item-link {
  display: grid;
  grid-template-columns: 30px 78px minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  padding-block: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.editorial-picks__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 30px;
  height: 30px;
  margin-block-start: 0.2rem;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.71rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.editorial-picks__item-media {
  position: relative;
  display: block;
  width: 78px;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-secondary);
}

.editorial-picks__item-image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

.editorial-picks__item-media .editorial-picks__image-placeholder {
  position: absolute;
  inset: 0;
  font-size: 1rem;
}

.editorial-picks__item-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.editorial-picks__item-category {
  display: block;
  max-width: 100%;
  margin-block-end: 0.25rem;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editorial-picks__item-title {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color var(--transition-fast);
  text-wrap: pretty;
}

.editorial-picks__item-date {
  display: block;
  margin-block-start: 0.35rem;
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.5;
}

.editorial-picks__item-arrow {
  display: none;
}

/* Hover */
.editorial-picks__item-link:hover .editorial-picks__number {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.editorial-picks__item-link:hover .editorial-picks__item-image {
  transform: scale(1.06);
}

.editorial-picks__item-link:hover .editorial-picks__item-title {
  color: var(--color-primary);
}

/* =========================================================
   TABLET / LAPTOP
========================================================= */
@media (max-width: 1100px) {
  .editorial-picks__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(275px, 0.9fr);
    gap: 0.8rem;
  }
  .editorial-picks__feature,
  .editorial-picks__feature-link {
    min-height: 450px;
  }
  .editorial-picks__feature-link {
    padding: 1.4rem;
  }
  .editorial-picks__feature-title {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
  }
  .editorial-picks__side {
    padding: 0.8rem;
  }
  .editorial-picks__item-link {
    grid-template-columns: 27px 65px minmax(0, 1fr);
    gap: 0.55rem;
  }
  .editorial-picks__number {
    width: 27px;
    height: 27px;
  }
  .editorial-picks__item-media {
    width: 65px;
  }
  .editorial-picks__item-title {
    font-size: 0.73rem;
  }
}
/* =========================================================
   TABLET / MOBILE STACK
========================================================= */
@media (max-width: 800px) {
  .editorial-picks {
    padding-block: 2rem;
  }
  .editorial-picks__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "feature" "side";
    gap: 1rem;
  }
  .editorial-picks__feature,
  .editorial-picks__feature-link {
    min-height: 425px;
  }
  .editorial-picks__feature-title {
    font-size: clamp(1.45rem, 4vw, 2rem);
  }
  .editorial-picks__side {
    padding: 1rem;
  }
  .editorial-picks__item-link {
    grid-template-columns: 32px 78px minmax(0, 1fr);
    gap: 0.75rem;
    padding-block: 0.8rem;
  }
  .editorial-picks__number {
    width: 32px;
    height: 32px;
  }
  .editorial-picks__item-media {
    width: 78px;
  }
  .editorial-picks__item-title {
    font-size: 0.81rem;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .editorial-picks {
    padding-block: 1.6rem;
  }
  .editorial-picks__container {
    width: calc(100% - 1.25rem);
  }
  .editorial-picks__header {
    align-items: flex-end;
    gap: 0.65rem;
    margin-block-end: 1rem;
  }
  .editorial-picks__eyebrow {
    gap: 0.4rem;
    font-size: 0.68rem;
  }
  .editorial-picks__eyebrow-mark {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 0.72rem;
  }
  .editorial-picks__title {
    font-size: 1.32rem;
    letter-spacing: -0.3px;
  }
  .editorial-picks__description {
    max-width: 245px;
    margin-block-start: 0.2rem;
    font-size: 0.71rem;
    line-height: 1.75;
  }
  .editorial-picks__view-all {
    min-height: 35px;
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.65rem;
  }
  .editorial-picks__layout {
    gap: 0.85rem;
  }
  .editorial-picks__feature,
  .editorial-picks__feature-link {
    min-height: 385px;
  }
  .editorial-picks__feature {
    border-radius: 19px;
  }
  .editorial-picks__feature-link {
    padding: 1rem;
  }
  .editorial-picks__feature-topline {
    gap: 0.4rem;
    margin-block-end: 0.65rem;
  }
  .editorial-picks__feature-label,
  .editorial-picks__feature-category {
    padding: 0.32rem 0.5rem;
    font-size: 0.63rem;
  }
  .editorial-picks__feature-title {
    font-size: clamp(1.28rem, 5vw, 1.75rem);
    line-height: 1.6;
    -webkit-line-clamp: 3;
  }
  .editorial-picks__feature-excerpt {
    margin-block-start: 0.45rem;
    font-size: 0.73rem;
    line-height: 1.85;
    -webkit-line-clamp: 2;
  }
  .editorial-picks__feature-footer {
    gap: 0.55rem;
    margin-block-start: 0.8rem;
    padding-block-start: 0.7rem;
  }
  .editorial-picks__feature-footer > time,
  .editorial-picks__feature-read {
    font-size: 0.64rem;
  }
  .editorial-picks__feature-read {
    gap: 0.35rem;
  }
  .editorial-picks__feature-read > span {
    width: 25px;
    height: 25px;
  }
  .editorial-picks__side {
    padding: 0.75rem;
    border-radius: 17px;
  }
  .editorial-picks__side-header {
    padding-block-end: 0.7rem;
  }
  .editorial-picks__side-kicker {
    font-size: 0.64rem;
  }
  .editorial-picks__side-header h3 {
    font-size: 0.9rem;
  }
  .editorial-picks__side-count {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 0.7rem;
  }
  .editorial-picks__item-link {
    grid-template-columns: 27px 64px minmax(0, 1fr);
    gap: 0.55rem;
    padding-block: 0.7rem;
  }
  .editorial-picks__number {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: 0.65rem;
  }
  .editorial-picks__item-media {
    width: 64px;
    border-radius: 8px;
  }
  .editorial-picks__item-category {
    font-size: 0.61rem;
  }
  .editorial-picks__item-title {
    font-size: 0.73rem;
    line-height: 1.8;
  }
  .editorial-picks__item-date {
    margin-block-start: 0.25rem;
    font-size: 0.6rem;
  }
}
/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 359.98px) {
  .editorial-picks__header {
    gap: 0.4rem;
  }
  .editorial-picks__view-all {
    padding-inline: 0.45rem;
    font-size: 0.61rem;
  }
  .editorial-picks__feature,
  .editorial-picks__feature-link {
    min-height: 355px;
  }
  .editorial-picks__feature-link {
    padding: 0.85rem;
  }
  .editorial-picks__feature-title {
    font-size: 1.2rem;
  }
  .editorial-picks__item-link {
    grid-template-columns: 24px 56px minmax(0, 1fr);
    gap: 0.45rem;
  }
  .editorial-picks__number {
    width: 24px;
    height: 24px;
  }
  .editorial-picks__item-media {
    width: 56px;
  }
  .editorial-picks__item-title {
    font-size: 0.69rem;
  }
}
/* =========================================================
   DARK MODE
========================================================= */
html.dark-mode .editorial-picks {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-body) 100%);
}

html.dark-mode .editorial-picks__side {
  background: var(--bg-card);
  border-color: var(--border-color);
}

html.dark-mode .editorial-picks__item {
  border-color: var(--border-color);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.editorial-picks a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.editorial-picks__feature-link:focus-visible {
  outline-color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .editorial-picks *,
  .editorial-picks *::before,
  .editorial-picks *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   TARFAIA PRESS — VIDEO SECTION
   Gradient surface + border
   Responsive RTL carousel
========================================================= */
.video-section {
  --video-gap: 1rem;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background: radial-gradient(ellipse at 10% 0%, rgba(var(--color-primary-rgb), 0.055), transparent 45%), var(--bg-body);
  color: var(--text-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* =========================================================
   OUTER CONTAINER
========================================================= */
.video-section__container {
  width: calc(100% - clamp(1.25rem, 5vw, 4rem));
  max-width: 1440px;
  margin-inline: auto;
}

/* =========================================================
   GRADIENT BORDER
========================================================= */
.video-section__frame {
  padding: 1.5px;
  border-radius: 29px;
  background: linear-gradient(125deg, rgba(115, 137, 255, 0.85) 0%, rgba(var(--color-primary-rgb), 0.45) 27%, rgba(var(--color-accent-rgb), 0.75) 58%, rgba(180, 165, 255, 0.85) 100%);
  box-shadow: 0 15px 40px rgba(var(--color-primary-rgb), 0.065);
}

/* =========================================================
   INNER SURFACE
========================================================= */
.video-section__surface {
  position: relative;
  isolation: isolate;
  padding: clamp(1rem, 2.4vw, 2rem);
  overflow: hidden;
  border-radius: 27px;
  background: radial-gradient(ellipse at 100% 0%, rgba(var(--color-primary-rgb), 0.075), transparent 42%), radial-gradient(ellipse at 0% 100%, rgba(var(--color-accent-rgb), 0.055), transparent 38%), linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}

/* =========================================================
   SECTION HEADER
========================================================= */
.video-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-block-end: 1.4rem;
}

.video-section__heading-main {
  min-width: 0;
}

.video-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.25rem;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.video-section__eyebrow i {
  color: var(--color-accent);
  font-size: 0.95rem;
}

.video-section__title {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.4px;
}

.video-section__description {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.video-section__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.6rem;
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.video-section__view-all i {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.video-section__view-all:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.video-section__view-all:hover i {
  color: #fff;
  transform: translateX(-3px);
}

/* =========================================================
   CAROUSEL VIEWPORT
========================================================= */
.video-section__carousel {
  position: relative;
  min-width: 0;
}

.video-section__viewport {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  direction: rtl;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.video-section__viewport::-webkit-scrollbar {
  display: none;
}

.video-section__viewport:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

/* =========================================================
   TRACK — THREE VIDEOS ON LARGE SCREENS
========================================================= */
.video-section__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: var(--video-gap);
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

/* =========================================================
   VIDEO CARD
========================================================= */
.video-section__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: border-color var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.video-section__card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.38);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* =========================================================
   VIDEO MEDIA
========================================================= */
.video-section__media {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #151e40;
  color: #ffffff;
  text-decoration: none;
}

.video-section__image-wrap {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #354ca9, #151d3b);
}

.video-section__image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.video-section__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
}

.video-section__image-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 42, 0.02) 10%, rgba(11, 17, 42, 0.15) 60%, rgba(11, 17, 42, 0.52) 100%);
  transition: background-color var(--transition-normal);
}

/* =========================================================
   CENTERED PLAY BUTTON
========================================================= */
.video-section__play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #ffffff;
  font-size: 1.65rem;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.13), 0 8px 24px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.video-section__play-button i {
  display: block;
  /* Slight optical correction for the play triangle. */
  transform: translateX(1px);
}

.video-section__media:hover .video-section__play-button {
  background: var(--color-accent);
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.17), 0 10px 28px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-section__media:hover .video-section__image {
  transform: scale(1.055);
}

/* =========================================================
   VIDEO LABEL
========================================================= */
.video-section__media-label {
  position: absolute;
  inset-block-end: 0.75rem;
  inset-inline-start: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(12, 19, 46, 0.65);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* =========================================================
   VIDEO CONTENT
========================================================= */
.video-section__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 1rem;
}

.video-section__card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: pretty;
}

.video-section__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.video-section__card-title a:hover {
  color: var(--color-primary);
}

/* =========================================================
   META
========================================================= */
.video-section__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-block-start: auto;
  padding-block-start: 0.8rem;
  border-block-start: 1px solid var(--border-color);
  margin-block-start: 0.8rem;
}

.video-section__meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.video-section__meta time i {
  color: var(--color-primary);
}

.video-section__index {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   CAROUSEL ARROWS
========================================================= */
.video-section__controls {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  inset-block-start: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0.65rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.video-section__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--color-primary);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.video-section__arrow:not(:disabled):hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  transform: scale(1.06);
}

.video-section__arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.video-section__arrow:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.video-section__counter {
  position: absolute;
  inset-block-start: calc(100% + 1rem);
  inset-inline-start: 50%;
  width: -moz-max-content;
  width: max-content;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Hide native controls attribute consistently. */
.video-section__controls[hidden] {
  display: none !important;
}

/* =========================================================
   MEDIUM SCREENS — TWO VIDEOS
========================================================= */
@media (max-width: 991.98px) {
  .video-section__track {
    grid-auto-columns: calc((100% - 0.8rem) / 2);
    gap: 0.8rem;
  }
  .video-section__surface {
    padding: 1.2rem;
  }
  .video-section__content {
    padding: 0.85rem;
  }
  .video-section__card-title {
    font-size: 0.84rem;
  }
  .video-section__play-button {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
  .video-section__arrow {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}
/* =========================================================
   SMALL SCREENS — ONE FULL CARD + NEXT CARD PEEK
========================================================= */
@media (max-width: 575.98px) {
  .video-section {
    padding-block: 1.5rem;
  }
  .video-section__container {
    width: calc(100% - 1.25rem);
  }
  .video-section__frame {
    border-radius: 22px;
  }
  .video-section__surface {
    padding: 0.9rem;
    border-radius: 20.5px;
  }
  .video-section__header {
    align-items: flex-end;
    gap: 0.65rem;
    margin-block-end: 1rem;
  }
  .video-section__eyebrow {
    font-size: 0.68rem;
  }
  .video-section__title {
    font-size: 1.4rem;
  }
  .video-section__description {
    max-width: 245px;
    font-size: 0.71rem;
    line-height: 1.75;
  }
  .video-section__view-all {
    min-height: 35px;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.64rem;
  }
  .video-section__track {
    /*
     * The next card remains slightly visible so users
     * understand that the strip is horizontally scrollable.
     */
    grid-auto-columns: 88%;
    gap: 0.75rem;
  }
  .video-section__card {
    border-radius: 13px;
  }
  .video-section__content {
    padding: 0.75rem;
  }
  .video-section__card-title {
    font-size: 0.79rem;
    line-height: 1.8;
  }
  .video-section__meta {
    padding-block-start: 0.65rem;
    margin-block-start: 0.65rem;
  }
  .video-section__meta time {
    font-size: 0.63rem;
  }
  .video-section__play-button {
    width: 49px;
    height: 49px;
    font-size: 1.35rem;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15), 0 6px 18px rgba(0, 0, 0, 0.25);
  }
  /*
   * On mobile, place the controls under the track
   * so the buttons do not obstruct the video image.
   */
  .video-section__controls {
    position: relative;
    inset: auto;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-block-start: 0.9rem;
    padding: 0;
    transform: none;
  }
  .video-section__arrow {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-color: var(--border-color);
    font-size: 0.8rem;
  }
  .video-section__counter {
    position: static;
    width: auto;
    margin-inline-start: 0.25rem;
    transform: none;
  }
}
/* =========================================================
   DARK MODE
========================================================= */
html.dark-mode .video-section__frame {
  background: linear-gradient(125deg, rgba(128, 148, 255, 0.85) 0%, rgba(var(--color-primary-rgb), 0.55) 30%, rgba(var(--color-accent-rgb), 0.7) 65%, rgba(151, 133, 255, 0.75) 100%);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
}

html.dark-mode .video-section__surface {
  background: radial-gradient(ellipse at 100% 0%, rgba(var(--color-primary-rgb), 0.14), transparent 42%), radial-gradient(ellipse at 0% 100%, rgba(var(--color-accent-rgb), 0.08), transparent 38%), linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
}

html.dark-mode .video-section__card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

html.dark-mode .video-section__arrow {
  border-color: var(--border-color);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.video-section a:focus-visible,
.video-section button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .video-section *,
  .video-section *::before,
  .video-section *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   ENGAGEMENT SECTION
========================================================= */
.engagement-section {
  width: 100%;
  margin-block-end: 3.5rem;
}

/* =========================================================
   MAIN GRID
========================================================= */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* =========================================================
   PANEL
========================================================= */
.engagement-panel {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   PANEL HEADER
========================================================= */
.engagement-panel-header {
  padding: 1.15rem 1.25rem;
  border-block-end: 1px solid var(--border-color);
  background: var(--bg-card);
}

.engagement-panel-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.engagement-panel-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 2.45rem;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1rem;
}

.engagement-panel--live .engagement-panel-icon {
  background: rgba(22, 163, 74, 0.1);
  color: var(--success-color);
}

.engagement-panel-heading-text {
  min-width: 0;
}

.engagement-panel-kicker {
  display: block;
  margin-block-end: 0.15rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.engagement-panel-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

/* =========================================================
   LIVE HEADER DOT
========================================================= */
.engagement-live-dot {
  position: relative;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--success-color);
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.1);
}

.engagement-live-dot::after {
  content: "";
  position: absolute;
  inset: -0.2rem;
  border: 1px solid var(--success-color);
  border-radius: 50%;
  opacity: 0.55;
  animation: engagement-live-pulse 1.8s ease-out infinite;
}

@keyframes engagement-live-pulse {
  0% {
    transform: scale(0.65);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}
/* =========================================================
   POSTS
========================================================= */
.engagement-posts {
  padding-inline: 1.25rem;
}

.engagement-post {
  border-block-end: 1px solid var(--border-color);
}

.engagement-post:last-child {
  border-block-end: 0;
}

.engagement-post-link,
.engagement-live-link {
  position: relative;
  display: grid;
  align-items: center;
  gap: 0.8rem;
  padding-block: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.engagement-post-link {
  grid-template-columns: auto 5.75rem minmax(0, 1fr) auto;
}

.engagement-live-link {
  grid-template-columns: 5.75rem minmax(0, 1fr) auto;
}

/* =========================================================
   RANK
========================================================= */
.engagement-post-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.engagement-post--popular:first-child .engagement-post-rank {
  background: var(--color-primary);
  color: #fff;
}

.engagement-post--popular:nth-child(2) .engagement-post-rank {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* =========================================================
   IMAGE
========================================================= */
.engagement-post-image {
  position: relative;
  width: 5.75rem;
  height: 3.8rem;
  overflow: hidden;
  border-radius: 9px;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.engagement-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

.engagement-post-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =========================================================
   CONTENT
========================================================= */
.engagement-post-content {
  min-width: 0;
}

.engagement-post-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s ease;
}

/* =========================================================
   META
========================================================= */
.engagement-post-meta {
  display: flex;
  align-items: center;
  margin-block-start: 0.35rem;
}

.engagement-post-views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.engagement-post-views i {
  font-size: 0.7rem;
}

.engagement-post-views span {
  margin-inline-start: 0.05rem;
}

/* =========================================================
   LIVE STATUS
========================================================= */
.engagement-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--success-color);
  font-size: 0.68rem;
  font-weight: 700;
}

.engagement-live-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success-color);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.08);
}

/* =========================================================
   ARROW
========================================================= */
.engagement-post-arrow {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* =========================================================
   HOVER
========================================================= */
.engagement-post-link:hover .engagement-post-image img {
  transform: scale(1.06);
}

.engagement-post-link:hover .engagement-post-title {
  color: var(--color-primary);
}

.engagement-post-link:hover .engagement-post-arrow {
  background: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateX(-2px);
}

.engagement-post-link:hover .engagement-post-rank {
  background: var(--color-primary);
  color: #fff;
}

/* =========================================================
   LIVE PANEL DIFFERENCE
========================================================= */
.engagement-panel--live {
  border-color: color-mix(in srgb, var(--success-color) 16%, var(--border-color));
}

.engagement-panel--live .engagement-post-link:hover .engagement-post-arrow {
  background: rgba(22, 163, 74, 0.1);
  color: var(--success-color);
}

/* =========================================================
   EMPTY STATES
========================================================= */
.engagement-empty {
  margin: 0;
  padding-block: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.engagement-live-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 15rem;
  padding: 2rem;
  text-align: center;
}

.engagement-live-empty-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-block-end: 0.8rem;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.1);
  color: var(--success-color);
  font-size: 1.2rem;
}

.engagement-live-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 991.98px) {
  .engagement-grid {
    gap: 1rem;
  }
  .engagement-posts {
    padding-inline: 1rem;
  }
  .engagement-post-link {
    grid-template-columns: auto 5.25rem minmax(0, 1fr) auto;
    gap: 0.65rem;
  }
  .engagement-post-image {
    width: 5.25rem;
    height: 3.5rem;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {
  .engagement-section {
    margin-block-end: 2.5rem;
  }
  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .engagement-panel {
    border-radius: 14px;
  }
  .engagement-panel-header {
    padding: 1rem;
  }
  .engagement-posts {
    padding-inline: 1rem;
  }
  .engagement-post-link {
    grid-template-columns: auto 5.5rem minmax(0, 1fr) auto;
    padding-block: 0.8rem;
  }
  .engagement-post-image {
    width: 5.5rem;
    height: 3.65rem;
  }
  .engagement-post-title {
    font-size: 0.82rem;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .engagement-post-link {
    grid-template-columns: auto 4.8rem minmax(0, 1fr) auto;
    gap: 0.55rem;
  }
  .engagement-post-image {
    width: 4.8rem;
    height: 3.2rem;
    border-radius: 8px;
  }
  .engagement-post-rank {
    width: 1.75rem;
    height: 1.75rem;
  }
  .engagement-post-title {
    font-size: 0.78rem;
    line-height: 1.55;
  }
  .engagement-post-arrow {
    width: 1.6rem;
    height: 1.6rem;
  }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .engagement-live-dot::after,
  .engagement-post-image img,
  .engagement-post-title,
  .engagement-post-arrow,
  .engagement-post-rank {
    animation: none;
    transition: none;
  }
}
/* =========================================================
   CATEGORY COLUMNS SECTION
========================================================= */
.category-columns-section {
  width: 100%;
  margin-block-end: 3.5rem;
}

/* =========================================================
   GRID
========================================================= */
.category-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* =========================================================
   COLUMN
========================================================= */
.category-news-column {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.category-news-column:hover {
  border-color: color-mix(in srgb, var(--color-primary) 18%, var(--border-color));
  box-shadow: var(--shadow-md);
}

/* =========================================================
   COLUMN HEADER
========================================================= */
.category-news-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-block-end: 1px solid var(--border-color);
}

.category-news-column-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  color: var(--text-primary);
}

.category-news-column-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 2.15rem;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.95rem;
}

.category-news-column-name {
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-news-column-title:hover {
  color: var(--color-primary);
}

.category-news-column-more {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.category-news-column-more:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateX(-2px);
}

/* =========================================================
   COLUMN BODY
========================================================= */
.category-news-column-body {
  padding: 1rem;
}

/* =========================================================
   FEATURED POST
========================================================= */
.category-featured-post {
  margin-block-end: 1rem;
}

.category-featured-post-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.category-featured-post-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-secondary);
}

.category-featured-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.category-featured-post-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 1.5rem;
  background: var(--bg-secondary);
}

.category-featured-post-content {
  padding-block-start: 0.8rem;
}

.category-featured-post-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s ease;
}

.category-featured-post-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-block-start: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.category-featured-post-time i {
  font-size: 0.78rem;
}

.category-featured-post-link:hover .category-featured-post-image img {
  transform: scale(1.045);
}

.category-featured-post-link:hover .category-featured-post-title {
  color: var(--color-primary);
}

/* =========================================================
   SMALL POSTS
========================================================= */
.category-small-posts {
  display: flex;
  flex-direction: column;
  border-block-start: 1px solid var(--border-color);
}

.category-small-post {
  min-width: 0;
  border-block-end: 1px solid var(--border-color);
}

.category-small-post:last-child {
  border-block-end: 0;
}

.category-small-post-link {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding-block: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.category-small-post-image {
  position: relative;
  width: 5rem;
  height: 3.35rem;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-secondary);
}

.category-small-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

.category-small-post-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  background: var(--bg-secondary);
}

.category-small-post-content {
  min-width: 0;
}

.category-small-post-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s ease;
}

.category-small-post-link:hover .category-small-post-image img {
  transform: scale(1.06);
}

.category-small-post-link:hover .category-small-post-title {
  color: var(--color-primary);
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1199.98px) {
  .category-columns-grid {
    gap: 1.1rem;
  }
  .category-news-column-body {
    padding: 0.9rem;
  }
  .category-small-post-link {
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: 0.65rem;
  }
  .category-small-post-image {
    width: 4.6rem;
    height: 3.1rem;
  }
}
/* =========================================================
   SMALL TABLET
========================================================= */
@media (max-width: 991.98px) {
  .category-columns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-news-column:last-child {
    grid-column: 1/-1;
  }
  .category-news-column:last-child .category-small-posts {
    display: grid;
    grid-template-columns: 1fr;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
  }
  .category-news-column:last-child .category-small-post {
    border-block-end: 1px solid var(--border-color);
  }
  .category-news-column:last-child .category-small-post:nth-child(odd) {
    border-inline-end: 1px solid var(--border-color);
    padding-inline-end: 1rem;
  }
  .category-news-column:last-child .category-small-post:nth-last-child(-n+2) {
    border-block-end: 0;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {
  .category-columns-section {
    margin-block-end: 2.5rem;
  }
  .category-columns-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .category-news-column:last-child {
    grid-column: auto;
  }
  .category-news-column {
    border-radius: 14px;
  }
  .category-news-column-body {
    padding: 0.85rem;
  }
  .category-featured-post {
    margin-block-end: 0.75rem;
  }
  .category-featured-post-title {
    font-size: 0.95rem;
  }
  .category-small-post-link {
    grid-template-columns: 5.25rem minmax(0, 1fr);
    gap: 0.75rem;
    padding-block: 0.75rem;
  }
  .category-small-post-image {
    width: 5.25rem;
    height: 3.5rem;
  }
  .category-small-post-title {
    font-size: 0.81rem;
  }
}
/* =========================================================
   DARK MODE
========================================================= */
html.dark-mode .category-news-column {
  background: var(--bg-card);
}

html.dark-mode .category-featured-post-placeholder,
html.dark-mode .category-small-post-placeholder {
  background: var(--bg-secondary);
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .category-news-column,
  .category-featured-post-image img,
  .category-small-post-image img,
  .category-news-column-more {
    transition: none;
  }
}
/* =========================================================
   Home — Most Read
   Editorial Indigo visual identity
========================================================= */
.home-most-read {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block: clamp(2.75rem, 5vw, 4.75rem);
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
  background: radial-gradient(circle at 100% 0%, rgba(var(--color-primary-rgb, 39, 59, 158), 0.055), transparent 34%), radial-gradient(circle at 0% 100%, rgba(var(--color-accent-rgb, 240, 91, 120), 0.045), transparent 32%);
  border-block: 1px solid var(--border-color, #e2e6f0);
}
.home-most-read,
.home-most-read * {
  box-sizing: border-box;
}
.home-most-read a {
  color: inherit;
  text-decoration: none;
}
.home-most-read img {
  display: block;
  max-width: 100%;
}
.home-most-read__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: 1.5rem;
}
.home-most-read__heading {
  min-width: 0;
}
.home-most-read__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.55rem;
  padding: 0.35rem 0.7rem;
  color: var(--color-primary, #273b9e);
  background: rgba(var(--color-primary-rgb, 39, 59, 158), 0.09);
  border: 1px solid rgba(var(--color-primary-rgb, 39, 59, 158), 0.12);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
}
.home-most-read__eyebrow i {
  color: var(--color-accent, #f05b78);
  font-size: 0.9rem;
}
.home-most-read__title {
  margin: 0;
  color: var(--text-primary, #171b2e);
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.home-most-read__description {
  margin: 0.45rem 0 0;
  color: var(--text-secondary, #50576d);
  font-size: 0.93rem;
  line-height: 1.8;
}
.home-most-read__sort-note {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.55rem;
  margin-block-end: 0.2rem;
  padding: 0.65rem 0.9rem;
  color: var(--text-secondary, #50576d);
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #e2e6f0);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}
.home-most-read__sort-note i {
  color: var(--color-primary, #273b9e);
  font-size: 1rem;
}
.home-most-read {
  /* Main two-column layout */
}
.home-most-read__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: stretch;
  gap: 1.15rem;
}
.home-most-read__layout--single {
  grid-template-columns: minmax(0, 1fr);
}
.home-most-read__layout--single .home-most-read__featured {
  max-width: 1100px;
}
.home-most-read {
  /* Shared premium card surface */
}
.home-most-read__featured, .home-most-read__ranking {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(var(--bg-card, #fff), var(--bg-card, #fff)) padding-box, linear-gradient(135deg, rgba(var(--color-primary-rgb, 39, 59, 158), 0.4), rgba(var(--color-accent-rgb, 240, 91, 120), 0.2)) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: var(--shadow-md, 0 12px 36px rgba(25, 36, 72, 0.07));
}
.home-most-read {
  /* Featured article */
}
.home-most-read__featured {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 350px;
}
.home-most-read__featured-media {
  position: relative;
  display: block;
  align-self: stretch;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--bg-secondary, #eef1f8);
}
.home-most-read__featured-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.06) 20%, rgba(10, 16, 34, 0.45) 100%);
  content: "";
  pointer-events: none;
}
.home-most-read__featured-media:hover img {
  transform: scale(1.045);
}
.home-most-read__featured-media:focus-visible {
  outline: 3px solid var(--color-accent, #f05b78);
  outline-offset: -4px;
}
.home-most-read__featured-image, .home-most-read__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 350px;
  -o-object-fit: cover;
     object-fit: cover;
}
.home-most-read__featured-image {
  transition: transform 450ms ease;
}
.home-most-read__image-placeholder, .home-most-read__item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #273b9e);
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 39, 59, 158), 0.12), rgba(var(--color-accent-rgb, 240, 91, 120), 0.1));
}
.home-most-read__image-placeholder i, .home-most-read__item-placeholder i {
  font-size: 2.5rem;
  opacity: 0.65;
}
.home-most-read__rank {
  position: absolute;
  z-index: 2;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  color: #fff;
  background: var(--color-primary, #273b9e);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(12, 20, 55, 0.2);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}
.home-most-read__rank--featured {
  min-width: 2.6rem;
  min-height: 2.6rem;
  color: #fff;
  background: var(--color-accent, #f05b78);
  border-radius: 12px;
  font-size: 0.95rem;
}
.home-most-read__image-label {
  position: absolute;
  z-index: 2;
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  color: #fff;
  background: rgba(13, 19, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.home-most-read__image-label i {
  color: #ff91a5;
}
.home-most-read__featured-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.65rem);
}
.home-most-read__featured-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-block-end: 0.95rem;
}
.home-most-read__featured-topline time {
  color: var(--text-muted, #858ca0);
  font-size: 0.74rem;
  line-height: 1.5;
}
.home-most-read__category, .home-most-read__item-category {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  color: var(--color-primary, #273b9e);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.5;
}
.home-most-read__category:hover, .home-most-read__item-category:hover {
  color: var(--color-accent, #f05b78);
}
.home-most-read__category {
  padding: 0.25rem 0.6rem;
  background: rgba(var(--color-primary-rgb, 39, 59, 158), 0.08);
  border-radius: 7px;
}
.home-most-read__featured-title {
  margin: 0;
  color: var(--text-primary, #171b2e);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 900;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.home-most-read__featured-title a {
  transition: color 180ms ease;
}
.home-most-read__featured-title a:hover {
  color: var(--color-primary, #273b9e);
}
.home-most-read__featured-title a:focus-visible {
  outline: 2px solid var(--color-accent, #f05b78);
  outline-offset: 3px;
  border-radius: 3px;
}
.home-most-read__featured-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.7rem 0 1rem;
  color: var(--text-secondary, #50576d);
  font-size: 0.86rem;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.home-most-read__author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block-start: auto;
  padding-block: 0.8rem;
  color: var(--text-secondary, #50576d);
  font-size: 0.78rem;
}
.home-most-read__author strong {
  color: var(--text-primary, #171b2e);
  font-weight: 800;
}
.home-most-read__avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-inline-end: 0.15rem;
  border: 2px solid var(--bg-card, #fff);
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-color, #e2e6f0);
}
.home-most-read__author-label {
  color: var(--text-muted, #858ca0);
}
.home-most-read__featured-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  margin: 0;
  padding: 0.9rem 0 0;
  list-style: none;
  border-block-start: 1px solid var(--border-color, #e2e6f0);
}
.home-most-read__featured-stats li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary, #50576d);
  font-size: 0.74rem;
  line-height: 1.5;
}
.home-most-read__featured-stats i {
  color: var(--color-primary, #273b9e);
  font-size: 0.95rem;
}
.home-most-read__featured-stats li:first-child i {
  color: var(--color-accent, #f05b78);
}
.home-most-read__featured-stats strong {
  color: var(--text-primary, #171b2e);
  font-weight: 900;
}
.home-most-read {
  /* Ranking list */
}
.home-most-read__ranking {
  display: flex;
  flex-direction: column;
  padding-inline: clamp(1rem, 1.7vw, 1.4rem);
}
.home-most-read__ranking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.15rem 0.8rem;
  border-block-end: 1px solid var(--border-color, #e2e6f0);
}
.home-most-read__ranking-header h3 {
  margin: 0.2rem 0 0;
  color: var(--text-primary, #171b2e);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
}
.home-most-read__ranking-kicker {
  color: var(--text-muted, #858ca0);
  font-size: 0.73rem;
  font-weight: 700;
}
.home-most-read__count {
  flex-shrink: 0;
  padding: 0.4rem 0.6rem;
  color: var(--color-primary, #273b9e);
  background: rgba(var(--color-primary-rgb, 39, 59, 158), 0.08);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
}
.home-most-read__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-most-read__item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding-block: 0.9rem;
  border-block-end: 1px solid var(--border-color, #e2e6f0);
}
.home-most-read__item:last-child {
  border-block-end: 0;
}
.home-most-read__item-media {
  position: relative;
  display: block;
  width: 106px;
  aspect-ratio: 1.08/1;
  overflow: hidden;
  background: var(--bg-secondary, #eef1f8);
  border-radius: 11px;
}
.home-most-read__item-media:hover img {
  transform: scale(1.06);
}
.home-most-read__item-media:focus-visible {
  outline: 3px solid var(--color-accent, #f05b78);
  outline-offset: 2px;
}
.home-most-read__item-image, .home-most-read__item-placeholder {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 350ms ease;
}
.home-most-read__item-placeholder i {
  font-size: 1.6rem;
}
.home-most-read__item-media .home-most-read__rank {
  inset-block-start: 0.45rem;
  inset-inline-start: 0.45rem;
  min-width: 1.9rem;
  min-height: 1.9rem;
  padding: 0.25rem;
  border-radius: 7px;
  font-size: 0.7rem;
}
.home-most-read__item-content {
  min-width: 0;
}
.home-most-read__item-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.65rem;
  margin-block-end: 0.35rem;
}
.home-most-read__item-topline time {
  color: var(--text-muted, #858ca0);
  font-size: 0.69rem;
  line-height: 1.5;
}
.home-most-read__item-category {
  font-size: 0.71rem;
}
.home-most-read__item-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--text-primary, #171b2e);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.7;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-most-read__item-title a {
  transition: color 180ms ease;
}
.home-most-read__item-title a:hover {
  color: var(--color-primary, #273b9e);
}
.home-most-read__item-title a:focus-visible {
  outline: 2px solid var(--color-accent, #f05b78);
  outline-offset: 2px;
  border-radius: 3px;
}
.home-most-read__item-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.6rem;
  margin-block-start: 0.5rem;
}
.home-most-read__item-author {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--text-muted, #858ca0);
  font-size: 0.69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-most-read__item-author i {
  flex-shrink: 0;
}
.home-most-read__item-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  color: var(--text-secondary, #50576d);
  font-size: 0.69rem;
  line-height: 1.5;
}
.home-most-read__item-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  white-space: nowrap;
}
.home-most-read__item-stats i {
  color: var(--color-primary, #273b9e);
  font-size: 0.8rem;
}
.home-most-read__item-stats span:first-child i {
  color: var(--color-accent, #f05b78);
}
.home-most-read {
  /* Tablet */
}
@media (max-width: 1100px) {
  .home-most-read__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-most-read__featured {
    min-height: 320px;
  }
  .home-most-read__featured-image, .home-most-read__image-placeholder {
    min-height: 320px;
  }
  .home-most-read__ranking {
    padding-inline: 1.2rem;
  }
  .home-most-read__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    -moz-column-gap: 1rem;
         column-gap: 1rem;
  }
  .home-most-read__item {
    align-items: start;
    padding-block: 1rem;
  }
  .home-most-read__item:nth-last-child(-n+2) {
    border-block-end: 0;
  }
}
.home-most-read {
  /* Mobile */
}
@media (max-width: 640px) {
  .home-most-read {
    margin-block: 2.25rem;
    padding-block: 1.7rem;
  }
  .home-most-read__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    margin-block-end: 1rem;
  }
  .home-most-read__title {
    font-size: 1.65rem;
  }
  .home-most-read__description {
    font-size: 0.85rem;
  }
  .home-most-read__sort-note {
    margin: 0;
    padding: 0.5rem 0.7rem;
    font-size: 0.72rem;
  }
  .home-most-read__layout {
    gap: 0.9rem;
  }
  .home-most-read__featured {
    display: block;
    min-height: 0;
    border-radius: 16px;
  }
  .home-most-read__featured-media {
    aspect-ratio: 16/9;
    min-height: 0;
  }
  .home-most-read__featured-image, .home-most-read__image-placeholder {
    height: 100%;
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .home-most-read__featured-content {
    padding: 1rem;
  }
  .home-most-read__featured-topline {
    margin-block-end: 0.65rem;
  }
  .home-most-read__featured-title {
    font-size: 1.1rem;
    line-height: 1.7;
  }
  .home-most-read__featured-excerpt {
    margin-block: 0.55rem 0.75rem;
    font-size: 0.82rem;
    -webkit-line-clamp: 3;
  }
  .home-most-read__featured-stats {
    gap: 0.65rem 0.8rem;
  }
  .home-most-read__featured-stats li {
    font-size: 0.7rem;
  }
  .home-most-read__ranking {
    padding-inline: 0.9rem;
    border-radius: 16px;
  }
  .home-most-read__ranking-header {
    padding-block: 0.9rem 0.7rem;
  }
  .home-most-read__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-most-read__item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.7rem;
    padding-block: 0.85rem;
  }
  .home-most-read__item:nth-last-child(-n+2) {
    border-block-end: 1px solid var(--border-color, #e2e6f0);
  }
  .home-most-read__item:last-child {
    border-block-end: 0;
  }
  .home-most-read__item-media {
    width: 88px;
    aspect-ratio: 0.95/1;
    border-radius: 9px;
  }
  .home-most-read__item-title {
    font-size: 0.83rem;
    line-height: 1.65;
  }
  .home-most-read__item-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
  .home-most-read__item-stats {
    gap: 0.35rem 0.65rem;
    font-size: 0.67rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-most-read__featured-image, .home-most-read__item-image, .home-most-read__item-placeholder {
    transition: none;
  }
}

/* Breaking news and mobile navigation */
.breaking-news {
  width: 100%;
  margin-block: 1rem;
  font-family: var(--font-primary);
}

.breaking-news-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.breaking-news-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}

.breaking-news-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.breaking-news-label-text {
  font-size: 0.95rem;
}

.breaking-news-content {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  direction: rtl;
}

.breaking-news-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2rem;
  min-width: -moz-max-content;
  min-width: max-content;
  padding-inline: 1rem;
  animation: breaking-news-scroll 35s linear infinite;
}
.breaking-news-track:hover {
  animation-play-state: paused;
}

.breaking-news-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 32rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.breaking-news-item:hover,
.breaking-news-item:focus-visible {
  color: var(--color-primary);
}

.breaking-news-item-dot {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  background: var(--color-accent);
  border-radius: 50%;
}

.breaking-news-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.breaking-news.is-paused .breaking-news-track {
  animation-play-state: paused;
}

.breaking-news-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  min-width: -moz-max-content;
  min-width: max-content;
  animation: breaking-news-scroll 35s linear infinite;
}

.breaking-news-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2rem;
  min-width: -moz-max-content;
  min-width: max-content;
  padding-inline: 1rem;
}

@keyframes breaking-news-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .breaking-news-track {
    animation: none;
  }
  .breaking-news-item {
    white-space: normal;
  }
}
@media (max-width: 767.98px) {
  .breaking-news {
    margin-block: 0.75rem;
  }
  .breaking-news-inner {
    border-radius: var(--radius-sm);
  }
  .breaking-news-label {
    gap: 0.35rem;
    padding: 0.65rem 0.75rem;
  }
  .breaking-news-label-text {
    font-size: 0.8rem;
  }
  .breaking-news-icon {
    font-size: 0.9rem;
  }
  .breaking-news-track {
    gap: 1.25rem;
    padding-inline: 0.75rem;
    animation-duration: 28s;
  }
  .breaking-news-item {
    max-width: 15rem;
    font-size: 0.78rem;
  }
}
@media (max-width: 399.98px) {
  .breaking-news-label-text {
    display: none;
  }
  .breaking-news-label {
    padding-inline: 0.7rem;
  }
}
/* =========================================================
   MOBILE NAVIGATION
========================================================= */
.akhbar-mobile-nav {
  width: min(390px, 92vw);
  border: 0;
  background: var(--bg-body);
  color: var(--text-primary);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* =========================================================
   HEADER
========================================================= */
.akhbar-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-header);
  backdrop-filter: blur(14px);
}

.akhbar-mobile-nav-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.akhbar-mobile-nav-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
}

.akhbar-mobile-nav-brand .custom-logo {
  display: block;
  max-width: 150px;
  max-height: 42px;
  width: auto;
  height: auto;
}

.akhbar-mobile-nav-site-name {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.akhbar-mobile-nav-brand-subtitle {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.akhbar-mobile-nav-close {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.akhbar-mobile-nav-close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}

/* =========================================================
   BODY
========================================================= */
.akhbar-mobile-nav-body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1rem;
  background: var(--bg-body);
}

/* =========================================================
   QUICK SEARCH
========================================================= */
.akhbar-mobile-nav-search {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem 0.55rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.akhbar-mobile-nav-search:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--text-primary);
}

.akhbar-mobile-nav-search-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  border-radius: 9px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.akhbar-mobile-nav-search-text {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 650;
}

.akhbar-mobile-nav-search > i {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* =========================================================
   SECTION
========================================================= */
.akhbar-mobile-nav-section {
  min-width: 0;
}

.akhbar-mobile-nav-section-header {
  margin-bottom: 0.65rem;
}

.akhbar-mobile-nav-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 800;
}

.akhbar-mobile-nav-section-icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 1.8rem;
  border-radius: 7px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.78rem;
}

/* =========================================================
   MENU
========================================================= */
.akhbar-mobile-menu {
  width: 100%;
}

.akhbar-mobile-menu ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
}

.akhbar-mobile-menu ul.menu > li.menu-item {
  margin: 0;
  border-bottom: 1px solid var(--border-color);
}

.akhbar-mobile-menu ul.menu > li.menu-item:last-child {
  border-bottom: 0;
}

.akhbar-mobile-menu ul.menu > li.menu-item > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, padding-inline 0.2s ease;
}

.akhbar-mobile-menu ul.menu > li.menu-item > a::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  margin-inline-end: 0.65rem;
  border-radius: 50%;
  background: var(--border-color);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.akhbar-mobile-menu ul.menu > li.menu-item > a:hover {
  padding-inline-start: 1.1rem;
  background: var(--bg-secondary);
  color: var(--color-primary);
}

.akhbar-mobile-menu ul.menu > li.menu-item > a:hover::before {
  background: var(--color-primary);
  transform: scale(1.35);
}

/* =========================================================
   ACTIVE MENU ITEM
========================================================= */
.akhbar-mobile-menu ul.menu li.current-menu-item > a,
.akhbar-mobile-menu ul.menu li.current-menu-ancestor > a {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 750;
}

.akhbar-mobile-menu ul.menu li.current-menu-item > a::before,
.akhbar-mobile-menu ul.menu li.current-menu-ancestor > a::before {
  background: var(--color-primary);
  transform: scale(1.35);
}

/* =========================================================
   SUB MENUS
========================================================= */
.akhbar-mobile-menu ul.sub-menu {
  margin: 0;
  padding: 0.35rem 0.8rem 0.7rem;
  list-style: none;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.akhbar-mobile-menu ul.sub-menu li a {
  display: block;
  padding: 0.45rem 0.5rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 7px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.akhbar-mobile-menu ul.sub-menu li a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* =========================================================
   SOCIAL
========================================================= */
.akhbar-mobile-social-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.akhbar-mobile-social-list li a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 2.65rem;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.akhbar-mobile-social-list li a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.akhbar-mobile-social-list .facebook a {
  background: var(--facebook-color);
}

.akhbar-mobile-social-list .twitter a {
  background: var(--twitter-color);
}

.akhbar-mobile-social-list .instagram a {
  background: var(--instagram-color);
}

.akhbar-mobile-social-list .youtube a {
  background: var(--youtube-color);
}

/* =========================================================
   THEME SWITCH
========================================================= */
.akhbar-mobile-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 13px;
  background: var(--bg-card);
}

.akhbar-mobile-theme-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.akhbar-mobile-theme-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  border-radius: 9px;
  background: var(--bg-secondary);
  color: var(--color-primary);
}

.akhbar-mobile-theme-info div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.akhbar-mobile-theme-info strong {
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 750;
}

.akhbar-mobile-theme-info span {
  margin-top: 0.1rem;
  color: var(--text-muted);
  font-size: 0.65rem;
}

/* =========================================================
   CUSTOM THEME TOGGLE
========================================================= */
.akhbar-mobile-theme-toggle {
  position: relative;
  width: 2.8rem;
  height: 1.55rem;
  flex: 0 0 2.8rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--border-color);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.akhbar-mobile-theme-toggle span {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}

html.dark-mode .akhbar-mobile-theme-toggle {
  background: var(--color-primary);
}

html.dark-mode .akhbar-mobile-theme-toggle span {
  transform: translateX(-1.25rem);
}

/* =========================================================
   FOOTER
========================================================= */
.akhbar-mobile-nav-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.akhbar-mobile-nav-footer-brand {
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.akhbar-mobile-nav-footer-meta {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.64rem;
}

/* =========================================================
   DARK MODE
========================================================= */
html.dark-mode .akhbar-mobile-nav {
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   MOBILE ONLY
========================================================= */
@media (min-width: 992px) {
  .akhbar-mobile-nav {
    display: none !important;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 420px) {
  .akhbar-mobile-nav {
    width: 92vw;
  }
  .akhbar-mobile-nav-body {
    padding: 0.85rem;
  }
  .akhbar-mobile-nav-header {
    padding-inline: 0.85rem;
  }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .akhbar-mobile-nav *,
  .akhbar-mobile-nav *::before,
  .akhbar-mobile-nav *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* =========================================================
   06. WIDGETS
========================================================= */
/* Always load shared widget foundations first */
/* ==========================================================================
   Akhbar Al-Maghreb
   Sidebar Widget Base
   ========================================================================== */
.akhbar-widget {
  width: 100%;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* ==========================================================================
   Widget Header
   ========================================================================== */
.akhbar-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Widget Heading
   ========================================================================== */
.akhbar-widget-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.akhbar-widget-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.akhbar-widget:hover .akhbar-widget-icon {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.akhbar-widget-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

/* ==========================================================================
   Widget Body
   ========================================================================== */
.akhbar-widget-body {
  padding: 1.15rem;
}

/* ==========================================================================
   Widget Footer
   ========================================================================== */
.akhbar-widget-footer {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Widget Link
   ========================================================================== */
.akhbar-widget-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.akhbar-widget-more:hover {
  color: var(--color-primary-hover);
  gap: 0.6rem;
}

/* ==========================================================================
   Empty State
   ========================================================================== */
.akhbar-widget-empty {
  padding: 1rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767.98px) {
  .akhbar-widget {
    margin-bottom: 1.25rem;
    border-radius: var(--radius-sm);
  }
  .akhbar-widget-header {
    padding: 0.85rem 1rem;
  }
  .akhbar-widget-body {
    padding: 1rem;
  }
  .akhbar-widget-footer {
    padding: 0.75rem 1rem;
  }
  .akhbar-widget-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  .akhbar-widget-title {
    font-size: 0.95rem;
  }
}
/* Individual widgets */
/*
|--------------------------------------------------------------------------
| Widget - Most Read
|--------------------------------------------------------------------------
| Most Read posts widget.
| Uses the shared Akhbar Widget Foundation.
|--------------------------------------------------------------------------
*/
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | List
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Item
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-item {
  display: grid;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 0.7rem;
  padding-block: 0.9rem;
}
.akhbar-most-read-widget .akhbar-most-read-item:first-child {
  padding-block-start: 0;
}
.akhbar-most-read-widget .akhbar-most-read-item:last-child {
  padding-block-end: 0;
}
.akhbar-most-read-widget .akhbar-most-read-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Item With Thumbnail
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-item.has-thumbnail {
  grid-template-columns: 30px 72px minmax(0, 1fr);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Item Without Thumbnail
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-item.no-thumbnail {
  grid-template-columns: 30px minmax(0, 1fr);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Ranking
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Thumbnail
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-image {
  position: relative;
  width: 72px;
  height: 58px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.akhbar-most-read-widget .akhbar-most-read-image a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.akhbar-most-read-widget .akhbar-most-read-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-normal);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Content
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-content {
  min-width: 0;
  width: 100%;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Title
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 0.4rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.akhbar-most-read-widget .akhbar-most-read-title a {
  display: block;
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.akhbar-most-read-widget .akhbar-most-read-title a:hover {
  color: var(--color-primary);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Meta
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.4;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Views
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-views {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary);
  white-space: nowrap;
}
.akhbar-most-read-widget .akhbar-most-read-views i {
  font-size: 0.72rem;
  line-height: 1;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Separator
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-separator {
  display: inline-flex;
  align-items: center;
  color: var(--border-color);
  font-size: 0.7rem;
  line-height: 1;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Time
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.akhbar-most-read-widget .akhbar-most-read-time i {
  font-size: 0.72rem;
  line-height: 1;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Hover
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-item:hover .akhbar-most-read-rank {
  color: var(--color-primary-hover);
  transform: translateX(-1px);
}
.akhbar-most-read-widget .akhbar-most-read-item:hover .akhbar-most-read-image img {
  transform: scale(1.07);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Empty State
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-widget-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 100px;
  color: var(--text-muted);
  text-align: center;
}
.akhbar-most-read-widget .akhbar-widget-empty i {
  font-size: 1.5rem;
  opacity: 0.65;
}
.akhbar-most-read-widget .akhbar-widget-empty span {
  font-size: 0.8rem;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Footer
  |--------------------------------------------------------------------------
  */
}
.akhbar-most-read-widget .akhbar-most-read-more {
  width: -moz-fit-content;
  width: fit-content;
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | RTL
  |--------------------------------------------------------------------------
  */
}
[dir=rtl] .akhbar-most-read-widget .akhbar-most-read-item {
  direction: rtl;
}
[dir=rtl] .akhbar-most-read-widget .akhbar-most-read-content {
  text-align: start;
}
[dir=rtl] .akhbar-most-read-widget .akhbar-most-read-title,
[dir=rtl] .akhbar-most-read-widget .akhbar-most-read-meta {
  text-align: start;
}
[dir=rtl] .akhbar-most-read-widget .akhbar-most-read-item:hover .akhbar-most-read-rank {
  transform: translateX(1px);
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Tablet
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 991.98px) {
  .akhbar-most-read-widget .akhbar-most-read-item.has-thumbnail {
    grid-template-columns: 30px 68px minmax(0, 1fr);
  }
  .akhbar-most-read-widget .akhbar-most-read-image {
    width: 68px;
    height: 56px;
  }
  .akhbar-most-read-widget .akhbar-most-read-title {
    font-size: 0.82rem;
  }
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Mobile
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 575.98px) {
  .akhbar-most-read-widget .akhbar-most-read-item {
    gap: 0.6rem;
    padding-block: 0.8rem;
  }
  .akhbar-most-read-widget .akhbar-most-read-item.has-thumbnail {
    grid-template-columns: 28px 64px minmax(0, 1fr);
  }
  .akhbar-most-read-widget .akhbar-most-read-item.no-thumbnail {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .akhbar-most-read-widget .akhbar-most-read-image {
    width: 64px;
    height: 52px;
    border-radius: 8px;
  }
  .akhbar-most-read-widget .akhbar-most-read-rank {
    font-size: 0.78rem;
  }
  .akhbar-most-read-widget .akhbar-most-read-title {
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
    line-height: 1.55;
  }
  .akhbar-most-read-widget .akhbar-most-read-meta {
    gap: 0.3rem;
    font-size: 0.6rem;
  }
  .akhbar-most-read-widget .akhbar-most-read-views i,
  .akhbar-most-read-widget .akhbar-most-read-time i {
    font-size: 0.65rem;
  }
}
.akhbar-most-read-widget {
  /*
  |--------------------------------------------------------------------------
  | Very Small Mobile
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 400px) {
  .akhbar-most-read-widget .akhbar-most-read-item.has-thumbnail {
    grid-template-columns: 26px 58px minmax(0, 1fr);
  }
  .akhbar-most-read-widget .akhbar-most-read-item.no-thumbnail {
    grid-template-columns: 26px minmax(0, 1fr);
  }
  .akhbar-most-read-widget .akhbar-most-read-image {
    width: 58px;
    height: 50px;
  }
  .akhbar-most-read-widget .akhbar-most-read-title {
    font-size: 0.75rem;
  }
  .akhbar-most-read-widget .akhbar-most-read-meta {
    font-size: 0.57rem;
  }
}

/**
 * Search Widget
 *
 * @package akhbaralmaghreb
 */
.akhbar-search-widget {
  width: 100%;
}
.akhbar-search-widget .akhbar-widget-header {
  padding-block: 0.9rem 0.85rem;
}
.akhbar-search-widget .akhbar-widget-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.akhbar-search-widget .akhbar-widget-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  box-shadow: 0 5px 14px rgba(198, 40, 40, 0.18);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-search-widget .akhbar-widget-icon::after {
  content: "";
  position: absolute;
  inset-block-end: -0.18rem;
  inset-inline-end: -0.18rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-accent);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
}
.akhbar-search-widget .akhbar-widget-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.akhbar-search-widget .akhbar-widget-body {
  padding-block: 0.9rem 1rem;
}
.akhbar-search-widget .akhbar-search-widget-form {
  width: 100%;
  margin: 0;
}
.akhbar-search-widget .akhbar-search-widget-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  padding: 0.3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.9rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-search-widget .akhbar-search-widget-field:focus-within {
  background: var(--bg-card);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light), var(--shadow-sm);
}
.akhbar-search-widget .akhbar-search-widget-input {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 2.85rem;
  padding-block: 0.55rem;
  padding-inline: 0.8rem;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: none;
}
.akhbar-search-widget .akhbar-search-widget-input::-moz-placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.akhbar-search-widget .akhbar-search-widget-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.akhbar-search-widget .akhbar-search-widget-input:focus {
  outline: 0;
  box-shadow: none;
}
.akhbar-search-widget .akhbar-search-widget-input {
  /* Remove native search decorations. */
}
.akhbar-search-widget .akhbar-search-widget-input::-webkit-search-decoration, .akhbar-search-widget .akhbar-search-widget-input::-webkit-search-cancel-button, .akhbar-search-widget .akhbar-search-widget-input::-webkit-search-results-button, .akhbar-search-widget .akhbar-search-widget-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.akhbar-search-widget .akhbar-search-widget-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 5.5rem;
  height: 2.85rem;
  padding-block: 0.55rem;
  padding-inline: 0.9rem;
  color: var(--white);
  background: var(--color-primary);
  border: 0;
  border-radius: 0.7rem;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(198, 40, 40, 0.18);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-search-widget .akhbar-search-widget-button i {
  font-size: 0.9rem;
  line-height: 1;
}
.akhbar-search-widget .akhbar-search-widget-button span {
  white-space: nowrap;
}
.akhbar-search-widget .akhbar-search-widget-button:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 7px 18px rgba(142, 27, 27, 0.22);
  transform: translateY(-1px);
}
.akhbar-search-widget .akhbar-search-widget-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(142, 27, 27, 0.18);
}
.akhbar-search-widget .akhbar-search-widget-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.akhbar-search-widget:hover .akhbar-widget-icon {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(198, 40, 40, 0.22);
}

/* --------------------------------------------------
 * Dark Mode
 * -------------------------------------------------- */
html.dark-mode .akhbar-search-widget .akhbar-widget-icon {
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.16);
}
html.dark-mode .akhbar-search-widget .akhbar-widget-icon::after {
  border-color: var(--bg-card);
}
html.dark-mode .akhbar-search-widget .akhbar-search-widget-field {
  background: var(--bg-secondary);
}
html.dark-mode .akhbar-search-widget .akhbar-search-widget-field:focus-within {
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--color-primary-light), var(--shadow-sm);
}
html.dark-mode .akhbar-search-widget .akhbar-search-widget-button {
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.16);
}
html.dark-mode .akhbar-search-widget .akhbar-search-widget-button:hover {
  box-shadow: 0 7px 20px rgba(239, 68, 68, 0.22);
}

/* --------------------------------------------------
 * Responsive
 * -------------------------------------------------- */
@media (max-width: 575.98px) {
  .akhbar-search-widget .akhbar-widget-header {
    padding-block: 0.8rem;
  }
  .akhbar-search-widget .akhbar-widget-icon {
    flex-basis: 2.15rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.7rem;
    font-size: 0.85rem;
  }
  .akhbar-search-widget .akhbar-widget-title {
    font-size: 0.95rem;
  }
  .akhbar-search-widget .akhbar-widget-body {
    padding-block: 0.8rem 0.9rem;
  }
  .akhbar-search-widget .akhbar-search-widget-field {
    padding: 0.25rem;
    border-radius: 0.8rem;
  }
  .akhbar-search-widget .akhbar-search-widget-input {
    height: 2.7rem;
    padding-inline: 0.7rem;
    font-size: 0.84rem;
  }
  .akhbar-search-widget .akhbar-search-widget-button {
    min-width: 2.7rem;
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    border-radius: 0.6rem;
  }
  .akhbar-search-widget .akhbar-search-widget-button span {
    display: none;
  }
}
/* --------------------------------------------------
 * Reduced Motion
 * -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .akhbar-search-widget .akhbar-widget-icon,
  .akhbar-search-widget .akhbar-search-widget-field,
  .akhbar-search-widget .akhbar-search-widget-button {
    transition: none;
  }
}
/**
 * Latest News Widget
 *
 * Editorial news-list design.
 *
 * @package akhbaralmaghreb
 */
.akhbar-latest-news-widget {
  width: 100%;
  /* ==========================================
  Header
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-widget-header {
  padding-block: 0.9rem 0.85rem;
}
.akhbar-latest-news-widget .akhbar-widget-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.akhbar-latest-news-widget .akhbar-widget-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  box-shadow: 0 5px 14px rgba(198, 40, 40, 0.18);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-latest-news-widget .akhbar-widget-icon::after {
  content: "";
  position: absolute;
  inset-inline-end: -0.18rem;
  inset-block-end: -0.18rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-accent);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
}
.akhbar-latest-news-widget .akhbar-widget-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Body
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-widget-body {
  padding-block: 0.35rem 0.5rem;
}
.akhbar-latest-news-widget {
  /* ==========================================
  News List
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-list {
  display: flex;
  flex-direction: column;
}
.akhbar-latest-news-widget {
  /* ==========================================
  News Item
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-item {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  min-width: 0;
  padding-block: 0.85rem;
  border-block-end: 1px solid var(--border-color);
}
.akhbar-latest-news-widget .akhbar-latest-news-item:last-child {
  border-block-end: 0;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Number
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-block-start: 0.1rem;
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.akhbar-latest-news-widget {
  /* ==========================================
  Shared Image
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  aspect-ratio: 16/10;
  text-decoration: none;
}
.akhbar-latest-news-widget .akhbar-latest-news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.akhbar-latest-news-widget .akhbar-latest-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}
.akhbar-latest-news-widget .akhbar-latest-news-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  font-size: 1.2rem;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Content
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-content {
  min-width: 0;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Category
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-category {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 0.3rem;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.akhbar-latest-news-widget .akhbar-latest-news-category::before {
  content: "";
  width: 0.28rem;
  height: 0.28rem;
  margin-inline-end: 0.35rem;
  flex: 0 0 0.28rem;
  background: currentColor;
  border-radius: 50%;
}
.akhbar-latest-news-widget .akhbar-latest-news-category:hover {
  color: var(--color-primary-hover);
}
.akhbar-latest-news-widget {
  /* ==========================================
  Title
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color var(--transition-fast);
}
.akhbar-latest-news-widget .akhbar-latest-news-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.akhbar-latest-news-widget {
  /* ==========================================
  Meta
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-meta {
  display: flex;
  align-items: center;
  margin-block-start: 0.45rem;
}
.akhbar-latest-news-widget .akhbar-latest-news-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
}
.akhbar-latest-news-widget .akhbar-latest-news-date i {
  color: var(--color-primary);
  font-size: 0.7rem;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Featured News — First Item
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured {
  display: block;
  padding-block: 0.75rem 1rem;
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-number {
  position: absolute;
  z-index: 3;
  inset-block-start: 1rem;
  inset-inline-start: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 1.55rem;
  padding: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.35rem;
  font-size: 0.65rem;
  backdrop-filter: blur(6px);
}
.akhbar-latest-news-widget .akhbar-latest-news-featured {
  position: relative;
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-image {
  width: 100%;
  aspect-ratio: 16/9;
  margin-block-end: 0.8rem;
  border-radius: var(--radius-md);
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-content {
  padding-inline: 0.1rem;
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-category {
  margin-block-end: 0.35rem;
  font-size: 0.7rem;
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-title {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.65;
  -webkit-line-clamp: 3;
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-meta {
  margin-block-start: 0.5rem;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Compact News
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-compact {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.7rem;
  min-width: 0;
  align-items: center;
}
.akhbar-latest-news-widget .akhbar-latest-news-compact .akhbar-latest-news-image {
  width: 5.25rem;
  height: 4rem;
  aspect-ratio: auto;
  border-radius: var(--radius-sm);
}
.akhbar-latest-news-widget .akhbar-latest-news-compact .akhbar-latest-news-title {
  font-size: 0.82rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
}
.akhbar-latest-news-widget .akhbar-latest-news-compact .akhbar-latest-news-meta {
  margin-block-start: 0.35rem;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Hover Interaction
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-latest-news-item:not(.is-featured):hover .akhbar-latest-news-number {
  color: var(--color-primary);
  transform: translateX(-2px);
}
.akhbar-latest-news-widget .akhbar-latest-news-item:not(.is-featured):hover .akhbar-latest-news-title a {
  color: var(--color-primary);
}
.akhbar-latest-news-widget .akhbar-latest-news-item:not(.is-featured):hover .akhbar-latest-news-image img {
  transform: scale(1.06);
}
.akhbar-latest-news-widget .akhbar-latest-news-item:not(.is-featured):hover .akhbar-latest-news-image::after {
  opacity: 1;
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured:hover .akhbar-latest-news-title a {
  color: var(--color-primary);
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured:hover .akhbar-latest-news-image img {
  transform: scale(1.035);
}
.akhbar-latest-news-widget .akhbar-latest-news-item.is-featured:hover .akhbar-latest-news-image::after {
  opacity: 1;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Widget Hover
  ========================================== */
}
.akhbar-latest-news-widget:hover .akhbar-widget-icon {
  transform: translateY(-1px);
  background: var(--color-primary-hover);
  box-shadow: 0 7px 18px rgba(198, 40, 40, 0.22);
}
.akhbar-latest-news-widget {
  /* ==========================================
  Empty State
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-widget-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  text-align: center;
}
.akhbar-latest-news-widget .akhbar-widget-empty i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-block-end: 0.7rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 50%;
  font-size: 1.1rem;
}
.akhbar-latest-news-widget .akhbar-widget-empty p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
}
.akhbar-latest-news-widget {
  /* ==========================================
  Footer
  ========================================== */
}
.akhbar-latest-news-widget .akhbar-widget-footer {
  margin-block-start: 0.25rem;
  padding-block-start: 0.75rem;
  border-block-start: 1px solid var(--border-color);
}
.akhbar-latest-news-widget .akhbar-widget-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.akhbar-latest-news-widget .akhbar-widget-more i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 50%;
  font-size: 0.75rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.akhbar-latest-news-widget .akhbar-widget-more:hover {
  color: var(--color-primary);
}
.akhbar-latest-news-widget .akhbar-widget-more:hover i {
  transform: translateX(-3px);
  background: var(--color-primary);
  color: var(--white);
}

/* ==========================================
   Dark Mode
   ========================================== */
html.dark-mode .akhbar-latest-news-widget .akhbar-widget-icon {
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.16);
}
html.dark-mode .akhbar-latest-news-widget .akhbar-widget-icon::after {
  border-color: var(--bg-card);
}
html.dark-mode .akhbar-latest-news-widget .akhbar-latest-news-number {
  border-color: rgba(255, 255, 255, 0.12);
}
html.dark-mode .akhbar-latest-news-widget .akhbar-latest-news-image::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.28), transparent 55%);
}
html.dark-mode .akhbar-latest-news-widget .akhbar-widget-more i {
  background: var(--color-primary-light);
}

/* ==========================================
   Mobile
   ========================================== */
@media (max-width: 575.98px) {
  .akhbar-latest-news-widget .akhbar-widget-header {
    padding-block: 0.8rem;
  }
  .akhbar-latest-news-widget .akhbar-widget-icon {
    flex-basis: 2.15rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.7rem;
    font-size: 0.85rem;
  }
  .akhbar-latest-news-widget .akhbar-widget-title {
    font-size: 0.95rem;
  }
  .akhbar-latest-news-widget .akhbar-widget-body {
    padding-block: 0.25rem 0.4rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-item {
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: 0.55rem;
    padding-block: 0.75rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-number {
    font-size: 0.65rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-number {
    inset-block-start: 0.8rem;
    inset-inline-start: 0.65rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-image {
    margin-block-end: 0.7rem;
    border-radius: var(--radius-sm);
  }
  .akhbar-latest-news-widget .akhbar-latest-news-item.is-featured .akhbar-latest-news-title {
    font-size: 0.94rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-compact {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0.6rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-compact .akhbar-latest-news-image {
    width: 4.75rem;
    height: 3.6rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-compact .akhbar-latest-news-title {
    font-size: 0.79rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-category {
    font-size: 0.64rem;
  }
  .akhbar-latest-news-widget .akhbar-latest-news-date {
    font-size: 0.64rem;
  }
}
/* ==========================================
   Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  .akhbar-latest-news-widget .akhbar-widget-icon,
  .akhbar-latest-news-widget .akhbar-latest-news-number,
  .akhbar-latest-news-widget .akhbar-latest-news-image img,
  .akhbar-latest-news-widget .akhbar-latest-news-image::after,
  .akhbar-latest-news-widget .akhbar-latest-news-more,
  .akhbar-latest-news-widget .akhbar-widget-more,
  .akhbar-latest-news-widget .akhbar-widget-more i {
    transition: none;
  }
}
/*
|--------------------------------------------------------------------------
| Widget - Categories
|--------------------------------------------------------------------------
| Categories widget content.
| Uses the shared Akhbar Widget Foundation.
|--------------------------------------------------------------------------
*/
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Categories List
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-categories-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Category Item
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-category-item {
  width: 100%;
  margin: 0;
  padding: 0;
}
.akhbar-categories-widget .akhbar-category-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Category Link
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--transition-fast), padding-inline var(--transition-fast), background var(--transition-fast);
}
.akhbar-categories-widget .akhbar-category-link:hover {
  color: var(--color-primary);
  padding-inline: 0.25rem;
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Category Name
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-category-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.55rem;
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Category Icon
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.65rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.akhbar-categories-widget .akhbar-category-icon i {
  line-height: 1;
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Category Label
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-category-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Category Count
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 30px;
  min-height: 24px;
  padding-inline: 0.45rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: var(--font-secondary);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Hover State
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-category-link:hover .akhbar-category-icon {
  background: var(--color-primary);
  color: var(--white);
  transform: translateX(-2px);
}
.akhbar-categories-widget .akhbar-category-link:hover .akhbar-category-count {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--white);
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Empty State
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-widget-empty {
  min-height: 100px;
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Footer
  |--------------------------------------------------------------------------
  */
}
.akhbar-categories-widget .akhbar-categories-more {
  width: -moz-fit-content;
  width: fit-content;
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | RTL
  |--------------------------------------------------------------------------
  */
}
[dir=rtl] .akhbar-categories-widget .akhbar-category-link {
  direction: rtl;
}
[dir=rtl] .akhbar-categories-widget .akhbar-category-name {
  text-align: start;
}
[dir=rtl] .akhbar-categories-widget .akhbar-category-label {
  text-align: start;
}
[dir=rtl] .akhbar-categories-widget .akhbar-category-link:hover .akhbar-category-icon {
  transform: translateX(2px);
}
.akhbar-categories-widget {
  /*
  |--------------------------------------------------------------------------
  | Mobile
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 575.98px) {
  .akhbar-categories-widget .akhbar-category-link {
    padding-block: 0.7rem;
    font-size: 0.78rem;
  }
  .akhbar-categories-widget .akhbar-category-icon {
    width: 22px;
    height: 22px;
    font-size: 0.6rem;
  }
  .akhbar-categories-widget .akhbar-category-count {
    min-width: 28px;
    min-height: 22px;
    font-size: 0.6rem;
  }
}

/*
|--------------------------------------------------------------------------
| Widget - Popular Tags
|--------------------------------------------------------------------------
| Popular tags displayed as modern pills/chips.
| Uses the shared Akhbar Widget Foundation.
|--------------------------------------------------------------------------
*/
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Tags List
  |--------------------------------------------------------------------------
  */
}
.akhbar-popular-tags-widget .akhbar-popular-tags-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Tag
  |--------------------------------------------------------------------------
  */
}
.akhbar-popular-tags-widget .akhbar-popular-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-popular-tags-widget .akhbar-popular-tag:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Tag Name
  |--------------------------------------------------------------------------
  */
}
.akhbar-popular-tags-widget .akhbar-popular-tag-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Tag Count
  |--------------------------------------------------------------------------
  */
}
.akhbar-popular-tags-widget .akhbar-popular-tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 20px;
  height: 20px;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Count Hover
  |--------------------------------------------------------------------------
  */
}
.akhbar-popular-tags-widget .akhbar-popular-tag:hover .akhbar-popular-tag-count {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Empty State
  |--------------------------------------------------------------------------
  */
}
.akhbar-popular-tags-widget .akhbar-widget-empty {
  min-height: 100px;
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Footer
  |--------------------------------------------------------------------------
  */
}
.akhbar-popular-tags-widget .akhbar-popular-tags-more {
  width: -moz-fit-content;
  width: fit-content;
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | RTL
  |--------------------------------------------------------------------------
  */
}
[dir=rtl] .akhbar-popular-tags-widget .akhbar-popular-tags-list {
  direction: rtl;
}
[dir=rtl] .akhbar-popular-tags-widget .akhbar-popular-tag {
  direction: rtl;
}
[dir=rtl] .akhbar-popular-tags-widget .akhbar-popular-tag-name {
  text-align: start;
}
.akhbar-popular-tags-widget {
  /*
  |--------------------------------------------------------------------------
  | Mobile
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 575.98px) {
  .akhbar-popular-tags-widget .akhbar-popular-tags-list {
    gap: 0.45rem;
  }
  .akhbar-popular-tags-widget .akhbar-popular-tag {
    padding: 0.4rem 0.6rem;
    font-size: 0.67rem;
  }
  .akhbar-popular-tags-widget .akhbar-popular-tag-count {
    min-width: 18px;
    height: 18px;
    padding-inline: 0.3rem;
    font-size: 0.55rem;
  }
}

/*
|--------------------------------------------------------------------------
| Widget - Social Follow
|--------------------------------------------------------------------------
| Social media follow widget.
| Uses the shared Akhbar Widget Foundation.
|--------------------------------------------------------------------------
*/
.akhbar-social-widget .akhbar-social-subtitle {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.7;
  text-align: start;
}
.akhbar-social-widget .akhbar-social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
}
.akhbar-social-widget .akhbar-social-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-social-widget .akhbar-social-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.akhbar-social-widget .akhbar-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.akhbar-social-widget .akhbar-social-icon i {
  line-height: 1;
}
.akhbar-social-widget .akhbar-social-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.akhbar-social-widget .akhbar-social-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.65rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.akhbar-social-widget .akhbar-social-arrow i {
  line-height: 1;
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | Facebook
  |--------------------------------------------------------------------------
  */
}
.akhbar-social-widget .akhbar-social-facebook:hover {
  border-color: var(--facebook-color);
  color: var(--facebook-color);
}
.akhbar-social-widget .akhbar-social-facebook:hover .akhbar-social-icon {
  background: var(--facebook-color);
  color: var(--white);
}
.akhbar-social-widget .akhbar-social-facebook:hover .akhbar-social-arrow {
  color: var(--facebook-color);
  transform: translate(-2px, 2px);
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | X / Twitter
  |--------------------------------------------------------------------------
  */
}
.akhbar-social-widget .akhbar-social-x:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.akhbar-social-widget .akhbar-social-x:hover .akhbar-social-icon {
  background: var(--text-primary);
  color: var(--bg-card);
}
.akhbar-social-widget .akhbar-social-x:hover .akhbar-social-arrow {
  color: var(--text-primary);
  transform: translate(-2px, 2px);
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | Instagram
  |--------------------------------------------------------------------------
  */
}
.akhbar-social-widget .akhbar-social-instagram:hover {
  border-color: #dc2743;
}
.akhbar-social-widget .akhbar-social-instagram:hover .akhbar-social-icon {
  background: var(--instagram-color);
  color: var(--white);
}
.akhbar-social-widget .akhbar-social-instagram:hover .akhbar-social-arrow {
  color: #dc2743;
  transform: translate(-2px, 2px);
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | YouTube
  |--------------------------------------------------------------------------
  */
}
.akhbar-social-widget .akhbar-social-youtube:hover {
  border-color: var(--youtube-color);
  color: var(--youtube-color);
}
.akhbar-social-widget .akhbar-social-youtube:hover .akhbar-social-icon {
  background: var(--youtube-color);
  color: var(--white);
}
.akhbar-social-widget .akhbar-social-youtube:hover .akhbar-social-arrow {
  color: var(--youtube-color);
  transform: translate(-2px, 2px);
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | LinkedIn
  |--------------------------------------------------------------------------
  */
}
.akhbar-social-widget .akhbar-social-linkedin:hover {
  border-color: #0a66c2;
  color: #0a66c2;
}
.akhbar-social-widget .akhbar-social-linkedin:hover .akhbar-social-icon {
  background: #0a66c2;
  color: var(--white);
}
.akhbar-social-widget .akhbar-social-linkedin:hover .akhbar-social-arrow {
  color: #0a66c2;
  transform: translate(-2px, 2px);
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | Empty state
  |--------------------------------------------------------------------------
  */
}
.akhbar-social-widget .akhbar-widget-empty {
  min-height: 100px;
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | RTL
  |--------------------------------------------------------------------------
  */
}
[dir=rtl] .akhbar-social-widget .akhbar-social-list {
  direction: rtl;
}
[dir=rtl] .akhbar-social-widget .akhbar-social-item {
  direction: rtl;
}
[dir=rtl] .akhbar-social-widget .akhbar-social-label {
  text-align: start;
}
[dir=rtl] .akhbar-social-widget .akhbar-social-arrow {
  transform: scaleX(-1);
}
[dir=rtl] .akhbar-social-widget .akhbar-social-item:hover .akhbar-social-arrow {
  transform: scaleX(-1) translate(2px, 2px);
}
.akhbar-social-widget {
  /*
  |--------------------------------------------------------------------------
  | Mobile
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 575.98px) {
  .akhbar-social-widget .akhbar-social-list {
    gap: 0.5rem;
  }
  .akhbar-social-widget .akhbar-social-item {
    gap: 0.45rem;
    padding: 0.55rem;
    font-size: 0.65rem;
  }
  .akhbar-social-widget .akhbar-social-icon {
    width: 29px;
    height: 29px;
    font-size: 0.8rem;
  }
  .akhbar-social-widget .akhbar-social-arrow {
    font-size: 0.58rem;
  }
}
@media (max-width: 380px) {
  .akhbar-social-widget .akhbar-social-list {
    grid-template-columns: 1fr;
  }
}

/*
|--------------------------------------------------------------------------
| Widget - Newsletter
|--------------------------------------------------------------------------
| Newsletter subscription widget.
| UI only — service integration will be added later.
|--------------------------------------------------------------------------
*/
.akhbar-newsletter-widget .akhbar-newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}
.akhbar-newsletter-widget .akhbar-newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 1.25rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.akhbar-newsletter-widget .akhbar-newsletter-icon i {
  line-height: 1;
}
.akhbar-newsletter-widget:hover .akhbar-newsletter-icon {
  background: var(--color-primary);
  color: var(--white);
  transform: translateY(-2px);
}
.akhbar-newsletter-widget .akhbar-newsletter-description {
  max-width: 340px;
  margin: 0 0 1.1rem;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}
.akhbar-newsletter-widget .akhbar-newsletter-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.65rem;
}
.akhbar-newsletter-widget .akhbar-newsletter-field {
  width: 100%;
}
.akhbar-newsletter-widget .akhbar-newsletter-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.akhbar-newsletter-widget .akhbar-newsletter-input-wrapper > i {
  position: absolute;
  inset-inline-start: 0.9rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}
.akhbar-newsletter-widget .akhbar-newsletter-input-wrapper:focus-within {
  border-color: var(--color-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 12%, transparent);
}
.akhbar-newsletter-widget .akhbar-newsletter-input-wrapper:focus-within > i {
  color: var(--color-primary);
}
.akhbar-newsletter-widget .akhbar-newsletter-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-block: 0.7rem;
  padding-inline-start: 2.5rem;
  padding-inline-end: 0.85rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
}
.akhbar-newsletter-widget .akhbar-newsletter-input::-moz-placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.akhbar-newsletter-widget .akhbar-newsletter-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.akhbar-newsletter-widget .akhbar-newsletter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-newsletter-widget .akhbar-newsletter-button i {
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}
.akhbar-newsletter-widget .akhbar-newsletter-button:hover {
  border-color: var(--color-primary-hover);
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.akhbar-newsletter-widget .akhbar-newsletter-button:hover i {
  transform: translateX(-3px);
}
.akhbar-newsletter-widget .akhbar-newsletter-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.akhbar-newsletter-widget .akhbar-newsletter-button:active {
  transform: translateY(0);
}
.akhbar-newsletter-widget .akhbar-newsletter-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.35rem;
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.akhbar-newsletter-widget .akhbar-newsletter-privacy i {
  flex: 0 0 auto;
  color: var(--success-color);
  font-size: 0.72rem;
}
.akhbar-newsletter-widget .akhbar-widget-empty {
  min-height: 100px;
}
.akhbar-newsletter-widget {
  /*
  |--------------------------------------------------------------------------
  | RTL
  |--------------------------------------------------------------------------
  */
}
[dir=rtl] .akhbar-newsletter-widget .akhbar-newsletter-input-wrapper {
  direction: rtl;
}
[dir=rtl] .akhbar-newsletter-widget .akhbar-newsletter-input {
  text-align: start;
}
[dir=rtl] .akhbar-newsletter-widget .akhbar-newsletter-button {
  direction: rtl;
}
.akhbar-newsletter-widget {
  /*
  |--------------------------------------------------------------------------
  | Mobile
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 575.98px) {
  .akhbar-newsletter-widget .akhbar-newsletter-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
  .akhbar-newsletter-widget .akhbar-newsletter-description {
    font-size: 0.72rem;
  }
  .akhbar-newsletter-widget .akhbar-newsletter-input,
  .akhbar-newsletter-widget .akhbar-newsletter-button {
    font-size: 0.7rem;
  }
}

/*
|--------------------------------------------------------------------------
| Widget - Advertisement
|--------------------------------------------------------------------------
| Image-based advertisement widget.
| Designed for sidebar advertisements.
|--------------------------------------------------------------------------
*/
.akhbar-ad-widget .akhbar-widget-body {
  padding: 0;
}
.akhbar-ad-widget .akhbar-ad-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.akhbar-ad-widget .akhbar-ad-label {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding-inline: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(6px);
}
.akhbar-ad-widget .akhbar-ad-link {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
  text-decoration: none;
}
.akhbar-ad-widget .akhbar-ad-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}
.akhbar-ad-widget .akhbar-ad-link:hover .akhbar-ad-image {
  transform: scale(1.025);
}
.akhbar-ad-widget .akhbar-ad-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}
.akhbar-ad-widget {
  /*
  |--------------------------------------------------------------------------
  | Placeholder
  |--------------------------------------------------------------------------
  */
}
.akhbar-ad-widget .akhbar-ad-placeholder {
  display: flex;
  align-items: center;
  min-height: 180px;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}
.akhbar-ad-widget .akhbar-ad-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--color-primary);
  font-size: 1rem;
}
.akhbar-ad-widget .akhbar-ad-placeholder-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.2rem;
}
.akhbar-ad-widget .akhbar-ad-placeholder-content strong {
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 800;
}
.akhbar-ad-widget .akhbar-ad-placeholder-content span {
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.6;
}
.akhbar-ad-widget {
  /*
  |--------------------------------------------------------------------------
  | RTL
  |--------------------------------------------------------------------------
  */
}
[dir=rtl] .akhbar-ad-widget .akhbar-ad-container,
[dir=rtl] .akhbar-ad-widget .akhbar-ad-placeholder {
  direction: rtl;
}
[dir=rtl] .akhbar-ad-widget .akhbar-ad-label {
  direction: rtl;
}
.akhbar-ad-widget {
  /*
  |--------------------------------------------------------------------------
  | Mobile
  |--------------------------------------------------------------------------
  */
}
@media (max-width: 575.98px) {
  .akhbar-ad-widget .akhbar-ad-placeholder {
    min-height: 150px;
    padding: 1rem;
  }
  .akhbar-ad-widget .akhbar-ad-placeholder-icon {
    width: 40px;
    height: 40px;
  }
}

.akhbar-author-widget .akhbar-widget-body {
  padding: 1.25rem;
}
.akhbar-author-widget .akhbar-author-widget-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.akhbar-author-widget .akhbar-author-widget-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
}
.akhbar-author-widget .akhbar-author-widget-avatar a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}
.akhbar-author-widget .akhbar-author-widget-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-normal);
}
.akhbar-author-widget .akhbar-author-widget-avatar a:hover .akhbar-author-widget-avatar-image {
  transform: scale(1.06);
}
.akhbar-author-widget .akhbar-author-widget-info {
  min-width: 0;
  flex: 1;
}
.akhbar-author-widget .akhbar-author-widget-name {
  margin: 0 0 0.35rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}
.akhbar-author-widget .akhbar-author-widget-name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.akhbar-author-widget .akhbar-author-widget-name a:hover {
  color: var(--color-primary);
}
.akhbar-author-widget .akhbar-author-widget-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}
.akhbar-author-widget .akhbar-author-widget-meta i {
  color: var(--color-primary);
  font-size: 0.8rem;
  line-height: 1;
}
.akhbar-author-widget .akhbar-author-widget-bio {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}
.akhbar-author-widget .akhbar-author-widget-bio p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.akhbar-author-widget .akhbar-author-widget-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.akhbar-author-widget .akhbar-author-widget-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.akhbar-author-widget .akhbar-author-widget-social-link:hover {
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}
.akhbar-author-widget .akhbar-author-widget-social-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.akhbar-author-widget .akhbar-author-widget-social-facebook:hover {
  background: var(--facebook-color);
}
.akhbar-author-widget .akhbar-author-widget-social-x:hover {
  background: #000000;
}
.akhbar-author-widget .akhbar-author-widget-social-instagram:hover {
  background: var(--instagram-color);
}
.akhbar-author-widget .akhbar-author-widget-social-youtube:hover {
  background: var(--youtube-color);
}
.akhbar-author-widget .akhbar-author-widget-social-linkedin:hover {
  background: #0a66c2;
}
.akhbar-author-widget .akhbar-author-widget-action {
  margin-top: 1.1rem;
}
.akhbar-author-widget .akhbar-author-widget-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.akhbar-author-widget .akhbar-author-widget-button i {
  font-size: 0.8rem;
  line-height: 1;
}
.akhbar-author-widget .akhbar-author-widget-button:hover {
  color: var(--white);
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.akhbar-author-widget .akhbar-author-widget-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
[dir=rtl] .akhbar-author-widget .akhbar-author-widget-profile,
[dir=rtl] .akhbar-author-widget .akhbar-author-widget-social {
  direction: rtl;
}
[dir=rtl] .akhbar-author-widget .akhbar-author-widget-name,
[dir=rtl] .akhbar-author-widget .akhbar-author-widget-meta,
[dir=rtl] .akhbar-author-widget .akhbar-author-widget-bio {
  text-align: start;
}
[dir=rtl] .akhbar-author-widget .akhbar-author-widget-button i {
  transform: scaleX(-1);
}
@media (max-width: 575.98px) {
  .akhbar-author-widget .akhbar-widget-body {
    padding: 1rem;
  }
  .akhbar-author-widget .akhbar-author-widget-avatar {
    width: 64px;
    height: 64px;
  }
  .akhbar-author-widget .akhbar-author-widget-name {
    font-size: 0.92rem;
  }
  .akhbar-author-widget .akhbar-author-widget-bio {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }
  .akhbar-author-widget .akhbar-author-widget-bio p {
    font-size: 0.74rem;
    line-height: 1.75;
  }
  .akhbar-author-widget .akhbar-author-widget-social {
    margin-top: 0.85rem;
  }
  .akhbar-author-widget .akhbar-author-widget-social-link {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .akhbar-author-widget .akhbar-author-widget-action {
    margin-top: 1rem;
  }
}

/* =========================================================
   07. SITE LAYOUT
========================================================= */
/* =========================================================
   TARFAIA PRESS — MODERN EDITORIAL HEADER
   Editorial Indigo Design System
   RTL-first | Responsive | Dark Mode
========================================================= */
/* =========================================================
   01. MAIN HEADER
========================================================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  isolation: isolate;
  width: 100%;
  background: var(--bg-header);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.main-header .container-xl {
  width: 100%;
}

/* =========================================================
   02. TOP INFORMATION BAR
========================================================= */
.main-header .upper-header {
  position: relative;
  z-index: 2;
  background: #18213d;
  color: #f7f8ff;
  border-block-end: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.75rem;
}
.main-header .upper-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-block: 0.35rem;
}
.main-header .upper-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  min-width: 0;
}
.main-header .upper-header-tag,
.main-header .upper-header-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
  white-space: nowrap;
}
.main-header .upper-header-tag {
  color: #ffffff;
  font-weight: 750;
}
.main-header .upper-header-tag i {
  color: #ff7f9a;
  font-size: 0.85rem;
}
.main-header .upper-header-date i {
  color: #aab8ff;
  font-size: 0.8rem;
}
.main-header .upper-header .about-us-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.main-header .upper-header .about-us-menu ul.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-header .upper-header .about-us-menu li {
  margin: 0;
  padding: 0;
}
.main-header .upper-header .about-us-menu a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.73rem;
  font-weight: 550;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.main-header .upper-header .about-us-menu a:hover,
.main-header .upper-header .about-us-menu a:focus-visible {
  color: #ffffff;
}

/* =========================================================
   03. MAIN BRAND AREA
========================================================= */
.main-header .brand-header {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--color-primary-rgb), 0.065), transparent 58%), var(--bg-header);
  border-block-end: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}
.main-header .brand-header > .container-xl {
  max-width: 1440px;
  padding-inline: clamp(0.85rem, 3vw, 2.5rem);
}
.main-header .brand-header-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "toggle logo actions" "nav nav nav";
  align-items: center;
  gap: 0.85rem 1.5rem;
  padding-block: 1rem 1.15rem;
  direction: rtl;
}

/* =========================================================
   04. BRAND / LOGO
========================================================= */
.main-header .logo-box {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  line-height: 1;
}
.main-header .logo-box > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 100%;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.7px;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-normal);
}
.main-header {
  /*
   * An abstract brand mark, created with CSS.
   * It does not replace the WordPress site title.
   */
}
.main-header .logo-box > a::before {
  content: "";
  display: inline-block;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  border-radius: 13px;
  background: linear-gradient(145deg, #6c7ff0 0%, var(--color-primary) 70%, #202c76 100%);
  box-shadow: var(--shadow-primary);
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.main-header .logo-box > a:hover {
  color: var(--color-primary);
}
.main-header .logo-box > a:hover::before {
  transform: rotate(-7deg);
  box-shadow: var(--shadow-md);
}
.main-header {
  /* Logo in the mobile offcanvas */
}
.main-header .akhbar-mobile-nav-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}
.main-header .akhbar-mobile-nav-brand .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* =========================================================
   05. DESKTOP NAVIGATION — FLOATING PILL
========================================================= */
.main-header .cats-menu {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.main-header .cats-menu ul.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-header .cats-menu ul.menu > li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}
.main-header .cats-menu ul.menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.main-header .cats-menu ul.menu > li > a:hover,
.main-header .cats-menu ul.menu > li > a:focus-visible {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.main-header .cats-menu ul.menu > li.current-menu-item > a,
.main-header .cats-menu ul.menu > li.current-menu-ancestor > a,
.main-header .cats-menu ul.menu > li.current_page_item > a {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: var(--color-primary-contrast);
  box-shadow: var(--shadow-primary);
}
.main-header {
  /* Dropdown indicator */
}
.main-header .cats-menu li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-inline-start: 0.55rem;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.65;
}
.main-header {
  /* Submenu */
}
.main-header .cats-menu ul.sub-menu {
  position: absolute;
  z-index: 20;
  inset-block-start: calc(100% + 0.65rem);
  inset-inline-start: 0;
  display: block;
  width: -moz-max-content;
  width: max-content;
  min-width: 205px;
  max-width: min(300px, 85vw);
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(7px);
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}
.main-header .cats-menu li.menu-item-has-children:hover > ul.sub-menu,
.main-header .cats-menu li.menu-item-has-children:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.main-header .cats-menu ul.sub-menu li {
  display: block;
  width: 100%;
  margin: 0;
}
.main-header .cats-menu ul.sub-menu li > a {
  display: flex;
  align-items: center;
  min-height: 40px;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  white-space: normal;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.main-header .cats-menu ul.sub-menu li > a:hover,
.main-header .cats-menu ul.sub-menu li > a:focus-visible {
  background: var(--bg-secondary);
  color: var(--color-primary);
}

/* =========================================================
   06. SEARCH AND THEME CONTROLS
========================================================= */
.main-header .search-themeswitch-box {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
}
.main-header .search-theme-switch-box,
.main-header .search-themeswitch-box .search-theme-switch-box {
  display: flex;
  align-items: center;
  min-width: 0;
}
.main-header .search-theme-switch-box form,
.main-header .search-themeswitch-box form {
  margin: 0;
}
.main-header .search-theme-switch-box .search-box,
.main-header .search-themeswitch-box .search-box {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.main-header .search-theme-switch-box .search-box:focus-within,
.main-header .search-themeswitch-box .search-box:focus-within {
  border-color: rgba(var(--color-primary-rgb), 0.55);
  box-shadow: var(--focus-ring);
}
.main-header .search-theme-switch-box .search-box input,
.main-header .search-themeswitch-box .search-box input {
  width: clamp(90px, 12vw, 170px);
  min-width: 0;
  max-width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 550;
  box-shadow: none;
}
.main-header .search-theme-switch-box .search-box input::-moz-placeholder, .main-header .search-themeswitch-box .search-box input::-moz-placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.main-header .search-theme-switch-box .search-box input::placeholder,
.main-header .search-themeswitch-box .search-box input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.main-header .search-theme-switch-box .search-box button,
.main-header .search-themeswitch-box .search-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.main-header .search-theme-switch-box .search-box button:hover,
.main-header .search-themeswitch-box .search-box button:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-primary);
}
.main-header .search-theme-switch-box .search-box button:active,
.main-header .search-themeswitch-box .search-box button:active {
  transform: scale(0.95);
}
.main-header {
  /* Theme switch button */
}
.main-header #theme-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.main-header #theme-switch:hover {
  border-color: rgba(var(--color-primary-rgb), 0.45);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.main-header #theme-switch:active {
  transform: scale(0.95);
}
.main-header #theme-switch:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* =========================================================
   07. MOBILE MENU TOGGLE
========================================================= */
.main-header .offcanvas-menu-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 13px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.main-header .offcanvas-menu-toggle:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}
.main-header .offcanvas-menu-toggle:active {
  transform: scale(0.95);
}
.main-header .offcanvas-menu-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* =========================================================
   08. MOBILE OFFCANVAS — NEW VISUAL IDENTITY
   Bootstrap still controls opening and closing.
========================================================= */
.main-header .akhbar-mobile-nav {
  --bs-offcanvas-width: min(400px, 92vw);
  background: var(--bg-body);
  color: var(--text-primary);
  border: 0;
  box-shadow: -20px 0 65px rgba(12, 19, 48, 0.22);
}
.main-header .akhbar-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100px;
  padding: 1.25rem;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.16), transparent 40%), linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #ffffff;
  border: 0;
}
.main-header .akhbar-mobile-nav-brand {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.main-header .akhbar-mobile-nav-site-name {
  display: inline-flex;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
}
.main-header .akhbar-mobile-nav-brand-subtitle {
  margin-block-start: 0.3rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 500;
}
.main-header .akhbar-mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.main-header .akhbar-mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.23);
  transform: rotate(90deg);
}
.main-header .akhbar-mobile-nav-body {
  padding: 1.1rem;
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.main-header {
  /* Mobile quick search */
}
.main-header .akhbar-mobile-nav-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 55px;
  margin-block-end: 1.35rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.main-header .akhbar-mobile-nav-search:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.main-header .akhbar-mobile-nav-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.main-header .akhbar-mobile-nav-search-text {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 650;
}
.main-header .akhbar-mobile-nav-search > .bi-arrow-left {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.main-header {
  /* Section headings */
}
.main-header .akhbar-mobile-nav-section {
  margin-block-end: 1.35rem;
}
.main-header .akhbar-mobile-nav-section-header {
  margin-block-end: 0.7rem;
}
.main-header .akhbar-mobile-nav-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 850;
}
.main-header .akhbar-mobile-nav-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.9rem;
}
.main-header {
  /* WordPress mobile menus */
}
.main-header .akhbar-mobile-menu {
  width: 100%;
  min-width: 0;
}
.main-header .akhbar-mobile-menu ul.menu {
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
}
.main-header .akhbar-mobile-menu ul.menu > li {
  display: block;
  margin: 0;
  padding: 0;
  border-block-end: 1px solid var(--border-color);
}
.main-header .akhbar-mobile-menu ul.menu > li:last-child {
  border-block-end: 0;
}
.main-header .akhbar-mobile-menu ul.menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.65;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.main-header .akhbar-mobile-menu ul.menu > li > a::after {
  content: "←";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.75rem;
}
.main-header .akhbar-mobile-menu ul.menu > li > a:hover,
.main-header .akhbar-mobile-menu ul.menu > li > a:focus-visible {
  background: var(--bg-secondary);
  color: var(--color-primary);
}
.main-header .akhbar-mobile-menu ul.menu > li.current-menu-item > a,
.main-header .akhbar-mobile-menu ul.menu > li.current-menu-ancestor > a {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
}
.main-header .akhbar-mobile-menu ul.sub-menu {
  margin: 0;
  padding: 0.3rem 0.75rem;
  list-style: none;
  background: var(--bg-secondary);
  border-block-start: 1px solid var(--border-color);
}
.main-header .akhbar-mobile-menu ul.sub-menu li {
  margin: 0;
  padding: 0;
}
.main-header .akhbar-mobile-menu ul.sub-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.6;
  text-decoration: none;
}
.main-header .akhbar-mobile-menu ul.sub-menu a:hover {
  color: var(--color-primary);
}
.main-header {
  /* Social links */
}
.main-header .akhbar-mobile-social-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-header .akhbar-mobile-social-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 43px;
  margin: 0;
  padding: 0;
  border-radius: 11px;
  transition: transform var(--transition-fast);
}
.main-header .akhbar-mobile-social-list li:hover {
  transform: translateY(-2px);
}
.main-header .akhbar-mobile-social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 43px;
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
}
.main-header .akhbar-mobile-social-list .facebook {
  background: var(--facebook-color);
}
.main-header .akhbar-mobile-social-list .twitter {
  background: var(--twitter-color);
}
.main-header .akhbar-mobile-social-list .instagram {
  background: var(--instagram-color);
}
.main-header .akhbar-mobile-social-list .youtube {
  background: var(--youtube-color);
}
.main-header {
  /* Mobile dark-mode control */
}
.main-header .akhbar-mobile-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 1rem 1.25rem;
  padding: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
}
.main-header .akhbar-mobile-theme-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.main-header .akhbar-mobile-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.main-header .akhbar-mobile-theme-info > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.main-header .akhbar-mobile-theme-info strong {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 800;
}
.main-header .akhbar-mobile-theme-info > div > span {
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}
.main-header .akhbar-mobile-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 26px;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #c9cede;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}
.main-header .akhbar-mobile-theme-toggle span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition-fast);
}
.main-header html.dark-mode .akhbar-mobile-theme-toggle {
  background: var(--color-primary);
}
.main-header html.dark-mode .akhbar-mobile-theme-toggle span {
  transform: translateX(-20px);
}
.main-header {
  /* Mobile panel footer */
}
.main-header .akhbar-mobile-nav-footer {
  margin-block-start: 1.3rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--border-color);
  text-align: center;
}
.main-header .akhbar-mobile-nav-footer-brand {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 850;
}
.main-header .akhbar-mobile-nav-footer-meta {
  margin-block-start: 0.3rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.8;
}

/* =========================================================
   09. DARK MODE OVERRIDES
========================================================= */
html.dark-mode .main-header .upper-header {
  background: #090e1f;
  border-color: rgba(255, 255, 255, 0.07);
}
html.dark-mode .main-header .brand-header {
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--color-primary-rgb), 0.13), transparent 58%), var(--bg-header);
}
html.dark-mode .main-header .cats-menu {
  background: var(--bg-card);
  border-color: var(--border-color);
}
html.dark-mode .main-header .search-theme-switch-box .search-box,
html.dark-mode .main-header .search-themeswitch-box .search-box {
  background: var(--bg-card);
  border-color: var(--border-color);
}
html.dark-mode .main-header #theme-switch {
  background: var(--bg-card);
  border-color: var(--border-color);
}
html.dark-mode .main-header .akhbar-mobile-nav {
  background: var(--bg-body);
}

/* =========================================================
   10. TABLET AND MOBILE HEADER
========================================================= */
@media (max-width: 991.98px) {
  .main-header .upper-header-content {
    min-height: 35px;
  }
  .main-header .brand-header > .container-xl {
    padding-inline: 1rem;
  }
  .main-header .brand-header-content {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "toggle logo actions";
    gap: 0.5rem;
    padding-block: 0.8rem;
  }
  .main-header .offcanvas-menu-toggle {
    display: inline-flex;
  }
  .main-header .cats-menu {
    display: none;
  }
  .main-header .logo-box {
    justify-content: center;
    min-width: 0;
  }
  .main-header .logo-box > a {
    gap: 0.5rem;
    max-width: 100%;
    font-size: clamp(1.05rem, 3.5vw, 1.55rem);
    letter-spacing: -0.4px;
  }
  .main-header .logo-box > a::before {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .main-header .search-themeswitch-box {
    gap: 0.4rem;
  }
  .main-header #theme-switch {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  .main-header .search-theme-switch-box .search-box input,
  .main-header .search-themeswitch-box .search-box input {
    width: clamp(65px, 15vw, 115px);
    padding-inline: 0.45rem;
    font-size: 0.75rem;
  }
  .main-header .search-theme-switch-box .search-box button,
  .main-header .search-themeswitch-box .search-box button {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
}
/* =========================================================
   11. SMALL MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .main-header .upper-header-content {
    gap: 0.5rem;
    padding-block: 0.35rem;
  }
  .main-header .upper-header-meta {
    gap: 0.4rem;
  }
  .main-header .upper-header-tag {
    font-size: 0.68rem;
  }
  .main-header .upper-header-date {
    font-size: 0.65rem;
  }
  .main-header .upper-header .about-us-menu ul.menu {
    gap: 0.6rem;
  }
  .main-header .upper-header .about-us-menu a {
    font-size: 0.65rem;
  }
  .main-header .brand-header > .container-xl {
    padding-inline: 0.65rem;
  }
  .main-header .brand-header-content {
    grid-template-columns: 39px minmax(0, 1fr) auto;
    gap: 0.35rem;
    padding-block: 0.65rem;
  }
  .main-header .offcanvas-menu-toggle {
    width: 39px;
    height: 39px;
    border-radius: 11px;
    font-size: 1.08rem;
  }
  .main-header .logo-box > a {
    gap: 0.35rem;
    font-size: clamp(0.9rem, 3.8vw, 1.2rem);
    letter-spacing: -0.35px;
  }
  .main-header .logo-box > a::before {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .main-header .search-themeswitch-box {
    gap: 0.3rem;
  }
  .main-header #theme-switch {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }
  .main-header .search-theme-switch-box .search-box,
  .main-header .search-themeswitch-box .search-box {
    gap: 0;
    padding: 0.15rem;
  }
  .main-header .search-theme-switch-box .search-box input,
  .main-header .search-themeswitch-box .search-box input {
    width: clamp(35px, 11vw, 68px);
    padding-inline: 0.25rem;
    font-size: 0.68rem;
  }
  .main-header .search-theme-switch-box .search-box button,
  .main-header .search-themeswitch-box .search-box button {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
    font-size: 0.8rem;
  }
  .main-header .akhbar-mobile-nav-body {
    padding: 0.9rem;
  }
  .main-header .akhbar-mobile-nav-header {
    min-height: 86px;
    padding: 1rem;
  }
}
/* =========================================================
   12. VERY SMALL MOBILE
========================================================= */
@media (max-width: 359.98px) {
  .main-header .upper-header-tag {
    display: none;
  }
  .main-header .upper-header-content {
    min-height: 32px;
  }
  .main-header .logo-box > a {
    font-size: 0.88rem;
  }
  .main-header .logo-box > a::before {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }
  .main-header .search-theme-switch-box .search-box input,
  .main-header .search-themeswitch-box .search-box input {
    width: 30px;
  }
}
/* =========================================================
   13. ACCESSIBILITY
========================================================= */
.main-header a:focus-visible,
.main-header button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .main-header *,
  .main-header *::before,
  .main-header *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   TARFAIA PRESS — HERO CAROUSEL + HEADLINES
   Editorial Indigo | RTL | Responsive | Dark Mode
========================================================= */
.news-hero {
  position: relative;
  width: 100%;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-body);
  color: var(--text-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.news-hero__container {
  width: calc(100% - clamp(1.25rem, 5vw, 4rem));
  max-width: 1440px;
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADING
========================================================= */
.news-hero__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1.25rem;
}

.news-hero__heading-main {
  min-width: 0;
}

.news-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 0.3rem;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.news-hero__eyebrow-dot,
.news-hero__live-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.news-hero__heading-title {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
}

.news-hero__heading-description {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.news-hero__date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.6rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.73rem;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}

.news-hero__date i {
  color: var(--color-primary);
}

/* =========================================================
   HERO LAYOUT
========================================================= */
.news-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  grid-template-areas: "carousel headlines";
  align-items: stretch;
  gap: 1rem;
  direction: rtl;
}

.news-hero__layout--no-headlines {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "carousel";
}

.news-hero__carousel {
  grid-area: carousel;
  position: relative;
  min-width: 0;
  height: clamp(400px, 36vw, 500px);
  overflow: hidden;
  background: #151e40;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

/* =========================================================
   CAROUSEL SLIDES
========================================================= */
.news-hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.news-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.news-hero__slide-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  padding-block-end: 5rem;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #273b9e, #11172a);
}

.news-hero__slide-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #202b5c;
}

.news-hero__slide-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.news-hero__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.12), transparent 40%), linear-gradient(135deg, #354ca9, #151d3b);
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
}

.news-hero__slide-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 15, 37, 0.04) 10%, rgba(9, 15, 37, 0.2) 42%, rgba(9, 15, 37, 0.94) 100%), linear-gradient(90deg, rgba(9, 15, 37, 0.12), transparent 75%);
  pointer-events: none;
}

.news-hero__slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  color: #ffffff;
}

.news-hero__slide-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: 0.85rem;
}

.news-hero__slide-label,
.news-hero__slide-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.36rem 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-hero__slide-label {
  background: var(--color-accent);
  color: #ffffff;
}

.news-hero__live-dot {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.news-hero__slide-category {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.news-hero__slide-title {
  max-width: 800px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.4rem, 2.7vw, 2.45rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -0.35px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-wrap: balance;
}

.news-hero__slide-excerpt {
  display: -webkit-box;
  max-width: 680px;
  margin: 0.65rem 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-hero__slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-block-start: 1rem;
  padding-block-start: 0.85rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.2);
}

.news-hero__slide-date,
.news-hero__slide-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 650;
}

.news-hero__slide-date i {
  color: #ff9bb0;
}

.news-hero__slide-read-more {
  color: #ffffff;
  font-weight: 800;
}

.news-hero__slide-read-more i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.news-hero__slide-link:hover .news-hero__slide-image {
  transform: scale(1.04);
}

.news-hero__slide-link:hover .news-hero__slide-read-more i {
  background: var(--color-accent);
  transform: translateX(-2px);
}

/* =========================================================
   CAROUSEL CONTROLS
========================================================= */
.news-hero__carousel-controls {
  position: absolute;
  z-index: 5;
  inset-inline-end: 1.25rem;
  inset-block-end: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(11, 18, 43, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.news-hero__carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.news-hero__carousel-arrow:hover {
  background: var(--color-primary);
  transform: scale(1.04);
}

.news-hero__carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.news-hero__carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.news-hero__carousel-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width var(--transition-fast), background-color var(--transition-fast);
}

.news-hero__carousel-dot.is-active span {
  width: 18px;
  background: #ffffff;
}

/* =========================================================
   HEADLINES PANEL — TEXT ONLY
========================================================= */
.news-hero__headlines {
  grid-area: headlines;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.news-hero__headlines-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block-end: 0.9rem;
  border-block-end: 1px solid var(--border-color);
}

.news-hero__headlines-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.news-hero__headlines-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1rem;
}

.news-hero__headlines-heading h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.55;
}

.news-hero__headlines-heading p {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.news-hero__headlines-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.news-hero__headline-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-hero__headline-item {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-block-end: 1px solid var(--border-color);
}

.news-hero__headline-item:last-child {
  border-block-end: 0;
}

.news-hero__headline-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  padding-block: 0.65rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.news-hero__headline-title {
  display: -webkit-box;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: pretty;
}

.news-hero__headline-link > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.75rem;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.news-hero__headline-link:hover {
  color: var(--color-primary);
}

.news-hero__headline-link:hover > i {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateX(-2px);
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1050px) {
  .news-hero__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.9fr);
    gap: 0.8rem;
  }
  .news-hero__carousel {
    height: 440px;
  }
  .news-hero__headlines {
    padding: 0.8rem;
  }
  .news-hero__headline-title {
    font-size: 0.74rem;
    line-height: 1.8;
  }
  .news-hero__slide-link {
    padding: 1.35rem;
    padding-block-end: 5rem;
  }
  .news-hero__slide-title {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
  }
}
/* =========================================================
   MOBILE / TABLET STACK
========================================================= */
@media (max-width: 800px) {
  .news-hero {
    padding-block: 1.5rem;
  }
  .news-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "carousel" "headlines";
    gap: 1rem;
  }
  .news-hero__carousel {
    height: clamp(360px, 58vw, 460px);
  }
  .news-hero__headlines {
    min-height: auto;
    padding: 0.95rem;
  }
  .news-hero__headline-item {
    flex: 0 0 auto;
  }
  .news-hero__headline-link {
    padding-block: 0.8rem;
  }
  .news-hero__headline-title {
    font-size: 0.82rem;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .news-hero {
    padding-block: 1.1rem;
  }
  .news-hero__container {
    width: calc(100% - 1.25rem);
  }
  .news-hero__heading {
    align-items: center;
    gap: 0.5rem;
    margin-block-end: 0.9rem;
  }
  .news-hero__eyebrow {
    font-size: 0.68rem;
  }
  .news-hero__heading-title {
    font-size: 1.4rem;
  }
  .news-hero__heading-description {
    max-width: 250px;
    font-size: 0.72rem;
  }
  .news-hero__date {
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.64rem;
  }
  .news-hero__carousel {
    height: clamp(350px, 100vw, 410px);
    border-radius: 19px;
  }
  .news-hero__slide-link {
    padding: 1.05rem;
    padding-block-end: 4.75rem;
  }
  .news-hero__slide-meta {
    gap: 0.4rem;
    margin-block-end: 0.65rem;
  }
  .news-hero__slide-label,
  .news-hero__slide-category {
    padding: 0.32rem 0.5rem;
    font-size: 0.62rem;
  }
  .news-hero__slide-title {
    font-size: clamp(1.25rem, 5.2vw, 1.8rem);
    line-height: 1.6;
    -webkit-line-clamp: 3;
  }
  .news-hero__slide-excerpt {
    margin-block-start: 0.45rem;
    font-size: 0.74rem;
    line-height: 1.85;
    -webkit-line-clamp: 2;
  }
  .news-hero__slide-footer {
    gap: 0.5rem;
    margin-block-start: 0.75rem;
    padding-block-start: 0.7rem;
  }
  .news-hero__slide-date,
  .news-hero__slide-read-more {
    font-size: 0.65rem;
  }
  .news-hero__slide-read-more i {
    width: 25px;
    height: 25px;
  }
  .news-hero__carousel-controls {
    inset-inline-end: 0.75rem;
    inset-block-end: 0.7rem;
    gap: 0.25rem;
  }
  .news-hero__carousel-arrow {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }
  .news-hero__carousel-dot {
    width: 20px;
    height: 27px;
  }
  .news-hero__headlines {
    padding: 0.8rem;
    border-radius: 17px;
  }
  .news-hero__headlines-header {
    padding-block-end: 0.75rem;
  }
  .news-hero__headlines-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .news-hero__headline-title {
    font-size: 0.77rem;
    line-height: 1.9;
  }
}
/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
  .news-hero__date {
    padding: 0.45rem;
    font-size: 0.59rem;
  }
  .news-hero__carousel {
    height: 355px;
  }
  .news-hero__slide-link {
    padding: 0.9rem;
    padding-block-end: 4.5rem;
  }
  .news-hero__slide-title {
    font-size: 1.2rem;
  }
  .news-hero__slide-excerpt {
    font-size: 0.69rem;
  }
  .news-hero__carousel-controls {
    inset-inline-end: 0.55rem;
    inset-block-end: 0.55rem;
  }
}
/* =========================================================
   DARK MODE
========================================================= */
html.dark-mode .news-hero__headlines {
  background: var(--bg-card);
  border-color: var(--border-color);
}

html.dark-mode .news-hero__headline-item {
  border-color: var(--border-color);
}

html.dark-mode .news-hero__headline-link:hover {
  color: var(--color-accent);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.news-hero a:focus-visible,
.news-hero button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .news-hero *,
  .news-hero *::before,
  .news-hero *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   Tarfaia Press — Footer
   Editorial Indigo
========================================================= */
.site-footer {
  --footer-bg: var(--bg-footer, #11172a);
  --footer-text: #e8ebf5;
  --footer-muted: #a9b1c6;
  --footer-border: rgba(226, 232, 248, 0.12);
  --footer-primary: #8798ff;
  --footer-accent: #ff8098;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block-start: clamp(3rem, 6vw, 5.5rem);
  color: var(--footer-text);
  background: radial-gradient(ellipse at 100% 0%, rgba(82, 103, 207, 0.16), transparent 35%), radial-gradient(ellipse at 0% 100%, rgba(240, 91, 120, 0.07), transparent 32%), var(--footer-bg);
}
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer img {
  display: block;
  max-width: 100%;
}
.site-footer__top-line {
  position: absolute;
  z-index: 2;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, #f05b78 0%, #5267cf 48%, #8798ff 100%);
}
.site-footer {
  /* Top editorial statement */
}
.site-footer__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(2rem, 4vw, 3.15rem);
  border-block-end: 1px solid var(--footer-border);
}
.site-footer__masthead-content {
  min-width: 0;
}
.site-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 0.65rem;
  color: var(--footer-primary);
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.5;
}
.site-footer__eyebrow i {
  color: var(--footer-accent);
  font-size: 1rem;
}
.site-footer__masthead-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
.site-footer__masthead-description {
  max-width: 650px;
  margin: 0.5rem 0 0;
  color: var(--footer-muted);
  font-size: 0.92rem;
  line-height: 1.9;
}
.site-footer__masthead-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.75rem 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.site-footer__masthead-link i {
  color: var(--footer-accent);
  font-size: 0.95rem;
  transition: transform 180ms ease;
}
.site-footer__masthead-link:hover {
  color: #fff;
  background: rgba(82, 103, 207, 0.2);
  border-color: rgba(135, 152, 255, 0.6);
}
.site-footer__masthead-link:hover i {
  transform: translate(-2px, -2px);
}
.site-footer__masthead-link:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 4px;
}
.site-footer {
  /* Main columns */
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2.2rem, 4vw, 3.25rem);
}
.site-footer__column {
  min-width: 0;
}
.site-footer__heading {
  position: relative;
  margin: 0 0 1.4rem;
  padding-block-end: 0.85rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
}
.site-footer__heading::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--footer-primary), var(--footer-accent));
  border-radius: 99px;
  content: "";
}
.site-footer {
  /* Brand */
}
.site-footer__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  margin-block-end: 1rem;
}
.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.site-footer__brand-mark {
  display: inline-flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, #5267cf, #273b9e);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(20, 30, 90, 0.3);
}
.site-footer__brand-mark i {
  font-size: 1.35rem;
}
.site-footer__brand-title {
  min-width: 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.55;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}
.site-footer__brand-title:hover {
  color: var(--footer-primary);
}
.site-footer__custom-logo {
  flex: 0 0 auto;
  max-width: 120px;
}
.site-footer__custom-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.site-footer__custom-logo img {
  width: auto;
  max-width: 120px;
  max-height: 54px;
  -o-object-fit: contain;
     object-fit: contain;
}
.site-footer__description {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.84rem;
  line-height: 2;
}
.site-footer {
  /* Social links */
}
.site-footer__social {
  margin-block-start: 1.45rem;
}
.site-footer__social-title {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}
.site-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #dfe4f5;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--footer-border);
  border-radius: 11px;
  font-size: 0.96rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.site-footer__social-link:hover {
  color: #fff;
  background: var(--color-primary, #273b9e);
  border-color: transparent;
  transform: translateY(-2px);
}
.site-footer__social-link:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
}
.site-footer {
  /* Navigation and category lists */
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__list li {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  color: var(--footer-muted);
  font-size: 0.84rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  transition: color 180ms ease, transform 180ms ease;
}
.site-footer__list a:hover {
  color: #fff;
  transform: translateX(-3px);
}
.site-footer__list a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.site-footer__categories .site-footer__list a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.site-footer__categories .site-footer__list a i {
  flex-shrink: 0;
  color: var(--footer-primary);
  font-size: 0.8rem;
  opacity: 0.75;
}
.site-footer {
  /* Recent posts */
}
.site-footer__recent-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__recent-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}
.site-footer__recent-media {
  display: block;
  width: 86px;
  aspect-ratio: 1.15/1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--footer-border);
  border-radius: 10px;
}
.site-footer__recent-image, .site-footer__recent-placeholder {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.site-footer__recent-image {
  transition: transform 300ms ease;
}
.site-footer__recent-media:hover .site-footer__recent-image {
  transform: scale(1.06);
}
.site-footer__recent-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-primary);
  background: rgba(255, 255, 255, 0.04);
}
.site-footer__recent-placeholder i {
  font-size: 1.4rem;
}
.site-footer__recent-content {
  min-width: 0;
}
.site-footer__recent-date {
  display: block;
  margin-block-end: 0.35rem;
  color: var(--footer-primary);
  font-size: 0.7rem;
  line-height: 1.5;
}
.site-footer__recent-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #f4f6fc;
  font-size: 0.81rem;
  font-weight: 750;
  line-height: 1.75;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.site-footer__recent-title a {
  transition: color 180ms ease;
}
.site-footer__recent-title a:hover {
  color: var(--footer-primary);
}
.site-footer__recent-title a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.site-footer__empty {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.84rem;
  line-height: 1.8;
}
.site-footer {
  /* Copyright bar */
}
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.25rem;
  border-block-start: 1px solid var(--footer-border);
}
.site-footer__copyright {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.78rem;
  line-height: 1.8;
}
.site-footer__copyright strong {
  color: #fff;
  font-weight: 800;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.25rem;
}
.site-footer__legal a {
  color: var(--footer-muted);
  font-size: 0.77rem;
  line-height: 1.8;
  transition: color 180ms ease;
}
.site-footer__legal a:hover {
  color: #fff;
}
.site-footer__legal a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.site-footer {
  /* Tablet */
}
@media (max-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }
  .site-footer__brand-column {
    max-width: 440px;
  }
}
.site-footer {
  /* Mobile */
}
@media (max-width: 640px) {
  .site-footer {
    margin-block-start: 3rem;
  }
  .site-footer__masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
    padding-block: 2rem;
  }
  .site-footer__masthead-title {
    font-size: 1.55rem;
  }
  .site-footer__masthead-description {
    font-size: 0.85rem;
  }
  .site-footer__masthead-link {
    min-height: 43px;
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-block: 2rem;
  }
  .site-footer__brand-column {
    max-width: none;
  }
  .site-footer__heading {
    margin-block-end: 1rem;
  }
  .site-footer__list {
    gap: 0.65rem;
  }
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-block: 1rem 1.25rem;
  }
  .site-footer__legal {
    gap: 0.6rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.comments-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.comments-header {
  margin-bottom: 2rem;
}

.comments-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.comments-count {
  color: var(--color-primary);
}

.comments-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
}

.comment-avatar {
  flex-shrink: 0;
}
.comment-avatar img {
  border-radius: 50%;
}

.comment-content {
  flex: 1;
}

.comment-author {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.comment-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.comment-text {
  margin-top: 0.75rem;
  line-height: 1.9;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  transition: 0.3s ease;
}
.comment-reply-link:hover {
  opacity: 0.8;
}

.comment-form {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}
.comment-form textarea,
.comment-form input {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
}
.comment-form textarea {
  resize: vertical;
  min-height: 180px;
}

.submit-comment-btn {
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  transition: 0.3s ease;
}
.submit-comment-btn:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Tablet
   ========================================================================== */
/* ==========================================================================
Mobile
========================================================================== */
@media (max-width: 767.98px) {
  .comments-section {
    margin-top: 0rem;
    margin-bottom: 1.5rem;
  }
  .comments-header .comment-form {
    margin-top: 1rem;
    padding: 2rem;
  }
}
.latest-news-section .latest-news-wrapper {
  margin-top: 1rem;
}

.sidebar-1 {
  width: 100%;
}

.sidebar-1 .widget {
  width: 100%;
}

/* ==========================================
   Sidebar Sticky
========================================== */
@media (min-width: 992px) {
  .sidebar-1 {
    position: sticky;
    top: 1.5rem;
    align-self: flex-start;
  }
}
/* Responsive layout adjustments */
@media (max-width: 576px) {
  .main-header .upper-header {
    display: none;
  }
  .main-header .brand-header {
    height: 3.6rem;
  }
  .main-header .brand-header .brand-header-content .offcanvas-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-header .brand-header .brand-header-content .offcanvas .offcanvas-header {
    gap: 1rem;
  }
  .main-header .brand-header .brand-header-content .offcanvas .offcanvas-header svg {
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .main-header .brand-header .brand-header-content .logo-box a {
    font-size: 1.5rem;
  }
  .main-header .brand-header .brand-header-content #cats-menu {
    display: none;
  }
  .main-header .brand-header .brand-header-content .search-themeswitch-box #header-search form input#search-input {
    height: 33px;
    font-size: 13px;
  }
  .main-header .brand-header .brand-header-content .search-themeswitch-box #search-toggle-btn {
    width: 1.8rem;
    height: 1.8rem;
  }
  .main-header .brand-header .brand-header-content .search-themeswitch-box #search-toggle-btn i {
    font-size: 14px;
  }
  .main-header .brand-header .brand-header-content .search-themeswitch-box #theme-switch {
    width: 1.8rem;
    height: 1.8rem;
  }
  .main-header .brand-header .brand-header-content .search-themeswitch-box #theme-switch i {
    font-size: 14px;
  }
}
@media (min-width: 576px) {
  .main-header .upper-header {
    display: none;
  }
}
@media (min-width: 768px) {
  .main-header .upper-header {
    display: block;
  }
}
/* =========================================================
   08. PAGE-SPECIFIC STYLES
========================================================= */
.rand-cats-section {
  margin: 4rem 0;
}
.rand-cats-section .category-block .category-featured-post {
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}
.rand-cats-section .category-block .category-featured-post .wp-post-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.rand-cats-section .category-block .category-featured-post .cat-card-title {
  font-size: 1.2rem;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 3;
  background: linear-gradient(to top, #000, rgba(0, 0, 0, 0.3294117647));
  padding: 0.5rem;
  height: 40%;
  line-height: 1.5;
  display: flex;
  align-items: center;
  margin: 0;
}
.rand-cats-section .category-block .category-featured-post .cat-card-title:hover a {
  color: var(--color-primary);
}
.rand-cats-section .category-block .category-featured-post .cat-card-title .link {
  text-decoration: none;
  color: var(--white);
}
.rand-cats-section .category-block .category-small-post {
  margin: 1rem 0;
  border-bottom: 2px dotted var(--color-accent);
  padding-bottom: 1rem;
}
.rand-cats-section .category-block .category-small-post .cat-card-title {
  font-size: 1rem;
  line-height: 1.5;
}
.rand-cats-section .category-block .category-small-post .cat-card-title:hover a {
  color: var(--color-primary);
}
.rand-cats-section .category-block .category-small-post .cat-card-title .link {
  text-decoration: none;
  color: var(--text-primary);
}

/* ==========================================================================
   Homepage Layout System
   ========================================================================== */
.home-header {
  width: 100%;
  margin-block-end: 2rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.9fr);
  gap: 1.25rem;
  align-items: stretch;
}

.home-hero-main,
.home-hero-trending {
  min-width: 0;
}

/* ==========================================================================
   Video
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.video-grid-item {
  min-width: 0;
}

/* ==========================================================================
   Sports
   ========================================================================== */
.sports-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.sports-featured {
  min-width: 0;
}

.sports-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
}

.sports-secondary-item {
  min-width: 0;
}

/* ==========================================================================
   Random Categories
   ========================================================================== */
.random-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.random-category-item {
  min-width: 0;
}

/* ==========================================================================
   Politics
   ========================================================================== */
.politics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.politics-grid-item {
  min-width: 0;
}

/* ==========================================================================
   Art & Culture
   ========================================================================== */
.art-culture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: stretch;
}

.art-culture-featured,
.art-culture-secondary {
  min-width: 0;
}

.art-culture-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.art-culture-secondary-item {
  min-width: 0;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.85fr);
    gap: 1rem;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sports-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sports-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .random-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .politics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .art-culture-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .art-culture-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .home-header {
    margin-block-end: 1.5rem;
  }
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .sports-grid {
    grid-template-columns: 1fr;
  }
  .sports-secondary-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .random-categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .politics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .art-culture-grid {
    grid-template-columns: 1fr;
  }
  .art-culture-secondary-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.single-page,
.single-layout,
.single-main,
.single-sidebar {
  min-width: 0;
}

/* =========================================================
   SINGLE POST PAGE
========================================================= */
.single-page {
  width: 100%;
  padding-block: 2rem 4rem;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 22rem);
  gap: 1.5rem;
  align-items: start;
}

.single-layout--no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.single-main {
  min-width: 0;
}

/* =========================================================
   SIDEBAR
========================================================= */
.single-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

/* =========================================================
   ARTICLE
========================================================= */
.single-post {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

/* =========================================================
   ARTICLE HEADER
========================================================= */
.single-header {
  padding: 1.75rem 2.25rem 1.5rem;
}

/* =========================================================
   BREADCRUMB
========================================================= */
.single-header .breadcrumb-nav {
  margin: 0 0 1.25rem;
}

/* =========================================================
   CATEGORY
========================================================= */
.single-header .post-category {
  display: inline-flex;
  align-items: center;
  margin-block-end: 1rem;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--color-primary-light);
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.single-header .post-category::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-inline-end: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.single-header .post-category:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* =========================================================
   TITLE
========================================================= */
.single-header .single-title {
  max-width: 950px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

/* =========================================================
   EXCERPT / ARTICLE INTRO
========================================================= */
.single-header .single-excerpt {
  max-width: 850px;
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.85;
}

/* =========================================================
   META
========================================================= */
.single-header .post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-color);
}

/* =========================================================
   AUTHOR
========================================================= */
.single-header .meta-author {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.7rem;
}

.single-header .meta-author .photo {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: var(--bg-secondary);
}

.single-header .meta-author .author-link {
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-header .meta-author .author-link:hover {
  color: var(--color-primary);
}

/* =========================================================
   META INFO
========================================================= */
.single-header .meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.single-header .meta-info > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.single-header .meta-info i,
.single-header .meta-info .fa-calendar,
.single-header .meta-info .fa-book-open,
.single-header .meta-info .fa-eye {
  color: var(--color-primary);
  font-size: 0.78rem;
}

/* =========================================================
   FEATURED IMAGE
========================================================= */
.single-post .post-thumbnail {
  width: 100%;
  margin: 0;
  padding-inline: 2.25rem;
  overflow: hidden;
}

.single-post .post-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 16px;
  background: var(--bg-secondary);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.single-post .post-thumbnail:hover img {
  transform: scale(1.015);
}

/* =========================================================
   ARTICLE CONTENT
========================================================= */
.single-content {
  padding: 2rem 2.25rem 0;
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 2.05;
}

/*
 * Editorial reading width.
 */
.single-content > p,
.single-content > h2,
.single-content > h3,
.single-content > h4,
.single-content > h5,
.single-content > h6,
.single-content > ul,
.single-content > ol,
.single-content > blockquote,
.single-content > pre,
.single-content > .wp-block-quote {
  max-width: 780px;
  margin-inline: auto;
}

/* =========================================================
   PARAGRAPHS
========================================================= */
.single-content p {
  margin-block: 0 1.35rem;
  color: var(--text-primary);
  font-weight: 450;
}

.single-content p:last-child {
  margin-block-end: 0;
}

/* =========================================================
   HEADINGS
========================================================= */
.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5,
.single-content h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.45;
}

.single-content h2 {
  margin-block: 2.5rem 1rem;
  font-size: 1.65rem;
}

.single-content h3 {
  margin-block: 2rem 0.85rem;
  font-size: 1.35rem;
}

.single-content h4 {
  margin-block: 1.75rem 0.75rem;
  font-size: 1.15rem;
}

/* =========================================================
   LINKS
========================================================= */
.single-content a {
  color: var(--color-primary);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

/* =========================================================
   LISTS
========================================================= */
.single-content ul,
.single-content ol {
  margin-block: 0 1.5rem;
  padding-inline-start: 1.5rem;
}

.single-content li {
  margin-block-end: 0.6rem;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */
.single-content blockquote,
.single-content .wp-block-quote {
  position: relative;
  margin-block: 2rem;
  padding: 1.25rem 1.5rem;
  border-inline-start: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.9;
}

.single-content blockquote p,
.single-content .wp-block-quote p {
  margin: 0;
}

/* =========================================================
   IMAGES
========================================================= */
.single-content figure {
  margin-block: 2rem;
}

.single-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.single-content figcaption {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: center;
}

/* =========================================================
   IMAGE ALIGNMENT
========================================================= */
.single-content .alignleft {
  float: left;
  margin: 0.4rem 1.5rem 1rem 0;
}

.single-content .alignright {
  float: right;
  margin: 0.4rem 0 1rem 1.5rem;
}

.single-content .aligncenter {
  display: block;
  margin-inline: auto;
}

/* =========================================================
   FULL / WIDE BLOCKS
========================================================= */
.single-content .alignwide {
  width: min(100%, 950px);
  max-width: 950px;
  margin-inline: auto;
}

.single-content .alignfull {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

/* =========================================================
   HORIZONTAL RULE
========================================================= */
.single-content hr {
  max-width: 780px;
  margin: 2.5rem auto;
  border: 0;
  border-top: 1px solid var(--border-color);
}

/* =========================================================
   TABLES
========================================================= */
.single-content .wp-block-table {
  max-width: 900px;
  margin-inline: auto;
  overflow-x: auto;
}

.single-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 0.9rem;
}

.single-content th,
.single-content td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: start;
}

.single-content th {
  background: var(--bg-secondary);
  font-weight: 700;
}

/* =========================================================
   CODE
========================================================= */
.single-content code {
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.88em;
}

.single-content pre {
  margin-block: 1.75rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  border-radius: 12px;
  background: #111;
  color: #f5f5f5;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* =========================================================
   EMBEDS
========================================================= */
.single-content iframe,
.single-content video,
.single-content embed {
  max-width: 100%;
  border-radius: 14px;
}

/* =========================================================
   ARTICLE FOOTER
========================================================= */
.single-footer {
  margin-top: 2rem;
  padding: 1.75rem 2.25rem 2.25rem;
  border-top: 1px solid var(--border-color);
}

/* =========================================================
   TAGS
========================================================= */
.single-footer .post-tags {
  margin: 0 0 1.75rem;
}

.single-footer .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.single-footer .tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.single-footer .tag-link:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* =========================================================
   SHARE
========================================================= */
.single-footer .post-share {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.single-footer .post-share .section-title,
.single-footer .post-share .title-cat,
.single-footer .post-share .post-share-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
}

.single-footer .post-share .section-title i,
.single-footer .post-share .title-cat i {
  color: var(--color-primary);
}

.single-footer .post-share-description {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.single-footer .share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

/* =========================================================
   SHARE BUTTONS
========================================================= */
.single-footer .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.single-footer .share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.single-footer .share-btn.facebook:hover {
  background: #4267b2;
  border-color: #4267b2;
}

.single-footer .share-btn.twitter:hover {
  background: #111;
  border-color: #111;
}

.single-footer .share-btn.whatsapp:hover {
  background: #22c55e;
  border-color: #22c55e;
}

.single-footer .share-btn.telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
}

/* =========================================================
   COPY LINK
========================================================= */
.single-footer .share-btn.copy-link {
  width: auto;
  min-width: 2.65rem;
  padding-inline: 0.85rem;
  gap: 0.45rem;
}

.single-footer .copy-text {
  font-size: 0.76rem;
  font-weight: 700;
}

.single-footer .copy-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.single-footer .copy-link.copied {
  background: var(--success-color);
  border-color: var(--success-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
}

/* =========================================================
   RELATED POSTS
========================================================= */
.single-main .related-posts {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1199.98px) {
  .single-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 20rem);
    gap: 1.25rem;
  }
  .single-header {
    padding-inline: 1.75rem;
  }
  .single-post .post-thumbnail {
    padding-inline: 1.75rem;
  }
  .single-content {
    padding-inline: 1.75rem;
  }
  .single-footer {
    padding-inline: 1.75rem;
  }
}
/* =========================================================
   SMALL TABLET
========================================================= */
@media (max-width: 991.98px) {
  .single-page {
    padding-block: 1.5rem 3rem;
  }
  .single-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .single-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .single-header .single-title {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
  }
  .single-sidebar .akhbar-widget {
    min-width: 0;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {
  .single-page {
    padding-block: 1rem 2.5rem;
  }
  .single-post {
    border-radius: 15px;
  }
  .single-header {
    padding: 1.25rem 1rem 1rem;
  }
  .single-header .breadcrumb-nav {
    margin-bottom: 1rem;
  }
  .single-header .post-category {
    margin-bottom: 0.8rem;
    font-size: 0.7rem;
  }
  .single-header .single-title {
    font-size: 1.65rem;
    line-height: 1.45;
    letter-spacing: -0.02em;
  }
  .single-header .single-excerpt {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.8;
  }
  .single-header .post-meta {
    align-items: stretch;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
  .single-header .meta-info {
    gap: 0.5rem 0.8rem;
  }
  .single-header .meta-info > span {
    font-size: 0.72rem;
  }
  .single-post .post-thumbnail {
    padding-inline: 1rem;
  }
  .single-post .post-thumbnail img {
    border-radius: 12px;
  }
  .single-content {
    padding: 1.5rem 1rem 0;
    font-size: 1rem;
    line-height: 1.95;
  }
  .single-content p {
    margin-bottom: 1.15rem;
  }
  .single-content h2 {
    margin-top: 2rem;
    font-size: 1.35rem;
  }
  .single-content h3 {
    margin-top: 1.65rem;
    font-size: 1.15rem;
  }
  .single-content blockquote,
  .single-content .wp-block-quote {
    padding: 1rem;
    font-size: 0.95rem;
  }
  .single-content .alignleft,
  .single-content .alignright {
    float: none;
    margin-inline: auto;
  }
  .single-footer {
    margin-top: 1.5rem;
    padding: 1.5rem 1rem 1.5rem;
  }
  .single-footer .post-tags {
    margin-bottom: 1.5rem;
  }
  .single-footer .share-buttons {
    gap: 0.5rem;
  }
  .single-footer .share-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .single-footer .share-btn.copy-link {
    padding-inline: 0.75rem;
  }
  .single-main .related-posts {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
  }
  .single-sidebar {
    display: flex;
    flex-direction: column;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .single-header .single-title {
    font-size: 1.5rem;
  }
  .single-header .single-excerpt {
    font-size: 0.86rem;
  }
  .single-header .meta-author .photo {
    width: 2.35rem;
    height: 2.35rem;
    flex-basis: 2.35rem;
  }
  .single-content {
    font-size: 0.98rem;
  }
  .single-footer .copy-text {
    display: none;
  }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .single-header .post-category,
  .single-post .post-thumbnail img,
  .single-content a,
  .single-footer .tag-link,
  .single-footer .share-btn {
    transition: none;
  }
}
.single-page {
  position: relative;
}

.single-layout {
  position: relative;
}

body {
  overflow-y: auto;
}

/*
|--------------------------------------------------------------------------
| Category Page
|--------------------------------------------------------------------------
*/
.page-category {
  padding-block: 2rem;
}

/*
|--------------------------------------------------------------------------
| Main Section
|--------------------------------------------------------------------------
*/
.category-posts-section {
  width: 100%;
  padding: 1.25rem;
  background-color: var(--card-bg);
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/
.category-page-header {
  margin-block-end: 1.25rem;
  padding-block-end: 1.25rem;
  border-block-end: 1px solid var(--border-color);
}

.category-page-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  background-color: var(--primary-color);
  color: var(--text-primary);
  font-size: 1.1rem;
}

.category-page-title-wrapper {
  min-width: 0;
}

.category-page-label {
  display: block;
  margin-block-end: 0.15rem;
  color: var(--text-muted-color);
  font-size: 0.7rem;
  font-weight: 600;
}

.category-page-title {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.category-page-description {
  max-width: 700px;
  margin: 0.85rem 0 0;
  color: var(--text-muted-color);
  font-size: 0.82rem;
  line-height: 1.8;
}

/*
|--------------------------------------------------------------------------
| Posts List
|--------------------------------------------------------------------------
*/
.category-posts-list {
  display: flex;
  flex-direction: column;
}

/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/
.category-page-sidebar {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/
.category-posts-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.category-posts-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-block-end: 1rem;
  border-radius: 50%;
  background-color: var(--card-hover-bg);
  color: var(--text-muted-color);
  font-size: 1.6rem;
}

.category-posts-empty h2 {
  margin: 0 0 0.5rem;
  color: var(--heading-color);
  font-size: 1.05rem;
  font-weight: 800;
}

.category-posts-empty p {
  margin: 0 0 1.25rem;
  color: var(--text-muted-color);
  font-size: 0.8rem;
}

.category-posts-empty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-inline: 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 9px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.category-posts-empty-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .page-category {
    padding-block: 1.5rem;
  }
  .category-post-card {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
  }
  .category-post-image {
    height: 125px;
  }
  .category-post-title {
    font-size: 0.98rem;
  }
  .category-post-excerpt {
    font-size: 0.78rem;
  }
  .category-page-sidebar {
    position: static;
  }
}
@media (max-width: 575.98px) {
  .page-category {
    padding-block: 1rem;
  }
  .category-posts-section {
    padding: 0.9rem;
  }
  .category-page-header {
    margin-block-end: 0.75rem;
    padding-block-end: 1rem;
  }
  .category-page-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .category-page-title {
    font-size: 0.98rem;
  }
  .category-page-label {
    font-size: 0.62rem;
  }
  .category-page-description {
    font-size: 0.72rem;
  }
  .category-post-card {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 0.7rem;
    padding-block: 0.9rem;
  }
  .category-post-image {
    height: 82px;
    border-radius: 8px;
  }
  .category-post-title {
    margin-block-end: 0.3rem;
    font-size: 0.82rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }
  .category-post-excerpt {
    display: none;
  }
  .category-post-category {
    margin-block-end: 0.35rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.58rem;
  }
  .category-post-meta {
    font-size: 0.61rem;
  }
  .category-posts-empty {
    min-height: 260px;
    padding-inline: 1rem;
  }
}
.page-search {
  padding-block: 2rem 4rem;
}
.page-search .search-results-section {
  min-width: 0;
}
.page-search .search-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
}
.page-search .search-page-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.page-search .search-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.page-search .search-page-icon i {
  line-height: 1;
}
.page-search .search-page-title-wrapper {
  min-width: 0;
}
.page-search .search-page-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
}
.page-search .search-page-title {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 900;
  line-height: 1.5;
  word-break: break-word;
}
.page-search .search-page-title span {
  color: var(--color-primary);
}
.page-search .search-page-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.page-search .search-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-search .search-results-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.page-search .search-results-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 1.5rem;
}
.page-search .search-results-empty h2 {
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 800;
}
.page-search .search-results-empty p {
  max-width: 420px;
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.8;
}
.page-search .search-results-empty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.page-search .search-results-empty-button:hover {
  color: var(--white);
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
}
.page-search .search-results-empty-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
[dir=rtl] .page-search .search-page-header,
[dir=rtl] .page-search .search-page-heading {
  direction: rtl;
}
[dir=rtl] .page-search .search-page-title,
[dir=rtl] .page-search .search-page-label,
[dir=rtl] .page-search .search-page-count {
  text-align: start;
}
[dir=rtl] .page-search .search-results-empty {
  direction: rtl;
}
@media (max-width: 767.98px) {
  .page-search {
    padding-block: 1.5rem 3rem;
  }
  .page-search .search-page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .page-search .search-page-heading {
    width: 100%;
  }
  .page-search .search-page-count {
    margin-inline-start: calc(46px + 0.85rem);
  }
}
@media (max-width: 480px) {
  .page-search .search-page-icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .page-search .search-page-heading {
    gap: 0.7rem;
  }
  .page-search .search-page-title {
    font-size: 1rem;
  }
  .page-search .search-page-count {
    margin-inline-start: 0;
  }
  .page-search .search-results-empty {
    min-height: 300px;
    padding: 2rem 1rem;
  }
  .page-search .search-results-empty-icon {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
}

.author-page {
  margin-top: 3rem;
}

/*
|--------------------------------------------------------------------------
| Section Header
|--------------------------------------------------------------------------
*/
.author-most-read .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 1.5rem;
}

.author-most-read .section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-most-read .section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.author-most-read .section-title {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.4;
}

.author-most-read .section-subtitle {
  margin: 0.2rem 0 0;
  color: var(--text-muted-color);
  font-size: 0.85rem;
}

/*
|--------------------------------------------------------------------------
| Posts List
|--------------------------------------------------------------------------
*/
.author-most-read-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--card-bg);
}

/*
|--------------------------------------------------------------------------
| Post Item
|--------------------------------------------------------------------------
*/
.author-most-read-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 120px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background-color: var(--card-bg);
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.author-most-read-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}
.author-most-read-item:hover {
  background-color: var(--card-hover-bg);
}

/*
|--------------------------------------------------------------------------
| Ranking
|--------------------------------------------------------------------------
*/
.author-most-read-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

/*
|--------------------------------------------------------------------------
| Image
|--------------------------------------------------------------------------
*/
.author-most-read-image {
  position: relative;
  width: 120px;
  height: 82px;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--image-placeholder-bg);
}
.author-most-read-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.author-most-read-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}

.author-most-read-item:hover .author-most-read-image img {
  transform: scale(1.06);
}

/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/
.author-most-read-content {
  min-width: 0;
}

.author-most-read-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.author-most-read-title a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
.author-most-read-title a:hover {
  color: var(--primary-color);
}

/*
|--------------------------------------------------------------------------
| Meta
|--------------------------------------------------------------------------
*/
.author-most-read-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--text-muted-color);
  font-size: 0.78rem;
}

.author-most-read-date,
.author-most-read-views {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.author-most-read-date i,
.author-most-read-views i {
  font-size: 0.85rem;
}

.author-most-read-views {
  font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/
.author-most-read-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 2rem;
  border: 1px dashed var(--border-color);
  border-radius: 18px;
  color: var(--text-muted-color);
  text-align: center;
  background-color: var(--card-bg);
}
.author-most-read-empty i {
  margin-block-end: 0.75rem;
  font-size: 2rem;
}
.author-most-read-empty p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .author-most-read {
    margin-block: 2.5rem;
  }
  .author-most-read .section-title {
    font-size: 1.2rem;
  }
  .author-most-read .section-subtitle {
    font-size: 0.8rem;
  }
  .author-most-read-item {
    grid-template-columns: 38px 95px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .author-most-read-image {
    width: 95px;
    height: 70px;
  }
  .author-most-read-rank {
    font-size: 1rem;
  }
  .author-most-read-title {
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }
  .author-most-read-meta {
    gap: 0.65rem;
    font-size: 0.72rem;
  }
}
@media (max-width: 479.98px) {
  .author-most-read .section-title-wrapper {
    gap: 0.65rem;
  }
  .author-most-read .section-title-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .author-most-read .section-title {
    font-size: 1.05rem;
  }
  .author-most-read .section-subtitle {
    display: none;
  }
  .author-most-read-item {
    grid-template-columns: 30px 82px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.7rem;
  }
  .author-most-read-image {
    width: 82px;
    height: 62px;
    border-radius: 9px;
  }
  .author-most-read-rank {
    font-size: 0.9rem;
  }
  .author-most-read-title {
    margin-block-end: 0.4rem;
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .author-most-read-meta {
    gap: 0.5rem;
    font-size: 0.68rem;
  }
  .author-most-read-views span {
    display: none;
  }
}
/*
|--------------------------------------------------------------------------
| Tag Page
|--------------------------------------------------------------------------
*/
.tag-page {
  padding-block: 2rem;
}

/*
|--------------------------------------------------------------------------
| Main Section
|--------------------------------------------------------------------------
*/
.tag-posts-section {
  width: 100%;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background-color: var(--card-bg);
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/
.tag-page-header {
  margin-block-end: 1.25rem;
  padding-block-end: 1.25rem;
  border-block-end: 1px solid var(--border-color);
}

/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/
.tag-page-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tag-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.1rem;
}

.tag-page-title-wrapper {
  min-width: 0;
}

.tag-page-label {
  display: block;
  margin-block-end: 0.15rem;
  color: var(--text-muted-color);
  font-size: 0.7rem;
  font-weight: 600;
}

.tag-page-title {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.tag-page-description {
  max-width: 700px;
  margin: 0.85rem 0 0;
  color: var(--text-muted-color);
  font-size: 0.82rem;
  line-height: 1.8;
}

/*
|--------------------------------------------------------------------------
| Posts List
|--------------------------------------------------------------------------
*/
.tag-posts-list {
  display: flex;
  flex-direction: column;
}

/*
|--------------------------------------------------------------------------
| Post Card
|--------------------------------------------------------------------------
*/
.tag-post-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.15rem;
}
.tag-post-card:not(:last-child) {
  border-block-end: 1px solid var(--border-color);
}

/*
|--------------------------------------------------------------------------
| Image
|--------------------------------------------------------------------------
*/
.tag-post-image {
  width: 100%;
  height: 145px;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--image-placeholder-bg);
}
.tag-post-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.tag-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}

.tag-post-card:hover .tag-post-image img {
  transform: scale(1.05);
}

/*
|--------------------------------------------------------------------------
| Image Placeholder
|--------------------------------------------------------------------------
*/
.tag-post-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted-color);
  font-size: 2rem;
}

/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/
.tag-post-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/*
|--------------------------------------------------------------------------
| Category
|--------------------------------------------------------------------------
*/
.tag-post-category {
  display: inline-flex;
  margin-block-end: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tag-post-category:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/
.tag-post-title {
  width: 100%;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.tag-post-title a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
.tag-post-title a:hover {
  color: var(--primary-color);
}

/*
|--------------------------------------------------------------------------
| Excerpt
|--------------------------------------------------------------------------
*/
.tag-post-excerpt {
  width: 100%;
  margin-block-end: 0.75rem;
  color: var(--text-muted-color);
  font-size: 0.82rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| Meta
|--------------------------------------------------------------------------
*/
.tag-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-block-start: auto;
  color: var(--text-muted-color);
  font-size: 0.7rem;
}

.tag-post-date,
.tag-post-views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/
.tag-page-sidebar {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/
.tag-posts-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.tag-posts-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-block-end: 1rem;
  border-radius: 50%;
  background-color: var(--card-hover-bg);
  color: var(--text-muted-color);
  font-size: 1.6rem;
}

.tag-posts-empty h2 {
  margin: 0 0 0.5rem;
  color: var(--heading-color);
  font-size: 1.05rem;
  font-weight: 800;
}

.tag-posts-empty p {
  margin: 0 0 1.25rem;
  color: var(--text-muted-color);
  font-size: 0.8rem;
}

.tag-posts-empty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-inline: 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 9px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tag-posts-empty-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/
@media (max-width: 991.98px) {
  .tag-page {
    padding-block: 1.5rem;
  }
  .tag-post-card {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
  }
  .tag-post-image {
    height: 125px;
  }
  .tag-post-title {
    font-size: 0.98rem;
  }
  .tag-post-excerpt {
    font-size: 0.78rem;
  }
  .tag-page-sidebar {
    position: static;
  }
}
@media (max-width: 575.98px) {
  .tag-page {
    padding-block: 1rem;
  }
  .tag-posts-section {
    padding: 0.9rem;
  }
  .tag-page-header {
    margin-block-end: 0.75rem;
    padding-block-end: 1rem;
  }
  .tag-page-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .tag-page-title {
    font-size: 0.98rem;
  }
  .tag-page-label {
    font-size: 0.62rem;
  }
  .tag-page-description {
    font-size: 0.72rem;
  }
  .tag-post-card {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 0.7rem;
    padding-block: 0.9rem;
  }
  .tag-post-image {
    height: 82px;
    border-radius: 8px;
  }
  .tag-post-title {
    margin-block-end: 0.3rem;
    font-size: 0.82rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }
  .tag-post-excerpt {
    display: none;
  }
  .tag-post-category {
    margin-block-end: 0.35rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.58rem;
  }
  .tag-post-meta {
    font-size: 0.61rem;
  }
  .tag-posts-empty {
    min-height: 260px;
    padding-inline: 1rem;
  }
}
.page-archive {
  padding-block: 2rem 4rem;
}
.page-archive .archive-results-section {
  min-width: 0;
}
.page-archive .archive-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
}
.page-archive .archive-page-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.page-archive .archive-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.page-archive .archive-page-icon i {
  line-height: 1;
}
.page-archive .archive-page-title-wrapper {
  min-width: 0;
}
.page-archive .archive-page-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
}
.page-archive .archive-page-title {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 900;
  line-height: 1.5;
  word-break: break-word;
}
.page-archive .archive-page-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.page-archive .archive-page-description {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.8;
}
.page-archive .archive-page-description p {
  margin: 0;
}
.page-archive .archive-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-archive .archive-results-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.page-archive .archive-results-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 1.5rem;
}
.page-archive .archive-results-empty h2 {
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 800;
}
.page-archive .archive-results-empty p {
  max-width: 420px;
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.8;
}
.page-archive .archive-results-empty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.page-archive .archive-results-empty-button:hover {
  color: var(--white);
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
}
.page-archive .archive-results-empty-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
[dir=rtl] .page-archive .archive-page-header,
[dir=rtl] .page-archive .archive-page-heading {
  direction: rtl;
}
[dir=rtl] .page-archive .archive-page-title,
[dir=rtl] .page-archive .archive-page-label,
[dir=rtl] .page-archive .archive-page-count,
[dir=rtl] .page-archive .archive-page-description {
  text-align: start;
}
[dir=rtl] .page-archive .archive-results-empty {
  direction: rtl;
}
@media (max-width: 767.98px) {
  .page-archive {
    padding-block: 1.5rem 3rem;
  }
  .page-archive .archive-page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .page-archive .archive-page-heading {
    width: 100%;
  }
  .page-archive .archive-page-count {
    margin-inline-start: calc(46px + 0.85rem);
  }
}
@media (max-width: 480px) {
  .page-archive .archive-page-icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .page-archive .archive-page-heading {
    gap: 0.7rem;
  }
  .page-archive .archive-page-title {
    font-size: 1rem;
  }
  .page-archive .archive-page-count {
    margin-inline-start: 0;
  }
  .page-archive .archive-page-description {
    padding: 0.85rem 1rem;
    font-size: 0.75rem;
  }
  .page-archive .archive-results-empty {
    min-height: 300px;
    padding: 2rem 1rem;
  }
  .page-archive .archive-results-empty-icon {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
}/*# sourceMappingURL=main.css.map */