@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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ==========================================================================
   Editorial Variants — Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .article-card--editorial-featured .article-card-content {
    padding: 0.95rem 1rem 1rem;
  }
  .article-card--editorial-featured .article-card-title {
    font-size: 1.2rem;
  }
  .article-card--editorial-list {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }
  .article-card--editorial-list .article-card-image {
    width: 6.5rem;
    height: 4.7rem;
  }
  .article-card--editorial-list .article-card-title {
    font-size: 0.78rem;
  }
}
/* ==========================================================================
   Editorial Variants — Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .article-card--editorial-featured {
    border-radius: var(--radius-md);
  }
  .article-card--editorial-featured .article-card-image {
    aspect-ratio: 16/9;
  }
  .article-card--editorial-featured .article-card-content {
    padding: 0.85rem 0.9rem 0.95rem;
  }
  .article-card--editorial-featured .article-card-title {
    font-size: 1.03rem;
    line-height: 1.6;
  }
  .article-card--editorial-featured .article-card-excerpt {
    font-size: 0.76rem;
    line-height: 1.75;
  }
  .article-card--editorial-list {
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.7rem;
    padding-block: 0.75rem;
  }
  .article-card--editorial-list .article-card-image {
    width: 6rem;
    height: 4.25rem;
  }
  .article-card--editorial-list .article-card-title {
    font-size: 0.78rem;
    line-height: 1.55;
  }
  .article-card--editorial-list .article-card-category {
    font-size: 0.57rem;
  }
  .article-card--editorial-list .article-card-meta {
    font-size: 0.56rem;
  }
}
/* ==========================================================================
   Editorial Variants — Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .article-card--editorial-featured .article-card-content {
    padding-inline: 0.8rem;
  }
  .article-card--editorial-featured .article-card-title {
    font-size: 0.98rem;
  }
  .article-card--editorial-list {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.65rem;
  }
  .article-card--editorial-list .article-card-image {
    width: 5.5rem;
    height: 3.9rem;
  }
  .article-card--editorial-list .article-card-title {
    font-size: 0.74rem;
  }
}
.latest-news {
  width: 100%;
  margin-block-end: 3rem;
}

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

/* =========================================
   ARTICLE CARD
========================================= */
.latest-news-grid .article-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/*
 * Make the image area consistent
 * for all cards inside this section.
 */
.latest-news-grid .article-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  flex-shrink: 0;
  overflow: hidden;
}

.latest-news-grid .article-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/*
 * Content
 */
.latest-news-grid .article-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/*
 * Keep titles visually aligned.
 */
.latest-news-grid .article-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/*
 * Excerpt
 */
.latest-news-grid .article-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/*
 * Meta stays at the bottom.
 */
.latest-news-grid .article-card-meta {
  margin-block-start: auto;
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 991.98px) {
  .latest-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
  .latest-news {
    margin-block-end: 2.5rem;
  }
  .latest-news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 575.98px) {
  .latest-news-grid {
    gap: 1rem;
  }
}
/* ==========================================================================
   Overlay Post Card
   Reusable Editorial Image Card
   ========================================================================== */
/* ==========================================================================
   Card
   ========================================================================== */
.overlay-post-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ==========================================================================
   Mobile Only
   ========================================================================== */
@media (max-width: 767.98px) {
  .mobile-home-feed {
    display: block;
    width: 100%;
    margin-block-end: 2rem;
  }
  .mobile-feed-card {
    border-radius: var(--radius-md);
  }
  .mobile-feed-card-title {
    font-size: 0.98rem;
    line-height: 1.62;
  }
  .mobile-feed-card-meta {
    font-size: 0.59rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .mobile-feed-card-header {
    padding-block: 0.65rem;
    padding-inline: 0.75rem;
  }
  .mobile-feed-card-content {
    padding-block: 0.8rem 0.85rem;
    padding-inline: 0.8rem;
  }
  .mobile-feed-card-title {
    font-size: 0.94rem;
  }
  .mobile-feed-card-meta {
    font-size: 0.57rem;
  }
}
/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mobile-feed-card,
  .mobile-feed-card-image img {
    transition: none;
  }
  .mobile-feed-skeleton-image,
  .mobile-feed-skeleton-line {
    animation: none;
  }
}
/* ==========================================================================
   Editorial Picks
   Featured Story + Editorial List
   ========================================================================== */
/* ==========================================================================
   Section
   ========================================================================== */
.editorial-picks {
  width: 100%;
  margin-block-end: 3rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.editorial-picks-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 0.9fr);
  gap: 1.5rem;
  width: 100%;
  align-items: start;
}

/* ==========================================================================
   Featured
   ========================================================================== */
.editorial-picks-featured {
  min-width: 0;
}

/* ==========================================================================
   Editorial List
   ========================================================================== */
.editorial-picks-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-block-start: 1px solid var(--border-color);
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .editorial-picks-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
    gap: 1rem;
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .editorial-picks {
    margin-block-end: 2.5rem;
  }
  .editorial-picks-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .editorial-picks-list {
    border-block-start: 1px solid var(--border-color);
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .editorial-picks-layout {
    gap: 0.85rem;
  }
}
/* =========================================================
   VIDEO SECTION
========================================================= */
.video-section {
  position: relative;
  width: 100%;
  margin-inline: calc(50% - 50vw);
  padding-block: 4.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #171717 0%, #241313 55%, #0f0f0f 100%);
  color: #fff;
}

/* =========================================================
   INNER
========================================================= */
.video-section-inner {
  width: min(1320px, 100% - 2rem);
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADER
========================================================= */
.video-section .section-header {
  margin-block-end: 2rem;
}

.video-section .section-header-icon {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.video-section .section-header-kicker {
  color: rgba(255, 255, 255, 0.55);
}

.video-section .section-header-title {
  color: #fff;
}

.video-section .section-header-title::after {
  background: var(--color-primary);
}

.video-section .section-header-link {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.video-section .section-header-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

/* =========================================================
   CAROUSEL
========================================================= */
.video-carousel {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* =========================================================
   VIEWPORT
========================================================= */
.video-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

/* =========================================================
   TRACK
========================================================= */
.video-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-block: 0.5rem 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-carousel-track::-webkit-scrollbar {
  display: none;
}

/* =========================================================
   CARD
========================================================= */
.video-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

/* =========================================================
   CARD LINK
========================================================= */
.video-card-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  text-decoration: none;
  color: inherit;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* =========================================================
   MEDIA
========================================================= */
.video-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: inherit;
  background: #222;
  isolation: isolate;
}

/* =========================================================
   IMAGE
========================================================= */
.video-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.45s ease, filter 0.45s ease;
}

/* =========================================================
   PLACEHOLDER
========================================================= */
.video-card-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #242424;
  color: rgba(255, 255, 255, 0.28);
  font-size: 2rem;
}

/* =========================================================
   OVERLAY
========================================================= */
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

/* =========================================================
   PLAY BUTTON
========================================================= */
.video-card-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(198, 40, 40, 0.94);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 3;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.video-card-play i {
  display: block;
  margin-inline-start: 0.12rem;
}

/* =========================================================
   CONTENT
========================================================= */
.video-card-content {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 1.15rem 1.25rem 1.1rem;
  z-index: 2;
}

/* =========================================================
   TITLE
========================================================= */
.video-card-title {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* =========================================================
   DATE
========================================================= */
.video-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
}

.video-card-date i {
  font-size: 0.78rem;
}

/* =========================================================
   HOVER
========================================================= */
.video-card-link:hover .video-card-media img {
  transform: scale(1.05);
}

.video-card-link:hover .video-card-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--color-primary);
  box-shadow: 0 10px 28px rgba(198, 40, 40, 0.35);
}

.video-card-link:hover .video-card-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.16) 35%, rgba(0, 0, 0, 0.92) 100%);
}

/* =========================================================
   NAVIGATION ARROWS
========================================================= */
.video-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.88);
  color: #fff;
  font-size: 1.1rem;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.video-carousel-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
}

.video-carousel-arrow--prev {
  left: -1.25rem;
}

.video-carousel-arrow--next {
  right: -1.25rem;
}

.video-carousel-arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1199.98px) {
  .video-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
  .video-carousel-arrow--prev {
    left: -0.75rem;
  }
  .video-carousel-arrow--next {
    right: -0.75rem;
  }
}
/* =========================================================
   SMALL TABLET
========================================================= */
@media (max-width: 991.98px) {
  .video-section {
    padding-block: 3.75rem;
  }
  .video-section-inner {
    width: min(100% - 2rem, 900px);
  }
  .video-card-title {
    font-size: 0.98rem;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {
  .video-section {
    padding-block: 3rem;
  }
  .video-section-inner {
    width: calc(100% - 1.5rem);
  }
  .video-section .section-header {
    margin-block-end: 1.5rem;
  }
  .video-carousel-track {
    gap: 1rem;
    padding-block-end: 0.5rem;
  }
  .video-card {
    flex: 0 0 84%;
    border-radius: 16px;
  }
  .video-card-play {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }
  .video-card-content {
    padding: 1rem;
  }
  .video-card-title {
    margin-block-end: 0.45rem;
    font-size: 0.95rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }
  .video-card-date {
    font-size: 0.72rem;
  }
  .video-carousel-arrow {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 0.95rem;
  }
  .video-carousel-arrow--prev {
    left: -0.35rem;
  }
  .video-carousel-arrow--next {
    right: -0.35rem;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .video-card {
    flex-basis: 88%;
    border-radius: 14px;
  }
  .video-card-play {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.9rem;
  }
  .video-card-title {
    font-size: 0.92rem;
  }
  .video-card-content {
    padding: 0.9rem;
  }
  .video-carousel-arrow {
    width: 2.45rem;
    height: 2.45rem;
  }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .video-carousel-track {
    scroll-behavior: auto;
  }
  .video-card-media img,
  .video-card-play,
  .video-carousel-arrow {
    transition: none;
  }
}
/* =========================================================
   ENGAGEMENT SECTION
========================================================= */
.engagement-section {
  width: 100%;
  margin-block-end: 3.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .category-news-column,
  .category-featured-post-image img,
  .category-small-post-image img,
  .category-news-column-more {
    transition: none;
  }
}
/* =========================================================
   MOBILE NAVIGATION
========================================================= */
.akhbar-mobile-nav {
  width: min(390px, 92vw);
  border: 0;
  background: var(--bg-body);
  color: var(--text-primary);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* =========================================================
   MOBILE ONLY
========================================================= */
@media (min-width: 992px) {
  .akhbar-mobile-nav {
    display: none !important;
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 420px) {
  .akhbar-mobile-nav {
    width: 92vw;
  }
  .akhbar-mobile-nav-body {
    padding: 0.85rem;
  }
  .akhbar-mobile-nav-header {
    padding-inline: 0.85rem;
  }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .akhbar-mobile-nav *,
  .akhbar-mobile-nav *::before,
  .akhbar-mobile-nav *::after {
    transition: none !important;
    animation: none !important;
  }
}
.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 {
  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-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 .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: 700;
  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);
}

.site-footer {
  background-color: var(--bg-footer);
  color: var(--white);
  padding: 3.5rem 0 0;
}
.site-footer .footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
.site-footer .footer-top .brand-info {
  margin: auto;
  text-align: center;
}
.site-footer .footer-top .brand-info .logo {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.site-footer .footer-top .brand-info .description {
  font-size: 1rem;
  font-weight: 400;
  color: #cbd5e1;
}
.site-footer .footer-menus .footer-menu .menu-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 2rem;
  text-align: right;
}
.site-footer .footer-menus .footer-menu .menu-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 1rem 0;
}
.site-footer .footer-menus .footer-menu .footer-menu-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer .footer-menus .footer-menu .footer-menu-list li {
  margin-bottom: 0.25rem;
}
.site-footer .footer-menus .footer-menu .footer-menu-list li::before {
  content: "✓";
  margin-left: 0.5rem;
  color: var(--color-primary);
}
.site-footer .footer-menus .footer-menu .footer-menu-list li a {
  text-decoration: none;
  color: rgb(179, 189, 199);
  font-size: 1rem;
  font-weight: 400;
}
.site-footer .footer-menus .footer-menu .footer-menu-list li a:hover {
  color: var(--color-primary);
}
.site-footer .footer-menus .footer-menu .footer-menu-description {
  font-size: 1rem;
  font-weight: 400;
  color: rgb(179, 189, 199);
  margin-bottom: 2rem;
  text-align: right;
}
.site-footer .footer-menus .footer-menu .footer-menu-form .footer-menu-input {
  display: block;
  width: 70%;
  border-radius: 16px;
  padding: 6px 22px;
  background-color: #234C6A;
  color: rgb(179, 189, 199);
  margin: 1rem 0;
  border: 2px solid var(--color-primary);
  outline: none;
}
.site-footer .footer-menus .footer-menu .footer-menu-form .footer-menu-input::-moz-placeholder {
  color: rgb(179, 189, 199);
}
.site-footer .footer-menus .footer-menu .footer-menu-form .footer-menu-input::placeholder {
  color: rgb(179, 189, 199);
}
.site-footer .footer-menus .footer-menu .footer-menu-form .footer-menu-input:focus {
  border-color: var(--color-primary-hover);
  box-shadow: 0 0 0 3px rgba(217, 34, 67, 0.1);
}
.site-footer .footer-menus .footer-menu .footer-menu-form .footer-menu-button {
  display: block;
  width: 70%;
  border-radius: 16px;
  padding: 6px 22px;
  background-color: var(--color-primary);
  color: white;
  margin: 1rem 0;
  border: 2px solid var(--color-primary);
  outline: none;
}
.site-footer .footer-menus .footer-menu .footer-menu-form .footer-menu-button:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
.site-footer .footer-menus .footer-menu .footer-menu-form .footer-menu-button:focus {
  border-color: var(--color-primary-hover);
  box-shadow: 0 0 0 3px rgba(217, 34, 67, 0.1);
}
.site-footer .footer-menus .footer-tags .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-footer .footer-menus .footer-tags .tag-link {
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #234C6A;
  color: rgb(179, 189, 199);
  text-decoration: none;
  transition: 0.3s ease;
}
.site-footer .footer-menus .footer-tags .tag-link:hover {
  background: var(--color-primary);
  color: #fff;
}
.site-footer .footer-bottom .copyright {
  padding: 1rem 0;
}
.site-footer .footer-bottom .copyright .copyright-text {
  font-size: 1rem;
  font-weight: 400;
  color: rgb(179, 189, 199);
  margin-bottom: 2rem;
  text-align: center;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
/* ==========================================================================
Mobile
========================================================================== */
@media (max-width: 767.98px) {
  .site-footer {
    background-color: var(--bg-footer);
    color: var(--white);
    padding: 3.5rem 0 0;
  }
  .site-footer .footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
  }
  .site-footer .footer-top .brand-info {
    margin: auto;
    text-align: center;
  }
  .site-footer .footer-top .brand-info .logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .site-footer .footer-top .brand-info .description {
    font-size: 0.75rem;
    margin-bottom: 0;
  }
  .site-footer .footer-top .footer-menus .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }
  .site-footer .footer-top .footer-menus .footer-menu .menu-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-align: center;
  }
  .site-footer .footer-top .footer-menus .footer-menu .menu-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 1rem 0;
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-list li {
    margin-bottom: 0.25rem;
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-list li::before {
    content: "✓";
    margin-left: 0.5rem;
    color: var(--color-primary);
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-list li a {
    text-decoration: none;
    color: rgb(179, 189, 199);
    font-size: 1rem;
    font-weight: 400;
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-list li a:hover {
    color: var(--color-primary);
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-description {
    font-size: 1rem;
    font-weight: 400;
    color: rgb(179, 189, 199);
    margin-bottom: 2rem;
    text-align: right;
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-form .footer-menu-input {
    display: block;
    width: 70%;
    border-radius: 16px;
    padding: 6px 22px;
    background-color: #234C6A;
    color: rgb(179, 189, 199);
    margin: 1rem 0;
    border: 2px solid var(--color-primary);
    outline: none;
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-form .footer-menu-input::-moz-placeholder {
    color: rgb(179, 189, 199);
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-form .footer-menu-input::placeholder {
    color: rgb(179, 189, 199);
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-form .footer-menu-input:focus {
    border-color: var(--color-primary-hover);
    box-shadow: 0 0 0 3px rgba(217, 34, 67, 0.1);
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-form .footer-menu-button {
    display: block;
    width: 70%;
    border-radius: 16px;
    padding: 6px 22px;
    background-color: var(--color-primary);
    color: white;
    margin: 1rem 0;
    border: 2px solid var(--color-primary);
    outline: none;
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-form .footer-menu-button:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
  }
  .site-footer .footer-top .footer-menus .footer-menu .footer-menu-form .footer-menu-button:focus {
    border-color: var(--color-primary-hover);
    box-shadow: 0 0 0 3px rgba(217, 34, 67, 0.1);
  }
  .site-footer .footer-top .footer-menus .footer-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .site-footer .footer-top .footer-menus .footer-tags .tag-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #234C6A;
    color: rgb(179, 189, 199);
    text-decoration: none;
    transition: 0.3s ease;
  }
  .site-footer .footer-top .footer-menus .footer-tags .tag-link:hover {
    background: var(--color-primary);
    color: #fff;
  }
  .site-footer .footer-top .footer-bottom .copyright {
    padding: 1rem 0;
  }
  .site-footer .footer-top .footer-bottom .copyright .copyright-text {
    font-size: 1rem;
    font-weight: 400;
    color: rgb(179, 189, 199);
    margin-bottom: 2rem;
    text-align: center;
  }
}
/* ==========================================================================
   Site Footer
   Editorial Dark Footer
   ========================================================================== */
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  margin-block-start: 4rem;
  color: #f4f4f5;
  background: var(--bg-footer);
}

/* ==========================================================================
   Main Footer
   ========================================================================== */
.site-footer-main {
  position: relative;
  padding-block: 3.5rem 3rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-footer) 0%, #211010 55%, var(--bg-footer) 100%);
}

/* Decorative Accent */
.site-footer-main::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), transparent 70%);
}

/* Soft Decorative Circle */
.site-footer-main::after {
  content: "";
  position: absolute;
  inset-inline-end: -8rem;
  inset-block-end: -8rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Grid
   ========================================================================== */
.site-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

/* ==========================================================================
   Brand
   ========================================================================== */
.site-footer-brand {
  min-width: 0;
}

.site-footer-branding {
  display: flex;
  align-items: center;
  margin-block-end: 1rem;
}

.site-footer-branding .custom-logo-link {
  display: inline-flex;
}

.site-footer-branding .custom-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 4rem;
  filter: brightness(0) invert(1);
}

.site-footer-title {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Description
   ========================================================================== */
.site-footer-description {
  max-width: 22rem;
  margin: 0;
  color: #a1a1aa;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.9;
}

/* ==========================================================================
   Social
   ========================================================================== */
.site-footer-social {
  margin-block-start: 1.4rem;
}

.site-footer-social-label {
  display: block;
  margin-block-end: 0.55rem;
  color: #d4d4d8;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.site-footer-social-link:hover {
  color: var(--white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer Columns
   ========================================================================== */
.site-footer-column {
  min-width: 0;
}

.site-footer-heading {
  position: relative;
  margin: 0 0 1rem;
  padding-block-end: 0.65rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.4;
}

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

/* =========================================================
   FOOTER NAVIGATION
   Match the Footer Categories design
========================================================= */
.site-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each navigation row */
.site-footer-menu > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer-menu > li:last-child {
  border-bottom: 0;
}

/* Navigation link */
.site-footer-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
  min-height: 2.75rem;
  padding-block: 0.7rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Keep link text readable */
.site-footer-menu > li > a > span {
  min-width: 0;
}

/* Arrow on the left in RTL layout */
.site-footer-menu > li > a::after {
  content: "←";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-primary);
  font-size: 0.85rem;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Hover */
.site-footer-menu > li > a:hover {
  color: #fff;
  transform: translateX(-2px);
}

.site-footer-menu > li > a:hover::after {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateX(-3px);
}

/* Active page */
.site-footer-menu > li.current-menu-item > a,
.site-footer-menu > li.current-menu-ancestor > a {
  color: #fff;
  font-weight: 750;
}

.site-footer-menu > li.current-menu-item > a::after,
.site-footer-menu > li.current-menu-ancestor > a::after {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Nested WordPress menu */
.site-footer-menu .sub-menu {
  margin: 0;
  padding: 0 0.85rem 0.55rem;
  list-style: none;
}

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

.site-footer-menu .sub-menu a {
  display: block;
  padding-block: 0.45rem;
  color: #a1a1aa;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-menu .sub-menu a:hover {
  color: #fff;
}

/* Accessibility */
.site-footer-menu a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .site-footer-menu a,
  .site-footer-menu a::after {
    transition: none;
  }
}
/* ==========================================================================
   Featured Column
   ========================================================================== */
.site-footer-column--featured {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
}

.site-footer-column-description {
  margin: 0 0 1rem;
  color: #a1a1aa;
  font-size: 0.73rem;
  line-height: 1.8;
}

/* ==========================================================================
   Newsletter Area
   ========================================================================== */
.site-footer-newsletter {
  min-width: 0;
}

/* Make existing newsletter widget fit footer */
.site-footer-newsletter .akhbar-widget {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-footer-newsletter .akhbar-widget-header {
  display: none;
}

.site-footer-newsletter .akhbar-widget-body {
  padding: 0;
}

/* ==========================================================================
   Footer Bottom
   ========================================================================== */
.site-footer-bottom {
  background: #0d0d0f;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.site-footer-copyright {
  margin: 0;
  color: #71717a;
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.5;
}

.site-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer-legal a {
  color: #71717a;
  font-size: 0.67rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer-legal a:hover {
  color: #fff;
}

/* ==========================================================================
   Back To Top
   ========================================================================== */
.site-footer-back-to-top {
  position: fixed;
  z-index: 1000;
  inset-inline-end: 1rem;
  inset-block-end: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--white);
  background: var(--color-primary);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

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

.site-footer-back-to-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

.site-footer-back-to-top:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ==========================================================================
   Large Tablet
   ========================================================================== */
@media (max-width: 1199.98px) {
  .site-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
  .site-footer-column--featured {
    grid-column: 1/-1;
  }
}
/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .site-footer-main {
    padding-block: 3rem 2.5rem;
  }
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
  .site-footer-brand {
    grid-column: 1/-1;
  }
  .site-footer-column--featured {
    grid-column: auto;
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .site-footer {
    margin-block-start: 3rem;
  }
  .site-footer-main {
    padding-block: 2.5rem 2rem;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .site-footer-brand,
  .site-footer-column--featured {
    grid-column: auto;
  }
  .site-footer-branding .custom-logo {
    max-width: 190px;
    max-height: 3.25rem;
  }
  .site-footer-description {
    max-width: 100%;
    font-size: 0.74rem;
  }
  .site-footer-social {
    margin-block-start: 1.1rem;
  }
  .site-footer-column {
    padding-block-start: 0.25rem;
  }
  .site-footer-column--featured {
    padding: 0.9rem;
  }
  .site-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 1rem;
  }
  .site-footer-legal {
    gap: 0.75rem;
  }
  .site-footer-copyright,
  .site-footer-legal a {
    font-size: 0.62rem;
  }
  .site-footer-back-to-top {
    inset-inline-end: 0.8rem;
    inset-block-end: 0.8rem;
    width: 2.45rem;
    height: 2.45rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .site-footer-main {
    padding-block: 2.25rem 1.75rem;
  }
  .site-footer-grid {
    gap: 1.5rem;
  }
  .site-footer-social-link {
    width: 2.15rem;
    height: 2.15rem;
  }
}
/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .site-footer-social-link,
  .site-footer-menu a,
  .site-footer-legal a,
  .site-footer-back-to-top {
    transition: none;
  }
}
/* =========================================
   FOOTER CATEGORIES
========================================= */
.footer-categories {
  min-width: 0;
}

.footer-category-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-category-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-category-item:last-child {
  border-bottom: 0;
}

.footer-category-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding-block: 0.7rem;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-category-name {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-category-count {
  flex-shrink: 0;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 650;
}

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

.footer-category-link:hover {
  color: #fff;
}

.footer-category-link:hover .footer-category-arrow {
  color: #fff;
  transform: translateX(-3px);
}

.footer-categories-empty {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.8;
}

.footer-categories-empty a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .footer-category-link,
  .footer-category-arrow {
    transition: none;
  }
}
/* ==========================================================================
   Hero Story / Editorial Overlay Carousel
   ========================================================================== */
.home-hero-story {
  min-width: 0;
}

.home-hero-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  background: transparent;
}

.home-hero-carousel .carousel-inner {
  width: 100%;
}

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

/* ==========================================================================
   Card
   ========================================================================== */
.home-hero-slide-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

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

/* ==========================================================================
   Image
   ========================================================================== */
.home-hero-slide-image-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.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.8s ease, filter 0.8s ease;
}

.home-hero-slide-card:hover .home-hero-slide-image img {
  transform: scale(1.04);
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   Gradient Layer
   ========================================================================== */
.home-hero-slide-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.03) 28%, rgba(0, 0, 0, 0.15) 48%, rgba(0, 0, 0, 0.72) 76%, rgba(0, 0, 0, 0.95) 100%);
}

/* ==========================================================================
   Category
   ========================================================================== */
.home-hero-slide-category {
  position: absolute;
  z-index: 4;
  inset-inline-start: 1.15rem;
  inset-block-start: 1.15rem;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 2.3rem);
  padding-block: 0.38rem;
  padding-inline: 0.7rem;
  overflow: hidden;
  color: var(--white);
  background: var(--hero-category-color);
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(5px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.home-hero-slide-category:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
}

/* ==========================================================================
   Stable Category Accent Colors
   ========================================================================== */
.home-hero-slide--accent-1 {
  --hero-category-color: var(--color-primary);
}

.home-hero-slide--accent-2 {
  --hero-category-color: #2563eb;
}

.home-hero-slide--accent-3 {
  --hero-category-color: #7c3aed;
}

.home-hero-slide--accent-4 {
  --hero-category-color: #059669;
}

.home-hero-slide--accent-5 {
  --hero-category-color: #d97706;
}

.home-hero-slide--accent-6 {
  --hero-category-color: #db2777;
}

/* ==========================================================================
   Content
   ========================================================================== */
.home-hero-slide-content {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  inset-block-end: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-block: 1.35rem 1.1rem;
  padding-inline: 1.25rem;
  color: var(--white);
}

/* ==========================================================================
   Title
   ========================================================================== */
.home-hero-slide-title {
  display: -webkit-box;
  width: 100%;
  max-width: 55rem;
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 900;
  line-height: 1.48;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-hero-slide-title a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.home-hero-slide-title a:hover {
  color: #fff;
}

/* ==========================================================================
   Meta
   ========================================================================== */
.home-hero-slide-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 500;
}

.home-hero-slide-date,
.home-hero-slide-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.home-hero-slide-date i,
.home-hero-slide-time i {
  color: var(--color-accent);
  font-size: 0.7rem;
}

.home-hero-slide-separator {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

/* ==========================================================================
   Counter
   ========================================================================== */
.home-hero-slide-counter {
  position: absolute;
  z-index: 5;
  inset-inline-end: 1.15rem;
  inset-block-end: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding-block: 0.32rem;
  padding-inline: 0.55rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--font-secondary);
  font-size: 0.63rem;
  font-weight: 800;
  backdrop-filter: blur(7px);
}
.home-hero-slide-counter span {
  opacity: 0.55;
}

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

.home-hero-indicators button {
  width: 1rem;
  height: 0.2rem;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  opacity: 1;
  transition: width var(--transition-fast), background-color var(--transition-fast);
}

.home-hero-indicators button:hover {
  background: var(--white);
}

.home-hero-indicators button.active {
  width: 2.5rem;
  background: var(--white);
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
  .home-hero-slide-image {
    aspect-ratio: 16/9;
  }
  .home-hero-slide-content {
    padding-block: 1.1rem 1rem;
    padding-inline: 1rem;
  }
  .home-hero-slide-title {
    font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  }
  .home-hero-slide-category {
    inset-inline-start: 1rem;
    inset-block-start: 1rem;
  }
  .home-hero-slide-counter {
    inset-inline-end: 1rem;
    inset-block-end: 0.85rem;
  }
  .home-hero-indicators {
    inset-inline-end: 1rem;
    inset-block-end: 0.95rem;
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767.98px) {
  .home-hero-slide-card {
    border-radius: var(--radius-md);
  }
  .home-hero-slide-image {
    aspect-ratio: 4/3;
  }
  .home-hero-slide-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.72) 72%, rgba(0, 0, 0, 0.96) 100%);
  }
  .home-hero-slide-category {
    inset-inline-start: 0.8rem;
    inset-block-start: 0.8rem;
    padding-block: 0.32rem;
    padding-inline: 0.55rem;
    font-size: 0.61rem;
  }
  .home-hero-slide-content {
    padding-block: 1rem 0.9rem;
    padding-inline: 0.85rem;
    padding-inline-end: 1rem;
  }
  .home-hero-slide-title {
    font-size: 1rem;
    line-height: 1.58;
    -webkit-line-clamp: 3;
  }
  .home-hero-slide-meta {
    gap: 0.4rem;
    margin-block-start: 0.5rem;
    font-size: 0.59rem;
  }
  .home-hero-slide-date i,
  .home-hero-slide-time i {
    font-size: 0.61rem;
  }
  .home-hero-slide-counter {
    inset-inline-end: 0.8rem;
    inset-block-end: 0.8rem;
    font-size: 0.56rem;
  }
  .home-hero-indicators {
    inset-inline-end: 0.8rem;
    inset-block-end: 2.95rem;
    gap: 0.2rem;
  }
  .home-hero-indicators button {
    width: 0.65rem;
    height: 0.17rem;
  }
  .home-hero-indicators button.active {
    width: 1.7rem;
  }
}
/* ==========================================================================
   Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .home-hero-slide-image {
    aspect-ratio: 4/3;
  }
  .home-hero-slide-title {
    font-size: 0.93rem;
    line-height: 1.58;
  }
  .home-hero-slide-content {
    padding-block: 0.9rem 0.75rem;
    padding-inline: 0.75rem;
  }
  .home-hero-slide-meta {
    font-size: 0.56rem;
  }
  .home-hero-slide-counter {
    inset-inline-end: 0.7rem;
    inset-block-end: 0.7rem;
  }
}
/* ==========================================================================
   Dark Mode
   ========================================================================== */
html.dark-mode .home-hero-slide-card {
  box-shadow: var(--shadow-md);
}
html.dark-mode .home-hero-slide-gradient {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.78) 74%, rgba(0, 0, 0, 0.97) 100%);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .home-hero-slide-card,
  .home-hero-slide-image img,
  .home-hero-slide-category,
  .home-hero-indicators button {
    transition: none;
  }
}
/* ==========================================================================
   Trending News
   Editorial Ranked Rail
   ========================================================================== */
.home-hero-trending {
  position: relative;
  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);
  isolation: isolate;
}

/* ==========================================================================
   Trending Header
   ========================================================================== */
.home-hero-trending-header {
  position: relative;
  padding-block: 1rem 0.95rem;
  padding-inline: 1.05rem;
  border-block-end: 1px solid var(--border-color);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}

/* Bottom accent */
.home-hero-trending-header::after {
  content: "";
  position: absolute;
  inset-inline-end: 1rem;
  inset-block-end: -1px;
  width: 3.5rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
}

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

/* ==========================================================================
   Header Icon
   ========================================================================== */
.home-hero-trending-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: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: 0.75rem;
  box-shadow: 0 6px 16px rgba(198, 40, 40, 0.2);
  font-size: 0.9rem;
  isolation: isolate;
}

/* Pulse */
.home-hero-trending-icon::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.45rem;
  height: 0.45rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: trending-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes trending-pulse {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.8);
  }
}
/* ==========================================================================
   Kicker
   ========================================================================== */
.home-hero-trending-kicker {
  display: block;
  margin-block-end: 0.08rem;
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   Title
   ========================================================================== */
.home-hero-trending-title {
  display: block;
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
}

/* ==========================================================================
   Trending List
   ========================================================================== */
.home-hero-trending-list {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Vertical editorial rail */
.home-hero-trending-list::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.85rem;
  inset-block-start: 0.85rem;
  inset-block-end: 0.85rem;
  width: 1px;
  background: var(--border-color);
  pointer-events: none;
}

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

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

/* ==========================================================================
   Rank Number
   ========================================================================== */
.home-hero-trending-number {
  position: relative;
  z-index: 2;
  display: flex;
  width: 2rem;
  min-width: 2rem;
  padding-block-start: 0.05rem;
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.4;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

/* Small dot behind number */
.home-hero-trending-number::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  transform: translateX(-50%);
}

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

/* ==========================================================================
   Category
   ========================================================================== */
.home-hero-trending-category {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-block-end: 0.25rem;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 0.6rem;
  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.8rem;
  font-weight: 750;
  line-height: 1.65;
  -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.59rem;
  font-weight: 500;
  line-height: 1.4;
}
.home-hero-trending-time i {
  color: var(--color-primary);
  font-size: 0.62rem;
}

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

/* ==========================================================================
   First / Featured Trending Item
   ========================================================================== */
.home-hero-trending-item:first-child {
  background: linear-gradient(135deg, var(--color-primary-light), transparent 70%);
}

.home-hero-trending-item:first-child .home-hero-trending-number {
  color: var(--color-primary);
  font-size: 0.78rem;
}

.home-hero-trending-item:first-child .home-hero-trending-number::before {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.home-hero-trending-item:first-child .home-hero-trending-story-title {
  font-size: 0.85rem;
  font-weight: 850;
  line-height: 1.65;
}

/* Featured accent stripe */
.home-hero-trending-item:first-child::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 3px;
  background: var(--color-primary);
}

/* ==========================================================================
   Empty State
   ========================================================================== */
.home-hero-trending-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  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.4rem;
}
.home-hero-trending-empty span {
  font-size: 0.72rem;
  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.82rem;
    padding-inline: 0.85rem;
    gap: 0.65rem;
  }
  .home-hero-trending-list::before {
    inset-inline-start: 1.72rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 1.1rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.75rem;
    line-height: 1.58;
  }
  .home-hero-trending-category {
    font-size: 0.56rem;
  }
  .home-hero-trending-time {
    font-size: 0.56rem;
  }
  .home-hero-trending-arrow {
    inset-inline-end: 0.8rem;
  }
}
/* ==========================================================================
   Tablet
   768px - 991px
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .home-hero-trending {
    width: 100%;
  }
  .home-hero-trending-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-hero-trending-list::before {
    display: none;
  }
  .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: 6.75rem;
    padding-block: 0.85rem;
    padding-inline: 0.9rem;
    gap: 0.6rem;
  }
  .home-hero-trending-number {
    font-size: 0.68rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 1rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.74rem;
    line-height: 1.55;
  }
  .home-hero-trending-category {
    font-size: 0.56rem;
  }
  .home-hero-trending-time {
    font-size: 0.56rem;
  }
  .home-hero-trending-arrow {
    inset-inline-end: 0.75rem;
  }
}
/* ==========================================================================
   Mobile
   ========================================================================== */
@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-header::after {
    inset-inline-end: 0.9rem;
    width: 2.75rem;
  }
  .home-hero-trending-icon {
    flex-basis: 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    font-size: 0.78rem;
  }
  .home-hero-trending-kicker {
    font-size: 0.56rem;
  }
  .home-hero-trending-title {
    font-size: 0.94rem;
  }
  /* Single-column mobile feed */
  .home-hero-trending-list {
    display: flex;
    flex-direction: column;
  }
  .home-hero-trending-list::before {
    display: block;
    inset-inline-start: 1.72rem;
  }
  .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: 1.95rem minmax(0, 1fr);
    gap: 0.55rem;
    padding-block: 0.8rem;
    padding-inline: 0.85rem;
  }
  .home-hero-trending-number {
    width: 1.85rem;
    min-width: 1.85rem;
    font-size: 0.67rem;
  }
  .home-hero-trending-number::before {
    width: 0.38rem;
    height: 0.38rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 1rem;
  }
  .home-hero-trending-category {
    font-size: 0.56rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.76rem;
    line-height: 1.58;
    -webkit-line-clamp: 2;
  }
  .home-hero-trending-time {
    font-size: 0.57rem;
  }
  .home-hero-trending-arrow {
    inset-inline-end: 0.72rem;
    font-size: 0.64rem;
  }
}
/* ==========================================================================
   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-list::before {
    inset-inline-start: 1.65rem;
  }
  .home-hero-trending-number {
    width: 1.8rem;
    min-width: 1.8rem;
  }
  .home-hero-trending-content {
    padding-inline-end: 0.9rem;
  }
  .home-hero-trending-story-title {
    font-size: 0.74rem;
  }
  .home-hero-trending-time {
    font-size: 0.56rem;
  }
}
/* ==========================================================================
   Dark Mode
   ========================================================================== */
html.dark-mode .home-hero-trending {
  box-shadow: var(--shadow-sm);
}
html.dark-mode .home-hero-trending-header {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}
html.dark-mode .home-hero-trending-item:first-child {
  background: linear-gradient(135deg, var(--color-primary-light), transparent 72%);
}
html.dark-mode .home-hero-trending-icon {
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.18);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .home-hero-trending-icon::before {
    animation: none;
  }
  .home-hero-trending-item,
  .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 .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,
.single-layout,
.single-main,
.single-sidebar {
  min-width: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.single-layout {
  position: relative;
}

body {
  overflow-y: auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

:root {
  /*
  |--------------------------------------------------------------------------
  | BRAND COLORS
  |--------------------------------------------------------------------------
  */
  --color-primary: #1e22b4;
  --color-primary-hover: #0051ff;
  --color-primary-light: #fde8e8;
  --color-secondary: #1f2937;
  --color-accent: #eb4273;
  --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: #1e22b4;
  --color-primary-hover: #0051ff;
  --color-primary-light: #1a1e68;
  --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);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  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 */