@charset "UTF-8";
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: none;
  outline: none;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}
.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;
  }
}
.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;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.author-box .author-avatar {
  flex-shrink: 0;
}
.author-box .author-avatar .avatar-img {
  border-radius: 0.5rem;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.author-box .author-content {
  flex: 1;
}
.author-box .author-name {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.author-box .author-bio {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.author-box .author-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background-color: var(--color-primary);
  color: #fff;
  transition: 0.3s ease;
}
.author-box .author-profile-btn:hover {
  transform: translateY(-2px);
}

.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);
}

.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;
  }
}
/*
|--------------------------------------------------------------------------
| 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;
  }
}
/*
|--------------------------------------------------------------------------
| 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;
  }
}
/*
|--------------------------------------------------------------------------
| 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;
  }
}
/* ==========================================================================
   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;
  }
}
/* ==========================================================================
   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 Picks
   Homepage Editorial Section
   ========================================================================== */
/* ==========================================================================
   Section
   ========================================================================== */
.editorial-picks {
  width: 100%;
  margin-block-end: 3rem;
}

/* ==========================================================================
   Grid
   ========================================================================== */
.editorial-picks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
}

/* ==========================================================================
   Items
   ========================================================================== */
.editorial-picks-item {
  min-width: 0;
  align-self: start;
}

/* Featured spans two rows */
.editorial-picks-item-1 {
  grid-row: 1/span 2;
}

/* ==========================================================================
   Base Editorial Card
   ========================================================================== */
.editorial-picks .article-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: auto;
  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);
}

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

/* ==========================================================================
   Image
   ========================================================================== */
.editorial-picks .article-card-image {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-secondary);
  box-shadow: none;
}

.editorial-picks .article-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.editorial-picks .article-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.55s ease;
}

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

/* ==========================================================================
   Placeholder
   ========================================================================== */
.editorial-picks .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
   ========================================================================== */
.editorial-picks .article-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  min-height: auto;
  padding: 0.9rem 1rem 1rem;
  background: var(--bg-card);
}

/* ==========================================================================
   Category
   ========================================================================== */
.editorial-picks .article-card-category {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 0.4rem;
  padding-inline-start: 0.65rem;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.editorial-picks .article-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%);
}
.editorial-picks .article-card-category:hover {
  color: var(--color-primary-hover);
}

/* ==========================================================================
   Title
   ========================================================================== */
.editorial-picks .article-card-title {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.editorial-picks .article-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.editorial-picks .article-card-title a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Excerpt
   ========================================================================== */
.editorial-picks .article-card-excerpt {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  margin-block: 0.55rem 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ==========================================================================
   Meta
   ========================================================================== */
.editorial-picks .article-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: 100%;
  margin-block-start: 0.65rem;
  padding-block-start: 0.6rem;
  border-block-start: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.63rem;
}

/* ==========================================================================
   Featured Card
   ========================================================================== */
.editorial-picks .article-card--editorial-featured {
  position: relative;
  height: auto;
}

.editorial-picks .article-card--editorial-featured::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  z-index: 2;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
}

.editorial-picks .article-card--editorial-featured .article-card-image {
  aspect-ratio: 16/9;
}

.editorial-picks .article-card--editorial-featured .article-card-content {
  padding: 1rem 1.1rem 1.1rem;
}

.editorial-picks .article-card--editorial-featured .article-card-category {
  font-size: 0.71rem;
  margin-block-end: 0.5rem;
}

.editorial-picks .article-card--editorial-featured .article-card-title {
  font-size: clamp(1.1rem, 1.65vw, 1.5rem);
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.editorial-picks .article-card--editorial-featured .article-card-excerpt {
  margin-block-start: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.85;
}

.editorial-picks .article-card--editorial-featured .article-card-meta {
  margin-block-start: 0.75rem;
}

/* ==========================================================================
   Standard Editorial Cards
   ========================================================================== */
.editorial-picks .article-card--editorial {
  height: auto;
}

.editorial-picks .article-card--editorial .article-card-title {
  font-size: 0.93rem;
  -webkit-line-clamp: 3;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .editorial-picks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .editorial-picks-item-1 {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .editorial-picks .article-card--editorial-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    flex-direction: initial;
    height: auto;
  }
  .editorial-picks .article-card--editorial-featured .article-card-image {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
  }
  .editorial-picks .article-card--editorial-featured .article-card-content {
    align-self: center;
    padding: 1rem;
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .editorial-picks {
    margin-block-end: 2.5rem;
  }
  .editorial-picks-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .editorial-picks .article-card,
  .editorial-picks .article-card--editorial-featured {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
  }
  .editorial-picks .article-card-image,
  .editorial-picks .article-card--editorial-featured .article-card-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .editorial-picks .article-card-content,
  .editorial-picks .article-card--editorial-featured .article-card-content {
    width: 100%;
    padding: 0.85rem 0.9rem 0.95rem;
  }
  .editorial-picks .article-card-title {
    font-size: 0.93rem;
    line-height: 1.6;
  }
  .editorial-picks .article-card--editorial-featured .article-card-title {
    font-size: 1.05rem;
  }
  .editorial-picks .article-card-excerpt {
    font-size: 0.77rem;
    line-height: 1.75;
  }
  .editorial-picks .article-card-meta {
    margin-block-start: 0.6rem;
    padding-block-start: 0.55rem;
    font-size: 0.62rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .editorial-picks-grid {
    gap: 0.75rem;
  }
  .editorial-picks .article-card-content,
  .editorial-picks .article-card--editorial-featured .article-card-content {
    padding: 0.8rem 0.85rem 0.9rem;
  }
  .editorial-picks .article-card-title {
    font-size: 0.9rem;
  }
  .editorial-picks .article-card--editorial-featured .article-card-title {
    font-size: 1rem;
  }
}
/* ==========================================================================
   Dark Mode
   ========================================================================== */
html.dark-mode .editorial-picks .article-card {
  box-shadow: var(--shadow-sm);
}
html.dark-mode .editorial-picks .article-card:hover {
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .editorial-picks .article-card,
  .editorial-picks .article-card-image img {
    transition: none;
  }
}
/**
 * Featured News
 *
 * Editorial-style featured news section.
 *
 * @package Akhbar
 */
/* ==========================================================================
   Section
   ========================================================================== */
.featured-news-section {
  width: 100%;
  margin-block: 2.5rem;
  font-family: var(--font-primary);
}

/* ==========================================================================
   Header
   ========================================================================== */
.featured-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: 1.5rem;
}

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

.featured-news-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  color: var(--white);
  background: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.featured-news-title-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.featured-news-label {
  display: block;
  margin-block-end: 0.15rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.featured-news-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.5;
}

.featured-news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.55rem 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.featured-news-view-all i {
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.featured-news-view-all:hover,
.featured-news-view-all:focus-visible {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.featured-news-view-all:hover i,
.featured-news-view-all:focus-visible i {
  transform: translateX(-0.2rem);
}

/* ==========================================================================
   Main Editorial Grid
   ========================================================================== */
.featured-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* ==========================================================================
   Featured Main Article
   ========================================================================== */
.featured-news-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.featured-news-main-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.featured-news-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.featured-news-main-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-normal);
}

.featured-news-main-link:hover .featured-news-main-thumbnail,
.featured-news-main-link:focus-visible .featured-news-main-thumbnail {
  transform: scale(1.035);
}

.featured-news-main-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  background: var(--bg-secondary);
  font-size: 2.5rem;
}

.featured-news-main-content {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.35rem;
}

.featured-news-category {
  align-self: flex-start;
  margin-block-end: 0.65rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

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

.featured-news-main-title {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: 800;
  line-height: 1.55;
}

.featured-news-main-title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.featured-news-main-title a:hover,
.featured-news-main-title a:focus-visible {
  color: var(--color-primary);
}

.featured-news-main-meta {
  display: flex;
  align-items: center;
  margin-block-start: 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.featured-news-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.featured-news-date i {
  color: var(--color-primary);
  font-size: 0.8rem;
}

.featured-news-main-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-block-start: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ==========================================================================
   Secondary Editorial List
   ========================================================================== */
.featured-news-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.25rem 0;
}

.featured-news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.5rem;
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding-block: 1rem;
  border-block-end: 1px solid var(--border-color);
}

.featured-news-item:first-child {
  padding-block-start: 0.5rem;
}

.featured-news-item:last-child {
  padding-block-end: 0.5rem;
  border-block-end: 0;
}

.featured-news-item-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.featured-news-item-category {
  align-self: flex-start;
  margin-block-end: 0.35rem;
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

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

.featured-news-item-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.65;
}

.featured-news-item-title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

.featured-news-item-meta {
  display: flex;
  align-items: center;
  margin-block-start: 0.45rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.featured-news-item-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.featured-news-item-date i {
  color: var(--color-primary);
  font-size: 0.72rem;
}

.featured-news-item-image {
  display: block;
  width: 7.5rem;
  height: 5.25rem;
  flex: 0 0 7.5rem;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.featured-news-item-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-normal);
}

.featured-news-item-image:hover .featured-news-item-thumbnail,
.featured-news-item-image:focus-visible .featured-news-item-thumbnail {
  transform: scale(1.05);
}

.featured-news-item-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  background: var(--bg-secondary);
  font-size: 1.35rem;
}

/* ==========================================================================
   Dark Mode
   ========================================================================== */
/*
 * The component already uses the global design tokens.
 * No hard-coded background or text colors are required here.
 *
 * html.dark-mode updates:
 * --bg-card
 * --bg-secondary
 * --text-primary
 * --text-secondary
 * --text-muted
 * --border-color
 *
 * Therefore the entire component automatically follows
 * the global dark-mode system.
 */
/* ==========================================================================
   Focus Accessibility
   ========================================================================== */
.featured-news-main-link:focus-visible,
.featured-news-category:focus-visible,
.featured-news-main-title a:focus-visible,
.featured-news-item-category:focus-visible,
.featured-news-item-title a:focus-visible,
.featured-news-item-image:focus-visible,
.featured-news-view-all:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .featured-news-section {
    margin-block: 2rem;
  }
  .featured-news-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 1fr);
    gap: 1.25rem;
  }
  .featured-news-main-content {
    padding: 1.1rem 1.15rem 1.2rem;
  }
  .featured-news-main-title {
    font-size: 1.2rem;
  }
  .featured-news-main-excerpt {
    font-size: 0.8rem;
    line-height: 1.8;
  }
  .featured-news-item {
    grid-template-columns: minmax(0, 1fr) 6.5rem;
    gap: 0.75rem;
    padding-block: 0.85rem;
  }
  .featured-news-item-image {
    width: 6.5rem;
    height: 4.6rem;
    flex-basis: 6.5rem;
  }
  .featured-news-item-title {
    font-size: 0.82rem;
    line-height: 1.6;
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .featured-news-section {
    margin-block: 1.5rem;
  }
  .featured-news-header {
    align-items: flex-end;
    gap: 1rem;
    margin-block-end: 1rem;
  }
  .featured-news-heading {
    gap: 0.65rem;
  }
  .featured-news-icon {
    width: 2.15rem;
    height: 2.15rem;
    flex-basis: 2.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
  }
  .featured-news-label {
    font-size: 0.7rem;
  }
  .featured-news-title {
    font-size: 1.05rem;
  }
  .featured-news-view-all {
    padding: 0.45rem 0.65rem;
    font-size: 0.7rem;
  }
  .featured-news-view-all i {
    font-size: 0.72rem;
  }
  .featured-news-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .featured-news-main {
    border-radius: var(--radius-md);
  }
  .featured-news-main-image {
    aspect-ratio: 16/9;
  }
  .featured-news-main-content {
    padding: 1rem;
  }
  .featured-news-category {
    margin-block-end: 0.5rem;
    font-size: 0.72rem;
  }
  .featured-news-main-title {
    font-size: 1.08rem;
    line-height: 1.6;
  }
  .featured-news-main-excerpt {
    margin-block-start: 0.6rem;
    font-size: 0.78rem;
    line-height: 1.8;
  }
  .featured-news-list {
    padding: 0;
  }
  .featured-news-item {
    grid-template-columns: minmax(0, 1fr) 6.25rem;
    gap: 0.75rem;
    padding-block: 0.85rem;
  }
  .featured-news-item:first-child {
    padding-block-start: 0.25rem;
  }
  .featured-news-item:last-child {
    padding-block-end: 0;
  }
  .featured-news-item-image {
    width: 6.25rem;
    height: 4.4rem;
    flex-basis: 6.25rem;
    border-radius: var(--radius-sm);
  }
  .featured-news-item-category {
    margin-block-end: 0.3rem;
    font-size: 0.65rem;
  }
  .featured-news-item-title {
    font-size: 0.78rem;
    line-height: 1.6;
  }
  .featured-news-item-meta {
    margin-block-start: 0.35rem;
    font-size: 0.65rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 479.98px) {
  .featured-news-header {
    align-items: center;
  }
  .featured-news-title-wrapper {
    max-width: 12rem;
  }
  .featured-news-title {
    font-size: 0.95rem;
  }
  .featured-news-view-all span {
    display: none;
  }
  .featured-news-view-all {
    width: 2rem;
    height: 2rem;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  .featured-news-view-all i {
    font-size: 0.8rem;
  }
  .featured-news-main-content {
    padding: 0.9rem;
  }
  .featured-news-main-title {
    font-size: 1rem;
  }
  .featured-news-main-excerpt {
    display: none;
  }
  .featured-news-item {
    grid-template-columns: minmax(0, 1fr) 5.5rem;
    gap: 0.65rem;
  }
  .featured-news-item-image {
    width: 5.5rem;
    height: 4rem;
    flex-basis: 5.5rem;
  }
  .featured-news-item-title {
    font-size: 0.74rem;
  }
  .featured-news-item-meta {
    font-size: 0.62rem;
  }
}
/* =========================================================
   LATEST NEWS — CLEAN EDITORIAL GRID
========================================================= */
.home-latest {
  --latest-text: var(--text-primary, #20252b);
  --latest-muted: var(--text-muted, #747b83);
  --latest-border: var(--border-color, #e3e6e8);
  --latest-accent: var(--color-primary, #286b63);
  --latest-surface: var(--bg-card, #ffffff);
  width: 100%;
  padding-block: 2.5rem 3.5rem;
  background: var(--bg-body, #ffffff);
  color: var(--latest-text);
}

.home-latest__container {
  width: min(1280px, 100% - 2rem);
  margin-inline: auto;
}

/* Section heading */
.home-latest__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1.1rem;
  padding-block-end: 0.75rem;
  border-block-end: 1px solid var(--latest-border);
}

.home-latest__title {
  margin: 0;
  color: var(--latest-text);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.5;
}

.home-latest__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  color: var(--latest-accent);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-latest__view-all:hover {
  color: var(--text-primary, #20252b);
}

.home-latest__view-all i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.home-latest__view-all:hover i {
  transform: translateX(-2px);
}

/* Main layout:
   The lead story stays on the physical left.
   Secondary grid stays on the physical right.
*/
.home-latest__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "featured secondary";
  align-items: start;
  gap: 1.1rem;
  direction: ltr;
}

.home-latest__featured {
  grid-area: featured;
  min-width: 0;
  direction: rtl;
}

.home-latest__secondary-grid {
  grid-area: secondary;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 1.25rem 1rem;
  min-width: 0;
  direction: rtl;
}

/* Featured story */
.home-latest__featured-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-latest__featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-secondary, #f0f1f2);
}

.home-latest__featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.home-latest__featured-link:hover .home-latest__featured-media img {
  transform: scale(1.025);
}

.home-latest__featured-content {
  padding-block-start: 0.65rem;
}

.home-latest__category {
  display: inline-block;
  max-width: 100%;
  margin-block-end: 0.35rem;
  color: var(--latest-accent);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-latest__featured-title {
  margin: 0;
  color: var(--latest-text);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-latest__featured-link:hover .home-latest__featured-title {
  color: var(--latest-accent);
}

.home-latest__featured-excerpt {
  margin: 0.55rem 0;
  color: var(--latest-muted);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-latest__date {
  display: block;
  margin-block-start: 0.45rem;
  color: var(--latest-muted);
  font-size: 0.69rem;
  line-height: 1.6;
}

/* Four secondary stories */
.home-latest__story {
  min-width: 0;
}

.home-latest__story-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-latest__story-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary, #f0f1f2);
}

.home-latest__story-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.home-latest__story-link:hover .home-latest__story-media img {
  transform: scale(1.035);
}

.home-latest__story-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-block-start: 0.45rem;
}

.home-latest__story-title {
  margin: 0;
  color: var(--latest-text);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-latest__story-link:hover .home-latest__story-title {
  color: var(--latest-accent);
}

.home-latest__story-excerpt {
  margin: 0.35rem 0 0;
  color: var(--latest-muted);
  font-size: 0.75rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-latest__story-content .home-latest__date {
  margin-block-start: auto;
  padding-block-start: 0.45rem;
}

/* Missing featured images */
.home-latest__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  background: var(--bg-secondary, #f0f1f2);
  color: var(--latest-muted);
  font-size: 1.4rem;
}

/* Tablet */
@media (max-width: 991.98px) {
  .home-latest__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0.85rem;
  }
  .home-latest__secondary-grid {
    gap: 1rem 0.75rem;
  }
  .home-latest__featured-title {
    font-size: 1.2rem;
  }
  .home-latest__story-title {
    font-size: 0.8rem;
  }
  .home-latest__story-excerpt {
    font-size: 0.72rem;
  }
}
/* Mobile */
@media (max-width: 767.98px) {
  .home-latest {
    padding-block: 1.75rem 2.5rem;
  }
  .home-latest__container {
    width: calc(100% - 1.25rem);
  }
  .home-latest__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "featured" "secondary";
    gap: 1.25rem;
    direction: rtl;
  }
  .home-latest__featured-media {
    aspect-ratio: 16/9;
  }
  .home-latest__featured-title {
    font-size: 1.2rem;
    line-height: 1.6;
  }
  .home-latest__featured-excerpt {
    font-size: 0.82rem;
  }
  .home-latest__secondary-grid {
    gap: 1rem 0.8rem;
  }
}
/* Small mobile */
@media (max-width: 520px) {
  .home-latest__secondary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .home-latest__story {
    border-block-end: 1px solid var(--latest-border);
  }
  .home-latest__story:last-child {
    border-block-end: 0;
  }
  .home-latest__story-link {
    display: grid;
    grid-template-columns: minmax(100px, 0.85fr) minmax(0, 1.15fr);
    gap: 0.75rem;
    padding-block: 0.85rem;
  }
  .home-latest__story-media {
    aspect-ratio: 4/3;
  }
  .home-latest__story-content {
    padding-block-start: 0;
  }
  .home-latest__story-title {
    font-size: 0.82rem;
    -webkit-line-clamp: 3;
  }
  .home-latest__story-excerpt {
    font-size: 0.72rem;
    -webkit-line-clamp: 2;
  }
  .home-latest__story-content .home-latest__date {
    padding-block-start: 0.3rem;
  }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .home-latest__view-all,
  .home-latest__view-all i,
  .home-latest__featured-media img,
  .home-latest__story-media img,
  .home-latest__featured-title,
  .home-latest__story-title {
    transition: none;
  }
}
/* =========================================================
   SAHRAWI VIDEO JOURNAL
   Responsive Editorial / News App UI
========================================================= */
.home-videos {
  --videos-bg: #142821;
  --videos-panel: #1d342b;
  --videos-panel-hover: #254135;
  --videos-text: #fffdf5;
  --videos-muted: #b8c3ba;
  --videos-accent: #d2a15f;
  --videos-border: rgba(255, 255, 255, 0.12);
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--videos-bg);
  color: var(--videos-text);
}

.home-videos::before,
.home-videos::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
}

.home-videos::before {
  inset-block-start: -14rem;
  inset-inline-end: -8rem;
  background: radial-gradient(circle, rgba(210, 161, 95, 0.12), transparent 70%);
}

.home-videos::after {
  inset-block-end: -14rem;
  inset-inline-start: -8rem;
  background: radial-gradient(circle, rgba(93, 134, 103, 0.12), transparent 70%);
}

/* =========================================================
   CONTAINER
========================================================= */
.home-videos__container {
  position: relative;
  z-index: 1;
  width: min(1280px, 100% - 2rem);
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADER
========================================================= */
.home-videos__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-block-end: 1.5rem;
  padding-block-end: 1.25rem;
  border-block-end: 1px solid var(--videos-border);
}

.home-videos__heading {
  min-width: 0;
}

.home-videos__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  color: var(--videos-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.home-videos__eyebrow > span {
  width: 1.45rem;
  height: 3px;
  border-radius: 999px;
  background: var(--videos-accent);
}

.home-videos__title {
  margin: 0;
  color: var(--videos-text);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.home-videos__description {
  margin: 0.5rem 0 0;
  color: var(--videos-muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* View all */
.home-videos__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  min-height: 2.7rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--videos-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--videos-text);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-videos__view-all i {
  color: var(--videos-accent);
  transition: transform 0.2s ease;
}

.home-videos__view-all:hover {
  background: var(--videos-accent);
  border-color: var(--videos-accent);
  color: var(--videos-bg);
}

.home-videos__view-all:hover i {
  color: var(--videos-bg);
  transform: translateX(-2px);
}

/* =========================================================
   DESKTOP LAYOUT
========================================================= */
.home-videos__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.1rem;
  align-items: stretch;
  direction: rtl;
}

/* =========================================================
   FEATURED VIDEO
========================================================= */
.home-videos__feature {
  position: relative;
  min-width: 0;
  min-height: 390px;
  margin: 0;
  border: 1px solid var(--videos-border);
  border-radius: 18px;
  background: var(--videos-panel);
  overflow: hidden;
}

.home-videos__feature-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  color: inherit;
  text-decoration: none;
}

.home-videos__feature-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--videos-panel);
}

.home-videos__feature-media > img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.home-videos__feature-link:hover .home-videos__feature-media > img {
  transform: scale(1.04);
}

.home-videos__feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 15, 0.02) 0%, rgba(8, 20, 15, 0.08) 35%, rgba(8, 20, 15, 0.72) 68%, rgba(8, 20, 15, 0.97) 100%);
  pointer-events: none;
}

/* Featured content */
.home-videos__feature-content {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.home-videos__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  min-width: 0;
}

.home-videos__category {
  display: inline-block;
  max-width: 100%;
  color: var(--videos-accent);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-videos__date {
  color: var(--videos-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.5;
}

.home-videos__feature-content .home-videos__date {
  color: rgba(255, 253, 245, 0.75);
}

.home-videos__feature-title {
  margin: 0.7rem 0 0;
  color: var(--videos-text);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 850;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-videos__watch-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-start: 0.85rem;
  color: var(--videos-accent);
  font-size: 0.76rem;
  font-weight: 800;
  transition: gap 0.2s ease;
}

.home-videos__feature-link:hover .home-videos__watch-label {
  gap: 0.8rem;
}

/* =========================================================
   PLAY BUTTONS
========================================================= */
.home-videos__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--videos-accent);
  color: var(--videos-bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.home-videos__play--featured {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.3rem;
}

.home-videos__play--small {
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1rem;
}

.home-videos__feature-link:hover .home-videos__play--featured,
.home-videos__story-link:hover .home-videos__play--small {
  background: #fffdf5;
  transform: translate(-50%, -50%) scale(1.06);
}

/* =========================================================
   SECONDARY COLUMN
========================================================= */
.home-videos__secondary {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  min-height: 0;
}

.home-videos__secondary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.home-videos__secondary-heading {
  min-width: 0;
}

.home-videos__secondary-kicker {
  display: block;
  margin-block-end: 0.2rem;
  color: var(--videos-accent);
  font-size: 0.65rem;
  font-weight: 750;
}

.home-videos__secondary-heading h3 {
  margin: 0;
  color: var(--videos-text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
}

.home-videos__swipe-hint {
  display: none;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  color: var(--videos-muted);
  font-size: 0.67rem;
  font-weight: 600;
}

/* =========================================================
   DESKTOP VIDEO RAIL
========================================================= */
.home-videos__rail {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.home-videos__story {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--videos-border);
  border-radius: 13px;
  background: var(--videos-panel);
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-videos__story:hover {
  border-color: rgba(210, 161, 95, 0.45);
  background: var(--videos-panel-hover);
  transform: translateY(-2px);
}

.home-videos__story-link {
  display: grid;
  grid-template-columns: minmax(100px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 105px;
  color: inherit;
  text-decoration: none;
}

.home-videos__story-media {
  position: relative;
  min-width: 0;
  min-height: 105px;
  overflow: hidden;
  background: #294137;
}

.home-videos__story-media > img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.home-videos__story-link:hover .home-videos__story-media > img {
  transform: scale(1.05);
}

.home-videos__story-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 0.75rem 0.85rem;
}

.home-videos__story-title {
  margin: 0.4rem 0 0;
  color: var(--videos-text);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-videos__story-link:hover .home-videos__story-title {
  color: var(--videos-accent);
}

/* =========================================================
   IMAGE FALLBACK
========================================================= */
.home-videos__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 110px;
  background: linear-gradient(145deg, #30493a, #172c23);
  color: var(--videos-accent);
  font-size: 1.7rem;
}

.home-videos__feature .home-videos__placeholder {
  position: absolute;
  inset: 0;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1050px) {
  .home-videos__grid {
    gap: 0.85rem;
  }
  .home-videos__feature,
  .home-videos__feature-link {
    min-height: 350px;
  }
  .home-videos__story-link {
    grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
  }
  .home-videos__story-content {
    padding: 0.65rem 0.7rem;
  }
  .home-videos__story-title {
    font-size: 0.8rem;
  }
}
/* =========================================================
   MOBILE NEWS APP LAYOUT
========================================================= */
@media (max-width: 767.98px) {
  .home-videos {
    padding-block: 2.4rem 2.75rem;
  }
  .home-videos__container {
    width: calc(100% - 1.25rem);
  }
  /* Compact app-style header */
  .home-videos__header {
    align-items: center;
    gap: 0.75rem;
    margin-block-end: 1.15rem;
    padding-block-end: 1rem;
  }
  .home-videos__eyebrow {
    margin-block-end: 0.35rem;
    font-size: 0.67rem;
  }
  .home-videos__title {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
    line-height: 1.35;
  }
  .home-videos__description {
    margin-block-start: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.7;
  }
  .home-videos__view-all {
    gap: 0.35rem;
    min-height: 2.35rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.69rem;
  }
  /* One prominent featured video */
  .home-videos__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
    direction: rtl;
  }
  .home-videos__feature {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16/10;
    border-radius: 15px;
  }
  .home-videos__feature-link {
    min-height: 0;
    height: 100%;
  }
  .home-videos__feature-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }
  .home-videos__feature-content {
    padding: 1rem;
  }
  .home-videos__feature-title {
    margin-block-start: 0.45rem;
    font-size: 1.08rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }
  /* Reduce clutter over the featured image */
  .home-videos__feature-content .home-videos__meta {
    gap: 0.35rem 0.55rem;
  }
  .home-videos__feature-content .home-videos__category,
  .home-videos__feature-content .home-videos__date {
    font-size: 0.64rem;
  }
  .home-videos__feature-content .home-videos__watch-label {
    margin-block-start: 0.55rem;
    font-size: 0.69rem;
  }
  .home-videos__play--featured {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 1.1rem;
  }
  /* Secondary shelf heading */
  .home-videos__secondary {
    gap: 0.7rem;
    min-height: 0;
  }
  .home-videos__secondary-header {
    align-items: center;
    gap: 0.5rem;
    padding-inline: 0.1rem;
  }
  .home-videos__secondary-kicker {
    margin-block-end: 0.1rem;
    font-size: 0.62rem;
  }
  .home-videos__secondary-heading h3 {
    font-size: 0.9rem;
  }
  .home-videos__swipe-hint {
    display: inline-flex;
  }
  /* Horizontal, swipeable video rail */
  .home-videos__rail {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0.15rem 0.05rem 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    direction: rtl;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.05rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }
  .home-videos__rail::-webkit-scrollbar {
    display: none;
  }
  /* Cards are intentionally wider than half the viewport.
  The next card remains partially visible as a swipe cue. */
  .home-videos__story {
    display: block;
    flex: 0 0 77%;
    width: 77%;
    max-width: 310px;
    min-width: 0;
    min-height: 0;
    border-radius: 13px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  .home-videos__story:hover {
    transform: none;
  }
  /* Vertical media card */
  .home-videos__story-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .home-videos__story-media {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16/9;
    flex: 0 0 auto;
  }
  .home-videos__story-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .home-videos__play--small {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 0.95rem;
  }
  .home-videos__story-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 0.75rem 0.8rem 0.85rem;
  }
  .home-videos__story-content .home-videos__meta {
    gap: 0.35rem 0.55rem;
  }
  .home-videos__story-content .home-videos__category,
  .home-videos__story-content .home-videos__date {
    font-size: 0.62rem;
  }
  .home-videos__story-title {
    margin-block-start: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.6;
    -webkit-line-clamp: 2;
  }
  .home-videos__placeholder {
    min-height: 0;
    aspect-ratio: 16/9;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 420px) {
  .home-videos__container {
    width: calc(100% - 1rem);
  }
  .home-videos__header {
    gap: 0.5rem;
  }
  .home-videos__description {
    max-width: 15rem;
    font-size: 0.72rem;
  }
  .home-videos__view-all {
    padding-inline: 0.55rem;
    font-size: 0.66rem;
  }
  .home-videos__feature {
    aspect-ratio: 4/3;
  }
  .home-videos__feature-content {
    padding: 0.85rem;
  }
  .home-videos__feature-title {
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .home-videos__feature-content .home-videos__watch-label {
    margin-block-start: 0.4rem;
  }
  .home-videos__story {
    flex-basis: 82%;
    width: 82%;
  }
  .home-videos__story-title {
    font-size: 0.82rem;
  }
  .home-videos__swipe-hint {
    font-size: 0.61rem;
  }
}
/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */
.home-videos a:focus-visible {
  outline: 2px solid var(--videos-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .home-videos__view-all,
  .home-videos__view-all i,
  .home-videos__feature-media img,
  .home-videos__play,
  .home-videos__watch-label,
  .home-videos__story,
  .home-videos__story-media img,
  .home-videos__story-title {
    transition: none;
  }
  .home-videos__rail {
    scroll-behavior: auto;
  }
}
/* =========================================================
   SAHRAWI CATEGORY SPOTLIGHT
========================================================= */
.home-category-spotlights {
  --spotlight-text: var(--text-primary, #20252b);
  --spotlight-muted: var(--text-muted, #747b83);
  --spotlight-border: var(--border-color, #e3e6e8);
  --spotlight-surface: var(--bg-card, #ffffff);
  --spotlight-page: var(--bg-body, #ffffff);
  background: var(--spotlight-page);
}

/* Each category is a distinct editorial section */
.home-category-spotlight {
  --spotlight-accent: #52717a;
  --spotlight-soft: #eaf0f1;
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  border-block-end: 1px solid var(--spotlight-border);
}

.home-category-spotlight:last-child {
  border-block-end: 0;
}

/* Category-specific accents */
.home-category-spotlight--politics {
  --spotlight-accent: #557384;
  --spotlight-soft: #eaf0f4;
}

.home-category-spotlight--economy {
  --spotlight-accent: #a8793f;
  --spotlight-soft: #f5eee2;
}

.home-category-spotlight--society {
  --spotlight-accent: #4d7864;
  --spotlight-soft: #e8f1eb;
}

/* =========================================================
   CONTAINER
========================================================= */
.home-category-spotlight__container {
  width: min(1280px, 100% - 2rem);
  margin-inline: auto;
}

/* =========================================================
   HEADER
========================================================= */
.home-category-spotlight__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1.25rem;
  padding-block-end: 0.85rem;
  border-block-end: 1px solid var(--spotlight-border);
}

.home-category-spotlight__heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.home-category-spotlight__heading::before {
  content: "";
  display: block;
  width: 4px;
  height: 2.4rem;
  flex: 0 0 4px;
  border-radius: 999px;
  background: var(--spotlight-accent);
}

.home-category-spotlight__eyebrow {
  display: block;
  margin-block-end: 0.1rem;
  color: var(--spotlight-muted);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-category-spotlight__title {
  margin: 0;
  color: var(--spotlight-text);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 850;
  line-height: 1.4;
}

.home-category-spotlight__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  color: var(--spotlight-muted);
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-category-spotlight__view-all i {
  color: var(--spotlight-accent);
  transition: transform 0.2s ease;
}

.home-category-spotlight__view-all:hover {
  color: var(--spotlight-accent);
}

.home-category-spotlight__view-all:hover i {
  transform: translateX(-3px);
}

/* =========================================================
   MAIN GRID
   Desktop: featured story left, compact stories right.
========================================================= */
.home-category-spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.25rem;
  align-items: stretch;
  direction: ltr;
}

/* =========================================================
   FEATURED STORY
========================================================= */
.home-category-spotlight__featured {
  min-width: 0;
  margin: 0;
  background: var(--spotlight-surface);
  direction: rtl;
}

.home-category-spotlight__featured-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-category-spotlight__featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary, #f1f2f4);
}

.home-category-spotlight__featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.45s ease;
}

.home-category-spotlight__featured-link:hover .home-category-spotlight__featured-media img {
  transform: scale(1.035);
}

.home-category-spotlight__featured-body {
  padding: 1rem;
  padding-block-start: 0.8rem;
}

.home-category-spotlight__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  min-width: 0;
}

.home-category-spotlight__category {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  background: var(--spotlight-soft);
  color: var(--spotlight-accent);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-category-spotlight__date {
  display: block;
  color: var(--spotlight-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.6;
}

.home-category-spotlight__featured-title {
  margin: 0.55rem 0 0;
  color: var(--spotlight-text);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 850;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-category-spotlight__featured-link:hover .home-category-spotlight__featured-title {
  color: var(--spotlight-accent);
}

.home-category-spotlight__excerpt {
  max-width: 750px;
  margin: 0.55rem 0 0;
  color: var(--spotlight-muted);
  font-size: 0.82rem;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-category-spotlight__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-start: 0.8rem;
  color: var(--spotlight-accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.home-category-spotlight__read-more i {
  transition: transform 0.2s ease;
}

.home-category-spotlight__featured-link:hover .home-category-spotlight__read-more i {
  transform: translateX(-3px);
}

/* =========================================================
   SECONDARY STORIES
========================================================= */
.home-category-spotlight__stories {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-block-start: 1px solid var(--spotlight-border);
}

.home-category-spotlight__story {
  min-width: 0;
  margin: 0;
  border-block-end: 1px solid var(--spotlight-border);
}

.home-category-spotlight__story:last-child {
  border-block-end: 0;
}

.home-category-spotlight__story-link {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  min-height: 108px;
  padding-block: 0.75rem;
  color: inherit;
  text-decoration: none;
  direction: rtl;
}

.home-category-spotlight__story-media {
  position: relative;
  width: 112px;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-secondary, #f1f2f4);
}

.home-category-spotlight__story-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}

.home-category-spotlight__story-link:hover .home-category-spotlight__story-media img {
  transform: scale(1.045);
}

.home-category-spotlight__story-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.home-category-spotlight__story-title {
  margin: 0.4rem 0 0;
  color: var(--spotlight-text);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-category-spotlight__story-link:hover .home-category-spotlight__story-title {
  color: var(--spotlight-accent);
}

.home-category-spotlight__story-body .home-category-spotlight__date {
  margin-block-start: 0.4rem;
}

/* =========================================================
   IMAGE FALLBACK
========================================================= */
.home-category-spotlight__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: var(--bg-secondary, #f1f2f4);
  color: var(--spotlight-muted);
  font-size: 1.5rem;
}

.home-category-spotlight__placeholder i {
  opacity: 0.6;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 991.98px) {
  .home-category-spotlight {
    padding-block: 2.5rem;
  }
  .home-category-spotlight__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .home-category-spotlight__featured-title {
    font-size: 1.35rem;
  }
  .home-category-spotlight__stories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    -moz-column-gap: 1rem;
         column-gap: 1rem;
    border-block-start: 0;
  }
  .home-category-spotlight__story {
    border-block-end: 1px solid var(--spotlight-border);
  }
  .home-category-spotlight__story:nth-child(odd) {
    border-inline-end: 1px solid var(--spotlight-border);
    padding-inline-end: 0.75rem;
  }
  .home-category-spotlight__story-link {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.65rem;
    min-height: 96px;
  }
  .home-category-spotlight__story-media {
    width: 88px;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {
  .home-category-spotlight {
    padding-block: 2rem;
  }
  .home-category-spotlight__container {
    width: calc(100% - 1.25rem);
  }
  .home-category-spotlight__header {
    gap: 0.65rem;
    margin-block-end: 1rem;
  }
  .home-category-spotlight__heading {
    gap: 0.6rem;
  }
  .home-category-spotlight__heading::before {
    height: 2.1rem;
  }
  .home-category-spotlight__eyebrow {
    font-size: 0.6rem;
  }
  .home-category-spotlight__title {
    font-size: 1.15rem;
  }
  .home-category-spotlight__view-all {
    gap: 0.25rem;
    font-size: 0.68rem;
  }
  .home-category-spotlight__grid {
    gap: 0.85rem;
  }
  .home-category-spotlight__featured-media {
    aspect-ratio: 16/9;
  }
  .home-category-spotlight__featured-title {
    font-size: 1.15rem;
    line-height: 1.65;
  }
  .home-category-spotlight__excerpt {
    font-size: 0.78rem;
  }
  .home-category-spotlight__stories {
    display: flex;
    flex-direction: column;
    border-block-start: 1px solid var(--spotlight-border);
  }
  .home-category-spotlight__story:nth-child(odd) {
    border-inline-end: 0;
    padding-inline-end: 0;
  }
  .home-category-spotlight__story-link {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 100px;
    padding-block: 0.7rem;
  }
  .home-category-spotlight__story-media {
    width: 100px;
    aspect-ratio: 4/3;
  }
  .home-category-spotlight__story-title {
    margin-block-start: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.6;
    -webkit-line-clamp: 3;
  }
  .home-category-spotlight__category {
    font-size: 0.61rem;
  }
  .home-category-spotlight__date {
    font-size: 0.62rem;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
  .home-category-spotlight__container {
    width: calc(100% - 1rem);
  }
  .home-category-spotlight__header {
    align-items: flex-start;
  }
  .home-category-spotlight__view-all {
    max-width: 44%;
    text-align: end;
  }
  .home-category-spotlight__story-link {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.6rem;
  }
  .home-category-spotlight__story-media {
    width: 88px;
  }
  .home-category-spotlight__story-title {
    font-size: 0.76rem;
  }
  .home-category-spotlight__featured-title {
    font-size: 1.05rem;
  }
}
/* =========================================================
   DARK MODE
========================================================= */
html.dark-mode .home-category-spotlight--politics {
  --spotlight-soft: rgba(85, 115, 132, 0.2);
}

html.dark-mode .home-category-spotlight--economy {
  --spotlight-soft: rgba(168, 121, 63, 0.2);
}

html.dark-mode .home-category-spotlight--society {
  --spotlight-soft: rgba(77, 120, 100, 0.2);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.home-category-spotlight a:focus-visible {
  outline: 2px solid var(--spotlight-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .home-category-spotlight__view-all,
  .home-category-spotlight__view-all i,
  .home-category-spotlight__featured-media img,
  .home-category-spotlight__read-more i,
  .home-category-spotlight__story-media img,
  .home-category-spotlight__featured-title,
  .home-category-spotlight__story-title {
    transition: none;
  }
}
.ads-panner img,
.ads-panner2 img {
  width: 60%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

@media (max-width: 768px) {
  .ads-panner {
    width: 100%;
    height: auto;
  }
  .ads-panner img {
    width: 100%;
    height: auto;
  }
}
.ads-panner2 {
  margin: 1rem auto;
}

@media (max-width: 768px) {
  .ads-panner2 {
    width: 100%;
    height: auto;
  }
  .ads-panner2 img {
    width: 100%;
    height: auto;
  }
}
/*
|--------------------------------------------------------------------------
| 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;
  }
}

/* ==========================================================================
   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;
  }
}
/**
 * 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 {
  background: rgba(0, 0, 0, 0.72);
  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;
  }
}

.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;
  }
}
.main-header {
  background-color: var(--color-primary);
  color: var(--white);
}
.main-header .upper-header {
  background-color: var(--color-primary);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--color-primary-hover);
  color: var(--white);
}
.main-header .upper-header .about-us-menu,
.main-header .upper-header .follow-box {
  height: 100%;
}
.main-header .upper-header .about-us-menu ul.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-header .upper-header .about-us-menu ul.menu li.menu-item {
  display: inline-block;
  margin-left: 10px;
}
.main-header .upper-header .about-us-menu ul.menu li.menu-item a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.75rem;
}
.main-header .upper-header .about-us-menu ul.menu li.menu-item a:hover {
  color: var(--white);
}
.main-header .upper-header .follow-box {
  display: flex;
  justify-content: end;
  align-items: center;
}
.main-header .upper-header .follow-box .social-media-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-header .upper-header .follow-box .social-media-icons .follow-text {
  font-size: 0.75rem;
}
.main-header .upper-header .follow-box .social-media-icons li {
  display: inline-block;
  margin-left: 10px;
}
.main-header .upper-header .follow-box .social-media-icons li a {
  text-decoration: none;
  color: var(--white);
}
.main-header .brand-header {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  height: 5rem;
}
.main-header .brand-header .brand-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-header .brand-header .brand-header-content .offcanvas-menu-toggle {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header {
  background-color: var(--color-primary);
  color: var(--white);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header .offcanvas-title {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header .offcanvas-title a {
  text-decoration: none;
  color: var(--white);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header .custom-logo-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header .custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 4rem;
  -o-object-fit: contain;
     object-fit: contain;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body {
  background-color: var(--bg-body);
  color: var(--text-primary);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-title {
  margin: 0;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-title .icon {
  color: var(--color-accent);
  font-size: 1rem;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-title .title {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 1rem 0;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-title .line-divider {
  background-color: var(--color-accent);
  display: block;
  width: 5rem;
  height: 3px;
  margin-top: 0.25rem;
  margin-right: 1.5rem;
  border-radius: 5px;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu {
  list-style: none;
  margin: 1rem 0 2rem 0;
  background-color: var(--bg-secondary);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item {
  display: block;
  margin: 0;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item a {
  display: block;
  padding: 0.25rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item a:hover {
  color: var(--color-accent);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons {
  list-style: none;
  margin: 1rem 0;
  background-color: var(--bg-secondary);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .facebook,
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .twitter,
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .instagram,
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .youtube {
  padding: 0.25rem 0.75rem;
  width: 33.334%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .facebook a,
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .twitter a,
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .instagram a,
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .youtube a {
  color: var(--white);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .facebook {
  background-color: var(--facebook-color);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .twitter {
  background-color: var(--twitter-color);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .instagram {
  background: var(--instagram-color);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .youtube {
  background-color: var(--youtube-color);
}
.main-header .brand-header .brand-header-content .logo-box {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 0;
  line-height: 1;
}
.main-header .brand-header .brand-header-content .logo-box a {
  text-decoration: none;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}
.main-header .brand-header .brand-header-content .logo-box a:hover {
  color: var(--text-secondary);
}
.main-header .brand-header .brand-header-content .logo-box a img {
  max-width: 3rem;
  height: auto;
}
.main-header .brand-header .brand-header-content .cats-menu {
  display: flex;
  justify-content: end;
  align-items: center;
  height: 100%;
}
.main-header .brand-header .brand-header-content .cats-menu ul.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.main-header .brand-header .brand-header-content .cats-menu ul.menu li.menu-item a {
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.main-header .brand-header .brand-header-content .cats-menu ul.menu li.menu-item a:hover {
  color: var(--text-secondary);
}
.main-header .brand-header .brand-header-content .search-themeswitch-box {
  display: flex;
  justify-content: end;
  align-items: center;
  height: 100%;
}
.main-header .brand-header .brand-header-content .search-themeswitch-box .search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-header .brand-header .brand-header-content .search-themeswitch-box .search-box input {
  border: none;
  outline: none;
  background-color: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.main-header .brand-header .brand-header-content .search-themeswitch-box .search-box input:focus {
  border-bottom: 1px solid var(--text-secondary);
}
.main-header .brand-header .brand-header-content .search-themeswitch-box .search-box button {
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--text-secondary);
  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;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-header);
}
.main-header .brand-header .brand-header-content .search-themeswitch-box .search-box button:hover {
  color: var(--text-secondary);
}

/* =========================================================
   MOBILE NEWS NAVIGATION — RED EDITORIAL UI
   Uses existing Bootstrap Offcanvas markup
========================================================= */
.main-header .brand-header .brand-header-content .offcanvas.offcanvas-end {
  --bs-offcanvas-width: min(400px, 92vw);
  background: var(--bg-body);
  color: var(--text-primary);
  border: 0;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.16);
}
.main-header .brand-header .brand-header-content {
  /* Menu trigger */
}
.main-header .brand-header .brand-header-content .offcanvas-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.main-header .brand-header .brand-header-content .offcanvas-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}
.main-header .brand-header .brand-header-content .offcanvas-menu-toggle:active {
  transform: scale(0.96);
}
.main-header .brand-header .brand-header-content .offcanvas-menu-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.main-header .brand-header .brand-header-content {
  /* Header */
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #fff;
  border-bottom: 0;
}
.main-header .brand-header .brand-header-content .offcanvas-brand {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header .offcanvas-title {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.4;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-header .offcanvas-title a {
  color: inherit;
  text-decoration: none;
}
.main-header .brand-header .brand-header-content .offcanvas-brand-subtitle {
  margin-block-start: 0.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 500;
}
.main-header .brand-header .brand-header-content .offcanvas-close {
  display: grid;
  flex: 0 0 2.45rem;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.main-header .brand-header .brand-header-content .offcanvas-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(90deg);
}
.main-header .brand-header .brand-header-content {
  /* Scrollable body */
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body {
  padding: 1.1rem;
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.main-header .brand-header .brand-header-content {
  /* Section headings */
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body > .offcanvas-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.2rem 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body > .offcanvas-title:first-child {
  margin-top: 0;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body > .offcanvas-title .icon {
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.85rem;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body > .offcanvas-title .title {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body > .offcanvas-title .line-divider {
  display: block;
  flex: 1;
  width: auto;
  height: 1px;
  margin: 0;
  border-radius: 999px;
  background: var(--border-color);
}
.main-header .brand-header .brand-header-content {
  /* WordPress menu card */
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu {
  width: 100%;
  margin-block-end: 1.15rem;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 13px;
  overflow: hidden;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item:last-child {
  border-bottom: 0;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item > a::after {
  content: "←";
  display: grid;
  flex: 0 0 1.7rem;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 0.75rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item > a:hover {
  background: var(--bg-secondary);
  color: var(--color-primary);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item > a:hover::after {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item.current-menu-item > a, .main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item.current-menu-ancestor > a {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item.current-menu-item > a::after, .main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .offcanvas-menu ul.menu li.menu-item.current-menu-ancestor > a::after {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.main-header .brand-header .brand-header-content {
  /* Social links */
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border-radius: 0;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 3rem;
  min-height: 2.8rem;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  transition: transform 0.2s ease;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons li:hover {
  transform: translateY(-2px);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1.8rem;
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .facebook {
  background: var(--facebook-color);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .twitter {
  background: var(--twitter-color);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .instagram {
  background: var(--instagram-color);
}
.main-header .brand-header .brand-header-content .offcanvas .offcanvas-body .social-media-icons .youtube {
  background: var(--youtube-color);
}

/* Dark mode */
html.dark-mode .main-header .brand-header .brand-header-content .offcanvas.offcanvas-end {
  background: var(--bg-body);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

/* Small screens */
@media (max-width: 380px) {
  .main-header .brand-header .brand-header-content .offcanvas .offcanvas-body {
    padding: 0.85rem;
  }
  .main-header .brand-header .brand-header-content .offcanvas .offcanvas-header {
    padding: 1rem 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-header .brand-header .brand-header-content .offcanvas *,
  .main-header .brand-header .brand-header-content .offcanvas *::before,
  .main-header .brand-header .brand-header-content .offcanvas *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* ==========================================
   OFFCANVAS TOGGLE — RESPONSIVE VISIBILITY
   ========================================== */
/* Hide menu toggle on large screens */
@media (min-width: 992px) {
  .main-header .brand-header .brand-header-content .offcanvas-menu-toggle {
    display: none !important;
  }
}
/* Show menu toggle on mobile and tablet */
@media (max-width: 991.98px) {
  .main-header .brand-header .brand-header-content .offcanvas-menu-toggle {
    display: inline-flex !important;
  }
}
/* =========================================================
   AL3OMK SAHRAWI — SITE FOOTER
========================================================= */
.site-footer {
  --footer-bg: #142821;
  --footer-bg-bottom: #0e1d17;
  --footer-surface: rgba(255, 255, 255, 0.045);
  --footer-border: rgba(255, 255, 255, 0.11);
  --footer-text: #fffdf5;
  --footer-muted: #b8c3ba;
  --footer-subtle: #87958a;
  --footer-accent: #d2a15f;
  position: relative;
  width: 100%;
  margin-block-start: 0;
  background: var(--footer-bg);
  color: var(--footer-text);
}

/* =========================================================
   MAIN FOOTER
========================================================= */
.site-footer__main {
  position: relative;
  isolation: isolate;
  /* Prevent decorative elements from widening the page */
  overflow: clip;
  padding-block: clamp(3rem, 5vw, 4.5rem) 3rem;
  background: linear-gradient(135deg, #142821 0%, #193027 52%, #12251d 100%);
}

.site-footer__main::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--footer-accent), rgba(210, 161, 95, 0.15) 75%, transparent);
  pointer-events: none;
}

.site-footer__main::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -10rem;
  inset-block-end: -12rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 161, 95, 0.08), transparent 70%);
  pointer-events: none;
}

/* =========================================================
   CONTAINER
========================================================= */
.site-footer__container {
  width: min(1280px, 100% - 2rem);
  margin-inline: auto;
}

/* =========================================================
   FOUR-COLUMN GRID
========================================================= */
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 2.25rem;
  align-items: start;
}

.site-footer__brand,
.site-footer__column {
  min-width: 0;
}

/* =========================================================
   BRAND
========================================================= */
.site-footer__branding {
  display: flex;
  align-items: center;
  margin-block-end: 1rem;
}

.site-footer__branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.site-footer__branding .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(220px, 100%);
  max-height: 4rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.site-footer__site-name {
  display: inline-flex;
  align-items: center;
  color: var(--footer-text);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__site-name:hover {
  color: var(--footer-accent);
}

.site-footer__description {
  max-width: 23rem;
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.8rem;
  font-weight: 450;
  line-height: 1.95;
}

/* =========================================================
   SOCIAL LINKS
========================================================= */
.site-footer__social {
  margin-block-start: 1.5rem;
}

.site-footer__social-title {
  margin: 0 0 0.7rem;
  color: var(--footer-text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}

.site-footer__social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--footer-border);
  border-radius: 50%;
  background: var(--footer-surface);
  color: var(--footer-muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover {
  transform: translateY(-3px);
  border-color: var(--footer-accent);
  background: var(--footer-accent);
  color: var(--footer-bg);
}

/* =========================================================
   COLUMN HEADINGS
========================================================= */
.site-footer__heading {
  position: relative;
  margin: 0 0 1rem;
  padding-block-end: 0.75rem;
  color: var(--footer-text);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.5;
}

.site-footer__heading::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 2.5rem;
  height: 2px;
  border-radius: 999px;
  background: var(--footer-accent);
}

/* =========================================================
   FOOTER NAVIGATION
========================================================= */
.site-footer__navigation {
  min-width: 0;
}

.site-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  border-block-end: 1px solid var(--footer-border);
}

.site-footer__menu > li:last-child {
  border-block-end: 0;
}

.site-footer__menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 2.65rem;
  padding-block: 0.6rem;
  color: var(--footer-muted);
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__menu > li > a::after {
  content: "←";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  border: 1px solid var(--footer-border);
  border-radius: 50%;
  background: var(--footer-surface);
  color: var(--footer-accent);
  font-size: 0.78rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer__menu > li > a:hover {
  color: var(--footer-text);
  transform: translateX(-2px);
}

.site-footer__menu > li > a:hover::after {
  background: var(--footer-accent);
  border-color: var(--footer-accent);
  color: var(--footer-bg);
  transform: translateX(-2px);
}

.site-footer__menu .current-menu-item > a,
.site-footer__menu .current-menu-ancestor > a {
  color: var(--footer-text);
}

/* Avoid bullets or arrows on nested links */
.site-footer__menu .sub-menu {
  margin: 0;
  padding: 0.3rem 0.8rem 0.6rem;
  list-style: none;
  border-block-start: 1px solid var(--footer-border);
}

.site-footer__menu .sub-menu li {
  margin: 0;
  padding: 0;
}

.site-footer__menu .sub-menu a {
  display: block;
  padding-block: 0.45rem;
  color: var(--footer-subtle);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__menu .sub-menu a:hover {
  color: var(--footer-accent);
}

/* =========================================================
   CATEGORIES
========================================================= */
.site-footer__category-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__category-item {
  margin: 0;
  padding: 0;
  border-block-end: 1px solid var(--footer-border);
}

.site-footer__category-item:last-child {
  border-block-end: 0;
}

.site-footer__category-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding-block: 0.65rem;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__category-name {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.site-footer__category-count {
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  border: 1px solid var(--footer-border);
  border-radius: 5px;
  background: var(--footer-surface);
  color: var(--footer-subtle);
  font-size: 0.65rem;
  font-weight: 700;
}

.site-footer__category-arrow {
  flex-shrink: 0;
  color: var(--footer-accent);
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__category-link:hover {
  color: var(--footer-text);
  transform: translateX(-2px);
}

.site-footer__category-link:hover .site-footer__category-arrow {
  color: var(--footer-text);
  transform: translateX(-3px);
}

/* =========================================================
   LATEST NEWS
========================================================= */
.site-footer__latest-list {
  display: flex;
  flex-direction: column;
}

.site-footer__latest-item {
  min-width: 0;
  border-block-end: 1px solid var(--footer-border);
}

.site-footer__latest-item:last-child {
  border-block-end: 0;
}

.site-footer__latest-link {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding-block: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.site-footer__latest-image {
  position: relative;
  width: 84px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--footer-panel, #203a2e);
}

.site-footer__latest-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}

.site-footer__latest-link:hover .site-footer__latest-image img {
  transform: scale(1.06);
}

.site-footer__latest-image > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--footer-accent);
  font-size: 1.1rem;
}

.site-footer__latest-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-footer__latest-title {
  margin: 0;
  color: var(--footer-text);
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s ease;
}

.site-footer__latest-link:hover .site-footer__latest-title {
  color: var(--footer-accent);
}

.site-footer__latest-date {
  margin-block-start: 0.3rem;
  color: var(--footer-subtle);
  font-size: 0.65rem;
  line-height: 1.5;
}

/* =========================================================
   EMPTY STATES
========================================================= */
.site-footer__empty {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.78rem;
  line-height: 1.85;
}

.site-footer__empty a {
  color: var(--footer-accent);
  text-underline-offset: 3px;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */
.site-footer__bottom {
  background: var(--footer-bg-bottom);
  border-block-start: 1px solid var(--footer-border);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 1rem;
}

.site-footer__copyright {
  margin: 0;
  color: var(--footer-subtle);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.8;
}

.site-footer__copyright a {
  color: var(--footer-text);
  font-weight: 750;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__copyright a:hover {
  color: var(--footer-accent);
}

.site-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer__legal a {
  color: var(--footer-subtle);
  font-size: 0.68rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: var(--footer-text);
}

/* =========================================================
   BACK TO TOP
========================================================= */
.site-footer__back-to-top {
  position: fixed;
  z-index: 1000;
  inset-inline-end: 1.15rem;
  inset-block-end: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: var(--footer-accent);
  color: var(--footer-bg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.site-footer__back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer__back-to-top:hover {
  background: #fffdf5;
  transform: translateY(-3px);
}

.site-footer__back-to-top:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
}

/* =========================================================
   LARGE TABLET
========================================================= */
@media (max-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }
  .site-footer__description {
    max-width: 28rem;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {
  .site-footer__main {
    padding-block: 2.5rem 2rem;
  }
  .site-footer__container {
    width: calc(100% - 1.5rem);
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .site-footer__brand {
    padding-block-end: 1.2rem;
    border-block-end: 1px solid var(--footer-border);
  }
  .site-footer__branding .custom-logo {
    max-width: 190px;
    max-height: 3.3rem;
  }
  .site-footer__description {
    max-width: 34rem;
    font-size: 0.78rem;
  }
  .site-footer__social {
    margin-block-start: 1.1rem;
  }
  .site-footer__heading {
    margin-block-end: 0.8rem;
    font-size: 0.9rem;
  }
  .site-footer__latest-link {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.8rem;
  }
  .site-footer__latest-image {
    width: 92px;
  }
  .site-footer__latest-title {
    font-size: 0.8rem;
  }
  .site-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding-block: 1.1rem;
  }
  .site-footer__legal {
    gap: 0.65rem 1rem;
  }
  .site-footer__copyright,
  .site-footer__legal a {
    font-size: 0.65rem;
  }
  .site-footer__back-to-top {
    inset-inline-end: 0.8rem;
    inset-block-end: 0.8rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
  .site-footer__container {
    width: calc(100% - 1.1rem);
  }
  .site-footer__grid {
    gap: 1.5rem;
  }
  .site-footer__latest-link {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 0.65rem;
  }
  .site-footer__latest-image {
    width: 78px;
  }
  .site-footer__latest-title {
    font-size: 0.74rem;
  }
}
@media (max-width: 767.98px) {
  .site-footer__main::after {
    inset-inline-end: -3rem;
    inset-block-end: -4rem;
    width: 14rem;
    height: 14rem;
  }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* ==========================================================================
   Homepage Hero
   Editorial Carousel + Trending
   ========================================================================== */
/* ==========================================================================
   Hero Wrapper
   ========================================================================== */
/* ==========================================================================
   Hero Container
   ========================================================================== */
.home-hero-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 0.75rem;
}

/* ==========================================================================
   Hero Container — Small
   ========================================================================== */
@media (min-width: 576px) {
  .home-hero-container {
    padding-inline: 1rem;
  }
}
/* ==========================================================================
   Hero Container — Tablet
   ========================================================================== */
@media (min-width: 768px) {
  .home-hero-container {
    padding-inline: 1.25rem;
  }
}
/* ==========================================================================
   Hero Container — Medium / Tablet Landscape
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .home-hero-container {
    width: calc(100% - 2rem);
    max-width: 1180px;
    padding-inline: 0;
  }
}
/* ==========================================================================
   Hero Container — Desktop
   ========================================================================== */
@media (min-width: 1200px) {
  .home-hero-container {
    width: calc(100% - 2rem);
    max-width: 1180px;
    padding-inline: 0;
  }
}
/* ==========================================================================
   Hero Container — Large Desktop
   ========================================================================== */
@media (min-width: 1400px) {
  .home-hero-container {
    max-width: 1320px;
  }
}
/* ==========================================================================
   Hero Wrapper
   ========================================================================== */
.home-hero {
  position: relative;
  width: 100%;
  margin-block: 1rem 2.75rem;
}

/* ==========================================================================
   Hero Grid
   ========================================================================== */
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

/* ==========================================================================
   Story Area
   ========================================================================== */
.home-hero-story {
  min-width: 0;
}

/* ==========================================================================
   Carousel
   ========================================================================== */
.home-hero-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  background: transparent;
}
.home-hero-carousel .carousel-inner {
  width: 100%;
}

/* ==========================================================================
   Slide
   ========================================================================== */
.home-hero-slide {
  width: 100%;
  min-width: 0;
  background: transparent;
}

/* ==========================================================================
   Slide Card
   ========================================================================== */
.home-hero-slide-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.home-hero-slide-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Image Link
   ========================================================================== */
.home-hero-slide-image-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.home-hero-slide-image-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Image
   ========================================================================== */
.home-hero-slide-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}
.home-hero-slide-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.7s ease;
}

/* ==========================================================================
   Image Hover
   ========================================================================== */
.home-hero-slide-card:hover .home-hero-slide-image img {
  transform: scale(1.03);
}

/* ==========================================================================
   Placeholder
   ========================================================================== */
.home-hero-slide-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: 3rem;
}

/* ==========================================================================
   Editorial Panel
   ========================================================================== */
.home-hero-slide-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding-block: 1.15rem 1.3rem;
  padding-inline: 1.35rem;
  background: var(--bg-card);
}

/* ==========================================================================
   Panel Top
   ========================================================================== */
.home-hero-slide-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  margin-block-end: 0.65rem;
}

/* ==========================================================================
   Category
   ========================================================================== */
.home-hero-slide-category {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 70%;
  padding-inline-start: 0.7rem;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.home-hero-slide-category::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  width: 0.3rem;
  height: 0.3rem;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
}
.home-hero-slide-category:hover {
  color: var(--color-primary-hover);
  transform: translateX(-2px);
}

/* ==========================================================================
   Slide Counter
   ========================================================================== */
.home-hero-slide-counter {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.25rem;
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}
.home-hero-slide-counter span {
  opacity: 0.45;
}

/* ==========================================================================
   Title
   ========================================================================== */
.home-hero-slide-title {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.25rem, 1.9vw, 1.8rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -0.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.home-hero-slide-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.home-hero-slide-title a:hover {
  color: var(--color-primary);
}
.home-hero-slide-title a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   Meta
   ========================================================================== */
.home-hero-slide-meta {
  display: flex;
  align-items: center;
  margin-block-start: 0.65rem;
}

.home-hero-slide-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
}
.home-hero-slide-date i {
  color: var(--color-primary);
  font-size: 0.72rem;
}

/* ==========================================================================
   Carousel Indicators
   ========================================================================== */
.home-hero-indicators {
  position: absolute;
  z-index: 10;
  inset-inline-start: 1.35rem;
  inset-block-end: 1.25rem;
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  gap: 0.3rem;
}

.home-hero-indicators button {
  width: 1.2rem;
  height: 0.2rem;
  margin: 0;
  padding: 0;
  background: var(--border-color);
  border: 0;
  border-radius: 999px;
  opacity: 1;
  transition: width var(--transition-fast), background-color var(--transition-fast);
}
.home-hero-indicators button:hover {
  background: var(--text-muted);
}
.home-hero-indicators button.active {
  width: 2.5rem;
  background: var(--color-primary);
}

/* ==========================================================================
   Carousel Controls
   ========================================================================== */
.home-hero-controls {
  position: absolute;
  z-index: 10;
  inset-inline-end: 1.35rem;
  inset-block-end: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.home-hero-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.home-hero-control:hover {
  color: var(--white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 5px 14px rgba(198, 40, 40, 0.18);
  transform: translateY(-1px);
}
.home-hero-control:active {
  transform: translateY(0);
}
.home-hero-control:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Trending
   ========================================================================== */
.home-hero-trending {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Trending Header
   ========================================================================== */
.home-hero-trending-header {
  padding-block: 1rem 0.9rem;
  padding-inline: 1rem;
  border-block-end: 1px solid var(--border-color);
}

.home-hero-trending-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.home-hero-trending-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.3rem;
  width: 2.3rem;
  height: 2.3rem;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 0.7rem;
  box-shadow: 0 5px 14px rgba(198, 40, 40, 0.18);
  font-size: 0.9rem;
}

.home-hero-trending-kicker {
  display: block;
  margin-block-end: 0.1rem;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.25;
}

.home-hero-trending-title {
  display: block;
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.45;
}

/* ==========================================================================
   Trending List
   ========================================================================== */
.home-hero-trending-list {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-width: 0;
}

/* ==========================================================================
   Trending Item
   ========================================================================== */
.home-hero-trending-item {
  position: relative;
  min-width: 0;
  border-block-end: 1px solid var(--border-color);
}
.home-hero-trending-item:last-child {
  border-block-end: 0;
}

/* ==========================================================================
   Trending Link
   ========================================================================== */
.home-hero-trending-link {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  padding-block: 0.9rem;
  padding-inline: 1rem;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--transition-fast), padding-inline-start var(--transition-fast);
}
.home-hero-trending-link:hover {
  background: var(--bg-secondary);
}
.home-hero-trending-link:hover .home-hero-trending-number {
  color: var(--color-primary);
}
.home-hero-trending-link:hover .home-hero-trending-story-title {
  color: var(--color-primary);
}
.home-hero-trending-link:hover .home-hero-trending-arrow {
  opacity: 1;
  transform: translateX(-2px);
}
.home-hero-trending-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

/* ==========================================================================
   Number
   ========================================================================== */
.home-hero-trending-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-block-start: 0.05rem;
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

/* ==========================================================================
   Content
   ========================================================================== */
.home-hero-trending-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-inline-end: 1.4rem;
}

/* ==========================================================================
   Category
   ========================================================================== */
.home-hero-trending-category {
  display: block;
  max-width: 100%;
  margin-block-end: 0.2rem;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Story Title
   ========================================================================== */
.home-hero-trending-story-title {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color var(--transition-fast);
}

/* ==========================================================================
   Time
   ========================================================================== */
.home-hero-trending-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: -moz-fit-content;
  width: fit-content;
  margin-block-start: 0.35rem;
  color: var(--text-muted);
  font-size: 0.61rem;
  font-weight: 500;
  line-height: 1.4;
}
.home-hero-trending-time i {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 0.62rem;
}

/* ==========================================================================
   Arrow
   ========================================================================== */
.home-hero-trending-arrow {
  position: absolute;
  inset-inline-end: 1rem;
  inset-block-start: 50%;
  color: var(--text-muted);
  font-size: 0.7rem;
  opacity: 0.45;
  transform: translateY(-50%);
  transition: color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

/* ==========================================================================
   Empty State
   ========================================================================== */
.home-hero-trending-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 12rem;
  padding: 2rem 1rem;
  color: var(--text-muted);
  text-align: center;
}
.home-hero-trending-empty i {
  color: var(--color-primary);
  font-size: 1.5rem;
}
.home-hero-trending-empty span {
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   Medium Desktop
   992px - 1199px
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .home-hero-trending-header {
    padding-inline: 0.9rem;
  }
  .home-hero-trending-link {
    padding-block: 0.8rem;
    padding-inline: 0.9rem;
    gap: 0.6rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 1.25rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.77rem;
    line-height: 1.55;
  }
  .home-hero-trending-category {
    font-size: 0.58rem;
  }
  .home-hero-trending-time {
    font-size: 0.57rem;
  }
  .home-hero-trending-arrow {
    inset-inline-end: 0.85rem;
  }
}
/* ==========================================================================
   Tablet
   768px - 991px
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .home-hero-trending-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-hero-trending-item:nth-child(odd) {
    border-inline-end: 1px solid var(--border-color);
  }
  .home-hero-trending-item:nth-last-child(-n+2) {
    border-block-end: 0;
  }
  .home-hero-trending-link {
    min-height: 7rem;
    padding-block: 0.85rem;
    padding-inline: 0.9rem;
    gap: 0.6rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 1.1rem;
  }
  .home-hero-trending-number {
    font-size: 0.7rem;
  }
  .home-hero-trending-category {
    font-size: 0.58rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.75rem;
    line-height: 1.55;
  }
  .home-hero-trending-time {
    font-size: 0.57rem;
  }
  .home-hero-trending-arrow {
    inset-inline-end: 0.75rem;
  }
}
/* ==========================================================================
   Mobile
   Under 768px
   ========================================================================== */
@media (max-width: 767.98px) {
  .home-hero-trending {
    border-radius: var(--radius-md);
  }
  .home-hero-trending-header {
    padding-block: 0.85rem;
    padding-inline: 0.9rem;
  }
  .home-hero-trending-icon {
    flex-basis: 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    font-size: 0.8rem;
  }
  .home-hero-trending-kicker {
    font-size: 0.58rem;
  }
  .home-hero-trending-title {
    font-size: 0.94rem;
  }
  /* IMPORTANT:
  Mobile is always one column. */
  .home-hero-trending-list {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-hero-trending-item:nth-child(odd) {
    border-inline-end: 0;
  }
  .home-hero-trending-item:nth-last-child(-n+2) {
    border-block-end: 1px solid var(--border-color);
  }
  .home-hero-trending-item:last-child {
    border-block-end: 0;
  }
  .home-hero-trending-link {
    grid-template-columns: 2rem minmax(0, 1fr);
    min-height: auto;
    padding-block: 0.8rem;
    padding-inline: 0.9rem;
    gap: 0.55rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 1.1rem;
  }
  .home-hero-trending-number {
    font-size: 0.68rem;
  }
  .home-hero-trending-category {
    font-size: 0.57rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.76rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }
  .home-hero-trending-time {
    font-size: 0.58rem;
  }
  .home-hero-trending-arrow {
    inset-inline-end: 0.8rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .home-hero-trending-header {
    padding-inline: 0.8rem;
  }
  .home-hero-trending-link {
    padding-inline: 0.8rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 1rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.75rem;
  }
  .home-hero-trending-arrow {
    inset-inline-end: 0.7rem;
  }
}
/* ==========================================================================
   Dark Mode
   ========================================================================== */
html.dark-mode .home-hero-trending-icon {
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.16);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .home-hero-trending-link,
  .home-hero-trending-number,
  .home-hero-trending-story-title,
  .home-hero-trending-arrow {
    transition: none;
  }
}
@media (max-width: 576px) {
  .main-header .brand-header .brand-header-content .offcanvas-menu-toggle {
    display: inline-flex;
  }
  .main-header .upper-header {
    display: none;
  }
  .main-header .brand-header {
    height: 3.6rem;
  }
  .main-header .brand-header .brand-header-content .offcanvas-menu-toggle {
    display: block;
  }
  .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;
  }
}
.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;
}

.video-section {
  padding: 1rem;
  margin-top: 1rem;
}
.video-section .section-heading {
  margin-bottom: 2rem;
}
.video-section .video-card {
  background-color: var(--bg-card);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.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;
  }
}
.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 {
  margin-top: 4rem;
}
.single-page .single-post .single-header {
  margin-bottom: 2rem;
}
.single-page .single-post .single-header .breadcrumb-nav {
  margin-bottom: 2rem;
  margin-top: -1rem;
}
.single-page .single-post .single-header .post-category {
  font-size: 0.8rem;
  color: var(--white);
  background-color: var(--color-accent);
  padding: 2px 14px;
  margin-bottom: 1rem;
  display: inline-block;
  border-radius: 4px;
}
.single-page .single-post .single-header .single-title {
  font-size: 2.25rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.single-page .single-post .single-header .post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.single-page .single-post .single-header .post-meta .meta-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.single-page .single-post .single-header .post-meta .meta-author .photo {
  border-radius: 50%;
  border: 2px solid var(--color-primary);
}
.single-page .single-post .single-header .post-meta .meta-author .author-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.3s ease;
  text-decoration: none;
}
.single-page .single-post .single-header .post-meta .meta-author .author-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.single-page .single-post .single-header .post-meta .meta-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.single-page .single-post .single-header .post-meta .meta-info .meta-date,
.single-page .single-post .single-header .post-meta .meta-info .meta-reading-time,
.single-page .single-post .single-header .post-meta .meta-info .post-views {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.single-page .single-post .single-header .post-meta .meta-info .meta-date .fa-calendar,
.single-page .single-post .single-header .post-meta .meta-info .meta-date .fa-book-open,
.single-page .single-post .single-header .post-meta .meta-info .meta-date .fa-eye,
.single-page .single-post .single-header .post-meta .meta-info .meta-reading-time .fa-calendar,
.single-page .single-post .single-header .post-meta .meta-info .meta-reading-time .fa-book-open,
.single-page .single-post .single-header .post-meta .meta-info .meta-reading-time .fa-eye,
.single-page .single-post .single-header .post-meta .meta-info .post-views .fa-calendar,
.single-page .single-post .single-header .post-meta .meta-info .post-views .fa-book-open,
.single-page .single-post .single-header .post-meta .meta-info .post-views .fa-eye {
  color: var(--color-primary);
  font-size: 0.9rem;
}
.single-page .single-post .single-header .post-thumbnail {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.single-page .single-post .single-header .post-thumbnail img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: 0.4s ease;
  border-radius: 6px;
}
.single-page .single-post .single-header .post-thumbnail img:hover {
  transform: scale(1.02);
}
.single-page .single-post .single-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.single-page .single-post .single-content p {
  margin-bottom: 1rem;
  font-weight: 500;
}
.single-page .single-post .single-footer {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.single-page .single-post .single-footer .post-tags {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.single-page .single-post .single-footer .post-tags .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.single-page .single-post .single-footer .post-tags .tag-link {
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 2px solid var(--color-primary);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  text-decoration: none;
  transition: 0.3s ease;
}
.single-page .single-post .single-footer .post-tags .tag-link:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.single-page .single-post .single-footer .post-share {
  margin-top: 2rem;
  padding-top: 1rem;
}
.single-page .single-post .single-footer .post-share .share-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.single-page .single-post .single-footer .post-share .share-btn {
  border-bottom: 3px solid var(--color-accent);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: 0.3s ease;
}
.single-page .single-post .single-footer .post-share .share-btn:hover {
  border-bottom: 0;
  transform: translateY(-3px);
  background-color: var(--color-primary);
  color: #fff;
}
.single-page .single-post .single-footer .post-share .copy-link {
  border-bottom: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.single-page .single-post .single-footer .post-share .copy-link:hover {
  border-bottom: 0;
}
.single-page .single-post .single-footer .post-share .copy-link .copy-text {
  font-size: 0.9rem;
}
.single-page .single-post .single-footer .post-share .copy-link.copied {
  background-color: #22c55e;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}
.single-page .related-posts {
  margin-top: 3rem;
}
.single-page .more-news-section {
  margin-top: 2rem;
}
/* ==========================================================================
   Tablet
   ========================================================================== */
/* ==========================================================================
Mobile
========================================================================== */
@media (max-width: 767.98px) {
  .single-page {
    margin-top: 2rem;
  }
  .single-page .single-post .single-header {
    margin-bottom: 2rem;
  }
  .single-page .single-post .single-header .breadcrumb-nav {
    margin-bottom: 1rem;
    margin-top: 0rem;
  }
  .single-page .single-post .single-header .post-category {
    font-size: 0.8rem;
    color: var(--white);
    background-color: var(--color-accent);
    padding: 2px 14px;
    margin-bottom: 1rem;
    display: inline-block;
    border-radius: 4px;
  }
  .single-page .single-post .single-header .single-title {
    font-size: 1.25rem;
    line-height: 1.67;
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
  .single-page .single-post .single-header .post-meta {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-bottom: 1rem;
    flex-direction: column;
  }
  .single-page .single-post .single-header .post-meta .meta-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .single-page .single-post .single-header .post-meta .meta-author .photo {
    border-radius: 50%;
    border: 2px solid var(--color-primary);
  }
  .single-page .single-post .single-header .post-meta .meta-author .author-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s ease;
    text-decoration: none;
  }
  .single-page .single-post .single-header .post-meta .meta-author .author-link:hover {
    color: var(--color-primary);
    text-decoration: none;
  }
  .single-page .single-post .single-header .post-meta .meta-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .single-page .single-post .single-header .post-meta .meta-info .meta-date,
  .single-page .single-post .single-header .post-meta .meta-info .meta-reading-time,
  .single-page .single-post .single-header .post-meta .meta-info .post-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  .single-page .single-post .single-header .post-meta .meta-info .meta-date .fa-calendar,
  .single-page .single-post .single-header .post-meta .meta-info .meta-date .fa-book-open,
  .single-page .single-post .single-header .post-meta .meta-info .meta-date .fa-eye,
  .single-page .single-post .single-header .post-meta .meta-info .meta-reading-time .fa-calendar,
  .single-page .single-post .single-header .post-meta .meta-info .meta-reading-time .fa-book-open,
  .single-page .single-post .single-header .post-meta .meta-info .meta-reading-time .fa-eye,
  .single-page .single-post .single-header .post-meta .meta-info .post-views .fa-calendar,
  .single-page .single-post .single-header .post-meta .meta-info .post-views .fa-book-open,
  .single-page .single-post .single-header .post-meta .meta-info .post-views .fa-eye {
    color: var(--color-primary);
    font-size: 0.9rem;
  }
  .single-page .single-post .single-header .post-thumbnail {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 2rem;
  }
  .single-page .single-post .single-header .post-thumbnail img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
    transition: 0.4s ease;
    border-radius: 6px;
  }
  .single-page .single-post .single-header .post-thumbnail img:hover {
    transform: scale(1.02);
  }
  .single-page .single-post .single-content .wp-block-paragraph {
    font-size: 0.75rem;
    color: var(--text-secondary);
  }
  .single-page .single-post .single-content p {
    margin-bottom: 0.75rem;
    font-weight: 500;
  }
  .single-page .single-post .single-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .single-page .single-post .single-footer .post-tags {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
  .single-page .single-post .single-footer .post-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .single-page .single-post .single-footer .post-tags .tag-link {
    box-shadow: var(--shadow-md);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 2px solid var(--color-primary);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.3s ease;
  }
  .single-page .single-post .single-footer .post-tags .tag-link:hover {
    background-color: var(--color-primary);
    color: #fff;
  }
  .single-page .single-post .single-footer .post-share {
    margin-top: 2rem;
    padding-top: 1rem;
  }
  .single-page .single-post .single-footer .post-share .share-buttons {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .single-page .single-post .single-footer .post-share .share-btn {
    border-bottom: 3px solid var(--color-accent);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: 0.3s ease;
  }
  .single-page .single-post .single-footer .post-share .share-btn:hover {
    border-bottom: 0;
    transform: translateY(-3px);
    background-color: var(--color-primary);
    color: #fff;
  }
  .single-page .single-post .single-footer .post-share .copy-link {
    border-bottom: 3px solid var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
  }
  .single-page .single-post .single-footer .post-share .copy-link:hover {
    border-bottom: 0;
  }
  .single-page .single-post .single-footer .post-share .copy-link .copy-text {
    font-size: 0.9rem;
  }
  .single-page .single-post .single-footer .post-share .copy-link.copied {
    background-color: #22c55e;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
  }
  .single-page .related-posts {
    margin-top: 3rem;
  }
  .single-page .more-news-section {
    margin-top: 2rem;
  }
}
/*
|--------------------------------------------------------------------------
| Category Page
|--------------------------------------------------------------------------
*/
.page-category {
  padding-block: 2rem;
}

/*
|--------------------------------------------------------------------------
| Main Section
|--------------------------------------------------------------------------
*/
.category-posts-section {
  width: 100%;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  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;
  border-bottom: 1px solid var(--border-color);
}
.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;
  border-bottom: 1px solid var(--border-color);
}
.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;
  }
}

:root {
  /*
  |--------------------------------------------------------------------------
  | BRAND COLORS
  |--------------------------------------------------------------------------
  */
  --color-primary: #c62828;
  --color-primary-hover: #8e1b1b;
  --color-primary-light: #fde8e8;
  --color-secondary: #1f2937;
  --color-accent: #f59e0b;
  --white: #ffffff;
  /*
  |--------------------------------------------------------------------------
  | BACKGROUNDS
  |--------------------------------------------------------------------------
  */
  --bg-body: #f7f7f8;
  --bg-card: #ffffff;
  --bg-secondary: #f1f2f4;
  --bg-header: rgba(255, 255, 255, 0.94);
  --topbar-bg: rgba(250, 250, 250, 0.94);
  --overlay-bg: rgba(0, 0, 0, 0.35);
  --bg-footer: #171717;
  /*
  |--------------------------------------------------------------------------
  | TEXT COLORS
  |--------------------------------------------------------------------------
  */
  --text-primary: #171717;
  --text-secondary: #525252;
  --text-muted: #8a8a8a;
  /*
  |--------------------------------------------------------------------------
  | BORDERS
  |--------------------------------------------------------------------------
  */
  --border-color: #e4e4e7;
  /*
  |--------------------------------------------------------------------------
  | STATUS COLORS
  |--------------------------------------------------------------------------
  */
  --success-color: #16a34a;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  /*
  |--------------------------------------------------------------------------
  | SHADOWS
  |--------------------------------------------------------------------------
  */
  --shadow-sm:
    0 2px 8px rgba(0, 0, 0, 0.045);
  --shadow-md:
    0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg:
    0 20px 50px rgba(0, 0, 0, 0.12);
  /*
  |--------------------------------------------------------------------------
  | TYPOGRAPHY
  |--------------------------------------------------------------------------
  */
  --font-primary: "Cairo", sans-serif;
  --font-secondary: "Outfit", sans-serif;
  /*
  |--------------------------------------------------------------------------
  | BORDER RADIUS
  |--------------------------------------------------------------------------
  */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  /*
  |--------------------------------------------------------------------------
  | TRANSITIONS
  |--------------------------------------------------------------------------
  */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s 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;
}

html.dark-mode {
  /*
  |--------------------------------------------------------------------------
  | HEADER
  |--------------------------------------------------------------------------
  */
  --topbar-bg: rgba(17, 17, 17, 0.94);
  --main-bar-bg: #18181b;
  /*
  |--------------------------------------------------------------------------
  | BODY
  |--------------------------------------------------------------------------
  */
  --bg-body: #101010;
  --white: #ffffff;
  /*
  |--------------------------------------------------------------------------
  | BRAND COLORS
  |--------------------------------------------------------------------------
  */
  /*
   * We intentionally make the dark-mode primary
   * slightly brighter than the light-mode primary.
   *
   * This prevents the red from disappearing
   * against dark surfaces.
   */
  --color-primary: #ef4444;
  --color-primary-hover: #f87171;
  --color-primary-light: #3f1515;
  --color-secondary: #e5e7eb;
  --color-accent: #fbbf24;
  /*
  |--------------------------------------------------------------------------
  | BACKGROUNDS
  |--------------------------------------------------------------------------
  */
  --bg-card: #18181b;
  --bg-secondary: #242427;
  --bg-header: rgba(24, 24, 27, 0.94);
  --bg-footer: #09090b;
  --overlay-bg: rgba(0, 0, 0, 0.55);
  /*
  |--------------------------------------------------------------------------
  | TEXT COLORS
  |--------------------------------------------------------------------------
  */
  --text-primary: #fafafa;
  --text-secondary: #d4d4d8;
  --text-muted: #a1a1aa;
  /*
  |--------------------------------------------------------------------------
  | BORDERS
  |--------------------------------------------------------------------------
  */
  --border-color: #303034;
  /*
  |--------------------------------------------------------------------------
  | STATUS COLORS
  |--------------------------------------------------------------------------
  */
  --success-color: #22c55e;
  --warning-color: #fbbf24;
  --danger-color: #f87171;
  /*
  |--------------------------------------------------------------------------
  | SHADOWS
  |--------------------------------------------------------------------------
  */
  --shadow-sm:
    0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-md:
    0 10px 30px rgba(0, 0, 0, 0.40);
  --shadow-lg:
    0 20px 60px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   GLOBAL LAYOUT RESET
========================================================= */
html {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  max-width: 100%;
  min-height: 100vh;
  /* Remove browser default outer spacing */
  margin: 0;
  padding: 0;
  overflow-x: clip;
  /* clip: يقطع الـ overflow بدون إنشاء scroll container — لا يكسر sticky أو touch scroll */
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-section {
  background: #0f0c29;
  /* fallback for old browsers */
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}/*# sourceMappingURL=main.css.map */