/*
Theme Name: CMP Merah Putih
Theme URI: https://channelmerahputih.com/
Author: Channel Merah Putih
Description: Tema berita Channel Merah Putih — diadaptasi dari desain Figma "Channel Merah Putih Website" (brand CMP 24 Hours): merah #E60012, Montserrat, layout portal berita dengan sidebar Terpopuler & Opini.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cmp-merah-putih
Tags: news, two-columns, right-sidebar, custom-logo, custom-menu
*/

:root {
  --red: #E60012;
  --red-dark: #C81010;
  --topbar: #AC0303;
  --maroon: #770606;
  --maroon-2: #630404;
  --ink: #111111;
  --gray: #666666;
  --gray-2: #949494;
  --line: #E5E5E5;
  --soft: #F7F7F7;
  --cream: #F7F6F3;
  --white: #FFFFFF;
  --grad-band: linear-gradient(115deg, #7E0A0A 0%, #A50D0D 55%, #C41111 100%);
  --font-brand: 'Montserrat', 'Segoe UI', sans-serif;
  --font-ui: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 10px rgba(17, 17, 17, .06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
  background: var(--topbar);
  color: #fff;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
}

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

.topbar__social { display: flex; gap: 16px; align-items: center; }
.topbar__social svg { width: 15px; height: 15px; fill: #fff; opacity: .95; }
.topbar__social a:hover svg { opacity: .7; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

body.admin-bar .header { top: 32px; }

.header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 96px; height: 49px; object-fit: contain; }
.brand__logo img, .brand__logo .custom-logo { max-height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; }

.brand__page {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .34px;
  color: var(--red);
  line-height: 1.15;
  text-transform: uppercase;
}

.brand__desc {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 9.5px;
  color: var(--gray);
  margin-top: 3px;
  white-space: nowrap;
}

ul.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 13.5px;
  list-style: none;
}

@media (max-width: 1420px) {
  ul.nav { gap: 14px; font-size: 13px; }
  .brand__desc { display: none; }
  .btn-live { padding: 10px 14px; font-size: 12.5px; }
}

.nav li { display: block; }

.nav a {
  display: block;
  padding: 30px 2px;
  position: relative;
  color: var(--ink);
  white-space: nowrap;
}

.nav a:hover { color: var(--red); }

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-cat > a { color: var(--red); }

.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-cat > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

/* Dropdown submenu */
.nav li { position: relative; }

.nav .menu-item-has-children > a { padding-right: 16px; }

.nav > li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, .12);
  min-width: 210px;
  padding: 8px;
  display: none;
  z-index: 70;
  list-style: none;
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { display: block; }

.nav .sub-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 500;
}

.nav .sub-menu a:hover { background: #FDF3F3; color: var(--red); }

.nav .sub-menu .current-menu-item > a { background: #FDF3F3; }
.nav .sub-menu .current-menu-item > a::after { content: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

ul.nav + .header__actions { margin-left: 0; }

.search-pop { position: relative; }

.search-pop summary {
  list-style: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search-pop summary::-webkit-details-marker { display: none; }
.search-pop summary svg { width: 17px; height: 17px; stroke: var(--ink); }
.search-pop summary:hover { border-color: var(--gray-2); }

.search-pop__panel {
  position: absolute;
  right: 0;
  top: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 12px;
  width: 300px;
  z-index: 60;
}

.cmp-search-form { display: flex; gap: 8px; }

.cmp-search-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 13px;
}

.cmp-search-form .btn { padding: 10px 14px; font-size: 12.5px; }

.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 10px;
}

.btn-live:hover { background: var(--red-dark); color: #fff; }
.btn-live svg { width: 15px; height: 15px; fill: #fff; }

/* ==========================================================================
   Elemen bersama
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn svg { width: 14px; height: 14px; fill: currentColor; }

.badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 5px;
}

.badge--sm { font-size: 9px; padding: 3px 7px; }

.thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.kicker {
  display: inline-block;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--red);
}

.breadcrumb {
  font-size: 12.5px;
  color: var(--gray);
  padding: 18px 0 6px;
}

.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; color: var(--gray-2); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-head h2 {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .4px;
}

.section-head h2.upper { text-transform: uppercase; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 13px;
}

.link-more svg { width: 15px; height: 15px; stroke: var(--red); }
.link-more:hover { color: var(--red-dark); }

.tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  flex-wrap: wrap;
}

.tabs a:hover { color: var(--red); }

.tabs .is-active {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 7px;
}

.thumb {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--soft);
}

.thumb img { width: 100%; height: 100%; object-fit: cover; }

.meta { font-size: 12px; color: var(--gray); }
.meta .dot { margin: 0 6px; color: var(--gray-2); }

.avatar, img.avatar { border-radius: 50%; object-fit: cover; }

.page-title { padding: 8px 0 0; }
.page-title h1 { font-family: var(--font-brand); font-weight: 800; font-size: 34px; }
.page-title p { color: var(--gray); margin-top: 6px; }

.no-posts { margin: 20px 0; color: var(--gray); }

/* Kartu sidebar */
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 20px;
}

.side-card + .side-card { margin-top: 22px; }

.side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.side-card__head h3 {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .3px;
}

.side-card__head h3.upper { text-transform: uppercase; }

.ranked { display: grid; gap: 14px; list-style: none; }

.ranked li {
  display: grid;
  grid-template-columns: 22px 74px 1fr;
  gap: 11px;
  align-items: center;
}

.ranked .num {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 15px;
  color: var(--red);
}

.ranked .thumb { height: 48px; }
.ranked h4 { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.ranked h4 a:hover { color: var(--red); }
.ranked .meta { margin-top: 3px; font-size: 11px; }

.newsletter-card { border: 1px solid #F3D4D6; background: #FDF7F7; }

.newsletter-card .nl-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.newsletter-card .nl-head img { width: 44px; height: 44px; object-fit: contain; }

.newsletter-card h3 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 5px;
}

.newsletter-card p { font-size: 12.5px; color: var(--gray); }

.nl-form { display: flex; gap: 9px; margin-top: 14px; }

.nl-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12.5px;
  background: #fff;
}

.nl-form .btn { padding: 10px 14px; font-size: 12px; border-radius: 9px; }

.cat-list { list-style: none; }

.cat-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #F0F0F0;
  font-size: 13.5px;
  font-weight: 600;
}

.cat-list li:last-child { border-bottom: 0; }
.cat-list svg { width: 18px; height: 18px; stroke: var(--red); flex-shrink: 0; }
.cat-list .count { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--gray); }
.cat-list a:hover { color: var(--red); }

.promo-card { text-align: center; }
.promo-card .promo-banner { border-radius: var(--radius); overflow: hidden; }
.promo-card .btn { width: 100%; margin-top: 14px; }

/* Widget bawaan WordPress di sidebar tambahan */
.widget ul { list-style: none; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid #F0F0F0; font-size: 13.5px; }
.widget ul li:last-child { border-bottom: 0; }
.widget a:hover { color: var(--red); }

/* ==========================================================================
   Layout
   ========================================================================== */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  padding: 26px 0 60px;
}

.layout--article { padding-top: 10px; }

.home-section { margin-top: 38px; }

/* ==========================================================================
   Beranda
   ========================================================================== */

.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(15, 3, 5, .72) 0%, rgba(15, 3, 5, 0) 38%),
    linear-gradient(90deg, rgba(13, 3, 4, .96) 0%, rgba(13, 3, 4, .82) 42%, rgba(13, 3, 4, .35) 64%, rgba(13, 3, 4, 0) 82%);
}

.hero__body { padding: 44px 48px; max-width: 620px; }

.hero__body h1 {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.2;
  margin: 18px 0 14px;
}

.hero__body h1 a { color: #fff; }
.hero__body h1 a:hover { text-decoration: underline; }

.hero__body p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .88);
  max-width: 480px;
}

.hero__cta { display: flex; gap: 12px; margin-top: 24px; }
.hero__meta { margin-top: 20px; font-size: 12px; color: rgba(255, 255, 255, .7); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card { display: flex; flex-direction: column; }
.news-card .thumb { aspect-ratio: 8 / 3.9; }
.news-card time { font-size: 11.5px; color: var(--gray); margin: 11px 0 5px; }
.news-card .kicker { margin-top: 10px; font-size: 10.5px; }
.news-card .kicker + h3 { margin-top: 5px; }

.news-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.news-card h3 a:hover { color: var(--red); }
.news-card .meta { margin-top: 8px; }

.video-band {
  background: var(--grad-band);
  border-radius: var(--radius-lg);
  padding: 26px 28px 30px;
  color: #fff;
  margin-top: 40px;
}

.video-band .section-head { margin-bottom: 20px; }
.video-band .section-head h2 { color: #fff; }
.video-band .link-more { color: #fff; }
.video-band .link-more svg { stroke: #fff; }

.video-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.video-card { display: flex; flex-direction: column; }
.video-card .thumb { aspect-ratio: 16 / 9; border-radius: 10px; }

.video-card h3 {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 10px;
}

.video-card h3 a:hover { text-decoration: underline; }
.video-band .meta { color: rgba(255, 255, 255, .75); margin-top: 5px; font-size: 11px; }
.video-band .meta .dot { color: rgba(255, 255, 255, .5); }

.opini-feature {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 13px;
  padding-bottom: 15px;
  border-bottom: 1px solid #F0F0F0;
}

.opini-feature .thumb { height: 96px; }
.opini-feature time { font-size: 11px; color: var(--gray); display: inline-block; margin: 0 0 4px 8px; }
.opini-feature h4 { font-size: 13px; font-weight: 700; line-height: 1.35; }
.opini-feature h4 a:hover { color: var(--red); }
.opini-feature .byline { font-size: 11px; color: var(--gray); margin-top: 5px; }

.opini-list { display: grid; gap: 13px; margin-top: 15px; list-style: none; }

.opini-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 11px;
  align-items: center;
}

.opini-list .thumb { height: 60px; }
.opini-list time { font-size: 10.5px; color: var(--gray); display: block; margin-bottom: 3px; }
.opini-list h4 { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.opini-list h4 a:hover { color: var(--red); }

/* ==========================================================================
   Daftar arsip / pencarian
   ========================================================================== */

.opini-item {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #F0F0F0;
}

.opini-item .thumb { aspect-ratio: 16 / 10.4; }

.opini-item h3.list-title {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  margin: 8px 0 9px;
}

.opini-item h3 a:hover { color: var(--red); }
.opini-item .excerpt { font-size: 13.5px; color: var(--gray); max-width: 560px; }

.opini-item__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.opini-item__foot .avatar { width: 28px; height: 28px; }
.opini-item__foot .name { font-size: 12.5px; font-weight: 600; }
.opini-item__foot .meta { font-size: 12px; }

.pagination { margin-top: 26px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }
.pagination .page-numbers.current:hover { color: #fff; }

/* ==========================================================================
   Artikel
   ========================================================================== */

.article-head h1 {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.25;
  margin: 12px 0 14px;
  letter-spacing: -.3px;
}

.article-head .lead { font-size: 15.5px; color: var(--gray); max-width: 680px; }

.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 22px;
  flex-wrap: wrap;
}

.author-row .avatar { width: 40px; height: 40px; }
.author-row .who { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.author-row .who svg { width: 14px; height: 14px; fill: var(--red); }
.author-row .when { font-size: 12px; color: var(--gray); margin-top: 2px; }

.share-row {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--gray);
}

.share-row a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.share-row a:hover { border-color: var(--gray-2); }
.share-row svg { width: 15px; height: 15px; }

.article-figure .thumb { aspect-ratio: 16 / 7.5; border-radius: var(--radius-lg); }
.article-figure figcaption { font-size: 11.5px; color: var(--gray-2); margin-top: 9px; }

.article-body { margin-top: 22px; max-width: 720px; }

.article-body p { margin-bottom: 16px; font-size: 14.5px; line-height: 1.75; }

.article-body h2, .article-body h3, .article-body h4 {
  font-family: var(--font-brand);
  font-weight: 800;
  margin: 26px 0 12px;
  line-height: 1.3;
}

.article-body h2 { font-size: 22px; }
.article-body h3 { font-size: 18px; }
.article-body h4 { font-size: 15.5px; }

.article-body ul, .article-body ol { margin: 0 0 16px 22px; font-size: 14.5px; line-height: 1.75; }

.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 6px 0 6px 18px;
  margin: 0 0 16px;
  color: #333;
  font-style: italic;
}

.article-body img { border-radius: var(--radius); margin: 6px 0; }
.article-body figure { margin: 0 0 16px; }
.article-body figcaption { font-size: 11.5px; color: var(--gray-2); margin-top: 7px; }
.article-body iframe { max-width: 100%; }
.article-body a { color: var(--red); }
.article-body a:hover { text-decoration: underline; }

.article-body .wp-caption { max-width: 100%; }
.article-body .wp-caption-text { font-size: 11.5px; color: var(--gray-2); margin-top: 7px; }
.article-body .aligncenter { margin-left: auto; margin-right: auto; }
.article-body .alignleft { float: left; margin: 4px 18px 10px 0; }
.article-body .alignright { float: right; margin: 4px 0 10px 18px; }

.page-links { margin: 14px 0; font-size: 13px; }
.page-links a { color: var(--red); margin: 0 3px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }

.tag {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--gray);
}

.tag:hover { color: var(--red); border-color: var(--red); }

.author-box {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-top: 8px;
}

.author-box .avatar { width: 64px; height: 64px; flex-shrink: 0; }
.author-box h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.author-box h3 svg { width: 15px; height: 15px; fill: var(--red); }
.author-box p { font-size: 12.5px; color: var(--gray); margin-top: 4px; }

.related { margin-top: 34px; }

.related .bar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 18px;
}

.related .bar-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
}

.related .news-grid { grid-template-columns: repeat(4, 1fr); }

.page-article { max-width: 860px; margin: 0 auto; padding-bottom: 60px; }

/* ==========================================================================
   Halaman Kontak (template kontak.php)
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 0 60px;
  align-items: start;
}

.contact-info { list-style: none; display: grid; gap: 16px; }

.contact-info li { display: flex; gap: 13px; }

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FDEDEE;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ci-icon svg { width: 18px; height: 18px; stroke: var(--red); fill: none; }

.contact-info h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.contact-info p { font-size: 13px; color: var(--gray); word-break: break-word; }
.contact-info a:hover { color: var(--red); }

.contact-social { display: flex; gap: 12px; }

.contact-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.contact-social svg { width: 16px; height: 16px; fill: var(--ink); }
.contact-social a:hover { border-color: var(--red); }
.contact-social a:hover svg { fill: var(--red); }

.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 28px;
}

.contact-form-card h1, .contact-form-card h2, .contact-form-card h3 {
  font-family: var(--font-brand);
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card input[type="url"],
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 4px;
  background: #fff;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, .08);
}

.contact-form-card .wpforms-field { margin-bottom: 16px; }

.contact-form-card button[type="submit"],
.contact-form-card input[type="submit"],
.contact-form-card .wpforms-submit {
  background: var(--red) !important;
  color: #fff !important;
  font-family: var(--font-brand) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 13px 26px !important;
  border: 0 !important;
  border-radius: 10px !important;
  cursor: pointer;
}

.contact-form-card button[type="submit"]:hover,
.contact-form-card .wpforms-submit:hover {
  background: var(--red-dark) !important;
}

/* ==========================================================================
   Halaman Tentang Kami (template tentang.php)
   ========================================================================== */

.btn--outline-red {
  border: 1.5px solid var(--red);
  color: var(--red);
  background: #fff;
}

.btn--outline-red:hover { background: #FDEDEE; }

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 44px;
  align-items: center;
  padding: 26px 0 44px;
}

.about-hero h1 { font-family: var(--font-brand); font-weight: 800; font-size: 36px; }

.about-hero .sub {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 15px;
  color: var(--red);
  margin: 8px 0 16px;
}

.about-hero p { font-size: 14px; color: var(--gray); margin-bottom: 13px; max-width: 460px; }
.about-hero__content p { color: var(--gray); }
.about-hero .thumb { aspect-ratio: 16 / 6.9; border-radius: var(--radius-lg); }

.center-title { text-align: center; margin-bottom: 30px; }
.center-title h2 { font-family: var(--font-brand); font-weight: 800; font-size: 26px; }

.center-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3.5px;
  border-radius: 2px;
  background: var(--red);
  margin: 12px auto 0;
}

.center-title .sub { color: var(--gray); font-size: 13.5px; margin-top: 12px; }

.mvv-section { padding: 10px 0 0; }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FDFDFD;
  padding: 26px;
}

.mvv-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.mvv-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FDEDEE;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mvv-icon svg { width: 21px; height: 21px; stroke: var(--red); fill: none; }
.mvv-card h3 { font-family: var(--font-brand); font-weight: 800; font-size: 16px; letter-spacing: .5px; }
.mvv-card ul { display: grid; gap: 12px; list-style: none; }
.mvv-card ul li { display: flex; gap: 10px; font-size: 13px; color: #333; }
.mvv-card ul svg { width: 16px; height: 16px; stroke: var(--red); fill: none; flex-shrink: 0; margin-top: 2px; }
.mvv-card > p { font-size: 13.5px; color: #333; }
.mvv-card dl { display: grid; gap: 13px; }
.mvv-card dl div { display: flex; gap: 8px; font-size: 13px; }
.mvv-card dt { font-weight: 700; white-space: nowrap; display: flex; gap: 9px; }
.mvv-card dt svg { width: 16px; height: 16px; stroke: var(--red); fill: none; margin-top: 2px; }
.mvv-card dd { color: var(--gray); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  margin: 44px 0;
}

.stat { display: flex; align-items: center; gap: 14px; justify-content: center; }
.stat + .stat { border-left: 1px solid #F0F0F0; }
.stat svg { width: 30px; height: 30px; stroke: var(--red); fill: none; flex-shrink: 0; }
.stat .num { font-family: var(--font-brand); font-weight: 800; font-size: 22px; line-height: 1.1; }
.stat .lbl { font-size: 11.5px; color: var(--gray); margin-top: 3px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  background: #fff;
}

.team-card img { width: 100%; aspect-ratio: 10 / 7.3; object-fit: cover; object-position: top; }
.team-card .body { padding: 14px 10px 16px; }
.team-card h3 { font-size: 13.5px; font-weight: 700; }
.team-card p { font-size: 11px; color: var(--gray); margin-top: 3px; }

.quote-band {
  background:
    radial-gradient(120% 190% at 100% 100%, rgba(230, 0, 18, .35) 0%, rgba(230, 0, 18, 0) 45%),
    radial-gradient(80% 160% at 0% 0%, #8C0B0B 0%, rgba(140, 11, 11, 0) 60%),
    linear-gradient(100deg, #5C0303 0%, #7A0606 100%);
  color: #fff;
  margin-top: 54px;
}

.quote-band .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.quote-band .qmark {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: .6;
  color: rgba(255, 255, 255, .9);
}

.quote-band blockquote {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.45;
  margin-top: 18px;
  max-width: 460px;
}

.quote-band h3 { font-family: var(--font-brand); font-weight: 800; font-size: 18px; }
.quote-band .sub { font-size: 13px; color: rgba(255, 255, 255, .8); margin: 9px 0 16px; max-width: 420px; }
.quote-band form { display: flex; gap: 10px; }

.quote-band input {
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 13px;
}

.quote-band .btn { background: var(--red-dark); color: #fff; }
.quote-band .btn:hover { background: var(--red); }

body.tpl-tentang .footer { margin-top: 0; }

/* ==========================================================================
   Komentar
   ========================================================================== */

.comments { margin-top: 36px; }
.comments h2 { font-family: var(--font-brand); font-weight: 800; font-size: 18px; margin-bottom: 14px; }

.comment-list { list-style: none; }
.comment-list .children { list-style: none; margin-left: 46px; }

.comment-list .comment-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 6px;
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
  font-size: 13.5px;
}

.comment-list .comment-author .avatar { width: 42px; height: 42px; grid-row: span 3; }
.comment-list .comment-author { display: contents; }
.comment-list .comment-author .fn { font-weight: 700; font-style: normal; font-size: 13.5px; }
.comment-list .comment-meta { grid-column: 2; font-size: 11.5px; color: var(--gray); }
.comment-list .comment-meta a { color: var(--gray); }
.comment-list .comment-content { grid-column: 2; margin-top: 6px; }
.comment-list .reply { grid-column: 2; margin-top: 6px; font-size: 12px; }
.comment-list .reply a { color: var(--red); font-weight: 600; }
.comment-list .says { display: none; }

.comment-respond { margin-top: 22px; }
.comment-respond .comment-reply-title { font-family: var(--font-brand); font-weight: 800; font-size: 16px; margin-bottom: 12px; }

.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13.5px;
}

.comment-form .submit {
  background: var(--red);
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}

.comment-form .submit:hover { background: var(--red-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--maroon);
  color: #fff;
  margin-top: 60px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.25fr;
  gap: 34px;
  padding: 40px 0 34px;
}

.footer__contact { list-style: none; }

.footer__contact li {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 12px;
}

.footer__contact a { color: rgba(255, 255, 255, .82); }
.footer__contact a:hover { color: #fff; }

.footer__contact svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .9;
}

.footer__brand img { height: 58px; width: auto; }

.footer__brand p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .78);
  margin-top: 16px;
  max-width: 260px;
}

.footer__social { display: flex; gap: 15px; margin-top: 18px; }
.footer__social svg { width: 16px; height: 16px; fill: #fff; opacity: .9; }
.footer__social a:hover svg { opacity: .6; }

.footer h4 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 15px;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { font-size: 13px; color: rgba(255, 255, 255, .82); }
.footer__col a:hover { color: #fff; }

/* Jika menu footer memakai fallback ul.nav, tampilkan vertikal gaya footer */
.footer__col ul.nav {
  display: block;
  margin-left: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 13px;
}

.footer__col ul.nav li { margin-bottom: 9px; }

.footer__col ul.nav a {
  padding: 0;
  color: rgba(255, 255, 255, .82);
  white-space: normal;
}

.footer__col ul.nav a:hover { color: #fff; }
.footer__col ul.nav .current-menu-item > a { color: rgba(255, 255, 255, .82); }
.footer__col ul.nav .current-menu-item > a::after { content: none; }

.footer__bottom { background: var(--maroon-2); }

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   Responsif
   ========================================================================== */

@media (max-width: 1080px) {
  ul.nav { display: none; }
  .layout { grid-template-columns: 1fr; }
  .news-grid, .related .news-grid { grid-template-columns: repeat(2, 1fr); }
  .video-strip { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: 0; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-band .container { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .news-grid, .related .news-grid, .video-strip { grid-template-columns: 1fr; }
  .hero__body { padding: 30px 24px; }
  .hero__body h1 { font-size: 26px; }
  .opini-item { grid-template-columns: 1fr; }
  .brand__desc { display: none; }
  .topbar__tagline { font-size: 10.5px; }
  .article-head h1 { font-size: 25px; }
  .share-row { margin-left: 0; }
  .footer__main { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
