/* CSS HIC STATIC WEBSITE */
:root {
    --primary-color: #0b3c7d;
    --primary-dark: #072752;
    --primary-light: #1a56a7;
    --accent-color: #c92a2a;
    --accent-gold: #d97706;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 8px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* TOPBAR */
.topbar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-info span {
    margin-right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER */
.site-header {
    background: linear-gradient(135deg, #0b3c7d 0%, #1e40af 100%);
    color: #ffffff;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #ffffff;
}

.site-logo-img {
    height: 75px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
    transition: transform 0.2s ease;
}

.site-logo-img:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 65px;
    height: 65px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 3px solid #f59e0b;
}

.logo-text h1 {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.logo-text p {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.header-search {
    position: relative;
    width: 280px;
}

.header-search input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 20px;
    border: none;
    outline: none;
    font-size: 14px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* NAVBAR */
.navbar {
    background-color: #072752;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 14px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

.nav-item:hover > .nav-link,
.nav-link.active {
    background-color: rgba(255,255,255,0.1);
    border-bottom-color: #f59e0b;
    color: #fbbf24;
}

/* DROPDOWN */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    list-style: none;
    padding: 8px 0;
    z-index: 1001;
    border-top: 3px solid #f59e0b;
}

.nav-item:hover > .dropdown-menu {
    display: block;
}

.dropdown-item a {
    display: block;
    padding: 8px 16px;
    color: var(--text-color);
    font-size: 13.5px;
    font-weight: 500;
}

.dropdown-item a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 20px;
}

/* MAIN CONTENT */
.main-wrapper {
    padding: 30px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.content-full {
    display: block;
}

/* HERO BANNER / FEATURED POST */
.hero-featured-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    margin-bottom: 35px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-featured-card:hover {
    box-shadow: var(--shadow-lg);
}

.hero-featured-thumb {
    position: relative;
    min-height: 320px;
    background: #0f2744;
    overflow: hidden;
}

.hero-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-featured-card:hover .hero-featured-thumb img {
    transform: scale(1.04);
}

.hero-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f59e0b;
    color: #111827;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-featured-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.hero-featured-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-featured-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f2744;
    line-height: 1.35;
    margin-bottom: 14px;
}

.hero-featured-title a {
    color: #0f2744;
}

.hero-featured-title a:hover {
    color: var(--accent-color);
}

.hero-featured-excerpt {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* SECTION TITLES */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* POST CARDS GRID */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.post-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.post-card-thumb {
    height: 180px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

.placeholder-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    font-weight: 700;
    font-size: 32px;
    opacity: 0.85;
}

.post-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-card-title a {
    color: var(--text-color);
}

.post-card-title a:hover {
    color: var(--primary-color);
}

.post-card-excerpt {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.post-card-footer {
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 600;
}

/* LIST VIEW */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.post-list-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    align-items: center;
}

.post-list-thumb {
    width: 140px;
    height: 95px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.post-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-list-content {
    flex: 1;
}

.post-list-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* ARTICLE DETAIL */
.article-container {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.article-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.article-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 14px;
}

.article-meta {
    display: flex;
    gap: 18px;
    font-size: 13.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #27272a;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body h2, .article-body h3, .article-body h4 {
    color: var(--primary-dark);
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.article-body img {
    border-radius: 6px;
    margin: 20px auto;
    box-shadow: var(--shadow-sm);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-body table th,
.article-body table td {
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    font-size: 14px;
}

.article-body table th {
    background: #f1f5f9;
    font-weight: 700;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 12px 20px;
    background: #f8fafc;
    font-style: italic;
    margin: 20px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* EMBED DOCUMENT / DOWNLOAD BOX */
.document-embed-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 18px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.document-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.document-icon {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

.btn-download {
    background: #2563eb;
    color: white !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-download:hover {
    background: #1d4ed8;
}

/* SIDEBAR */
.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
}

.widget-menu {
    list-style: none;
}

.widget-menu li {
    border-bottom: 1px dashed #e2e8f0;
    padding: 8px 0;
}

.widget-menu li:last-child {
    border-bottom: none;
}

.widget-menu a {
    color: var(--text-color);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.widget-menu a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.widget-menu .count {
    background: #e2e8f0;
    color: var(--text-muted);
    font-size: 11.5px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
}

/* FOOTER */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0 20px;
    font-size: 14px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb span {
    color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-search {
        width: 100%;
    }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        background: #0f2744;
        padding-left: 15px;
    }
    .dropdown-item a {
        color: #e2e8f0;
    }
}
