:root {
    --bg: #f3f5fb;
    --surface: #ffffff;
    --panel: #ffffff;
    --accent: #ff751f;
    --accent-soft: rgba(255, 117, 31, 0.12);
    --text: #1b2430;
    --muted: #5b6776;
    --border: #e2e6ef;
    --font-display: "Merriweather", Georgia, serif;
    --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.4;
}

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

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

.container {
    width: min(1200px, 94vw);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    box-sizing: border-box;
}

.site-wrapper {
    width: min(1200px, 96vw);
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.page-shell {
    max-width: 100%;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.page-shell__inner {
    width: 100%;
    box-sizing: border-box;
    padding: 40px clamp(24px, 5vw, 48px) 48px;
}

.page-shell__inner .container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.page-shell__inner > * + * {
    margin-top: 48px;
}

.page-content {
    padding: 0;
}

.top-bar {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8rem;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(10px, 4vw, 20px);
}

.top-bar__left {
    flex: 1;
    min-width: 0; /* Allows text to shrink */
}

.top-bar__tagline {
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-bar__social {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.top-bar__social a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
    border-radius: 4px;
}

.top-bar__social a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.top-bar__social svg {
    width: 18px;
    height: 18px;
}

.masthead {
    position: relative;
    border-bottom: 1px solid var(--border);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.brand-bar {
    padding: 34px 0 22px;
    background: url("../images/VP_Website_header_background.webp") center/cover no-repeat;
}

.brand-bar__content {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    color: var(--text);
    position: relative;
}

.brand-logo img {
    height: 70px;
    width: auto;
    display: block;
}

.brand-bar__ad {
    display: none;
}

.main-nav {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.main-nav .container {
    display: flex;
    justify-content: left;
    padding-top: 4px;
}

.main-nav__links {
    display: flex;
    gap: 18px;
    padding: 2px 0;
}

.main-nav__links a {
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav__links a:hover,
.main-nav__links a:focus,
.main-nav__links a.active {
    color: var(--accent);
    border-color: var(--accent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

.hero-main {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 420px;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-main .overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: none;
}

.overlay-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(12, 89, 129, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    max-width: 92%;
    align-items: flex-start;
}

.hero-main .overlay-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.3;
}

.hero-main .overlay-card .meta {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.hero-side-card .overlay-card {
    max-width: 92%;
    padding: 10px 14px;
    background: rgba(12, 89, 129, 0.9);
}

.hero-main .overlay .category-tag,
.hero-side-card .card-overlay .category-tag {
    background: #ff751f;
    color: #111827;
    font-size: 0.58rem;
    padding: 2px 6px;
    align-self: flex-start;
}

.hero-main .overlay .meta {
    color: rgba(255, 255, 255, 0.75);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    background: var(--surface);
}

.hero-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-side-card .card-overlay {
    position: absolute;
    inset: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    color: #fff;
    background: none;
}

.hero-side-card .overlay-card {
    max-width: 92%;
    padding: 10px 14px;
    background: rgba(12, 89, 129, 0.9);
}

.hero-side-card .overlay-card h3 {
    margin: 0;
}

.overlay-card .meta {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
}

.hero-side-card h3 {
    margin: 0;
    font-size: 0.92rem;
    font-family: var(--font-display);
    line-height: 1.3;
}

.hero-side-card .meta {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
}

.highlight-strip {
    margin-bottom: 40px;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.highlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.highlight-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.highlight-card .content {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-card h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text);
}

.highlight-card .meta {
    color: var(--muted);
    font-size: 0.8rem;
}

.category-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 6px;
    border-radius: 0;
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.category-tag--inline {
    margin-bottom: 6px;
}

.meta {
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-size: 0.85rem;
}

.main-layout {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 36px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-item {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.article-item:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.article-item a {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    color: inherit;
    text-decoration: none;
}

.article-item-image-container {
    width: 160px;
    height: 110px;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    background: #d7def2;
}

.article-item .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-item .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-item .content h3 {
    margin: 0;
    font-size: 1.05rem;
    font-family: var(--font-display);
    line-height: 1.3;
}

.article-item .excerpt {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.article-item .category-badge-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ff751f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 0;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    width: auto;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 24px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

.widget h3 {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.widget li {
    font-size: 0.95rem;
}

.widget li a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.widget li a:hover {
    color: var(--text);
}

.follow-list {
    display: grid;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.follow-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.follow-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}


.follow-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #0c5981;
    color: #ffffff;
}

.follow-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
}

.follow-text strong {
    font-size: 0.95rem;
}

.footer-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

.footer-categories__grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-categories__grid a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.footer-categories__grid a:hover {
    color: #ffffff;
}

.watchlist ul {
    gap: 10px;
}

.trend {
    font-weight: 600;
}

.trend--up {
    color: #4fd1a1;
}

.trend--down {
    color: #ff6b6b;
}

.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.article-header h1 {
    font-family: var(--font-display);
    margin: 12px 0 16px;
}

.article-hero {
    margin: 28px 0;
}

.article-hero img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.article-content p {
    margin-bottom: 1.4rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 28px 0;
    background: #0a1d3a;
    box-shadow: 0 20px 45px rgba(10, 23, 54, 0.3);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.tag-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tag-list__label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    color: var(--muted);
}

.tag-list__items {
    color: var(--muted);
    font-size: 0.85rem;
}

.article-sidebar .widget ul {
    gap: 10px;
}

.section-header {
    text-align: center;
    margin: 28px auto 32px;
    max-width: 640px;
}

.section-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.category-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.category-card img {
    height: 190px;
    object-fit: cover;
}

.category-card .content {
    padding: 20px 22px 24px;
}

.category-card h2 {
    font-size: 1.2rem;
    margin: 10px 0 12px;
}

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

.archive-layout {
    padding: 60px 0;
    display: grid;
    gap: 28px;
}

.archive-list {
    display: grid;
    gap: 24px;
}

.archive-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 26px 30px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.archive-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.archive-item h2 {
    margin: 10px 0 14px;
    font-family: var(--font-display);
}

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

.pagination a {
    padding: 8px 20px;
    border-radius: 0;
    border: 1px solid var(--border);
    color: var(--muted);
}

.pagination__current {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: #0c5981 url("../images/VP_website_footer.webp") center/cover no-repeat;
    color: #ffffff;
    padding: 48px 0 32px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h4 {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-column p,
.footer-column ul,
.footer-column li {
    color: rgba(255, 255, 255, 0.9);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-bottom nav {
    display: flex;
    gap: 16px;
}

.footer-bottom nav a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom nav a:hover {
    color: #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

    .hero-side {
        flex-direction: row;
        gap: 18px;
    }

    .hero-side-card {
        flex: 1;
        min-height: 220px;
    }

    .highlight-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .main-layout {
        grid-template-columns: 1fr;
    }

    .article-item a {
        flex-direction: column;
        gap: 16px;
    }

    .article-item-image-container {
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 768px) {
  

    .top-bar .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 16px;
        gap: 12px;
    }

    .top-bar__left {
        flex: 1;
        min-width: 0;
    }

    .top-bar__tagline {
        font-size: 0.65rem;
        padding-left: 0;
    }

    .top-bar__social {
        gap: 6px;
    }

    .top-bar__social a {
        width: 28px;
        height: 28px;
    }

    .top-bar__social svg {
        width: 16px;
        height: 16px;
    }

    .brand-bar {
        padding: 24px 0 16px;
    }

    .brand-bar__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
    }

    .brand-logo {
        flex: 1;
    }

    .brand-logo img {
        height: 50px;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        flex-shrink: 0;
    }

    .main-nav {
        position: relative;
        border-top: 1px solid var(--border);
    }

    .main-nav .container {
        padding: 0;
    }

    .main-nav__links {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 0;
    }

    .main-nav.open .main-nav__links {
        max-height: 500px;
        padding: 12px 0;
    }

    .main-nav__links a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border);
        text-align: left;
        font-size: 0.85rem;
    }

    .main-nav__links a:last-child {
        border-bottom: none;
    }

    .hero-side {
        flex-direction: column;
    }

    .highlight-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .highlight-header nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .article-item-image-container {
        height: 200px;
    }

    .article-item .content {
        gap: 10px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-categories__grid {
        grid-template-columns: 1fr;
    }

    .follow-item {
        padding: 12px;
    }
}