/* ===== NEWS PAGE STYLES ===== */

    /* Filter bar */
    .news-filter-bar {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
      margin-bottom: 3rem;
    }
    .filter-btn {
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      padding: 0.5rem 1.2rem;
      border: 1.5px solid #d9ded3;
      background: #fff;
      color: #57685d;
      border-radius: 999px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .filter-btn:hover {
      border-color: var(--green-mid, #2d6a4f);
      color: var(--green-deep);
      transform: translateY(-1px);
    }
    .filter-btn.active {
      background: var(--green-mid, #2d6a4f);
      border-color: var(--green-mid, #2d6a4f);
      color: #fff;
      box-shadow: 0 6px 16px rgba(45,106,79,0.25);
    }

    /* Featured article */
    .news-featured {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      border: 1px solid #e2e6dc;
      box-shadow: 0 2px 14px rgba(27,67,50,0.06);
      margin-bottom: 4.5rem;
      text-decoration: none;
      color: inherit;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .news-featured:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 56px rgba(27,67,50,0.16);
    }
    .news-featured-img {
      position: relative;
      aspect-ratio: 4/3;
      overflow: hidden;
    }
    .news-featured-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s;
    }
    .news-featured:hover .news-featured-img img {
      transform: scale(1.05);
    }
    .news-featured-ribbon {
      position: absolute;
      top: 1.25rem;
      left: 1.25rem;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #fff;
      background: rgba(13,43,30,0.72);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.25);
      padding: 0.5em 0.95em;
      border-radius: 999px;
    }
    .news-featured-ribbon::before {
      content: '';
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--gold-light);
    }
    .news-featured-body {
      padding: 3rem 3rem 2.75rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 1.15rem;
    }
    .news-featured-readmore {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--green-mid);
      transition: gap 0.2s, color 0.2s;
    }
    .news-featured:hover .news-featured-readmore {
      gap: 0.65rem;
      color: var(--gold);
    }
    .news-tag {
      display: inline-block;
      font-family: 'Inter', sans-serif;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.3rem 0.75rem;
      background: var(--cream);
      border: 1px solid #dbe4dc;
      border-radius: 999px;
      color: var(--green-mid);
      width: fit-content;
    }
    .news-tag.tag-perusahaan { border-color: rgba(21,128,61,0.3);  color: #15803d; background: rgba(21,128,61,0.08); }
    .news-tag.tag-ekspor     { border-color: rgba(29,78,216,0.3);  color: #1d4ed8; background: rgba(29,78,216,0.08); }
    .news-tag.tag-pertanian  { border-color: rgba(180,83,9,0.3);   color: #b45309; background: rgba(180,83,9,0.08); }
    .news-tag.tag-produk     { border-color: rgba(109,40,217,0.3); color: #6d28d9; background: rgba(109,40,217,0.08); }

    .news-featured-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.5rem, 2.2vw, 2.1rem);
      font-weight: 700;
      line-height: 1.28;
      color: var(--green-deep);
      margin: 0;
    }
    .news-featured-excerpt {
      font-family: 'Inter', sans-serif;
      font-size: 0.92rem;
      line-height: 1.75;
      color: #4b5563;
    }
    .news-featured-meta {
      font-family: 'Inter', sans-serif;
      font-size: 0.75rem;
      color: #6b7280;
      display: flex;
      gap: 1rem;
      align-items: center;
      justify-content: space-between;
      margin-top: 0.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid #e5e7eb;
    }
    .news-featured-meta-left { display: flex; gap: 1rem; align-items: center; }

    /* News grid */
    .news-grid-section-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.75rem;
    }
    .news-grid-section h2 {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-family: 'Playfair Display', serif;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--green-deep);
      letter-spacing: 0.005em;
    }
    .news-grid-section h2::before {
      content: '';
      width: 26px; height: 2px;
      background: var(--gold);
      display: inline-block;
    }
    .news-grid-count {
      font-family: 'Inter', sans-serif;
      font-size: 0.75rem;
      color: #8a978c;
      white-space: nowrap;
    }
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.75rem;
    }

    .ncard {
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      background: transparent;
      border: none;
      border-radius: 0;
      overflow: visible;
      box-shadow: none;
      transition: transform 0.25s;
    }
    .ncard:hover {
      transform: translateY(-4px);
    }
    .ncard-img {
      aspect-ratio: 16/11;
      overflow: hidden;
      border-radius: 10px;
    }
    .ncard-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.45s;
    }
    .ncard:hover .ncard-img img {
      transform: scale(1.05);
    }
    .ncard-body {
      padding: 1.15rem 0 0;
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: 0.55rem;
    }
    .ncard-cats {
      font-family: 'Inter', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: #8a978c;
      margin: 0;
    }
    .ncard-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.15rem;
      font-weight: 700;
      line-height: 1.32;
      color: var(--green-deep);
      margin: 0;
    }
    .ncard-excerpt {
      font-family: 'Inter', sans-serif;
      font-size: 0.85rem;
      line-height: 1.65;
      color: #57685d;
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .ncard-readmore {
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--green-deep);
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      margin-top: 0.15rem;
      transition: gap 0.2s, color 0.2s;
    }
    .ncard:hover .ncard-readmore {
      gap: 0.5rem;
      color: var(--gold);
    }

    /* Sidebar layout for list view */
    .news-layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 4.5rem;
      align-items: start;
    }
    .news-sidebar-title {
      font-family: 'Inter', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--green-bright);
      margin-bottom: 1.25rem;
    }

    /* Sidebar recent list */
    .sidebar-news-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 2.25rem;
      background: #fff;
      box-shadow: 0 2px 10px rgba(27,67,50,0.05);
    }
    .sidebar-nitem {
      display: flex;
      gap: 0.85rem;
      padding: 1rem 1.15rem;
      text-decoration: none;
      color: inherit;
      border-bottom: 1px solid #f3f4f6;
      transition: background 0.2s;
    }
    .sidebar-nitem:last-child { border-bottom: none; }
    .sidebar-nitem:hover { background: var(--cream); }
    .sidebar-nitem-img {
      width: 56px;
      height: 56px;
      border-radius: 8px;
      overflow: hidden;
      flex: none;
    }
    .sidebar-nitem-img img { width: 100%; height: 100%; object-fit: cover; }
    .sidebar-nitem-text {}
    .sidebar-nitem-title {
      font-family: 'Inter', sans-serif;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--green-deep);
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .sidebar-nitem-date {
      font-family: 'Inter', sans-serif;
      font-size: 0.7rem;
      color: #6b7280;
      margin-top: 0.25rem;
    }

    /* Sidebar category */
    .sidebar-cats {
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 2px 10px rgba(27,67,50,0.05);
    }
    .sidebar-cat {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.8rem 1.15rem;
      border-bottom: 1px solid #f3f4f6;
      text-decoration: none;
      color: #4b5563;
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      transition: background 0.2s, color 0.2s;
    }
    .sidebar-cat:last-child { border-bottom: none; }
    .sidebar-cat:hover { background: var(--cream); color: var(--green-deep); }
    .sidebar-cat-count {
      font-size: 0.72rem;
      color: var(--green-mid);
      background: var(--cream);
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
    }

    /* Load more */
    .news-load-more {
      text-align: center;
      margin-top: 3rem;
    }
    .btn-outline {
      display: inline-block;
      font-family: 'Inter', sans-serif;
      font-size: 0.85rem;
      font-weight: 500;
      padding: 0.75rem 2rem;
      border: 1.5px solid var(--green-mid);
      border-radius: 8px;
      color: var(--green-deep);
      background: transparent;
      cursor: pointer;
      transition: all 0.2s;
      letter-spacing: 0.02em;
    }
    .btn-outline:hover {
      border-color: var(--green-mid);
      color: #fff;
      background: var(--green-mid);
    }

    /* CTA banner */
    .news-cta {
      position: relative;
      overflow: hidden;
      margin-top: 5.5rem;
      border: none;
      border-radius: 20px;
      padding: 3.25rem 3.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
      background:
        radial-gradient(circle at 6px 6px, rgba(255,255,255,0.05) 1.2px, transparent 1.2px) 0 0/26px 26px,
        var(--green-deep);
    }
    .news-cta::before {
      content: '';
      position: absolute; z-index: 0;
      width: 320px; height: 320px;
      right: -120px; top: -160px; border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 0 0 60px rgba(255,255,255,0.015);
      pointer-events: none;
    }
    .news-cta-text { position: relative; z-index: 1; }
    .news-cta > a { position: relative; z-index: 1; }
    .news-cta-text h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.55rem;
    }
    .news-cta-text p {
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      color: rgba(255,255,255,0.68);
      max-width: 460px;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .news-featured { grid-template-columns: 1fr; }
      .news-featured-img { aspect-ratio: 16/9; }
      .news-layout { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .news-grid { grid-template-columns: 1fr; }
      .news-featured-body { padding: 1.5rem; }
      .news-cta { flex-direction: column; }
    }
