/* Global Styles & Variables */
:root {
    --primary-green: #2e7d32;
    --primary-red: #d32f2f;
    --primary-yellow: #fbc02d;
    --light-green: #e8f5e9;
    --light-yellow: #fff9c4;
    --text-dark: #212121;
    --text-light: #757575;
    --white: #ffffff;
    --max-width: 1100px;
    --header-height: 72px;
    --hero-green-text: #1b5e20;
    --footer-green: #1b5e20;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.flex {
    display: flex;
    align-items: center;
}

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

.grid {
    display: grid;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-donate {
    background-color: var(--primary-yellow);
    color: var(--white);
    font-size: 15px;
    padding: 10px 24px;
    gap: 8px;
}

.btn-donate:hover {
    background-color: #f9a825;
}

.section-padding {
    padding: 60px 0;
}

/* ===== HEADER ===== */
header {
    height: var(--header-height);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-yellow);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 46px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: -0.3px;
}

.nav-links {
    gap: 48px;
    font-weight: 600;
    font-size: 15px;
}

.nav-links a {
    color: var(--text-dark);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px 4px;
    cursor: pointer;
    line-height: 1;
}

.menu-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.menu-toggle-bar + .menu-toggle-bar {
    margin-top: 5px;
}

.mobile-donate-item {
    display: none;
}

.mobile-donate-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-yellow);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    width: 100%;
    max-width: 260px;
    margin-top: 10px;
}

/* ===== STICKY SOCIAL SIDEBAR ===== */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    padding: 8px 6px;
    border-radius: 8px 0 0 8px;
    z-index: 9999;
    gap: 2px;
}

.social-icon {
    color: #fff;
    font-size: 18px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.7;
}

/* ===== HOMEPAGE ===== */
.home-intro {
    text-align: center;
    padding: 48px 0 40px;
    max-width: 760px;
    margin: 0 auto;
}

.home-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.home-intro .highlight-green {
    color: var(--primary-green);
    font-weight: 700;
}

.editions-section {
    padding-bottom: 80px;
}

.editions-labels {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.editions-labels h3 {
    font-size: 16px;
    font-weight: 700;
}

.editions-labels .label-latest {
    color: var(--primary-green);
}

.editions-labels .label-featured {
    color: var(--primary-red);
}

.editions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.edition-card {
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edition-card-latest {
    background-color: var(--primary-green);
}

.edition-card-featured {
    background-color: var(--primary-yellow);
}

.edition-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.edition-card .placeholder-cover {
    width: 100%;
    aspect-ratio: 0.72;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* ===== ABOUT PAGE ===== */

/* --- Top About Section --- */
.about-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 56px 0 60px;
}

.about-text h2 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-text .editorial-principle {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.about-text .editorial-principle .green {
    color: var(--primary-green);
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 8px;
}

.about-column h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.about-column ul {
    list-style: disc;
    padding-left: 18px;
}

.about-column li {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 6px;
    color: #444;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.about-image .image-placeholder {
    width: 100%;
    aspect-ratio: 0.9;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

/* --- Donate/Support Section --- */
.mission-section {
    text-align: center;
    padding: 60px 0 40px;
}

.mission-icon {
    font-size: 64px;
    color: var(--primary-yellow);
    margin-bottom: 28px;
    display: block;
}

.mission-title {
    font-size: 22px;
    max-width: 720px;
    margin: 0 auto 12px;
    font-weight: 700;
    line-height: 1.5;
}

.mission-subtitle {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    max-width: 680px;
    margin: 0 auto 48px;
    line-height: 1.5;
}

.info-cards {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    padding: 36px 32px;
    border-radius: 12px;
}

.card-yellow {
    background-color: var(--light-yellow);
}

.card-green {
    background-color: var(--light-green);
}

.card h3 {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
}

.card ul {
    list-style: disc;
    padding-left: 20px;
}

.card li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.large-donate-btn {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 36px auto 0;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #388e3c 100%);
    transition: opacity 0.3s;
    text-align: center;
    text-decoration: none;
}

.large-donate-btn:hover {
    opacity: 0.9;
}

/* ===== ARCHIVE PAGE ===== */
.archive-section {
    padding: 40px 0 60px;
    min-height: 80vh;
}

.search-bar-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.search-bar-wrapper .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.search-bar {
    background: #f5f5f5;
    padding: 14px 20px 14px 48px;
    border-radius: 50px;
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
}

.search-bar::placeholder {
    color: #aaa;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.magazine-cover {
    width: 100%;
    aspect-ratio: 0.72;
    background-color: #f0f0f0;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 13px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.magazine-cover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.magazine-date {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s;
    text-decoration: none;
}

.pagination a:hover {
    background-color: var(--light-green);
}

.pagination .active {
    background-color: var(--primary-green);
    color: #fff;
}

.pagination .arrow {
    font-size: 18px;
    color: #999;
}

.pagination .arrow:hover {
    color: var(--primary-green);
}

/* ===== SUBSCRIBE PAGE ===== */
.subscribe-section {
    padding: 60px 0 0;
    min-height: calc(100vh - var(--header-height) - 60px);
    display: flex;
    align-items: center;
}

.subscribe-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 40px;
    width: 100%;
}

.subscribe-text h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.subscribe-text .free {
    color: var(--primary-red);
}

.subscribe-text .sub-description {
    font-size: 16px;
    color: #444;
    margin-bottom: 0;
    line-height: 1.6;
}

.subscribe-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 36px 0;
}

.subscribe-cta-text {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 0;
}

.subscribe-cta-text .green {
    color: var(--primary-green);
    font-weight: 700;
}

.phone-number {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin: 28px 0;
}

.phone-number .prefix {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
}

.phone-number .highlight-red {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-red);
}

.phone-number .rest {
    font-size: 64px;
    font-weight: 800;
    color: var(--text-dark);
}

.wa-input-box {
    border: 1.5px solid #ccc;
    border-radius: 10px;
    padding: 16px 16px 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    max-width: 560px;
}

.wa-input-box span {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: 500;
}

.wa-send-btn {
    background: #a5d6a7;
    min-width: 56px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.wa-send-btn:hover {
    background: #81c784;
}

.subscribe-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 24px;
}

.subscribe-icon svg {
    width: 220px;
    height: auto;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    text-align: center;
    min-height: calc(100vh - var(--header-height) - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
}

.contact-headline {
    font-size: 38px;
    margin-bottom: 12px;
    font-weight: 800;
}

.contact-headline .red {
    color: var(--primary-red);
}

.contact-headline .green {
    color: var(--primary-green);
}

.contact-sub {
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.left-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 16px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    height: 100%;
    min-height: 200px;
    resize: none;
}

.submit-btn {
    background-color: #a5d6a7;
    color: white;
    width: 100%;
    max-width: 760px;
    margin: 28px auto 0;
    padding: 16px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background-color: #81c784;
}

.ads-email {
    margin-top: 28px;
    font-size: 15px;
}

.ads-email .label {
    color: var(--primary-red);
    font-weight: 700;
}

/* ===== SUCCESS PAGE ===== */
.success-section {
    text-align: center;
    min-height: calc(100vh - var(--header-height) - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.success-icon i {
    font-size: 36px;
    color: var(--text-dark);
}

.success-section h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.success-section .success-sub {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 36px;
}

.btn-back-home {
    background-color: var(--primary-yellow);
    color: #fff;
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
}

.btn-back-home:hover {
    background-color: #f9a825;
}

/* ===== PAYMENT PAGE ===== */
.payment-banner {
    background: var(--primary-green);
    text-align: center;
    padding: 36px 24px;
    color: white;
}

.payment-banner h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.payment-banner p {
    font-size: 14px;
    opacity: 0.85;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

.payment-form {
    text-align: center;
    padding: 48px 24px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.payment-question {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.amount-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
}

.amount-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
}

.amount-currency {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 600;
}

.amount-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.amount-option {
    padding: 8px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: white;
    color: var(--text-dark);
    transition: all 0.2s;
    font-family: inherit;
}

.amount-option:hover {
    border-color: var(--primary-green);
    background: var(--light-green);
}

.amount-option.selected {
    border-color: var(--primary-green);
    background: var(--light-green);
    color: var(--primary-green);
}

.monthly-donation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    font-size: 14px;
    color: var(--text-dark);
}

.monthly-donation input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.payment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    font-family: inherit;
    text-decoration: none;
}

.payment-btn:hover {
    opacity: 0.88;
}

.payment-btn-mpesa {
    background: var(--primary-green);
}

.payment-btn-paypal {
    background: var(--primary-yellow);
}

.payment-btn-card {
    background: #333;
}

.payment-disclaimer {
    font-size: 11px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.mpesa-section {
    max-width: 400px;
    margin: 24px auto 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.mpesa-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    color: var(--text-dark);
}

.mpesa-input:focus {
    border-color: var(--primary-green);
}

.mpesa-pay-btn {
    background: var(--primary-green);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mpesa-pay-btn:hover {
    opacity: 0.9;
}

/* --- Payment Sent Page --- */
.payment-sent-logo {
    width: 100px;
    height: auto;
    margin: 0 auto 28px;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--footer-green);
    color: white;
    text-align: center;
    padding: 18px 0;
    margin-top: 80px;
    font-weight: 600;
    font-size: 15px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-top {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-height: 300px;
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .editions-grid {
        gap: 24px;
    }

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

    .subscribe-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .subscribe-icon {
        order: -1;
        justify-content: flex-start;
        padding-top: 0;
        margin-bottom: 12px;
    }

    .subscribe-icon svg {
        width: 160px;
    }

    .phone-number .prefix {
        font-size: 36px;
    }

    .phone-number .highlight-red,
    .phone-number .rest {
        font-size: 48px;
    }

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

    .info-cards {
        grid-template-columns: 1fr;
    }

    .payment-banner h2 {
        font-size: 22px;
    }

    .amount-value {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: var(--white);
        border: 1px solid #ececec;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        padding: 10px 0;
        z-index: 1001;
    }

    header.menu-open .site-nav {
        display: block;
    }

    header.menu-open .menu-toggle-bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    header.menu-open .menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    header.menu-open .menu-toggle-bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 18px;
    }

    .mobile-donate-item {
        display: block;
        padding: 8px 18px 6px;
    }

    .btn-donate {
        display: none;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo img {
        height: 38px;
    }

    .home-intro {
        padding: 32px 0 28px;
    }

    .editions-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 32px;
    }

    .editions-labels {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }

    .subscribe-text h2 {
        font-size: 28px;
    }

    .phone-number .prefix {
        font-size: 28px;
    }

    .phone-number .highlight-red,
    .phone-number .rest {
        font-size: 36px;
    }

    .contact-headline {
        font-size: 28px;
    }

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

    .mission-title,
    .mission-subtitle {
        font-size: 18px;
    }

    .success-section h1 {
        font-size: 26px;
    }

    .social-sidebar {
        padding: 6px 4px;
    }

    .social-icon {
        font-size: 15px;
        padding: 7px 8px;
    }

    .payment-banner {
        padding: 28px 16px;
    }

    .payment-banner h2 {
        font-size: 20px;
    }

    .payment-banner p {
        font-size: 13px;
    }

    .payment-form {
        padding: 32px 16px 32px;
    }

    .payment-question {
        font-size: 18px;
    }

    .amount-value {
        font-size: 42px;
    }

    .amount-options {
        gap: 8px;
    }

    .amount-option {
        padding: 7px 14px;
        font-size: 14px;
    }

    .payment-methods {
        flex-direction: column;
        align-items: center;
    }

    .payment-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .mpesa-section {
        flex-direction: column;
    }

    .mpesa-input {
        width: 100%;
    }

    .mpesa-pay-btn {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .logo img {
        height: 34px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .site-nav {
        top: calc(100% + 6px);
        border-radius: 10px;
    }

    .nav-links a {
        padding: 11px 14px;
        font-size: 14px;
    }

    .mobile-donate-item {
        padding: 8px 14px 6px;
    }

    .mobile-donate-link {
        max-width: none;
        padding: 10px 14px;
        font-size: 14px;
    }

    .home-intro {
        padding: 28px 0 24px;
    }

    .home-intro p {
        font-size: 15px;
    }

    .editions-grid {
        max-width: 100%;
        gap: 24px;
    }

    .subscribe-text h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .phone-number .prefix {
        font-size: 24px;
    }

    .phone-number .highlight-red,
    .phone-number .rest {
        font-size: 30px;
    }

    .contact-headline {
        font-size: 24px;
        line-height: 1.25;
    }
}

@media (max-width: 375px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section-padding {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .nav-links a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .mobile-donate-item {
        padding: 8px 12px 6px;
    }

    .mobile-donate-link {
        font-size: 13px;
    }

    .home-intro p {
        font-size: 14px;
    }

    .mission-title,
    .mission-subtitle {
        font-size: 17px;
    }

    .social-sidebar {
        padding: 5px 3px;
    }

    .social-icon {
        font-size: 14px;
        padding: 6px 7px;
    }
}

@media (max-width: 320px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo img {
        height: 31px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .menu-toggle-bar {
        width: 22px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 10px 10px;
    }

    .mobile-donate-item {
        padding: 7px 10px 6px;
    }

    .mobile-donate-link {
        font-size: 13px;
        padding: 9px 12px;
    }

    .home-intro p {
        font-size: 14px;
    }

    .editions-grid {
        gap: 20px;
    }

    .subscribe-text h2 {
        font-size: 22px;
    }

    .phone-number .prefix {
        font-size: 20px;
    }

    .phone-number .highlight-red,
    .phone-number .rest {
        font-size: 26px;
    }

    .contact-headline {
        font-size: 22px;
    }

    .success-section h1 {
        font-size: 22px;
    }
}
