@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121e;
    --bg-panel: #1a1a2e;
    --border: #2a2a3e;
    --border-hover: #c9a227;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --accent: #c9a227;
    --accent-hover: #e8ba2a;
    --danger: #e53e3e;
    --success: #38a169;
    --shadow: 0 4px 20px rgba(201,162,39,0.15);
    --radius: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #2a2a3e #0a0a0f;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #2a2a3e #0a0a0f;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: #2a2a3e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

textarea {
    scrollbar-width: thin;
    scrollbar-color: #2a2a3e #0a0a0f;
}

textarea::-webkit-scrollbar {
    width: 6px;
}

textarea::-webkit-scrollbar-track {
    background: #0a0a0f;
}

textarea::-webkit-scrollbar-thumb {
    background: #2a2a3e;
    border-radius: 3px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.site-logo span {
    color: var(--accent);
}

.site-logo svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--accent);
}

.hero {
    background: linear-gradient(180deg, #0a0a0f 0%, #12121e 100%);
    border-bottom: 1px solid var(--border);
    padding: 60px 24px;
    text-align: center;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 8px auto 0;
    line-height: 1.6;
}

.stats-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
}


.main-content {
    flex: 1;
    padding: 40px 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    border-color: #c9a227;
    box-shadow: 0 4px 20px rgba(201,162,39,0.15);
}

.card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--bg-secondary);
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 2rem;
}

.card-body {
    padding: 18px;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-date svg {
    width: 12px;
    height: 12px;
    fill: var(--text-muted);
    flex-shrink: 0;
}

.card-excerpt {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body .btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 8px;
}

.bottom-bar-total {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.bottom-bar-total strong {
    color: var(--accent);
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-accent {
    background: var(--accent);
    color: #000;
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #000;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #c53030;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 700;
}

.pagination .dots {
    border: none;
    color: var(--text-muted);
}

.detail-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.detail-back:hover {
    color: var(--accent);
}

.detail-back svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.detail-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.detail-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-date svg {
    width: 13px;
    height: 13px;
    fill: var(--accent);
}

.detail-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent);
    border: 1px solid #c9a227;
}

.detail-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.detail-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.detail-content p {
    margin-bottom: 18px;
}

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-copy span {
    color: var(--accent);
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 16px;
    border-top: 1px solid #2a2a3e;
    box-sizing: border-box;
    overflow: visible;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-block {
    margin-bottom: 24px;
    width: 100%;
    overflow: visible;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-block-title {
    font-weight: 600;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: visible;
}

.footer-block-divider {
    border: none;
    border-bottom: 1px solid #2a2a3e;
    margin: 8px 0 12px;
}

.footer-block-isi {
    font-weight: 400;
    color: #606070;
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: visible;
}

.footer-block strong,
.footer-block b { color: inherit; font-weight: 700; }
.footer-block em,
.footer-block i { color: inherit; }
.footer-block u { color: inherit; }

.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.footer-copyright {
    border-top: 1px solid #2a2a3e;
    padding: 16px 24px;
    text-align: center;
    font-size: 0.78rem;
    color: #606070;
}

.admin-body {
    background: var(--bg-primary);
    min-height: 100vh;
}

.admin-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-logo {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-brand-sep {
    color: #606070;
    font-weight: 400;
}

.admin-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

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

.page-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 32px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.table-wrap {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.table-title {
    font-size: 1rem;
    font-weight: 600;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--bg-secondary);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 14px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(201, 162, 39, 0.05);
}

.table-img {
    width: 50px;
    height: 34px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.table-title-cell {
    color: var(--text-primary);
    font-weight: 500;
    max-width: 280px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.badge-aktif {
    background: rgba(56, 161, 105, 0.15);
    color: var(--success);
    border: 1px solid rgba(56, 161, 105, 0.3);
}

.badge-nonaktif {
    background: rgba(229, 62, 62, 0.15);
    color: var(--danger);
    border: 1px solid rgba(229, 62, 62, 0.3);
}

.badge-log-blue {
    background: rgba(66, 153, 225, 0.15);
    color: #63b3ed;
    border: 1px solid rgba(66, 153, 225, 0.3);
}

.badge-log-green {
    background: rgba(56, 161, 105, 0.15);
    color: var(--success);
    border: 1px solid rgba(56, 161, 105, 0.3);
}

.badge-log-gold {
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.badge-log-red {
    background: rgba(229, 62, 62, 0.15);
    color: var(--danger);
    border: 1px solid rgba(229, 62, 62, 0.3);
}

.badge-log-gray {
    background: rgba(100, 100, 100, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(100, 100, 100, 0.3);
}

.action-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-control {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 220px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

input[type="date"],
input[type="datetime-local"] {
    color-scheme: dark;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

.form-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
}

.form-footer .btn-accent {
    padding: 10px 28px;
    font-weight: 600;
}

.form-footer .btn-ghost {
    padding: 10px 20px;
    border-color: var(--border);
    color: var(--text-secondary);
}

.form-footer .btn-ghost:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: transparent;
}

.form-2col {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: start;
}

.setting-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.logo-header-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
}

.upload-area:not(.upload-has-preview):hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.upload-area.upload-has-preview {
    cursor: default;
    border-color: var(--border);
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-area.upload-has-preview input[type="file"] {
    pointer-events: none;
}

.upload-placeholder {
    padding: 28px 20px;
}

.upload-icon {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon svg {
    width: 28px;
    height: 28px;
}

.upload-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 6px;
}

.upload-hint {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.upload-preview {
    display: none;
    padding: 16px;
}

.upload-preview-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.btn-change-img {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 5px 14px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    position: relative;
    z-index: 3;
}

.btn-change-img:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.current-img-full {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: block;
}

.logo-preview-current {
    width: 100%;
    max-height: 60px;
    object-fit: contain;
    background: var(--bg-primary);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: block;
}

.running-text-section {
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
}

.running-text-inner {
    display: inline-block;
    width: max-content;
    animation: marquee-single 12s linear infinite;
    white-space: nowrap;
}

.running-text-inner:hover {
    animation-play-state: paused;
}

.running-text-item {
    color: #ffffff;
    font-size: 13px;
    padding: 0 60px;
    letter-spacing: 0.05em;
}

@keyframes marquee-single {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 20px;
}

.login-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.login-logo-text span {
    color: var(--accent);
}

.login-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid;
}

.alert-error {
    background: rgba(229, 62, 62, 0.1);
    color: #fc8181;
    border-color: rgba(229, 62, 62, 0.3);
}

.alert-success {
    background: rgba(56, 161, 105, 0.1);
    color: #68d391;
    border-color: rgba(56, 161, 105, 0.3);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.block-judul-editor,
.block-isi-editor {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    min-height: 32px;
    outline: none;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    overflow: hidden auto;
    max-height: 300px;
}
.block-isi-editor { min-height: 80px; }
.block-judul-editor:focus,
.block-isi-editor:focus { border-color: var(--accent); }

.setting-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .setting-2col {
        grid-template-columns: 1fr;
    }
    .setting-3col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }

    .header-inner {
        padding: 12px 16px;
    }

    .site-nav {
        gap: 16px;
    }

    .hero {
        padding: 32px 16px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .footer-content {
        padding: 24px 16px 12px;
    }

    .main-content {
        padding: 24px 16px;
    }

    .admin-container {
        padding: 0 16px;
    }

    .data-table th:nth-child(5),
    .data-table td:nth-child(5) {
        display: none;
    }

    .form-card {
        padding: 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .form-2col {
        grid-template-columns: 1fr;
    }

    .bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    textarea.form-control {
        min-height: 160px;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .data-table th:nth-child(3),
    .data-table td:nth-child(3) {
        display: none;
    }

    body {
        overflow-x: hidden;
    }

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

    .detail-img {
        max-height: 240px;
    }
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

.footer-content *,
.footer-block *,
.footer-block-title,
.footer-block-isi {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.footer-block-isi {
    overflow: visible !important;
    white-space: normal !important;
}

.footer-content {
    overflow: visible !important;
    overflow-x: hidden !important;
}
