/*
Theme Name: Fakta Hukum News
Theme URI: https://example.com/faktahukumnews
Author: Custom WordPress Theme
Description: Tema WordPress portal berita hukum, nasional, dan daerah dengan tata letak grid multi-kolom, breaking news, dan berita populer.
Version: 1.0.3
License: GNU General Public License v2 or later
Text Domain: faktahukumnews
*/

:root {
  --navy: #0c2340;
  --navy-dark: #071629;
  --red: #c81e1e;
  --red-dark: #991b1b;
  --bg-light: #f3f4f6;
  --white: #ffffff;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --border: #e5e7eb;
}

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   2. Topbar & Header
   ========================================================================== */
.topbar {
  background: var(--navy-dark);
  color: #e5e7eb;
  font-size: 12.5px;
  padding: 6px 0;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-inline {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  height: 26px;
}

.search-inline input {
  border: none;
  outline: none;
  padding: 0 8px;
  font-size: 12px;
  width: 140px;
  color: var(--text-dark);
}

.search-inline button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0 8px;
  height: 100%;
  cursor: pointer;
  font-size: 12px;
}

.site-header {
  position: relative;
  z-index: 10;
  background-color: var(--white);
  background-image: url('assets/images/header-bg.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 10px 0;
  border-top: 3px solid var(--navy-dark);
  border-bottom: 3px solid var(--navy-dark);
}

.header-brand {
  position: relative;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 108px;
}

.brand-logo-link {
  position: relative;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  max-width: 74%;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: none;
}

.header-logo-img {
  display: block;
  height: 102px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border: none;
  outline: none;
  box-shadow: none;
  pointer-events: none;
}

.site-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--white);
  text-transform: uppercase;
}

/* ==========================================================================
   3. Navigation & Breaking News
   ========================================================================== */
.main-nav {
  position: relative;
  z-index: 9;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.main-nav ul li a {
  display: block;
  padding: 10px 13px;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
  background: var(--red);
}

.breaking-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.breaking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}

.breaking-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.breaking-badge {
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 3px;
  white-space: nowrap;
  text-transform: uppercase;
}

.breaking-text {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breaking-text:hover {
  color: var(--red);
}

.breaking-controls button {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}

/* ==========================================================================
   4. Homepage Layout (Hero, Highlights, Popular, Category Grid & Feed)
   ========================================================================== */
.page-section {
  padding: 18px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1.15fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}

.hero-slider,
.hero-slide {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 380px;
  min-height: 380px;
  background: var(--navy-dark);
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.active {
  display: block;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to top,
    rgba(7, 22, 41, 0.92) 15%,
    rgba(7, 22, 41, 0.35) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
}

.hero-overlay a {
  position: relative;
  z-index: 4;
}

.cat-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
  width: fit-content;
}

.cat-badge.blue {
  background: #1d4ed8;
}

.cat-badge.teal {
  background: #0f766e;
}

.cat-badge.amber {
  background: #b45309;
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-excerpt {
  font-size: 13.5px;
  color: #e5e7eb;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  position: relative;
  z-index: 6;
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  width: fit-content;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease;
}

.btn-read-more:hover {
  background: var(--red-dark);
}

/* Middle Highlight Column */
.side-highlights {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  height: 380px;
}

.highlight-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: auto;
  min-height: 0;
  background: var(--navy-dark);
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
}

.highlight-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 8px 12px;
  gap: 4px;
  background: linear-gradient(90deg, rgba(7, 22, 41, 0.88) 0%, rgba(7, 22, 41, 0.45) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-content .cat-badge {
  margin-bottom: 0;
  padding: 2px 7px;
  font-size: 10px;
}

.highlight-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Cards & Popular News */
.card-box {
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.popular-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.popular-header {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.popular-list {
  list-style: none;
}

.popular-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}

.popular-item:last-child {
  border-bottom: none;
}

.popular-item a:hover {
  color: var(--red);
}

.popular-num {
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Bottom Category Columns & Promo */
.bottom-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
  margin-top: 20px;
  align-items: stretch;
}

.category-columns,
.index-extended-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.index-extended-grid {
  margin-top: 20px;
}

.cat-col,
.cat-col .post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cat-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cat-col-header a {
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: none;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.post-card-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-dark);
}

.post-card img,
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 12px 14px;
  flex: 1;
}

.post-card-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}

.post-card-title a:hover {
  color: var(--red);
}

.post-card-excerpt {
  font-size: 12.5px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-card {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: 6px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.promo-brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.promo-sub {
  font-size: 13px;
  font-style: italic;
  color: #e2e8f0;
}

.promo-cta {
  background: var(--red);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
}

/* Latest Feed on Homepage */
.index-latest-section {
  margin-top: 24px;
}

.latest-section-header {
  margin-bottom: 12px;
}

.latest-feed-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.latest-feed-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: stretch;
}

.latest-feed-thumb {
  display: block;
  min-height: 155px;
  overflow: hidden;
  background: var(--navy-dark);
}

.latest-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.latest-feed-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.latest-feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.latest-cat-badge {
  margin-bottom: 0;
}

.latest-feed-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.latest-feed-title a:hover {
  color: var(--red);
}

.latest-feed-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-read-btn {
  margin-top: 6px;
}

/* ==========================================================================
   5. Single Read Page
   ========================================================================== */
.single-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.single-breadcrumb a:hover {
  color: var(--red);
}

.single-layout {
  display: grid;
  grid-template-columns: 2.35fr 1fr;
  gap: 18px;
  align-items: start;
}

.single-article-inner {
  padding: 24px;
}

.single-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.22;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.single-featured {
  margin-bottom: 20px;
}

.single-featured img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.single-featured figcaption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

.single-content {
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
}

.single-content p,
.single-content h2,
.single-content h3,
.single-content blockquote,
.single-content ul,
.single-content ol,
.single-content .page-links {
  margin-bottom: 16px;
}

.single-content h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 24px;
}

.single-content blockquote {
  border-left: 4px solid var(--red);
  background: #f9fafb;
  padding: 12px 16px;
  font-style: italic;
  color: #374151;
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.single-tags a {
  background: #f1f5f9;
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.single-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
}

.share-btn {
  border: none;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
}

.share-btn.wa {
  background: #15803d;
}

.share-btn.fb {
  background: #1d4ed8;
}

.share-btn.copy {
  background: var(--navy);
}

.related-box {
  padding: 0 24px 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-widget {
  padding-bottom: 12px;
}

.single-comments {
  padding: 0 24px 24px;
}

/* ==========================================================================
   6. Category, Search Archive & Pagination
   ========================================================================== */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.archive-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  min-height: 165px;
  object-fit: cover;
  display: block;
}

.archive-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archive-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.archive-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.archive-title a:hover {
  color: var(--red);
}

.fhn-pagination {
  margin-top: 20px;
}

.fhn-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fhn-pagination .page-numbers {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.fhn-pagination .page-numbers.current,
.fhn-pagination .page-numbers:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ==========================================================================
   7. Footer & Responsive Breakpoints
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 24px 0;
  margin-top: 28px;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 992px) {
  .hero-grid,
  .bottom-grid,
  .category-columns,
  .index-extended-grid,
  .single-layout,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider,
  .hero-slide,
  .side-highlights {
    height: auto;
    min-height: 0;
  }

  .hero-slider,
  .hero-slide {
    min-height: 300px;
  }

  .side-highlights {
    grid-template-rows: none;
  }

  .highlight-card {
    height: 82px;
  }

  .header-brand {
    min-height: 82px;
  }

  .brand-logo-link {
    max-width: 78%;
  }

  .header-logo-img {
    height: 76px;
  }
}

@media (max-width: 768px) {
  .archive-card,
  .latest-feed-card {
    grid-template-columns: 1fr;
  }

  .latest-feed-thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 62%,
        rgba(255, 255, 255, 0.65) 100%
      ),
      url('assets/images/header-bg.jpg');
  }

  .header-brand {
    min-height: 66px;
  }

  .brand-logo-link {
    max-width: 100%;
  }

  .header-logo-img {
    height: 60px;
  }
}

/* Comments Section & Anti-Spam Honeypot */
.single-comments {
  padding: 0 24px 24px;
}

.comments-area {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.comments-title,
.comment-reply-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.comment-list .children {
  list-style: none;
  margin-top: 12px;
  margin-left: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-body {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.comment-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy);
}

.comment-author img.avatar {
  border-radius: 50%;
  border: 1px solid var(--border);
}

.comment-content {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark);
}

.comment-content p {
  margin-bottom: 8px;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-awaiting-moderation {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
}

.reply {
  margin-top: 8px;
}

.comment-reply-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Comment Form */
.comment-respond {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
}

.comment-notes,
.logged-in-as {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.comment-form p {
  margin: 0;
}

.comment-form-comment,
.comment-form-cookies-consent,
.form-submit,
.comment-notes,
.logged-in-as {
  grid-column: 1 / -1;
}

.comment-respond label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text-dark);
  background: var(--white);
}

.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond input[type="url"]:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.comment-respond textarea {
  min-height: 110px;
  resize: vertical;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-form-cookies-consent label {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
}

.comment-respond .submit {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.comment-respond .submit:hover {
  background: var(--red-dark);
}

/* Sembunyikan field honeypot untuk pengguna normal */
.fhn-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .single-comments {
    padding: 0 16px 18px;
  }

  .comment-form {
    grid-template-columns: 1fr;
  }

  .comment-list .children {
    margin-left: 12px;
    padding-left: 10px;
  }
}

/* Rekomendasi Berita di Sidebar Single */
.recommend-list {
  display: flex;
  flex-direction: column;
}

.recommend-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.recommend-item:last-child {
  border-bottom: none;
}

.recommend-thumb {
  display: block;
  width: 86px;
  height: 62px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-dark);
}

.recommend-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recommend-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.recommend-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommend-title a:hover {
  color: var(--red);
}

.recommend-date {
  font-size: 11px;
  color: var(--text-muted);
}

.recommend-empty {
  padding: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}