/*
Theme Name: Pedoman Rakyat Custom Theme
Theme URI: http://localhost/pedomanrakyat/
Author: Michael Lumba
Description: Tema kustom premium, responsif, berkecepatan tinggi, dioptimalkan untuk SEO dengan palet warna Pedoman Rakyat.
Version: 2.0
License: GNU General Public License v2 or later
Tags: news, blog, two-columns, custom-menu, custom-logo, featured-images
 * Text Domain: pedoman-rakyat
 */

:root {
    --pr-red: #E4231C;
    --pr-gold: #F2C230;
    --pr-green: #008244;
    --pr-dark: #000000;
    --pr-light: #FFFFFF;
    --bg-slate-50: #f8fafc;
    --bg-slate-100: #f1f5f9;
    --bg-slate-200: #e2e8f0;
    --text-slate-800: #1e293b;
    --text-slate-500: #64748b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-slate-50);
    color: var(--text-slate-800);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--pr-red);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--pr-dark);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid #1e293b;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Wrapper sticky untuk header logo/search + menu navigasi */
.site-header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    transition: box-shadow 0.2s ease;
}

.main-header {
    background-color: var(--pr-light);
    padding: 24px 0;
    border-bottom: 1px solid var(--bg-slate-200);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

@media(min-width: 768px) {
    .header-grid {
        grid-template-columns: auto 1fr;
    }
}

@media(max-width: 767px) {
    .main-header {
        padding: 14px 0;
        transition: padding 0.2s ease;
    }

    .site-logo-image img {
        max-height: 34px;
        transition: max-height 0.2s ease;
    }

    .logo-area .site-logo-title {
        font-size: 20px;
    }

    .site-tagline {
        font-size: 9px;
    }

    /* Search box disembunyikan khusus di mobile (tetap ada di desktop) */
    .search-area {
        display: none;
    }

    /* Saat halaman discroll (class ditambahkan via JS), header jadi
       ringkas: cuma logo, tagline disembunyikan, biar gak ganggu baca */
    body.header-compact .main-header {
        padding: 8px 0;
    }

    body.header-compact .site-tagline {
        display: none;
    }

    body.header-compact .site-logo-image img {
        max-height: 24px;
    }

    body.header-compact .logo-area .site-logo-title {
        font-size: 15px;
    }
}

.logo-area .site-logo-title {
    font-size: 28px;
    font-weight: 950;
    color: var(--pr-red);
    letter-spacing: -1px;
}

.logo-area .site-logo-title a:hover {
    color: var(--pr-red);
}

.site-tagline {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-slate-500);
    font-weight: bold;
    margin-top: 4px;
}

.site-logo-image {
    line-height: 0;
}

.site-logo-image img {
    max-height: 48px;
    width: auto;
    display: block;
}

.search-area {
    justify-self: end;
    width: 100%;
    max-width: 320px;
}

/* Search Form */
.pr-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    background-color: var(--bg-slate-50);
    border: 1.5px solid var(--bg-slate-200);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pr-search-form:focus-within {
    border-color: var(--pr-red);
    box-shadow: 0 0 0 3px rgba(228, 35, 28, 0.12);
}

.pr-search-field {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-slate-800);
    outline: none;
}

.pr-search-field::placeholder {
    color: var(--text-slate-500);
}

.pr-search-field::-webkit-search-cancel-button {
    display: none;
}

.pr-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex-shrink: 0;
    border: none;
    background-color: var(--pr-red);
    color: var(--pr-light);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pr-search-submit:hover {
    background-color: #c41e18;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Navigation Menu */
.main-navigation {
    background-color: var(--pr-light);
    border-bottom: 1px solid var(--bg-slate-200);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.main-navigation li a {
    display: block;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Menu Kategori - versi Mobile (Hamburger/Dropdown) */
.menu-toggle-btn {
    display: none;
}

@media(max-width: 767px) {
    .menu-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background-color: var(--pr-red);
        color: var(--pr-light);
        border: none;
        border-radius: 999px;
        padding: 10px 14px;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        cursor: pointer;
        white-space: nowrap;
        transition: background-color 0.2s ease;
    }

    .menu-toggle-btn:hover {
        background-color: #c41e18;
    }

    .menu-toggle-icon {
        font-size: 14px;
        line-height: 1;
    }

    .main-navigation > .container > ul {
        display: none;
        flex-direction: column;
        overflow-x: visible;
        max-height: 60vh;
        overflow-y: auto;
        gap: 0;
        border-top: 1px solid var(--bg-slate-100);
    }

    .main-navigation > .container > ul.is-open {
        display: flex;
    }

    .main-navigation ul ul {
        display: flex;
        flex-direction: column;
        max-height: none;
        overflow: visible;
        padding-left: 16px;
        border-top: 0;
    }

    .main-navigation li a {
        padding: 12px 4px;
        border-bottom: 1px solid var(--bg-slate-100);
    }
}

/* Flash Ticker */
.flash-news-bar {
    background-color: var(--pr-green);
    color: var(--pr-light);
    padding: 6px 0;
    overflow: hidden;
}

.flex-start {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flash-badge {
    background-color: var(--pr-red);
    color: var(--pr-light);
    font-size: 10px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 4px;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: tickerLoop 55s linear infinite;
    font-size: 11px;
    font-weight: 600;
}

.ticker-item {
    display: inline-flex;
    margin-right: 28px;
    vertical-align: middle;
}

.ticker-item a {
    align-items: center;
    color: var(--pr-light);
    display: inline-flex;
    gap: 8px;
}

.ticker-item a:hover {
    color: var(--pr-light);
    text-decoration: underline;
}

.ticker-thumbnail {
    border-radius: 3px;
    height: 24px;
    object-fit: cover;
    width: 34px;
}

.site-header-sticky.site-header-static {
    position: relative;
}

.ticker-toggle {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    padding: 2px 7px;
    background: transparent;
    color: var(--pr-light);
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.ticker-wrapper:hover .ticker-content,
.ticker-wrapper:focus-within .ticker-content,
.ticker-content.is-paused {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .ticker-content {
        padding-left: 0;
        animation: none;
        white-space: normal;
    }
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* 3 Kolom Iklan Header + Slideshow */
.ads-header-section {
    padding: 24px 0;
}

.ads-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
}

@media(min-width: 768px) {
    .ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: cukup tampilkan slot iklan pertama saja biar tidak menumpuk ke bawah */
@media(max-width: 767px) {
    .ads-grid > .ad-slideshow-box:nth-child(2),
    .ads-grid > .ad-slideshow-box:nth-child(3) {
        display: none;
    }
}

.ad-slideshow-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1e293b;
    background-color: #0f172a;
}

.ad-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.ad-slide.active {
    opacity: 1;
}

img.ad-slide {
    object-fit: cover;
}

.ad-placeholder-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #64748b;
    font-size: 10px;
    font-weight: bold;
}

/* Single Post */
.single-layout {
    background: var(--pr-light);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--bg-slate-200);
    margin: 30px 0;
}

.pr-breadcrumb {
    color: var(--text-slate-500);
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    gap: 7px;
    margin: 20px 0 12px;
}

.pr-breadcrumb a {
    color: var(--text-slate-500);
}

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

.single-layout .pr-breadcrumb {
    margin-top: 0;
}

.single-category-badge {
    margin-bottom: 10px;
    display: inline-block;
}

.single-title {
    font-size: 28px;
    font-weight: 850;
    line-height: 1.3;
    color: var(--pr-dark);
    margin-bottom: 15px;
}

.single-post-meta {
    font-size: 11px;
    color: var(--text-slate-500);
    margin-bottom: 20px;
}

.reading-time {
    white-space: nowrap;
}

.single-featured-image {
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin-top: 20px;
}

.post-body p {
    margin-bottom: 15px;
}

.single-divider {
    border: 0;
    border-top: 1px solid var(--bg-slate-200);
    margin: 30px 0;
}

.related-posts {
    margin-top: 34px;
}

.related-posts-title {
    border-bottom: 3px solid var(--pr-red);
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.related-posts-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-post-card {
    border: 1px solid var(--bg-slate-200);
    border-radius: 10px;
    overflow: hidden;
}

.related-post-image {
    align-items: center;
    background: var(--bg-slate-100);
    color: var(--text-slate-500);
    display: flex;
    font-size: 11px;
    font-weight: 700;
    height: 130px;
    justify-content: center;
}

.related-post-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.related-post-content {
    padding: 13px;
}

.related-post-content h3 {
    font-size: 14px;
    line-height: 1.4;
    margin: 9px 0 7px;
}

.comments-section-container {
    margin-top: 10px;
}

/* Komentar */
.comments-area {
    margin-top: 10px;
}

.comments-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--pr-red);
    display: inline-block;
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment-list .comment-body {
    background: var(--bg-slate-50);
    border: 1px solid var(--bg-slate-200);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
}

.comment-list .children {
    list-style: none;
    margin-left: 30px;
    margin-top: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.comment-author .fn {
    font-weight: 800;
    font-style: normal;
}

.comment-metadata {
    font-size: 11px;
    color: var(--text-slate-500);
    margin-bottom: 8px;
}

.comment-metadata a {
    color: var(--text-slate-500);
}

.comment-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 8px;
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--pr-red);
    text-transform: uppercase;
}

.no-comments {
    font-size: 13px;
    color: var(--text-slate-500);
    margin-bottom: 20px;
}

.comment-respond {
    background: var(--pr-light);
    border: 1px solid var(--bg-slate-200);
    border-radius: 12px;
    padding: 24px;
}

#reply-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: var(--text-slate-800);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--bg-slate-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--pr-red);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit input[type="submit"] {
    background-color: var(--pr-red);
    color: var(--pr-light);
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-submit input[type="submit"]:hover {
    background-color: #c41e18;
}

/* Halaman 404 */
.page-404 {
    text-align: center;
    padding: 60px 30px;
}

.page-404-code {
    font-size: 64px;
    font-weight: 950;
    color: var(--pr-red);
    line-height: 1;
    margin-bottom: 10px;
}

.page-404-text {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-404-subtext {
    font-size: 14px;
    color: var(--text-slate-500);
    max-width: 480px;
    margin: 0 auto 25px;
}

.page-404-search {
    max-width: 400px;
    margin: 0 auto 25px;
}

.page-404-home-btn {
    display: inline-block;
    background-color: var(--pr-red);
    color: var(--pr-light);
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.page-404-home-btn:hover {
    background-color: #c41e18;
    color: var(--pr-light);
}

/* Layout Content & Sidebar */
.main-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

@media(min-width: 992px) {
    .main-content-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--pr-red);
    display: inline-block;
}

.news-list-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.homepage-hero {
    background: var(--pr-dark);
    border-radius: 14px;
    color: var(--pr-light);
    display: grid;
    margin-bottom: 34px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .homepage-hero {
        grid-template-columns: 1.2fr 1fr;
    }
}

.homepage-hero-image {
    align-items: center;
    background: var(--bg-slate-200);
    color: var(--text-slate-500);
    display: flex;
    justify-content: center;
    min-height: 230px;
}

.homepage-hero-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.homepage-hero-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
}

.homepage-hero-content h2 {
    font-size: 25px;
    line-height: 1.25;
    margin: 12px 0;
}

.homepage-hero-content h2 a:hover {
    color: var(--pr-gold);
}

.homepage-hero-content .post-meta {
    color: #cbd5e1;
}

.homepage-hero-excerpt {
    color: #e2e8f0;
    font-size: 13px;
    margin-top: 14px;
}

.homepage-hero-excerpt p {
    margin: 0;
}

.homepage-news-section {
    margin-top: 10px;
}

.homepage-news-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.homepage-news-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .homepage-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.homepage-news-card {
    background: var(--pr-light);
    border: 1px solid var(--bg-slate-200);
    border-radius: 10px;
    overflow: hidden;
}

.homepage-news-image {
    align-items: center;
    background: var(--bg-slate-100);
    color: var(--text-slate-500);
    display: flex;
    font-size: 11px;
    font-weight: 700;
    height: 150px;
    justify-content: center;
}

.homepage-news-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.homepage-news-content {
    padding: 15px;
}

.homepage-news-content h3 {
    font-size: 15px;
    line-height: 1.4;
    margin: 9px 0 12px;
}

.homepage-category-section {
    border-top: 1px solid var(--bg-slate-200);
    margin-top: 36px;
    padding-top: 24px;
}

.homepage-category-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.homepage-category-heading h2 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.homepage-category-heading a {
    color: var(--pr-red);
    font-size: 12px;
    font-weight: 800;
}

.homepage-category-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .homepage-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.homepage-category-card {
    border: 1px solid var(--bg-slate-200);
    border-radius: 10px;
    overflow: hidden;
}

.homepage-category-image {
    align-items: center;
    background: var(--bg-slate-100);
    color: var(--text-slate-500);
    display: flex;
    font-size: 11px;
    font-weight: 700;
    height: 130px;
    justify-content: center;
}

.homepage-category-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.homepage-category-content {
    padding: 13px;
}

.homepage-category-content h3 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-card-horizontal {
    background: var(--pr-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bg-slate-200);
    display: grid;
    grid-template-columns: 1fr;
}

@media(min-width: 576px) {
    .news-card-horizontal {
        grid-template-columns: 1fr 1.8fr;
    }
}

.post-thumbnail {
    height: 180px;
    background-color: var(--bg-slate-100);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-badge {
    align-self: start;
    background-color: #fef2f2;
    color: var(--pr-red);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.post-details h3 {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.post-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    gap: 5px;
    color: var(--text-slate-500);
}

.author-avatar {
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    display: block;
}

/* Sidebar Right */
.sidebar-right {
    background-color: var(--pr-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--bg-slate-200);
    height: fit-content;
}

.popular-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-list li {
    display: flex;
    align-items: start;
    gap: 10px;
}

.popular-item-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.popular-thumbnail {
    border-radius: 6px;
    height: 50px;
    object-fit: cover;
    width: 50px;
    flex-shrink: 0;
}

.popular-item-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.rank-number {
    font-size: 20px;
    font-weight: 900;
    color: var(--bg-slate-200);
    line-height: 1;
    flex-shrink: 0;
    min-width: 18px;
}

/* Halaman About */
.about-header {
    background-color: var(--pr-dark);
    color: var(--pr-light);
    padding: 50px 0;
    margin-bottom: 30px;
}

.about-header h1 {
    font-size: 32px;
    font-weight: 900;
}

.about-card-container {
    background: var(--pr-light);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--bg-slate-200);
}

.about-content-body h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    margin-top: 25px;
    color: var(--pr-dark);
    border-left: 4px solid var(--pr-red);
    padding-left: 12px;
}

.about-content-body h2:first-child {
    margin-top: 0;
}

.about-content-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

@media(min-width: 576px) {
    .editorial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.editorial-member {
    background: var(--bg-slate-50);
    border: 1px solid var(--bg-slate-200);
    border-radius: 10px;
    padding: 16px;
}

.editorial-member h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--pr-red);
    margin-bottom: 4px;
}

.editorial-member p {
    font-size: 12px;
    color: var(--text-slate-500);
}

/* Halaman Arsip Kategori */
.category-archive-title-box {
    background: var(--pr-light);
    border: 1px solid var(--bg-slate-200);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
    border-left: 4px solid var(--pr-red);
}

.category-archive-title-box h1 {
    font-size: 26px;
    font-weight: 900;
    color: var(--pr-dark);
    margin-top: 4px;
}

.main-footer {
    background-color: var(--pr-light);
    border-top: 4px solid var(--pr-green);
    padding: 40px 0;
    text-align: center;
}

.text-center {
    text-align: center;
}

.footer-site-name {
    color: var(--pr-red);
    font-weight: 900;
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-slate-500);
    margin-top: 5px;
}

.footer-contact {
    font-size: 13px;
    color: var(--text-slate-500);
    margin-top: 14px;
}

.footer-contact a:hover {
    color: var(--pr-red);
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.footer-social-links a {
    align-items: center;
    background: var(--pr-dark);
    border-radius: 50%;
    color: var(--pr-light);
    display: flex;
    font-size: 11px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    line-height: 1;
    min-width: 30px;
    padding: 0 5px;
    text-transform: uppercase;
}

.footer-social-links a:hover {
    background: var(--pr-red);
    color: var(--pr-light);
}

.footer-menu {
    margin-top: 18px;
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: center;
    list-style: none;
}

.footer-menu li a {
    color: var(--text-slate-500);
    font-size: 12px;
    font-weight: 700;
}

.footer-menu li a:hover {
    color: var(--pr-red);
}

.footer-app-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.app-download-btn {
    background: var(--pr-dark);
    border-radius: 999px;
    color: var(--pr-light);
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 10px 22px;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.app-download-btn:hover {
    background: var(--pr-red);
    color: var(--pr-light);
}

.leaderboard-ad {
    border-radius: 10px;
    margin: 30px 0;
    overflow: hidden;
    text-align: center;
}

.leaderboard-ad img {
    border-radius: 10px;
    display: block;
    height: auto;
    max-width: 100%;
}

.sidebar-ad {
    border-radius: 10px;
    margin-top: 30px;
    overflow: hidden;
    text-align: center;
}

.sidebar-ad img {
    border-radius: 10px;
    display: block;
    height: auto;
    max-width: 100%;
}

.footer-copyright {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 15px;
}

/* Tag Cloud */
.tagcloud a {
    background: var(--bg-slate-100);
    border-radius: 4px;
    color: var(--text-slate-800);
    display: inline-block;
    font-size: 11px !important;
    font-weight: 700;
    margin: 0 4px 8px 0;
    padding: 4px 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tagcloud a:hover {
    background: var(--pr-red);
    color: var(--pr-light);
}

/* Load More */
.pr-load-more-btn:hover {
    background: #c41e18 !important;
}
