:root {
    --primary-color: #0f4c81;
    --secondary-color: #f59e0b;
    --text-color: #1f2937;
    --light-bg: #f8fafc;
    --border-color: #e5e7eb;
    --container-width: 1200px;
}

/* ============================
   RESET
============================ */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'BHubInter', Arial, sans-serif;
    color: var(--text-color);
    background: #ffffff;
    line-height: 1.7;
    font-size: 1rem;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font-family: 'BHubInter', Arial, sans-serif;
}

button {
    font: inherit;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

figure {
    margin: 0;
}

/* ============================
   CONTAINER
============================ */

.container,
.bhub-container {
    width: min(var(--container-width), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   MAIN
============================ */

.site-main {
    min-height: 60vh;
}

/* ============================
   PAGE LAYOUT
============================ */

.page-layout {
    padding-top: 36px;
    padding-bottom: 48px;
    max-width: 860px;
}

/* ============================
   HERO GRID / FEATURED POST
============================ */

.hero-grid {
    display: grid;
    gap: 24px;
}

.hero-post {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #111111;
}

.hero-post img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    opacity: 0.72;
}

.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    color: #ffffff;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.75)
    );
}

.hero-content h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 700;
}

.hero-content a {
    color: #ffffff;
}

/* ============================
   BREADCRUMB
============================ */

.breadcrumb {
    font-size: 14px;
    margin-bottom: 18px;
    color: #64748b;
}

.breadcrumb a,
.breadcrumb span {
    margin-right: 10px;
}

.breadcrumb a::after {
    content: '›';
    margin-left: 10px;
    color: #94a3b8;
}

/* ============================
   BACK TO TOP
============================ */

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    width: 42px;
    height: 42px;
    display: none;
    cursor: pointer;
    font-weight: 700;
}

.back-to-top.is-visible {
    display: block;
}

/* ============================
   UTILITY
============================ */

.hidden {
    display: none !important;
}

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

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 768px) {
    .container,
    .bhub-container {
        width: min(100% - 28px, var(--container-width));
    }

    .page-layout {
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .hero-content {
        position: static;
        background: #0f172a;
        padding: 22px;
    }

    .hero-post img {
        aspect-ratio: 16 / 10;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.96rem;
    }

    .container,
    .bhub-container {
        width: min(100% - 24px, var(--container-width));
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
    }
}