/* ========================================
   VARIABLES
======================================== */

:root {
    --navy: #0d2038;
    --navy-dark: #081525;
    --red: #d71920;
    --blue: #185fa5;

    --text: #25282d;
    --muted: #70757c;

    --border: #e4e6e8;
    --light-bg: #f4f5f6;
    --white: #ffffff;

    --container: 1320px;

    --serif: "Merriweather", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

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

button,
input {
    font-family: inherit;
}

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


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

.utility-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

.utility-inner {
    min-height: 38px;

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

    gap: 20px;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-bar a:hover {
    color: white;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;

    border-left: 1px solid rgba(255,255,255,.2);
    padding-left: 18px;
}

.language-switch button {
    border: 0;
    background: none;
    color: rgba(255,255,255,.65);
    padding: 2px;
    cursor: pointer;
}

.language-switch .active {
    color: white;
    font-weight: 700;
}


/* ========================================
   BRANDING
======================================== */

.branding-row {
    min-height: 125px;

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

    gap: 40px;
}

.site-branding {
    display: block;
    width: min(100%, 620px);
    flex: 0 1 620px;
}

.site-logo {
    width: 100%;
    height: auto;
    max-height: 105px;
    object-fit: contain;
    object-position: left center;
}

.header-ad {
    width: min(100%, 500px);
    min-height: 72px;

    padding: 14px 20px;

    background: var(--light-bg);
    border: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: center;
}

.header-ad span {
    font-size: 9px;
    letter-spacing: .15em;
    color: var(--muted);
}

.header-ad strong {
    font-size: 13px;
    margin-top: 5px;
}


/* ========================================
   NAVIGATION
======================================== */

.main-navigation {
    background: var(--navy);
    color: white;
}

.nav-inner {
    min-height: 58px;

    display: flex;
    align-items: stretch;
}

.main-menu {
    display: flex;
    align-items: stretch;

    list-style: none;
    margin: 0;
    padding: 0;

    flex: 1;
}

.main-menu li {
    display: flex;
}

.main-menu a {
    display: flex;
    align-items: center;

    padding: 0 16px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;

    position: relative;
}

.main-menu a:hover {
    background: rgba(255,255,255,.07);
}

.main-menu a.active::after {
    content: "";

    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;

    height: 4px;
    background: var(--red);
}

.search-button {
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.15);

    color: white;

    padding: 0 20px;
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
}


/* ========================================
   BREAKING NEWS
======================================== */

.breaking-news {
    border-bottom: 1px solid var(--border);
}

.breaking-inner {
    min-height: 44px;

    display: flex;
    align-items: center;
    gap: 18px;
}

.breaking-label {
    background: var(--red);
    color: white;

    padding: 5px 10px;

    font-size: 10px;
    letter-spacing: .08em;
}

.breaking-headline {
    font-size: 13px;
    font-weight: 600;
}


/* ========================================
   WELCOME
======================================== */

.welcome-strip {
    padding: 54px 0 30px;
}

.eyebrow,
.sidebar-kicker {
    display: block;

    margin-bottom: 9px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.welcome-strip h1 {
    margin: 0;

    max-width: 880px;

    font-family: var(--serif);
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    color: var(--navy);
}

.welcome-strip p {
    max-width: 720px;

    margin: 20px 0 0;

    font-size: 18px;
    color: var(--muted);
}


/* ========================================
   HERO GRID
======================================== */

.hero-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 270px);

    gap: 6px;
}

.hero-story {
    position: relative;
    overflow: hidden;

    background: var(--navy);
}

.hero-primary {
    grid-row: 1 / span 2;
}

.hero-story img {
    width: 50%;
    height: 50%;
    object-fit: cover;

    transition: transform .45s ease;
}

.hero-story:hover img {
    transform: scale(1.025);
}

.hero-story::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 12, 23, .92),
            rgba(3, 12, 23, .05) 70%
        );
}

.story-overlay {
    position: absolute;
    z-index: 2;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px;

    color: white;
}

.hero-primary .story-overlay {
    padding: 44px;
}

.category {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--red);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.story-overlay .category {
    background: var(--red);
    color: white;

    padding: 5px 8px;
}

.story-overlay h2,
.story-overlay h3 {
    font-family: var(--serif);
    margin: 0;
    line-height: 1.18;
}

.story-overlay h2 {
    font-size: clamp(28px, 4vw, 48px);
    max-width: 760px;
}

.story-overlay h3 {
    font-size: 22px;
}

.story-overlay p {
    max-width: 660px;

    margin: 13px 0;

    color: rgba(255,255,255,.88);
}

.article-meta {
    margin-top: 10px;

    color: var(--muted);

    font-size: 11px;
}

.story-overlay .article-meta {
    color: rgba(255,255,255,.7);
}


/* ========================================
   FEATURES
======================================== */

.features {
    margin-top: 75px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading span {
    color: var(--red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.section-heading h2,
.section-title-row h2 {
    margin: 5px 0 0;

    font-family: var(--serif);
    color: var(--navy);

    font-size: 33px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

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

.feature-card {
    padding: 34px 34px 38px 0;
}

.feature-card + .feature-card {
    border-left: 1px solid var(--border);
    padding-left: 34px;
}

.feature-number {
    color: #cbd0d5;

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

.feature-card h3 {
    margin: 8px 0 12px;

    color: var(--navy);
    font-family: var(--serif);
    font-size: 23px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
}

.feature-card a {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}


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

.content-area {
    padding: 75px 0 90px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(280px, .75fr);

    gap: 60px;
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding-bottom: 13px;

    border-bottom: 3px solid var(--navy);

    margin-bottom: 26px;
}

.section-title-row .eyebrow {
    margin-bottom: 2px;
}

.section-title-row > a {
    color: var(--red);

    font-size: 11px;
    font-weight: 700;
}


/* NEWS ROW */

.news-row {
    display: grid;
    grid-template-columns: minmax(220px, 38%) 1fr;

    gap: 28px;

    padding-bottom: 30px;
    margin-bottom: 30px;

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

.news-row img {
    height: 230px;
    object-fit: cover;
}

.news-content h3 {
    margin: 0 0 10px;

    font-family: var(--serif);
    color: var(--navy);

    font-size: 25px;
    line-height: 1.25;
}

.news-content p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.share-links {
    display: flex;
    gap: 10px;

    margin-top: 13px;

    font-size: 10px;
}

.share-links span {
    color: var(--muted);
}

.share-links a {
    font-weight: 700;
}


/* ========================================
   PHOTO FEATURE
======================================== */

.photo-feature {
    height: 430px;

    position: relative;

    margin: 55px 0 70px;

    overflow: hidden;
}

.photo-feature img {
    height: 100%;
    object-fit: cover;
}

.photo-feature::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,20,37,.94),
            rgba(5,20,37,.5),
            rgba(5,20,37,.05)
        );
}

.photo-feature-content {
    position: absolute;
    z-index: 2;

    left: 50px;
    top: 50%;

    max-width: 460px;

    transform: translateY(-50%);

    color: white;
}

.photo-feature-content > span {
    color: #ff6267;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.photo-feature-content h2 {
    margin: 12px 0;

    font-family: var(--serif);
    font-size: 44px;
    line-height: 1.1;
}

.photo-feature-content p {
    color: rgba(255,255,255,.83);
}


/* ========================================
   ARTICLE CARDS
======================================== */

.article-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 38px 28px;
}

.article-card img {
    height: 230px;
    object-fit: cover;

    margin-bottom: 16px;
}

.article-card h3 {
    margin: 0 0 9px;

    font-family: var(--serif);
    color: var(--navy);

    font-size: 20px;
    line-height: 1.3;
}

.article-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* ========================================
   SIDEBAR
======================================== */

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

.sidebar-box {
    padding: 26px;

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

    background: white;
}

.sidebar-box h3 {
    margin: 0 0 14px;

    font-family: var(--serif);
    color: var(--navy);

    font-size: 21px;
}

.sidebar-box p {
    color: var(--muted);
    font-size: 13px;
}

.newspaper-box {
    border-top: 4px solid var(--red);
}

.newspaper-cover {
    width: 100%;
    margin: 20px auto;
}

.newspaper-cover img {
    display: block;
    width: 100%;
    height: auto;

    border: 1px solid #d7d7d7;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.subscribe-box {
    background: var(--navy);
    color: white;
}

.subscribe-box h3,
.subscribe-box p {
    color: white;
}

.button,
.login-form button {
    width: 100%;

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

    padding: 13px 18px;

    border: 0;

    background: var(--red);
    color: white;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.button:hover,
.login-form button:hover {
    background: #bd1016;
}

.text-link {
    display: inline-block;

    margin-top: 15px;

    color: var(--red);

    font-size: 11px;
    font-weight: 700;
}


/* LOGIN */

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    margin-top: 10px;
    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    height: 43px;

    padding: 0 12px;

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

    outline: 0;
}

.login-form input:focus {
    border-color: var(--blue);
}

.login-form button {
    margin-top: 15px;
}

.login-form a {
    margin-top: 10px;

    color: var(--muted);

    font-size: 10px;
}


/* BRANCHES */

.branch-links {
    display: flex;
    flex-direction: column;
}

.branch-links a {
    display: flex;
    justify-content: space-between;

    padding: 12px 0;

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

.branch-links strong {
    color: var(--navy);
    font-size: 13px;
}

.branch-links span {
    color: var(--red);
    font-size: 10px;
}


/* EVENTS */

.mini-event {
    display: grid;
    grid-template-columns: 52px 1fr;

    gap: 14px;

    padding: 15px 0;

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

.event-date {
    background: var(--navy);
    color: white;

    min-height: 55px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-date strong {
    font-size: 20px;
    line-height: 1;
}

.event-date span {
    margin-top: 4px;

    font-size: 9px;
    letter-spacing: .08em;
}

.mini-event h4 {
    margin: 0;

    color: var(--navy);

    font-family: var(--serif);
    font-size: 13px;
}

.mini-event p {
    margin: 3px 0 0;
    font-size: 10px;
}


/* WEATHER */

.weather-box {
    background: var(--light-bg);
}

.temperature {
    margin: 10px 0;

    color: var(--navy);

    font-family: var(--serif);
    font-size: 52px;
    line-height: 1;
}


/* ========================================
   NEWSLETTER
======================================== */

.newsletter-section {
    padding: 64px 0;

    background: var(--navy);
    color: white;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}

.eyebrow.light {
    color: #ff6167;
}

.newsletter-section h2 {
    margin: 5px 0 15px;

    font-family: var(--serif);
    font-size: 36px;
    line-height: 1.2;
}

.newsletter-section p {
    max-width: 580px;

    color: rgba(255,255,255,.72);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
}

.newsletter-form input {
    min-height: 52px;

    padding: 0 18px;

    border: 0;
}

.newsletter-form button {
    padding: 0 28px;

    border: 0;

    background: var(--red);
    color: white;

    font-weight: 700;

    cursor: pointer;
}

.newsletter-form small {
    grid-column: 1 / -1;

    margin-top: 10px;

    color: rgba(255,255,255,.55);

    font-size: 9px;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding-top: 70px;

    background: var(--navy-dark);

    color: rgba(255,255,255,.67);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;

    gap: 55px;

    padding-bottom: 55px;
}

.footer-logo {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    background: var(--red);
    color: white;

    font-weight: 800;
}

.footer-about h3,
.site-footer h4 {
    color: white;
}

.footer-about h3 {
    font-family: var(--serif);
}

.site-footer h4 {
    margin-top: 0;

    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.site-footer ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

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

.site-footer a {
    font-size: 12px;
}

.site-footer a:hover {
    color: white;
}

.footer-about p,
.site-footer p {
    font-size: 12px;
}

.slovak-copy {
    font-style: italic;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-bottom {
    min-height: 65px;

    border-top: 1px solid rgba(255,255,255,.1);

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

    gap: 20px;

    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* ========================================
   BUTTON
======================================== */

.button-light {
    display: inline-flex;

    margin-top: 12px;

    padding: 12px 18px;

    background: white;

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;
}


/* ========================================
   ACCESSIBILITY
======================================== */

.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;
}


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

@media (max-width: 1080px) {

    .header-ad {
        display: none;
    }

    .main-menu a {
        padding-inline: 10px;
        font-size: 10px;
    }

    .content-layout {
        gap: 35px;
    }

}


@media (max-width: 850px) {

    .utility-left span {
        display: none;
    }

    .branding-row {
        min-height: 95px;
    }

    .site-branding {
        width: 100%;
        flex-basis: auto;
    }

    .site-logo {
        max-height: 78px;
    }

    .mobile-menu-button {
        display: block;

        border: 0;
        background: none;

        color: white;

        padding: 17px 0;

        font-weight: 700;

        cursor: pointer;
    }

    .nav-inner {
        position: relative;
        flex-direction: column;
    }

    .main-menu {
        display: none;
        flex-direction: column;

        width: 100%;
    }

    .main-menu.menu-open {
        display: flex;
    }

    .main-menu li {
        width: 100%;
    }

    .main-menu a {
        width: 100%;

        padding: 13px 0;

        border-top: 1px solid rgba(255,255,255,.1);
    }

    .search-button {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 480px 300px 300px;
    }

    .hero-primary {
        grid-row: auto;
    }

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

    .feature-card {
        padding: 30px 0;
    }

    .feature-card + .feature-card {
        padding-left: 0;

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

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

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .utility-right > a {
        display: none;
    }

    .welcome-strip {
        padding-top: 38px;
    }

    .hero-grid {
        grid-template-rows: 420px 260px 260px;
    }

    .hero-primary .story-overlay,
    .story-overlay {
        padding: 22px;
    }

    .story-overlay p {
        display: none;
    }

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

    .news-row img {
        height: 230px;
    }

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

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

    .photo-feature {
        height: 470px;
    }

    .photo-feature-content {
        left: 25px;
        right: 25px;
    }

    .photo-feature-content h2 {
        font-size: 34px;
    }

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

    .newsletter-form button {
        min-height: 50px;
    }

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

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

        padding: 20px 0;
    }

}

.feature-image {
    width: 100%;
    margin-bottom: 22px;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   BELOW-HERO 72 / 28 LAYOUT
   The left feature/news area occupies 72% of the
   container and the sidebar occupies the right 28%.
======================================== */

.below-hero-area {
    padding: 75px 0 90px;
}

.below-hero-layout {
    display: grid;
    grid-template-columns: 72% 28%;
    gap: 0;
    align-items: start;
}

.primary-content-column {
    min-width: 0;
    padding-right: 42px;
}

.below-hero-area .features {
    margin-top: 0;
}

.below-hero-area .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* The third feature begins the second row, matching the supplied layout. */
.below-hero-area .feature-card:nth-child(3) {
    grid-column: 1;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
}

.below-hero-area .content-area {
    padding: 75px 0 0;
}

.below-hero-area .sidebar {
    min-width: 0;
    padding-left: 28px;
    border-left: 1px solid var(--border);
}

/* The old two-column content-layout is no longer used in this arrangement. */
.below-hero-area .main-content {
    min-width: 0;
}

@media (max-width: 1080px) {
    .below-hero-layout {
        grid-template-columns: 70% 30%;
    }

    .primary-content-column {
        padding-right: 30px;
    }

    .below-hero-area .sidebar {
        padding-left: 22px;
    }
}

@media (max-width: 850px) {
    .below-hero-area {
        padding-top: 55px;
    }

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

    .primary-content-column {
        padding-right: 0;
    }

    .below-hero-area .feature-grid {
        grid-template-columns: 1fr;
    }

    .below-hero-area .feature-card:nth-child(3) {
        grid-column: auto;
    }

    .below-hero-area .sidebar {
        margin-top: 55px;
        padding-left: 0;
        border-left: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .below-hero-area .sidebar {
        grid-template-columns: 1fr;
    }
}
