body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    padding: 2rem;
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* ====== Header & Navigation ====== */
header {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    background: #ebebeb;
    box-shadow: 0 2px 8px rgba(15, 71, 175, 0.07);
    padding: 1.2rem 0 0.2rem 0;
    /* Less space below header */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    margin: 0;
    border-radius: 0;
}

.header-content {
    width: 60vw;
    max-width: 900px;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

nav {
    display: flex;
    justify-content: center;
    background: none !important;
    /* Remove blue background */
    margin-top: 0.7rem;
}

nav a {
    color: #0F47AF;
    background: none !important;
    /* Remove blue background */
    text-decoration: none;
    padding: 1rem;
}

nav a:hover {
    background: none !important;
    /* No background on hover */
    color: #00796b;
}

h1 {
    font-size: 2.4rem;
    color: #0F47AF;
    text-align: left;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
    flex: 0 0 auto;
}

h1::after {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li a {
    color: #0F47AF;
    background: none;
    /* Remove blue background */
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    transition: color 0.2s;
}

.nav-list li a:hover,
.nav-list li a:focus {
    background: none;
    /* No background on hover */
    color: #00796b;
}

/* ====== Footer ====== */
footer {
    background: #0e3379;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    margin-top: auto;
}

/* ====== Podcast Grid ====== */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(45%, 1fr));
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ====== Load More Button ====== */
.load-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.load-more-btn:hover {
    background-color: #555;
}

/* ====== About Section ====== */
.about-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-flex img {
    max-width: 30%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .about-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-flex img {
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* ====== Sponsor Cards ====== */
.sponsor-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    margin-top: 1rem;
}

/* .sponsor-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
} */

.sponsor-card {
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 71, 175, 0.10);
    padding: 1.5rem 1rem;
    flex: 1 1 260px;
    max-width: 320px;
    min-width: 220px;
    box-sizing: border-box;
    margin: 0;
}

.sponsor-card h3 {
    font-size: 2rem;
    width: 100%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #00796b;
    font-weight: bold;
}

.sponsor-card ul {
    margin: 0;
    padding-left: 1.2em;
}

.sponsor-card p {
    text-align: center;
}

/* Donation form inside sponsor card */
.sponsor-card .donation-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.sponsor-card .donation-row {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sponsor-card .donation-label {
    font-weight: 600;
    color: #0F47AF;
}

.sponsor-card .donation-input {
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    width: 110px;
    text-align: center;
    font-size: 1rem;
}

.sponsor-card .donate-button {
    width: 80%;
    margin: 0.8rem auto 0 auto;
    padding: 0.55rem 1.2rem;
    border-radius: 24px;
    display: block;
    border: none;
    cursor: pointer;
}

@media (max-width: 600px) {
    .sponsor-card .donation-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sponsor-card .donation-input {
        width: 100%;
        max-width: 220px;
    }
}

@media (max-width: 900px) {
    .sponsor-cards .sponsor-card {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 900px) {
    .sponsor-cards {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ====== Sponsor Showcase ====== */
.sponsor-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;

}

@media (max-width: 1400px) {
    .sponsor-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .sponsor-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .sponsor-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .sponsor-showcase {
        grid-template-columns: 1fr;
    }
}

.sponsor-showcase .sponsor-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-logo {
    max-width: 100%;
    height: 6rem;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    flex-shrink: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Add a separator line between logo and text */
.sponsor-card .sponsor-separator {
    width: 90%;
    height: 0;
    border-bottom: 3px solid #ededed;
    /* margin: 0 auto 1.5rem auto; */
    display: block;
}

/* ====== Mobile Header & Container Adjustments ====== */
@media (max-width: 768px) {
    header {
        position: static !important;
        top: auto !important;
        width: 100%;
        padding-top: 0.1em;
        padding-bottom: 0.1em;
    }

    .container {
        padding-top: 2rem !important;
    }
}

.sponsor-story {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    justify-content: flex-start;
    position: relative;
}

.sponsor-story a {
    background: #0F47AF !important;
    color: #fff !important;
    padding: 0.5em 1.2em !important;
    border-radius: 24px !important;
    text-decoration: none !important;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(15, 71, 175, 0.10);
    display: inline-block;
    margin-top: auto;
    align-self: center;
}

.sponsor-story a:hover {
    background: #00796b;
}

h2 {
    font-size: 2.8rem;
    color: #0F47AF;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 60px;
    height: 4px;
    background: #0F47AF;
    border-radius: 2px;
}

/* Mobile friendly */
@media (max-width: 900px) {
    .header-content {
        width: 90vw;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    h1 {
        text-align: left;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .nav-list {
        gap: 1.2rem;
    }
}

/* ====== Bedankt (hero) page: large centered header + big button ====== */
#bedankt .hero-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 1.25rem;
}

#bedankt .hero-panel h1 {
    font-size: 3.2rem;
    line-height: 1.05;
    margin: 0 0 1rem 0;
    color: #0F47AF;
    letter-spacing: 1px;
    text-align: center;
}

#bedankt .hero-panel p {
    max-width: 760px;
    margin: 0 0 1.6rem 0;
    color: #333;
    font-size: 1.18rem;
    line-height: 1.6;
}

/* Big beautiful button that fits site colors (scoped to bedankt page) */
/* Global button style: match the VriendenVanOss sponsor links */
.button {
    background: #0F47AF;
    color: #fff;
    text-decoration: none;
    padding: 0.5em 1.2em;
    font-weight: 700;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(15, 71, 175, 0.10);
    display: inline-block;
    transition: background 120ms ease, transform 120ms ease;
}

.button:hover,
.button:focus {
    background: #00796b;
}

/* Bedankt-specific larger button (keeps flat background, no gradient) */
#bedankt .button {
    display: inline-block;
    background: #0F47AF;
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(15, 71, 175, 0.16);
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    border: none;
}

#bedankt .button:hover,
#bedankt .button:focus {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 71, 175, 0.22);
    opacity: 0.98;
}

@media (max-width: 600px) {
    #bedankt .hero-panel h1 {
        font-size: 2.2rem;
    }

    #bedankt .button {
        width: 100%;
        max-width: 420px;
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
    }
}

/* ====== Error Page ====== */
.error-page-body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.error-page-container {
    flex: 1;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.error-box {
    background: #ffebee;
    border: 2px solid #d32f2f;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.error-box h2 {
    color: #d32f2f;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.error-box p {
    color: #c62828;
    font-size: 1.1rem;
    margin: 0;
}

.error-donation-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 71, 175, 0.12);
    padding: 2rem;
    text-align: center;
}

.error-donation-card h3 {
    color: #0F47AF;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.error-donation-card p {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.error-donation-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.error-form-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
}

.error-form-row label {
    font-weight: 600;
    color: #0F47AF;
}

.error-form-row input {
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    width: 140px;
    text-align: center;
}

.error-form-row input:focus {
    outline: none;
    border-color: #0F47AF;
    box-shadow: 0 0 4px rgba(15, 71, 175, 0.3);
}

.error-button {
    background: #0F47AF;
    color: #fff;
    border: none;
    padding: 0.7rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 71, 175, 0.15);
    transition: background 120ms ease;
}

.error-button:hover {
    background: #00796b;
}

.error-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

.error-page-footer {
    background: #0e3379;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .error-page-container {
        padding: 1.5rem;
    }
    .error-donation-card {
        padding: 1.5rem;
    }
    .error-donation-card h3 {
        font-size: 1.5rem;
    }
    .error-box h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    .error-page-container {
        padding: 1rem;
        max-width: 100%;
    }
    .error-box {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    .error-box h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .error-box p {
        font-size: 1rem;
    }
    .error-donation-card {
        padding: 1rem;
    }
    .error-donation-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    .error-donation-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .error-form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .error-form-row label {
        font-size: 0.95rem;
    }
    .error-form-row input {
        width: 100%;
        max-width: 250px;
        padding: 0.7rem;
        font-size: 1rem;
    }
    .error-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
    .error-note {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
}

@media (max-width: 400px) {
    .error-page-container {
        padding: 0.75rem;
    }
    .error-box {
        padding: 0.75rem;
    }
    .error-donation-card {
        padding: 0.75rem;
    }
    .error-donation-card h3 {
        font-size: 1.1rem;
    }
    .error-button {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
}