﻿:root {
    --primary: #651b1b;
    --primary-dark: #3f0f0f;
    --text: #1f2933;
    --muted: #68727d;
    --surface: #ffffff;
    --background: #f4f5f7;
    --border: #dfe3e8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.header-main {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
}

.brand {
    color: inherit;
    text-decoration: none;
}

.brand-title {
    display: block;
    color: var(--primary);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-tagline {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.header-date {
    max-width: 310px;
    color: var(--muted);
    font-size: 14px;
    text-align: right;
}

.main-nav {
    background: var(--primary-dark);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
}

.nav-list a {
    padding: 13px 15px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.nav-list a:hover {
    background: var(--primary);
}

.page-content {
    padding: 34px 0 48px;
}

.hero-section {
    padding: 48px;
    background: linear-gradient(135deg, #651b1b, #8d2b2b);
    color: #ffffff;
    border-radius: 12px;
}

.hero-label,
.category-label,
.section-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-section h1 {
    max-width: 780px;
    margin: 12px 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.15;
}

.hero-section p {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
}

.hero-meta {
    margin-top: 22px;
    font-size: 14px;
    opacity: 0.85;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.category-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.category-card h2 {
    margin: 10px 0;
    font-size: 22px;
    line-height: 1.3;
}

.category-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.category-label,
.section-label {
    color: var(--primary);
}

.principle-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
    margin-top: 28px;
    padding: 30px;
    background: #fff8ef;
    border-left: 5px solid var(--primary);
    border-radius: 8px;
}

.principle-section h2 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1.25;
}

.principle-section ul {
    margin: 0;
    padding-left: 20px;
}

.principle-section li {
    margin-bottom: 8px;
}

.site-footer {
    padding: 28px 0;
    color: #d9dee3;
    background: #202833;
}

.site-footer p {
    margin: 6px 0;
}

.footer-links {
    color: #aeb8c2;
    font-size: 14px;
}

@media (max-width: 780px) {
    .header-main,
    .principle-section {
        display: block;
    }

    .header-date {
        margin-top: 10px;
        text-align: left;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 28px;
    }

    .principle-section ul {
        margin-top: 18px;
    }
}

.section-heading {
    margin-top: 32px;
}

.section-heading h2,
.page-heading h1 {
    margin: 6px 0 0;
    font-size: 28px;
    line-height: 1.25;
}

.latest-heading {
    margin-top: 36px;
}

.category-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.category-link:hover {
    text-decoration: underline;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.article-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.article-card h2 {
    margin: 10px 0;
    font-size: 21px;
    line-height: 1.32;
}

.article-card p {
    margin-bottom: 16px;
    color: var(--muted);
}

.article-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.page-heading {
    margin-bottom: 28px;
    padding: 30px;
    background: var(--surface);
    border-left: 5px solid var(--primary);
    border-radius: 8px;
}

.page-heading p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 10px;
}

@media (max-width: 780px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

/* ARTICLE DETAIL STYLES */

.article-title-link {
    color: inherit;
    text-decoration: none;
}

.article-title-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.article-detail {
    max-width: 820px;
    margin: 0 auto;
}

.article-detail-header {
    padding: 34px;
    background: var(--surface);
    border-bottom: 4px solid var(--primary);
    border-radius: 10px 10px 0 0;
}

.breadcrumb-link {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.article-detail h1 {
    margin: 14px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.18;
}

.article-detail-excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.55;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.article-body {
    padding: 36px 34px;
    background: var(--surface);
    font-size: 18px;
    line-height: 1.85;
}

.article-body p:first-child {
    margin-top: 0;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.verification-box {
    margin-top: 24px;
    padding: 28px;
    background: #fff8ef;
    border-left: 5px solid var(--primary);
    border-radius: 8px;
}

.verification-box h2 {
    margin: 8px 0 14px;
    font-size: 24px;
}

.verification-content {
    color: #3d4752;
    line-height: 1.7;
}

.editorial-reminder {
    margin-top: 24px;
    padding: 20px 24px;
    color: #3d4752;
    background: #edf4f8;
    border: 1px solid #cbd9e3;
    border-radius: 8px;
    line-height: 1.7;
}

@media (max-width: 780px) {
    .article-detail-header,
    .article-body {
        padding: 24px;
    }

    .article-detail-excerpt {
        font-size: 17px;
    }

    .article-body {
        font-size: 17px;
    }
}

/* FEATURED IMAGE STYLES */

.article-card {
    overflow: hidden;
    padding: 0;
}

.article-card-image,
.article-card-image-placeholder {
    display: block;
    width: 100%;
    height: 190px;
}

.article-card-image {
    object-fit: cover;
    background: #e5e7eb;
}

.article-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: var(--muted);
    background: #edf0f3;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.article-card-content {
    padding: 24px;
}

.article-featured-figure {
    margin: 0;
    background: var(--surface);
}

.article-featured-image {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    background: #e5e7eb;
}

.article-featured-figure figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    color: var(--muted);
    background: #f8fafc;
    border-top: 1px solid var(--border);
    font-size: 13px;
    line-height: 1.5;
}

.image-credit {
    font-weight: 700;
}

/* LEGAL AND CORRECTION PAGE STYLES */

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-messages {
    margin-bottom: 22px;
}

.site-message {
    padding: 16px 18px;
    border-radius: 8px;
    font-weight: 700;
}

.site-message.success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px;
    background: var(--surface);
    border-radius: 10px;
}

.legal-page h1 {
    margin: 8px 0 14px;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.18;
}

.legal-lead {
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
}

.legal-content {
    margin-top: 30px;
}

.legal-content h2 {
    margin: 26px 0 10px;
    font-size: 22px;
}

.legal-content p,
.legal-content li {
    color: #3d4752;
    line-height: 1.75;
}

.legal-content ul,
.ethics-list {
    padding-left: 24px;
}

.legal-content li,
.ethics-list li {
    margin-bottom: 10px;
}

.redaction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.redaction-item {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.redaction-item span,
.redaction-item strong {
    display: block;
}

.redaction-item span {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.warning-box {
    margin-top: 28px;
    padding: 18px 20px;
    color: #854d0e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    line-height: 1.65;
}

.correction-form {
    margin-top: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid #bfc8d1;
    border-radius: 7px;
    font: inherit;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid #d7a1a1;
    border-color: var(--primary);
}

.errorlist {
    margin: 7px 0 0;
    padding-left: 18px;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0;
    line-height: 1.55;
}

.form-checkbox input {
    margin-top: 5px;
}

.primary-button {
    padding: 12px 20px;
    color: #ffffff;
    background: var(--primary);
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.primary-button:hover {
    background: var(--primary-dark);
}

@media (max-width: 780px) {
    .legal-page {
        padding: 24px;
    }

    .redaction-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* SITE PROFILE STYLES */

.footer-contact {
    color: #aeb8c2;
    font-size: 14px;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.redaction-item a {
    color: var(--primary);
    text-decoration: none;
}

.redaction-item a:hover {
    text-decoration: underline;
}

.social-section {
    margin-top: 30px;
}

.social-section h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: inline-block;
    padding: 9px 13px;
    color: var(--primary);
    background: #fff8ef;
    border: 1px solid #ead1b7;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.social-links a:hover {
    color: #ffffff;
    background: var(--primary);
}

.empty-social {
    color: var(--muted);
}

/* SEARCH AND ARCHIVE STYLES */

.header-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.site-search {
    display: flex;
    gap: 7px;
}

.site-search input {
    width: 210px;
    padding: 8px 10px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
}

.site-search input:focus {
    outline: 2px solid #d7a1a1;
    border-color: var(--primary);
}

.site-search button {
    padding: 8px 12px;
    color: #ffffff;
    background: var(--primary);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.site-search button:hover {
    background: var(--primary-dark);
}

.screen-reader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
}

.secondary-button {
    display: inline-block;
    padding: 10px 14px;
    color: var(--primary);
    background: #fff8ef;
    border: 1px solid #ead1b7;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.secondary-button:hover {
    color: #ffffff;
    background: var(--primary);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.pagination a {
    padding: 9px 13px;
    color: var(--primary);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 7px;
    text-decoration: none;
}

.pagination a:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 780px) {
    .header-tools {
        align-items: flex-start;
        margin-top: 16px;
    }

    .site-search input {
        width: min(230px, calc(100vw - 150px));
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row .secondary-button {
        margin-top: 14px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* EDITORIAL DASHBOARD STYLES */

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    padding: 32px;
    background: var(--surface);
    border-left: 5px solid var(--primary);
    border-radius: 10px;
}

.dashboard-heading h1 {
    margin: 8px 0;
    font-size: clamp(30px, 5vw, 42px);
    line-height: 1.15;
}

.dashboard-heading p {
    margin: 0;
    color: var(--muted);
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.dashboard-stat-card {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 9px;
}

.dashboard-stat-warning {
    border-top-color: #b7791f;
}

.dashboard-stat-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.dashboard-stat-card strong {
    display: block;
    margin: 8px 0 12px;
    font-size: 36px;
    line-height: 1;
}

.dashboard-stat-card a,
.dashboard-panel-header > a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-stat-card a:hover,
.dashboard-panel-header > a:hover {
    text-decoration: underline;
}

.dashboard-two-columns {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 20px;
    margin-top: 24px;
}

.dashboard-panel {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 20px;
}

.dashboard-panel-header h2 {
    margin: 6px 0 0;
    font-size: 22px;
    line-height: 1.25;
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.dashboard-table th {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.dashboard-table a {
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.dashboard-table a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.status-badge {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: #64748b;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.status-draft {
    background: #64748b;
}

.status-review {
    background: #b7791f;
}

.status-ready {
    background: #166534;
}

.dashboard-request-list {
    display: grid;
    gap: 10px;
}

.dashboard-request-item {
    display: block;
    padding: 15px;
    color: var(--text);
    background: #fff8ef;
    border: 1px solid #ead1b7;
    border-radius: 8px;
    text-decoration: none;
}

.dashboard-request-item:hover {
    border-color: var(--primary);
}

.dashboard-request-type,
.dashboard-request-item strong,
.dashboard-request-item small {
    display: block;
}

.dashboard-request-type {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.dashboard-request-item strong {
    line-height: 1.35;
}

.dashboard-request-item small {
    margin-top: 6px;
    color: var(--muted);
}

.dashboard-empty {
    padding: 20px;
    color: var(--muted);
    background: #f8fafc;
    border: 1px dashed var(--border);
    border-radius: 8px;
    line-height: 1.6;
}

.dashboard-category-panel {
    margin-top: 24px;
}

.dashboard-category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dashboard-category-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 700;
}

.dashboard-category-item strong {
    color: var(--primary);
    font-size: 20px;
}

@media (max-width: 900px) {
    .dashboard-stat-grid,
    .dashboard-category-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .dashboard-heading {
        display: block;
        padding: 24px;
    }

    .dashboard-actions {
        margin-top: 18px;
    }

    .dashboard-stat-grid,
    .dashboard-category-list {
        grid-template-columns: 1fr;
    }

    .dashboard-panel {
        padding: 20px;
    }

    .dashboard-panel-header {
        display: block;
    }

    .dashboard-panel-header > a {
        display: inline-block;
        margin-top: 12px;
    }
}

/* === TEROPONG MAKASSAR: Header Logo === */
.brand.brand-with-logo {
    display: inline-flex;
    align-items: center;
    max-width: 340px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 760px) {
    .brand.brand-with-logo {
        max-width: 250px;
    }

    .brand-logo {
        width: 240px;
    }
}

/* =========================================================
   TEROPONG MAKASSAR PROFESSIONAL HEADER V2
   ========================================================= */

:root {
    --tm-maroon: #681015;
    --tm-maroon-dark: #3d080b;
    --tm-gold: #c9a336;
    --tm-ink: #17212b;
    --tm-muted: #64717d;
    --tm-line: #e6e9ec;
    --tm-paper: #ffffff;
}

.site-header {
    background: var(--tm-paper);
    border-bottom: 1px solid var(--tm-line);
    box-shadow: 0 3px 12px rgba(23, 33, 43, 0.05);
}

.header-topbar {
    background: var(--tm-maroon-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.header-topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-topbar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.header-topbar a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header-main {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.header-identity {
    min-width: 0;
}

.brand.brand-with-logo {
    display: inline-flex;
    align-items: center;
    max-width: 430px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 390px;
    max-width: 100%;
    height: auto;
}

.header-credibility {
    margin: 4px 0 0;
    color: var(--tm-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.header-tools {
    min-width: 315px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.site-search {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.site-search input {
    width: 220px;
    min-height: 40px;
    border: 1px solid #d6dce1;
    border-radius: 6px;
    padding: 0 12px;
    color: var(--tm-ink);
    background: #ffffff;
    outline: none;
}

.site-search input:focus {
    border-color: var(--tm-maroon);
    box-shadow: 0 0 0 3px rgba(104, 16, 21, 0.12);
}

.site-search button {
    min-height: 40px;
    border: 0;
    border-radius: 6px;
    padding: 0 16px;
    color: #ffffff;
    background: var(--tm-maroon);
    font-weight: 700;
    cursor: pointer;
}

.site-search button:hover {
    background: var(--tm-maroon-dark);
}

.header-date {
    color: var(--tm-muted);
    font-size: 0.78rem;
    text-align: right;
}

.main-nav {
    background: var(--tm-maroon);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-list {
    min-height: 52px;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-list a:first-child {
    padding-left: 0;
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-bottom-color: var(--tm-gold);
}

@media (max-width: 900px) {
    .header-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .header-tools {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
    }

    .header-date {
        text-align: left;
    }

    .site-search {
        width: 100%;
    }

    .site-search input {
        width: 100%;
        flex: 1;
    }
}

@media (max-width: 640px) {
    .header-topbar-inner {
        min-height: 42px;
    }

    .header-topbar-inner > span {
        display: none;
    }

    .header-topbar-links {
        width: 100%;
        justify-content: center;
        gap: 12px;
        font-size: 0.7rem;
    }

    .header-main {
        min-height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .brand.brand-with-logo {
        max-width: 300px;
    }

    .brand-logo {
        width: 290px;
    }

    .header-credibility {
        font-size: 0.75rem;
    }

    .nav-list a {
        padding: 0 13px;
        font-size: 0.78rem;
    }
}

/* =========================================================
   TEROPONG MAKASSAR HOMEPAGE PROFESSIONAL V1
   ========================================================= */

.tm-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 28px;
    margin: 34px 0 44px;
    padding: 42px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(61, 8, 11, 0.98), rgba(104, 16, 21, 0.94));
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(61, 8, 11, 0.16);
}

.tm-eyebrow,
.tm-section-label,
.tm-empty-status {
    color: #c9a336;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.tm-home-hero h1 {
    max-width: 760px;
    margin: 12px 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.08;
}

.tm-home-hero-description {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    line-height: 1.75;
}

.tm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.tm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.tm-button-primary {
    color: #3d080b;
    background: #ffffff;
}

.tm-button-primary:hover {
    color: #3d080b;
    background: #f4eeee;
}

.tm-button-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.tm-button-secondary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.tm-hero-trust {
    display: grid;
    gap: 12px;
    align-content: center;
}

.tm-trust-item {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
}

.tm-trust-item strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 0.92rem;
}

.tm-trust-item span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.79rem;
    line-height: 1.5;
}

.tm-home-section {
    margin: 0 0 46px;
}

.tm-section-heading {
    margin-bottom: 18px;
}

.tm-section-heading h2,
.tm-principles h2 {
    margin: 7px 0 6px;
    color: #17212b;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.tm-section-heading p {
    margin: 0;
    color: #64717d;
    line-height: 1.6;
}

.tm-section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.tm-text-link {
    color: #681015;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.tm-text-link:hover {
    color: #3d080b;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tm-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tm-category-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    padding: 22px;
    color: #17212b;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(23, 33, 43, 0.04);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tm-category-card:hover {
    color: #17212b;
    border-color: rgba(104, 16, 21, 0.4);
    box-shadow: 0 12px 24px rgba(23, 33, 43, 0.1);
    transform: translateY(-3px);
}

.tm-category-card-label,
.tm-article-category {
    color: #681015;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.tm-category-card h3 {
    margin: 9px 0 8px;
    font-size: 1.12rem;
}

.tm-category-card p {
    margin: 0;
    color: #64717d;
    font-size: 0.88rem;
    line-height: 1.58;
}

.tm-category-card span {
    margin-top: auto;
    padding-top: 18px;
    color: #681015;
    font-size: 0.82rem;
    font-weight: 800;
}

.tm-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tm-article-card {
    overflow: hidden;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(23, 33, 43, 0.04);
}

.tm-article-image-link {
    display: block;
}

.tm-article-image,
.tm-article-image-placeholder {
    display: block;
    width: 100%;
    height: 210px;
}

.tm-article-image {
    object-fit: cover;
}

.tm-article-image-placeholder {
    display: grid;
    place-items: center;
    color: #64717d;
    background: #eef1f3;
    font-size: 0.84rem;
}

.tm-article-card-content {
    padding: 19px;
}

.tm-article-card h3 {
    margin: 8px 0 9px;
    font-size: 1.08rem;
    line-height: 1.4;
}

.tm-article-card h3 a {
    color: #17212b;
    text-decoration: none;
}

.tm-article-card h3 a:hover {
    color: #681015;
}

.tm-article-card p {
    margin: 0;
    color: #64717d;
    font-size: 0.88rem;
    line-height: 1.6;
}

.tm-article-meta {
    margin-top: 14px;
    color: #8a949d;
    font-size: 0.75rem;
}

.tm-publication-empty {
    padding: 38px;
    border: 1px dashed rgba(104, 16, 21, 0.35);
    border-radius: 10px;
    background: #fffafa;
}

.tm-publication-empty h3 {
    margin: 10px 0 8px;
    color: #17212b;
    font-size: 1.4rem;
}

.tm-publication-empty p {
    max-width: 700px;
    margin: 0 0 16px;
    color: #64717d;
    line-height: 1.7;
}

.tm-principles {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 30px;
    padding: 32px;
    border-top: 4px solid #681015;
    background: #f4f6f7;
}

.tm-principles ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-principles li {
    position: relative;
    padding-left: 22px;
    color: #3c4650;
    line-height: 1.55;
}

.tm-principles li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #681015;
    content: "?";
    font-weight: 900;
}

.tm-empty-state {
    padding: 20px;
    color: #64717d;
    border: 1px dashed #d9dfe4;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .tm-home-hero,
    .tm-principles {
        grid-template-columns: 1fr;
    }

    .tm-category-grid,
    .tm-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tm-home-hero {
        margin-top: 22px;
        padding: 27px 22px;
    }

    .tm-section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tm-category-grid,
    .tm-article-grid {
        grid-template-columns: 1fr;
    }

    .tm-publication-empty,
    .tm-principles {
        padding: 24px 20px;
    }
}

/* =========================================================
   TEROPONG MAKASSAR NEWS PAGES PROFESSIONAL V1
   ========================================================= */

.tm-news-list-page {
    margin: 34px 0 56px;
}

.tm-news-list-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
    padding: 34px 36px;
    border-left: 5px solid #681015;
    background: linear-gradient(135deg, #ffffff, #f8f4f4);
    box-shadow: 0 8px 20px rgba(23, 33, 43, 0.05);
}

.tm-news-kicker {
    color: #681015;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.tm-news-list-hero h1 {
    margin: 8px 0 8px;
    color: #17212b;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
}

.tm-news-list-hero p {
    max-width: 690px;
    margin: 0;
    color: #64717d;
    line-height: 1.65;
}

.tm-news-count {
    display: grid;
    min-width: 150px;
    place-items: center;
    padding: 20px;
    border: 1px solid #eadbdd;
    border-radius: 10px;
    background: #ffffff;
    text-align: center;
}

.tm-news-count strong {
    color: #681015;
    font-size: 2rem;
    line-height: 1;
}

.tm-news-count span {
    margin-top: 6px;
    color: #64717d;
    font-size: 0.76rem;
    font-weight: 700;
}

.tm-news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tm-news-list-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(23, 33, 43, 0.05);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.tm-news-list-card:hover {
    box-shadow: 0 14px 30px rgba(23, 33, 43, 0.12);
    transform: translateY(-3px);
}

.tm-news-list-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #edf0f3;
}

.tm-news-list-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.tm-news-list-card:hover .tm-news-list-media img {
    transform: scale(1.04);
}

.tm-news-list-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 20px;
    color: #64717d;
    background: #edf0f3;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.tm-news-list-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 22px;
}

.tm-news-list-category {
    color: #681015;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.tm-news-list-card h2 {
    margin: 9px 0 10px;
    font-size: 1.25rem;
    line-height: 1.36;
}

.tm-news-list-card h2 a {
    color: #17212b;
    text-decoration: none;
}

.tm-news-list-card h2 a:hover {
    color: #681015;
}

.tm-news-list-card p {
    margin: 0;
    color: #64717d;
    font-size: 0.9rem;
    line-height: 1.65;
}

.tm-news-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    color: #8a949d;
    font-size: 0.76rem;
    font-weight: 700;
}

.tm-news-list-footer a {
    color: #681015;
    text-decoration: none;
    white-space: nowrap;
}

.tm-news-list-footer a:hover {
    color: #3d080b;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tm-news-empty {
    padding: 42px;
    border: 1px dashed rgba(104, 16, 21, 0.35);
    border-radius: 12px;
    background: #fffafa;
}

.tm-news-empty h2 {
    margin: 10px 0 8px;
    color: #17212b;
    font-size: 1.45rem;
}

.tm-news-empty p {
    max-width: 680px;
    margin: 0 0 16px;
    color: #64717d;
    line-height: 1.7;
}

.tm-news-empty a {
    color: #681015;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.tm-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
    color: #64717d;
    font-size: 0.86rem;
    font-weight: 700;
}

.tm-news-pagination a {
    padding: 10px 14px;
    color: #681015;
    border: 1px solid #dfc9cb;
    border-radius: 6px;
    background: #ffffff;
    text-decoration: none;
}

.tm-news-pagination a:hover {
    color: #ffffff;
    border-color: #681015;
    background: #681015;
}

/* ARTICLE DETAIL */

.tm-story {
    max-width: 1120px;
    margin: 34px auto 58px;
}

.tm-story-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 18px 30px;
}

.tm-story-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #7b8790;
    font-size: 0.82rem;
    font-weight: 700;
}

.tm-story-breadcrumb a {
    color: #681015;
    text-decoration: none;
}

.tm-story-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tm-story-kicker {
    margin-top: 21px;
    color: #681015;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.tm-story-header h1 {
    margin: 10px 0 14px;
    color: #17212b;
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.tm-story-excerpt {
    max-width: 820px;
    margin: 0;
    color: #58646f;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.tm-story-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 19px;
    color: #6f7b85;
    font-size: 0.83rem;
    font-weight: 700;
}

.tm-story-meta-dot {
    color: #c9a336;
}

.tm-story-figure {
    max-width: 1120px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef1f3;
}

.tm-story-figure img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: cover;
}

.tm-story-figure figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    color: #6b7680;
    background: #f7f8f9;
    font-size: 0.78rem;
    line-height: 1.5;
}

.tm-story-credit {
    font-weight: 700;
}

.tm-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 18px;
}

.tm-story-content {
    color: #27323b;
    font-size: 1.08rem;
    line-height: 1.92;
}

.tm-story-content p {
    margin: 0 0 1.35em;
}

.tm-story-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.tm-story-verification,
.tm-story-correction {
    padding: 22px;
    border: 1px solid #e1e6e9;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(23, 33, 43, 0.04);
}

.tm-story-verification {
    border-top: 4px solid #681015;
}

.tm-story-correction {
    background: #fffafa;
}

.tm-story-verification h2,
.tm-story-correction h2 {
    margin: 8px 0 10px;
    color: #17212b;
    font-size: 1.05rem;
    line-height: 1.35;
}

.tm-story-verification div:last-child,
.tm-story-correction p {
    margin: 0;
    color: #64717d;
    font-size: 0.87rem;
    line-height: 1.65;
}

.tm-story-correction a {
    display: inline-block;
    margin-top: 15px;
    color: #681015;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.tm-story-correction a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tm-story-footer {
    max-width: 1000px;
    margin: 42px auto 0;
    padding: 20px 22px;
    border-left: 4px solid #c9a336;
    background: #f5f6f7;
}

.tm-story-footer strong {
    color: #17212b;
    font-size: 0.9rem;
}

.tm-story-footer p {
    margin: 7px 0 0;
    color: #64717d;
    font-size: 0.88rem;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .tm-news-list-grid {
        grid-template-columns: 1fr;
    }

    .tm-story-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tm-story-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tm-news-list-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 22px;
    }

    .tm-news-count {
        min-width: 0;
        width: 100%;
    }

    .tm-news-list-content {
        padding: 19px;
    }

    .tm-news-list-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .tm-news-empty {
        padding: 28px 22px;
    }

    .tm-story {
        margin-top: 24px;
    }

    .tm-story-header {
        padding: 0 0 25px;
    }

    .tm-story-layout {
        padding: 0;
    }

    .tm-story-sidebar {
        grid-template-columns: 1fr;
    }

    .tm-story-footer {
        padding: 20px;
    }

    .tm-story-figure {
        border-radius: 0;
    }
}

