/*
Theme Name: Headline Business
Theme URI: https://headlinebusiness.com
Author: Headline Business
Description: Editorial business news theme.
Version: 1.0
Text Domain: headlinebusiness
*/

:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #686868;
    --border: #dedede;
    --soft: #f5f5f3;
    --accent: #0a4b3e;
    --max: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: .68;
}

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

.hb-container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}




















/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    color: #101114;
}


/* UTILITY BAR */

.hb-utility-bar {
    background: #0d1117;
    color: #c8cdd3;
}

.hb-utility-inner {
    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.hb-utility-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hb-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #36b37e;
}

.hb-utility-divider {
    width: 1px;
    height: 12px;
    margin: 0 4px;
    background: #3b4149;
}

.hb-header-date {
    color: #818892;
}


/* LANGUAGE */

.hb-language-switcher {
    display: flex;
    align-items: center;
    gap: 3px;
}

.hb-lang {
    appearance: none;
    border: 0;
    background: transparent;
    color: #8f969f;

    padding: 5px 7px;

    font: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;

    cursor: pointer;

    transition:
        color .15s ease,
        background .15s ease;
}

.hb-lang:hover {
    color: #fff;
}

.hb-lang.active {
    background: #fff;
    color: #111;
}





/* NEWS GRID */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
}

.news-card {
    padding: 25px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.news-card:nth-child(3n) {
    border-right: 0;
}

.news-card:first-child {
    padding-left: 0;
}

.news-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    margin-bottom: 18px;
}

.news-category {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.news-title {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -.4px;
}

.news-excerpt {
    color: #444;
    margin: 0 0 15px;
}

.news-meta {
    color: var(--muted);
    font-size: 12px;
}

.news-source {
    font-weight: 700;
}


/* FOOTER */

.site-footer {
    margin-top: 50px;
    padding: 48px 0 30px;
    background: #111;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 700;
}

.footer-description {
    max-width: 420px;
    color: #aaa;
    font-size: 14px;
}

.footer-title {
    margin: 0 0 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #ccc;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 12px;
}


/* RESPONSIVE */

@media (max-width: 800px) {
    .hb-container {
        width: min(calc(100% - 24px), var(--max));
    }

    .main-nav {
        overflow-x: auto;
    }

    .main-nav ul {
        justify-content: flex-start;
        width: max-content;
        padding: 0 12px;
        gap: 22px;
    }

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

    .news-card,
    .news-card:first-child {
        padding: 22px 0;
        border-right: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}























/* =========================================================
   HOMEPAGE
========================================================= */

.hb-home {
    padding-top: 30px;
}

.hb-section-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hb-section-line {
    height: 1px;
    background: #111;
    flex: 1;
}


/* LEAD */

.hb-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border);
}

.hb-lead-story {
    padding-right: 35px;
    border-right: 1px solid var(--border);
}

.hb-lead-image {
    display: block;
    margin-bottom: 20px;
}

.hb-lead-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hb-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eeeeeb;
    color: #999;

    font-family: Georgia, serif;
    font-size: 25px;
}

.hb-story-category {
    margin-bottom: 8px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.hb-lead-title {
    max-width: 900px;
    margin: 0 0 13px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 58px);
    line-height: .99;
    letter-spacing: -1.8px;
}

.hb-lead-excerpt {
    max-width: 780px;
    margin: 0 0 16px;

    color: #444;
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.45;
}

.hb-story-meta {
    color: #777;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.hb-story-meta span {
    margin: 0 5px;
}


/* SIDE STORIES */

.hb-side-stories {
    display: flex;
    flex-direction: column;
}

.hb-side-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;

    padding: 0 0 22px;
    margin-bottom: 22px;

    border-bottom: 1px solid var(--border);
}

.hb-side-story:last-child {
    margin-bottom: 0;
}

.hb-side-thumb img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.hb-side-story h2 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.08;
}


/* LATEST */

.hb-latest-section {
    margin-top: 40px;
}

.hb-latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(260px, .8fr);
    gap: 55px;
}

.hb-latest-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;

    padding: 24px 0;

    border-top: 1px solid var(--border);
}

.hb-latest-item:first-child {
    border-top: 3px solid #111;
}

.hb-latest-item h2 {
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.08;
}

.hb-latest-item p {
    max-width: 650px;
    margin: 0 0 13px;

    color: #555;
    font-family: Georgia, serif;
}

.hb-latest-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}


/* SIDEBAR */

.hb-home-sidebar {
    border-top: 3px solid #111;
}

.hb-sidebar-box {
    padding: 25px 0 28px;
    border-bottom: 1px solid var(--border);
}

.hb-sidebar-title {
    margin-bottom: 12px;

    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
}

.hb-sidebar-box p {
    color: #555;
    font-size: 14px;
}

.hb-sidebar-button {
    display: inline-block;
    margin-top: 7px;

    font-size: 12px;
    font-weight: 800;
}

.hb-dark-box {
    margin-top: 30px;
    padding: 28px;

    background: #111;
    color: #fff;

    border: 0;
}

.hb-dark-box p {
    color: #bbb;
}

.hb-dark-box h3 {
    margin: 10px 0;

    font-family: Georgia, serif;
    font-size: 27px;
    line-height: 1.1;
}

.hb-sidebar-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}


/* EMPTY HOMEPAGE */

.hb-empty-home {
    max-width: 850px;
    padding: 100px 0 140px;
}

.hb-empty-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.hb-empty-home h1 {
    margin: 15px 0;

    font-family: Georgia, serif;
    font-size: clamp(48px, 7vw, 80px);
    line-height: .95;
    letter-spacing: -3px;
}

.hb-empty-home p {
    color: #555;
    font-family: Georgia, serif;
    font-size: 21px;
}

.hb-empty-home > a {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hb-lead-grid,
    .hb-latest-layout {
        grid-template-columns: 1fr;
    }

    .hb-lead-story {
        padding-right: 0;
        padding-bottom: 28px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .hb-side-stories {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .hb-side-story {
        display: block;
    }

    .hb-side-thumb {
        display: block;
        margin-bottom: 14px;
    }

    .hb-home-sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 650px) {

    .hb-side-stories {
        grid-template-columns: 1fr;
    }

    .hb-latest-item {
        grid-template-columns: 1fr;
    }

    .hb-latest-thumb {
        grid-row: 1;
    }

    .hb-latest-thumb img {
        aspect-ratio: 16 / 9;
    }

    .hb-lead-title {
        font-size: 40px;
    }
}