
.wp-block-newspack-blocks-homepage-articles .entry-title,
.wp-block-newspack-blocks-homepage-articles .entry-title a {
  font-family: 'Domine', serif;
}

/* =========================
   DESKTOP HEADER ALIGNMENT
   ========================= */

@media (min-width: 769px) {

    .site-header {
        width: 100%;
        box-sizing: border-box;
    }

    .wp-site-blocks > header {
        width: 100%;
        box-sizing: border-box;
    }

    .wp-site-blocks > header > .wp-block-group {
        max-width: 1400px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .site-header .wp-block-group {
        box-sizing: border-box;
    }

}

/* =========================
   MOBILE FIX (CLEAN LAYOUT)
   ========================= */

@media (max-width: 768px) {

    body {
        padding: 0;
    }

    .site-header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px;
        box-sizing: border-box;
        width: 100%;
    }

    .main-navigation,
    .wp-block-navigation,
    nav ul,
    .wp-block-button {
        display: none !important;
    }

    .wp-block-columns {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .wp-block-column:nth-child(1) {
        order: 2;
    }

    .wp-block-column:nth-child(2) {
        order: 1;
    }

    .wp-block-column:nth-child(3) {
        order: 3;
    }

    .wp-block-column {
        text-align: center;
        width: 100% !important;
    }

    h1,
    h2,
    h3 {
        text-align: center;
        line-height: 1.2;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 15px;
        line-height: 1.5;
    }

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

    .wp-block-image img {
        border-radius: 8px;
    }

    ul {
        padding-left: 0;
        list-style-position: inside;
    }

    ul li {
        margin-bottom: 6px;
    }

    a {
        word-break: break-word;
    }

}

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

.wp-block-button__link {
    white-space: nowrap !important;
    width: auto !important;
}

/* =========================
   SINGLE POST LAYOUT FIX
   ========================= */

.postid-2276 .wp-site-blocks > .wp-block-columns > .wp-block-column[style*="flex-basis:25%"] {
    display: none !important;
}

.postid-2276 .wp-site-blocks > .wp-block-columns > .wp-block-column[style*="flex-basis:50%"] {
    flex-basis: 100% !important;
    max-width: 100% !important;
}

/* =========================
   GAMBIt PAYWALL
   ========================= */

#gambit-paywall {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #f5f5f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

#gambit-paywall .gambit-logo {
    width: 80px;
    height: 80px;
    background: #9966CB;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 11px;
    color: white;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

#gambit-paywall h1 {
    font-family: 'Domine', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}

#gambit-paywall .gambit-newsletter-name {
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #111;
}

#gambit-paywall .gambit-caption {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
}

#gambit-paywall .gambit-form-wrap {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 460px;
    margin-bottom: 1.25rem;
}

#gambit-paywall .gambit-form-wrap input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #bbb;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
}

#gambit-paywall .gambit-form-wrap input[type="email"]:focus {
    border-color: #9966CB;
}

#gambit-paywall .gambit-form-wrap button {
    background: #9966CB;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

#gambit-paywall .gambit-already {
    font-weight: 700;
    font-size: 0.9rem;
    color: #111;
    cursor: pointer;
    text-decoration: underline;
}

#gambit-paywall .gambit-already:hover {
    color: #9966CB;
}

#gambit-paywall .gambit-success {
    display: none;
    color: #27ae60;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
