/* ============================================================
   konten.css  –  Orange Fresh Theme – Inner Page Styles
   Covers: pub-hero, content-grid, sidebar, editorial news,
           article detail, comments, agenda, artikel, galeri,
           video, download, links, kontak, halaman pages.
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS variables
   a) New vars not in landingpage.css – defined globally
   b) Navbar vars – redefined scoped to content area only
   ---------------------------------------------------------- */

/* a) New variables (not conflicting with navbar) */
:root {
    --body-text  : #1a1a2e;
    --toggle-bg  : #f8fafc;
}
[data-theme="dark"] {
    --body-text  : #f1f5f9;
    --toggle-bg  : #141620;
}

/* b) Scoped overrides – restore navbar vars to neutral for content.
      CSS custom props are inherited, so elements inside .main-content
      pick up these values instead of the orange navbar values. */
.main-content,
.pub-hero {
    --nav-bg        : #ffffff;
    --nav-border    : rgba(0, 0, 0, 0.08);
    --nav-text      : #1a1a2e;
    --nav-text-muted: #8c8c9c;
}

[data-theme="dark"] .main-content,
[data-theme="dark"] .pub-hero {
    --nav-bg        : #1e2132;
    --nav-border    : rgba(255, 255, 255, 0.08);
    --nav-text      : #f1f5f9;
    --nav-text-muted: #6b7280;
}


/* ----------------------------------------------------------
   2. Page Hero Header (.pub-hero)
   ---------------------------------------------------------- */
.pub-hero {
    position: relative;
    background: linear-gradient(135deg, #EE5A36 0%, #c23b22 100%);
    padding: calc(var(--nav-height, 80px) + 52px) 0 52px;
    overflow: hidden;
    color: #ffffff;
}

/* Ornament blobs */
.hero-ornament {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.ornament-orange-1 {
    width: 360px; height: 360px;
    top: -120px; right: -80px;
    background: rgba(255, 255, 255, 0.08);
}
.ornament-orange-2 {
    width: 200px; height: 200px;
    bottom: -60px; left: 10%;
    background: rgba(255, 255, 255, 0.06);
}
.ornament-green-1 {
    width: 280px; height: 280px;
    top: -60px; left: -80px;
    background: rgba(51, 141, 36, 0.20);
}
.ornament-green-2 {
    width: 160px; height: 160px;
    bottom: -40px; right: 15%;
    background: rgba(51, 141, 36, 0.15);
}
.ornament-green-3 {
    width: 100px; height: 100px;
    top: 40%; left: 40%;
    background: rgba(51, 141, 36, 0.10);
}

/* Hero overlay circles */
.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-circle-1 {
    width: 500px; height: 500px;
    top: -200px; right: -100px;
}
.hero-circle-2 {
    width: 300px; height: 300px;
    bottom: -100px; left: 5%;
}

/* Hero text */
.hero-content-wrapper {
    position: relative;
    z-index: 5;
}
.hero-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    line-height: 1.2;
}
.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 14px;
    max-width: 560px;
    line-height: 1.6;
}
.breadcrumbs {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.70);
}
.breadcrumbs a {
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #ffffff;
}


/* ----------------------------------------------------------
   3. Main content wrapper
   ---------------------------------------------------------- */
.main-content {
    background: var(--bg-body, #fdfdfb);
    padding: 40px 0 80px;
}

[data-theme="dark"] .main-content {
    background: #0d0f1a;
}


/* ----------------------------------------------------------
   4. Content grid (two-column: section + sidebar)
   ---------------------------------------------------------- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.content-grid--full {
    grid-template-columns: 1fr;
}

@media (max-width: 1100px) {
    .content-grid {
        grid-template-columns: 1fr 280px;
        gap: 24px;
    }
}
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}


/* ----------------------------------------------------------
   5. Common section / sidebar
   ---------------------------------------------------------- */
.page-section,
.news-section {
    min-width: 0;
}

.sidebar {
    min-width: 0;
    position: sticky;
    top: calc(var(--nav-height, 80px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---- Sidebar card shell ---- */
.sidebar-card {
    background: var(--nav-bg, #ffffff);
    border: 1px solid var(--nav-border, rgba(0,0,0,0.08));
    border-radius: 18px;
    overflow: hidden;
}

[data-theme="dark"] .sidebar-card {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}

.card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--nav-border, rgba(0,0,0,0.08));
    background: rgba(238, 90, 54, 0.05);
}

[data-theme="dark"] .card-header {
    background: rgba(238, 90, 54, 0.08);
    border-bottom-color: rgba(255,255,255,0.06);
}

.card-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
    color: #EE5A36;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ---- Category list ---- */
.category-list {
    list-style: none;
    margin: 0;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-list li {
    margin: 0;
    padding: 0;
}

.category-list > li > a,
.category-list > li > ul > li > a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--body-text, #1a1a2e);
    text-decoration: none;
    transition: background 120ms, color 120ms;
}

.category-list > li > a:hover,
.category-list > li > ul > li > a:hover {
    background: rgba(238, 90, 54, 0.08);
    color: #EE5A36;
}

[data-theme="dark"] .category-list > li > a,
[data-theme="dark"] .category-list > li > ul > li > a {
    color: #e2e8f0;
}

/* nested child categories */
.category-list .category-list {
    padding: 2px 0 2px 14px;
    border-left: 2px solid rgba(238, 90, 54, 0.2);
    margin: 4px 0 4px 10px;
}

/* ---- Search box ---- */
.search-box {
    background: var(--nav-bg, #ffffff);
    border: 1px solid var(--nav-border, rgba(0,0,0,0.08));
    border-radius: 18px;
    padding: 14px 14px 16px;
}

[data-theme="dark"] .search-box {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}

.search-box input[type="text"],
.sidebar-search input[type="text"] {
    border: 1px solid var(--nav-border, rgba(0,0,0,0.08));
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--toggle-bg, #f8fafc);
    color: var(--body-text, #1a1a2e);
    font-size: 13px;
    width: 100%;
    outline: none;
    transition: border-color 140ms;
}

.search-box input[type="text"]:focus,
.sidebar-search input[type="text"]:focus {
    border-color: #EE5A36;
}

[data-theme="dark"] .search-box input[type="text"],
[data-theme="dark"] .sidebar-search input[type="text"] {
    background: #141620;
    border-color: rgba(255,255,255,0.08);
    color: #f1f5f9;
}

/* ---- Recent news ---- */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 14px 12px;
}

.recent-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--nav-border, rgba(0,0,0,0.07));
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-content {
    flex: 1 1 auto;
    min-width: 0;
}

.recent-content h4 {
    margin: 0 0 5px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--body-text, #1a1a2e);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="dark"] .recent-content h4 { color: #e2e8f0; }

.recent-content h4 a:hover { color: #EE5A36; }

.recent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 11px;
    color: var(--nav-text-muted, #8c8c9c);
}

.recent-meta .category {
    background: rgba(238, 90, 54, 0.10);
    color: #EE5A36;
    border-radius: 6px;
    padding: 2px 7px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

[data-theme="dark"] .recent-meta .category {
    background: rgba(238, 90, 54, 0.18);
}

.no-comments {
    padding: 14px 4px;
    font-size: 13px;
    color: var(--nav-text-muted, #8c8c9c);
}

/* ---- Sidebar gallery ---- */
.sidebar-gallery {
    background: var(--nav-bg, #ffffff);
    border: 1px solid var(--nav-border, rgba(0,0,0,0.08));
    border-radius: 18px;
    padding: 14px 14px 16px;
}

[data-theme="dark"] .sidebar-gallery {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}

.gallery-title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 900;
    color: #EE5A36;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--toggle-bg, #f8fafc);
    transition: opacity 140ms;
}

.gallery-item:hover { opacity: 0.82; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-heading, #1a1a2e);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange, #EE5A36);
    display: inline-block;
}

[data-theme="dark"] .section-title { color: #f1f5f9; }


/* ----------------------------------------------------------
   6. News header, subheading
   ---------------------------------------------------------- */
.news-header {
    margin-bottom: 4px;
}
.news-subheading-wrap {
    margin-bottom: 4px;
}
.news-subheading {
    font-size: 0.95rem;
    color: var(--text-body, #4a4a5a);
    margin: 0;
    line-height: 1.6;
}
[data-theme="dark"] .news-subheading { color: #94a3b8; }


/* ----------------------------------------------------------
   7. Editorial news layout (featured + list)
   ---------------------------------------------------------- */
.editorial-news-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

@media (max-width: 820px) {
    .editorial-news-wrapper { grid-template-columns: 1fr; }
}

/* Featured article */
.ed-featured {
    background: var(--bg-card, #ffffff);
    border-radius: 18px;
    border: 1px solid var(--border-color, rgba(0,0,0,0.06));
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .ed-featured {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}

.ed-featured:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.ed-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.ed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ed-featured:hover .ed-img { transform: scale(1.04); }

.ed-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--orange, #EE5A36);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    z-index: 2;
}

.ed-badge-small {
    display: inline-block;
    background: rgba(238,90,54,0.10);
    color: var(--orange, #EE5A36);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.ed-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.ed-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted, #8c8c9c);
}
[data-theme="dark"] .ed-meta-item { color: #6b7280; }

.ed-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--text-heading, #1a1a2e);
}
[data-theme="dark"] .ed-title { color: #f1f5f9; }

.ed-title a {
    color: inherit;
    text-decoration: none;
}
.ed-title a:hover { color: var(--orange, #EE5A36); }

.ed-excerpt {
    font-size: 0.9rem;
    color: var(--text-body, #4a4a5a);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
[data-theme="dark"] .ed-excerpt { color: #94a3b8; }

.ed-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange, #EE5A36);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    margin-top: auto;
    padding-top: 4px;
}
.ed-read-more:hover { gap: 10px; }

/* List side */
.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ed-list-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, rgba(0,0,0,0.06));
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
[data-theme="dark"] .ed-list-item {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}
.ed-list-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.ed-list-img-wrapper {
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.ed-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ed-list-item:hover .ed-list-img { transform: scale(1.06); }

.ed-list-content {
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ed-list-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--text-heading, #1a1a2e);
}
[data-theme="dark"] .ed-list-title { color: #f1f5f9; }

.ed-list-title a { color: inherit; text-decoration: none; }
.ed-list-title a:hover { color: var(--orange, #EE5A36); }

.ed-list-meta {
    font-size: 11px;
    color: var(--text-muted, #8c8c9c);
}


/* ----------------------------------------------------------
   8. Article detail (isiberita / isiartikel)
   ---------------------------------------------------------- */
.article-detail {
    background: var(--bg-card, #ffffff);
    border-radius: 18px;
    border: 1px solid var(--border-color, rgba(0,0,0,0.06));
    padding: 28px;
}
[data-theme="dark"] .article-detail {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}

.article-detail-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-heading, #1a1a2e);
    margin: 0 0 16px;
}
[data-theme="dark"] .article-detail-title { color: #f1f5f9; }

.article-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.08));
    margin-bottom: 16px;
}
[data-theme="dark"] .article-meta-detail {
    border-bottom-color: rgba(255,255,255,0.08);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted, #8c8c9c);
}
[data-theme="dark"] .meta-item { color: #6b7280; }

.article-featured-img {
    margin: 0 0 6px;
    border-radius: 12px;
    overflow: hidden;
}
.detail-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.img-caption-overlay {
    display: block;
    font-size: 12px;
    color: var(--text-muted, #8c8c9c);
    margin-bottom: 18px;
}

.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body, #4a4a5a);
    margin-bottom: 28px;
}
[data-theme="dark"] .article-body { color: #c4c9d4; }

.article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.article-body iframe { max-width: 100%; }
.article-body p { margin-bottom: 1.1em; }
.article-body a { color: var(--orange, #EE5A36); text-decoration: underline; }

/* Comments */
.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, rgba(0,0,0,0.08));
}
[data-theme="dark"] .comments-header { border-top-color: rgba(255,255,255,0.08); }

.detail-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-heading, #1a1a2e);
    margin: 0;
}
[data-theme="dark"] .detail-section-title { color: #f1f5f9; }

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted, #8c8c9c);
}
.share-links { display: flex; gap: 8px; }
.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.share-icon:hover { opacity: 0.85; }
.share-icon.fb { background: #1877f2; }
.share-icon.tw { background: #1da1f2; }
.share-icon.cp {
    background: var(--nav-border, rgba(0,0,0,0.08));
    color: var(--body-text, #1a1a2e);
    border: 1px solid var(--nav-border, rgba(0,0,0,0.08));
    transition: background 0.2s, color 0.2s;
}
.share-icon.cp:hover { background: rgba(238,90,54,0.10); color: #EE5A36; border-color: #EE5A36; }
[data-theme="dark"] .share-icon.cp { background: rgba(255,255,255,0.07); color: #f1f5f9; border-color: rgba(255,255,255,0.12); }

.comments-section {
    margin-bottom: 24px;
}
.no-comments {
    font-size: 14px;
    color: var(--text-muted, #8c8c9c);
    padding: 14px 0;
}

/* Individual comment items */
.comment-item {
    padding: 14px 0;
    border-top: 1px solid var(--border-color, rgba(0,0,0,0.07));
}

[data-theme="dark"] .comment-item {
    border-top-color: rgba(255,255,255,0.07);
}

.comment-author {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-heading, #1a1a2e);
}

[data-theme="dark"] .comment-author { color: #f1f5f9; }

.comment-date {
    font-size: 11px;
    color: var(--nav-text-muted, #8c8c9c);
    margin-top: 2px;
}

.comment-body {
    margin-top: 8px;
}

.comment-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-body, #4a4a5a);
    margin-bottom: 4px;
}

[data-theme="dark"] .comment-title { color: #c4c9d4; }

.comment-text {
    font-size: 14px;
    color: var(--text-body, #4a4a5a);
    line-height: 1.65;
}

[data-theme="dark"] .comment-text { color: #94a3b8; }

.write-comment-section {
    padding-top: 18px;
    border-top: 1px solid var(--border-color, rgba(0,0,0,0.08));
    margin-top: 4px;
}
[data-theme="dark"] .write-comment-section { border-top-color: rgba(255,255,255,0.08); }

.comment-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; }

.comment-form input,
.comment-form textarea {
    border: 1px solid var(--border-color, rgba(0,0,0,0.12));
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-body, #fdfdfb);
    color: var(--text-heading, #1a1a2e);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    resize: vertical;
}
[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea {
    background: #141620;
    color: #f1f5f9;
    border-color: rgba(255,255,255,0.10);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--orange, #EE5A36); }

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

.form-action { display: flex; justify-content: flex-end; }

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange, #EE5A36);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: #d04830; transform: translateY(-1px); }

.article-footer { margin-top: 24px; }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-body, #4a4a5a);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 0;
}
.btn-back:hover { color: var(--orange, #EE5A36); }
[data-theme="dark"] .btn-back { color: #94a3b8; }


/* ----------------------------------------------------------
   9. Artikel cards (artikel.blade.php)
   ---------------------------------------------------------- */
.article-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, rgba(0,0,0,0.06));
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
[data-theme="dark"] .article-card {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}
.article-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.article-img-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.article-card:hover .article-img { transform: scale(1.04); }

.article-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.news-badge {
    display: inline-block;
    background: rgba(238,90,54,0.10);
    color: var(--orange, #EE5A36);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
}
.news-date {
    font-size: 12px;
    color: var(--text-muted, #8c8c9c);
}

.news-excerpt {
    font-size: 0.88rem;
    color: var(--text-body, #4a4a5a);
    line-height: 1.65;
}
[data-theme="dark"] .news-excerpt { color: #94a3b8; }

.article-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange, #EE5A36);
    margin-top: 4px;
}


/* ----------------------------------------------------------
   10. Agenda cards
   ---------------------------------------------------------- */
.agenda-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color, rgba(0,0,0,0.06));
    background: var(--bg-card, #ffffff);
    transition: box-shadow 0.25s, transform 0.25s;
}
[data-theme="dark"] .agenda-card {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}
.agenda-card:hover {
    box-shadow: 0 10px 36px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.agenda-card.orange .agenda-date-box { background: var(--orange, #EE5A36); }
.agenda-card.green  .agenda-date-box { background: #338d24; }

.agenda-date-box {
    padding: 16px 20px;
    text-align: center;
    color: #ffffff;
}
.agenda-month {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
}
.agenda-day {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    margin: 4px 0;
}
.agenda-year {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
}

.agenda-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading, #1a1a2e);
    line-height: 1.4;
    padding: 14px 18px 10px;
}
[data-theme="dark"] .agenda-title { color: #f1f5f9; }

.agenda-divider {
    height: 1px;
    background: var(--border-color, rgba(0,0,0,0.08));
    margin: 0 18px;
}
[data-theme="dark"] .agenda-divider { background: rgba(255,255,255,0.08); }

.agenda-details {
    padding: 10px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.agenda-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: var(--text-body, #4a4a5a);
    line-height: 1.45;
}
[data-theme="dark"] .agenda-detail-item { color: #94a3b8; }

.agenda-link {
    display: block;
    text-align: center;
    padding: 12px;
    background: rgba(238,90,54,0.07);
    color: var(--orange, #EE5A36);
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    border-top: 1px solid var(--border-color, rgba(0,0,0,0.06));
    transition: background 0.2s;
}
.agenda-link:hover { background: rgba(238,90,54,0.14); }
[data-theme="dark"] .agenda-link { border-top-color: rgba(255,255,255,0.08); }


/* ----------------------------------------------------------
   11. Isi Agenda detail page
   ---------------------------------------------------------- */
.agenda-detail-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, rgba(0,0,0,0.06));
    border-radius: 18px;
    padding: 28px;
}
[data-theme="dark"] .agenda-detail-card {
    background: #1e2132;
    border-color: rgba(255,255,255,0.08);
}

.agenda-info-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-body, #4a4a5a);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.06));
}
[data-theme="dark"] .agenda-info-row {
    color: #94a3b8;
    border-bottom-color: rgba(255,255,255,0.06);
}

.agenda-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body, #4a4a5a);
    margin-top: 16px;
}
[data-theme="dark"] .agenda-desc { color: #c4c9d4; }
.agenda-desc img { max-width: 100%; height: auto; border-radius: 10px; }
.agenda-desc iframe { max-width: 100%; }


/* ----------------------------------------------------------
   12. Page / Halaman article
   ---------------------------------------------------------- */
.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
[data-theme="dark"] .page-meta { border-bottom-color: rgba(255,255,255,0.08); }

.page-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.8;
}

.page-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body, #4a4a5a);
    text-align: justify;
}
[data-theme="dark"] .page-body { color: #c4c9d4; }
.page-body p { margin-bottom: 1em; }
.page-body img { max-width: 100%; height: auto; border-radius: 12px; }
.page-body iframe { max-width: 100%; }
.page-body a { color: var(--orange, #EE5A36); }


/* ----------------------------------------------------------
   13. Pagination (.of-pagination)
   ---------------------------------------------------------- */
.of-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.of-pagination__info {
    font-size: 13px;
    color: var(--nav-text-muted, #8c8c9c);
    line-height: 1.5;
}

.of-pagination__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.of-pg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--nav-border, rgba(0,0,0,0.08));
    background: var(--nav-bg, #ffffff);
    color: var(--body-text, #1a1a2e);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 120ms, border-color 120ms, color 120ms;
    line-height: 1;
    cursor: pointer;
}

a.of-pg-link:hover {
    background: rgba(238, 90, 54, 0.08);
    border-color: #EE5A36;
    color: #EE5A36;
}

.of-pg-item--active .of-pg-link {
    background: #EE5A36;
    border-color: #EE5A36;
    color: #ffffff;
    cursor: default;
}

.of-pg-item--disabled .of-pg-link {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.of-pg-item--dots .of-pg-link {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

[data-theme="dark"] .of-pg-link {
    background: #1e2132;
    border-color: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

[data-theme="dark"] a.of-pg-link:hover {
    background: rgba(238, 90, 54, 0.15);
    border-color: #EE5A36;
    color: #EE5A36;
}

[data-theme="dark"] .of-pg-item--active .of-pg-link {
    background: #EE5A36;
    border-color: #EE5A36;
    color: #ffffff;
}

/* ----------------------------------------------------------
   14. Responsiveness helpers
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .pub-hero { padding: calc(var(--nav-height, 80px) + 32px) 0 36px; }
    .hero-title { font-size: 1.5rem; }
    .article-detail { padding: 18px; }
    .agenda-day { font-size: 2rem; }
    .content-grid { gap: 20px; }
}

@media (max-width: 540px) {
    .ed-list-item { grid-template-columns: 80px 1fr; }
    .editorial-news-wrapper { gap: 16px; }
}
