/*
Theme Name: Warta News Custom
Theme URI: https://example.com/warta-news-custom
Author: Custom Build
Description: Custom responsive news theme with trending, weekly highlights, must read sections, weather, and editorial portal layout.
Version: 1.1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: warta-news-custom
Tags: news, blog, custom-menu, featured-images, responsive-layout
*/

:root {
  --wkc-blue: #113f8c;
  --wkc-blue-dark: #082454;
  --wkc-blue-soft: #eef5ff;
  --wkc-orange: #ff7a00;
  --wkc-red: #df1f2d;
  --wkc-text: #162033;
  --wkc-muted: #687386;
  --wkc-border: #e4e9f2;
  --wkc-bg: #f6f8fb;
  --wkc-card: #ffffff;
  --wkc-shadow: 0 14px 34px rgba(12, 30, 66, 0.08);
  --wkc-radius: 8px;
  --wkc-container: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--wkc-bg);
  color: var(--wkc-text);
  font-family: Inter, "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--wkc-orange);
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

.wkc-placeholder {
  background:
    linear-gradient(135deg, rgba(17, 63, 140, 0.9), rgba(255, 122, 0, 0.88)),
    var(--wkc-blue);
  height: 100%;
  width: 100%;
}

.wkc-container {
  margin: 0 auto;
  max-width: var(--wkc-container);
  padding: 0 20px;
  width: 100%;
}

.wkc-topbar {
  background: var(--wkc-blue-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.wkc-topbar .wkc-container {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 38px;
}

.wkc-weather {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.wkc-weather strong {
  color: #fff;
}

.wkc-header {
  background: #fff;
  border-bottom: 1px solid var(--wkc-border);
  box-shadow: 0 8px 24px rgba(12, 30, 66, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

.wkc-header-main {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(180px, 260px) 1fr minmax(190px, 280px);
  min-height: 82px;
}

.wkc-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.wkc-logo img {
  max-height: 54px;
  width: auto;
}

.wkc-site-title {
  color: var(--wkc-blue);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wkc-site-title span {
  color: var(--wkc-orange);
}

.wkc-site-desc {
  color: var(--wkc-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

.wkc-menu {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wkc-menu a {
  color: var(--wkc-text);
  font-size: 14px;
  font-weight: 800;
}

.wkc-menu a:hover {
  color: var(--wkc-blue);
}

.wkc-search-form {
  display: flex;
}

.wkc-search-form input[type="search"] {
  border: 1px solid var(--wkc-border);
  border-radius: 999px 0 0 999px;
  min-width: 0;
  padding: 10px 14px;
  width: 100%;
}

.wkc-search-form button {
  background: var(--wkc-orange);
  border: 0;
  border-radius: 0 999px 999px 0;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 10px 16px;
}

.wkc-category-bar {
  background: var(--wkc-blue);
  color: #fff;
  overflow-x: auto;
}

.wkc-category-bar .wkc-container {
  align-items: center;
  display: flex;
  gap: 18px;
  min-height: 44px;
}

.wkc-category-label {
  background: var(--wkc-orange);
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  text-transform: uppercase;
}

.wkc-category-list {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.wkc-category-list a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.wkc-breaking {
  padding: 18px 0;
}

.wkc-breaking-inner {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wkc-border);
  border-radius: var(--wkc-radius);
  display: flex;
  gap: 14px;
  overflow: hidden;
  padding: 12px 16px;
}

.wkc-breaking-label {
  background: var(--wkc-red);
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  text-transform: uppercase;
}

.wkc-breaking-title {
  color: var(--wkc-text);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wkc-currency-widget {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wkc-border);
  border-radius: var(--wkc-radius);
  box-shadow: var(--wkc-shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: 190px minmax(0, 1fr);
  margin-bottom: 28px;
  padding: 14px 16px;
}

.wkc-currency-heading {
  border-right: 1px solid var(--wkc-border);
  padding-right: 16px;
}

.wkc-currency-heading span {
  color: var(--wkc-orange);
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wkc-currency-heading strong {
  color: var(--wkc-blue);
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
  margin-top: 3px;
}

.wkc-currency-heading small {
  color: var(--wkc-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.wkc-currency-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wkc-currency-item {
  background: var(--wkc-blue-soft);
  border-radius: 8px;
  padding: 9px 10px;
}

.wkc-currency-item span {
  color: var(--wkc-muted);
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.wkc-currency-item strong {
  color: var(--wkc-text);
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
  margin-top: 3px;
}

.wkc-main-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-bottom: 36px;
}

.wkc-hero-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.wkc-card,
.wkc-sidebar-box,
.wkc-section {
  background: var(--wkc-card);
  border: 1px solid var(--wkc-border);
  border-radius: var(--wkc-radius);
  box-shadow: var(--wkc-shadow);
}

.wkc-card {
  overflow: hidden;
}

.wkc-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--wkc-blue), var(--wkc-orange));
  display: block;
  overflow: hidden;
  position: relative;
}

.wkc-thumb img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
  width: 100%;
}

.wkc-card:hover .wkc-thumb img {
  transform: scale(1.035);
}

.wkc-thumb-title {
  background: linear-gradient(180deg, rgba(8, 36, 84, 0), rgba(8, 36, 84, 0.9));
  bottom: 0;
  color: #fff;
  display: block;
  font-size: 1rem;
  font-weight: 900;
  left: 0;
  line-height: 1.25;
  padding: 46px 14px 12px;
  position: absolute;
  right: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.wkc-card-content {
  padding: 16px;
}

.wkc-meta {
  align-items: center;
  color: var(--wkc-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 800;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.wkc-category-pill {
  color: var(--wkc-blue);
}

.wkc-card h2,
.wkc-card h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0;
}

.wkc-card h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
}

.wkc-card h3 {
  font-size: 1.08rem;
}

.wkc-card p {
  color: var(--wkc-muted);
  margin: 10px 0 0;
}

.wkc-list-stack {
  display: grid;
  gap: 14px;
}

.wkc-mini-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wkc-border);
  border-radius: var(--wkc-radius);
  display: grid;
  gap: 12px;
  grid-template-columns: 116px minmax(0, 1fr);
  padding: 10px;
}

.wkc-mini-card .wkc-thumb {
  aspect-ratio: 1 / 0.78;
  border-radius: 6px;
}

.wkc-mini-card h3 {
  font-size: 0.98rem;
}

.wkc-sidebar-box {
  padding: 18px;
}

.wkc-sidebar-box + .wkc-sidebar-box {
  margin-top: 22px;
}

.wkc-box-title,
.wkc-section-title {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.wkc-box-title h2,
.wkc-section-title h2 {
  color: var(--wkc-text);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.wkc-box-title h2:before,
.wkc-section-title h2:before {
  background: var(--wkc-orange);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 18px;
  margin-right: 8px;
  vertical-align: -2px;
  width: 5px;
}

.wkc-see-all {
  border: 1px solid var(--wkc-border);
  border-radius: 999px;
  color: var(--wkc-blue);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 11px;
}

.wkc-see-all:hover {
  background: var(--wkc-blue);
  border-color: var(--wkc-blue);
  color: #fff;
}

.wkc-ranked-list {
  counter-reset: ranked;
  display: grid;
  gap: 14px;
}

.wkc-ranked-item {
  counter-increment: ranked;
  display: grid;
  gap: 10px;
  grid-template-columns: 36px 1fr;
}

.wkc-ranked-item:before {
  align-items: center;
  background: var(--wkc-blue-soft);
  border-radius: 50%;
  color: var(--wkc-blue);
  content: counter(ranked);
  display: flex;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.wkc-ranked-item h3 {
  font-size: 0.98rem;
  line-height: 1.32;
  margin: 0;
}

.wkc-comment-popular {
  display: grid;
  gap: 14px;
}

.wkc-comment-popular-item {
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr);
}

.wkc-comment-popular-item strong {
  align-items: center;
  background: var(--wkc-orange);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-weight: 950;
  height: 40px;
  justify-content: center;
}

.wkc-comment-popular-item h3 {
  font-size: 0.98rem;
  line-height: 1.32;
  margin: 0;
}

.wkc-comment-popular-item span {
  color: var(--wkc-muted);
  font-size: 12px;
  font-weight: 800;
}

.wkc-promo-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
}

.wkc-promo-card {
  align-items: center;
  aspect-ratio: 16 / 4.2;
  background:
    linear-gradient(135deg, rgba(17, 63, 140, 0.92), rgba(255, 122, 0, 0.86)),
    var(--wkc-blue);
  border-radius: var(--wkc-radius);
  box-shadow: var(--wkc-shadow);
  color: #fff;
  display: flex;
  font-size: 1.35rem;
  font-weight: 950;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.wkc-promo-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wkc-section {
  margin-bottom: 30px;
  padding: 20px;
}

.wkc-section-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wkc-section-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wkc-must-read-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
}

.wkc-archive-wrap {
  padding: 26px 0 54px;
}

.wkc-page-title {
  background: linear-gradient(135deg, var(--wkc-blue), var(--wkc-blue-dark));
  border-radius: var(--wkc-radius);
  color: #fff;
  margin-bottom: 24px;
  padding: 30px;
}

.wkc-page-title h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  margin: 0 0 10px;
}

.wkc-page-title p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.wkc-archive-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wkc-single {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 330px;
  padding: 32px 0 60px;
}

.wkc-article {
  background: #fff;
  border: 1px solid var(--wkc-border);
  border-radius: var(--wkc-radius);
  box-shadow: var(--wkc-shadow);
  padding: clamp(20px, 4vw, 42px);
}

.wkc-breadcrumb {
  align-items: center;
  color: var(--wkc-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 18px;
}

.wkc-breadcrumb a {
  color: var(--wkc-blue);
}

.wkc-article h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.06;
  margin: 0 0 14px;
}

.wkc-article .wkc-thumb {
  border-radius: var(--wkc-radius);
  margin: 22px 0;
}

.wkc-article-content {
  color: #263247;
  font-size: 1.08rem;
}

.wkc-article-content a {
  color: var(--wkc-blue);
  text-decoration: underline;
}

.wkc-share {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.wkc-share span {
  color: var(--wkc-muted);
  font-size: 13px;
  font-weight: 900;
  margin-right: 2px;
  text-transform: uppercase;
}

.wkc-share a,
.wkc-share button {
  background: var(--wkc-blue-soft);
  border: 1px solid var(--wkc-border);
  border-radius: 999px;
  color: var(--wkc-blue);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
}

.wkc-share a:hover,
.wkc-share button:hover {
  background: var(--wkc-blue);
  color: #fff;
}

.wkc-author-box,
.wkc-related {
  background: #fff;
  border: 1px solid var(--wkc-border);
  border-radius: var(--wkc-radius);
  box-shadow: var(--wkc-shadow);
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
}

.wkc-author-box {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 72px minmax(0, 1fr);
}

.wkc-author-box img {
  border-radius: 50%;
}

.wkc-author-box span {
  color: var(--wkc-orange);
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wkc-author-box h2 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 3px 0 6px;
}

.wkc-author-box p {
  color: var(--wkc-muted);
  margin: 0 0 10px;
}

.wkc-author-box a {
  color: var(--wkc-blue);
  font-weight: 900;
}

.wkc-comments {
  background: #fff;
  border: 1px solid var(--wkc-border);
  border-radius: var(--wkc-radius);
  box-shadow: var(--wkc-shadow);
  margin-top: 24px;
  padding: clamp(18px, 3vw, 34px);
}

.wkc-comments-title,
.comment-reply-title {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 18px;
}

.wkc-comment-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.wkc-comment-list li {
  border-bottom: 1px solid var(--wkc-border);
  padding: 18px 0;
}

.wkc-comment-list .comment-body {
  color: var(--wkc-text);
}

.wkc-comment-list .comment-author {
  align-items: center;
  display: flex;
  gap: 10px;
  font-weight: 900;
}

.wkc-comment-list .avatar {
  border-radius: 50%;
}

.wkc-comments input[type="text"],
.wkc-comments input[type="email"],
.wkc-comments input[type="url"],
.wkc-comments textarea {
  border: 1px solid var(--wkc-border);
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
}

.wkc-comments .submit {
  background: var(--wkc-blue);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 11px 18px;
}

.wkc-comment-note {
  color: var(--wkc-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.wkc-pagination {
  margin-top: 30px;
}

.wkc-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wkc-pagination a,
.wkc-pagination span {
  background: #fff;
  border: 1px solid var(--wkc-border);
  border-radius: 999px;
  padding: 8px 13px;
}

.wkc-pagination .current {
  background: var(--wkc-blue);
  color: #fff;
}

.wkc-footer {
  background: var(--wkc-blue-dark);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 30px;
  padding: 34px 0;
}

.wkc-footer a {
  color: #fff;
}

@media (max-width: 1024px) {
  .wkc-header-main,
  .wkc-main-grid,
  .wkc-single {
    grid-template-columns: 1fr;
  }

  .wkc-menu {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .wkc-search-form {
    max-width: 420px;
  }

  .wkc-section-grid,
  .wkc-section-grid.four,
  .wkc-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wkc-topbar .wkc-container,
  .wkc-weather {
    align-items: flex-start;
    flex-direction: column;
  }

  .wkc-topbar .wkc-container {
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .wkc-header {
    position: static;
  }

  .wkc-header-main {
    gap: 14px;
    min-height: 0;
    padding: 16px 20px;
  }

  .wkc-site-title {
    font-size: 24px;
  }

  .wkc-hero-grid,
  .wkc-must-read-grid,
  .wkc-promo-strip,
  .wkc-currency-widget,
  .wkc-section-grid,
  .wkc-section-grid.four,
  .wkc-archive-grid {
    grid-template-columns: 1fr;
  }

  .wkc-mini-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .wkc-section {
    padding: 16px;
  }

  .wkc-section-title,
  .wkc-box-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .wkc-currency-heading {
    border-right: 0;
    border-bottom: 1px solid var(--wkc-border);
    padding: 0 0 12px;
  }

  .wkc-currency-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Header and footer refinements for LKPPL */
.wkc-header {
  position: relative;
}

.wkc-header-main {
  gap: 18px;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(190px, 300px);
  min-height: 92px;
}

.wkc-nav {
  min-width: 0;
}

.wkc-menu {
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.wkc-menu::-webkit-scrollbar {
  display: none;
}

.wkc-category-list a:hover {
  color: #fff;
}

.wkc-footer {
  padding: 42px 0;
}

.wkc-footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.wkc-footer strong {
  color: #fff;
  display: block;
  font-size: 1.18rem;
  line-height: 1.35;
  max-width: 520px;
}

.wkc-footer p {
  margin: 10px 0 0;
}

.wkc-footer-link {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  margin-top: 18px;
  padding: 8px 16px;
}

.wkc-footer-link:hover {
  background: #fff;
  color: var(--wkc-blue-dark);
}

@media (max-width: 1024px) {
  .wkc-header-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wkc-footer-grid {
    display: flex;
    flex-direction: column;
  }
}

/* News section cards should show the headline immediately, not just the image. */
.wkc-section-trending .wkc-card,
.wkc-section-sastra .wkc-card,
.wkc-section-weekly .wkc-card {
  display: grid;
  gap: 0;
  grid-template-columns: 132px minmax(0, 1fr);
}

.wkc-section-trending .wkc-thumb,
.wkc-section-sastra .wkc-thumb,
.wkc-section-weekly .wkc-thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 124px;
}

.wkc-section-trending .wkc-card-content,
.wkc-section-sastra .wkc-card-content,
.wkc-section-weekly .wkc-card-content {
  padding: 12px 14px;
}

.wkc-section-trending .wkc-card h3,
.wkc-section-sastra .wkc-card h3,
.wkc-section-weekly .wkc-card h3 {
  font-size: 0.98rem;
  line-height: 1.28;
}

.wkc-section-trending .wkc-card p,
.wkc-section-sastra .wkc-card p,
.wkc-section-weekly .wkc-card p {
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .wkc-section-trending .wkc-card,
  .wkc-section-sastra .wkc-card,
  .wkc-section-weekly .wkc-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .wkc-section-trending .wkc-thumb,
  .wkc-section-sastra .wkc-thumb,
  .wkc-section-weekly .wkc-thumb {
    min-height: 110px;
  }
}

/* Compact desktop header */
@media (min-width: 1025px) {
  .wkc-topbar .wkc-container {
    min-height: 32px;
  }

  .wkc-header-main {
    gap: 22px;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr) minmax(260px, 420px);
    min-height: 72px;
  }

  .wkc-brand {
    min-width: 0;
  }

  .wkc-logo img {
    max-height: 42px;
  }

  .wkc-site-title {
    font-size: 24px;
    letter-spacing: -0.03em;
  }

  .wkc-site-desc {
    font-size: 11px;
    letter-spacing: 0.09em;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wkc-menu {
    gap: 16px;
    justify-content: flex-start;
  }

  .wkc-menu a {
    font-size: 13px;
  }

  .wkc-search-form input[type="search"] {
    padding: 9px 14px;
  }

  .wkc-search-form button {
    padding: 9px 18px;
  }

  .wkc-category-bar .wkc-container {
    min-height: 40px;
  }

  .wkc-category-label {
    font-size: 11px;
    padding: 4px 12px;
  }

  .wkc-category-list {
    gap: 15px;
  }

  .wkc-category-list a {
    font-size: 13px;
  }
}

/* Final section layout: smaller image with visible title and excerpt. */
.wkc-section-trending .wkc-section-grid,
.wkc-section-sastra .wkc-section-grid,
.wkc-section-weekly .wkc-section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wkc-section-trending .wkc-card,
.wkc-section-sastra .wkc-card,
.wkc-section-weekly .wkc-card {
  display: block;
}

.wkc-section-trending .wkc-thumb,
.wkc-section-sastra .wkc-thumb,
.wkc-section-weekly .wkc-thumb {
  aspect-ratio: auto;
  height: 220px;
  min-height: 0;
}

.wkc-section-trending .wkc-thumb-title,
.wkc-section-sastra .wkc-thumb-title,
.wkc-section-weekly .wkc-thumb-title,
.wkc-section-grid .wkc-thumb-title,
.wkc-archive-grid .wkc-thumb-title {
  font-size: 1rem;
  padding: 48px 14px 12px;
}

.wkc-section-trending .wkc-card-content,
.wkc-section-sastra .wkc-card-content,
.wkc-section-weekly .wkc-card-content {
  display: block;
  padding: 14px 16px 16px;
}

.wkc-section-trending .wkc-card h3,
.wkc-section-sastra .wkc-card h3,
.wkc-section-weekly .wkc-card h3 {
  color: var(--wkc-text);
  display: block;
  font-size: 1.05rem;
  line-height: 1.32;
  margin: 0;
}

.wkc-section-trending .wkc-card p,
.wkc-section-sastra .wkc-card p,
.wkc-section-weekly .wkc-card p {
  color: var(--wkc-muted);
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .wkc-section-trending .wkc-section-grid,
  .wkc-section-sastra .wkc-section-grid,
  .wkc-section-weekly .wkc-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wkc-section-trending .wkc-thumb,
  .wkc-section-sastra .wkc-thumb,
  .wkc-section-weekly .wkc-thumb {
    height: 190px;
  }
}

@media (max-width: 720px) {
  .wkc-section-trending .wkc-section-grid,
  .wkc-section-sastra .wkc-section-grid,
  .wkc-section-weekly .wkc-section-grid {
    grid-template-columns: 1fr;
  }

  .wkc-section-trending .wkc-thumb,
  .wkc-section-sastra .wkc-thumb,
  .wkc-section-weekly .wkc-thumb {
    height: 180px;
  }
}
