/* =========================================================
   SPONSOR
   Fursund Musikforening
   ========================================================= */


/* =========================================================
   INTRO
   ========================================================= */

.sponsor-intro {
    padding: 85px 0 70px;
    background: #f5f3ef;
}

.sponsor-intro h1 {
    margin-top: 8px;
    margin-bottom: 25px;
}

.sponsor-intro .intro-text {
    max-width: 760px;

    font-size: 1.2rem;
    line-height: 1.7;
}


/* =========================================================
   FÆLLES
   ========================================================= */

.sponsor-label {
    display: block;

    margin-bottom: 10px;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.6;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 18px;
}

.section-heading p {
    line-height: 1.7;
}


/* =========================================================
   SPONSORPAKKER
   ========================================================= */

.sponsor-pakker {
    padding: 90px 0;

    background: #fff;
}


/*
 * Antallet af kolonner kommer fra PHP.
 * Tre aktive niveauer giver tre kolonner.
 */

.pakke-grid {
    display: grid;

    grid-template-columns:
        repeat(var(--pakker), minmax(0, 1fr));

    gap: 25px;

    align-items: stretch;
}


/* ---------- PAKKE ---------- */

.pakke-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #f5f3ef;

    border-radius: 20px;
}


/* ---------- PAKKEGRAFIK ---------- */

/*
 * Grafikken fylder hele kortets bredde.
 * Ingen padding omkring billedet.
 */

.pakke-image {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #fff;
}

.pakke-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}


/* ---------- PAKKEINDHOLD ---------- */

.pakke-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 30px;
}


/* ---------- FORDELE ---------- */

.pakke-values {
    margin: 0;
    padding: 0;

    list-style: none;
}

.pakke-values li {
    position: relative;

    padding: 14px 0 14px 28px;

    border-top: 1px solid rgba(0, 0, 0, 0.12);

    line-height: 1.5;
}

.pakke-values li:first-child {
    border-top: 0;
}

.pakke-values li::before {
    position: absolute;

    left: 2px;
    top: 14px;

    content: "✓";

    font-weight: 700;
}


/* =========================================================
   ÅRETS SPONSORER
   ========================================================= */

.aarets-sponsorer {
    padding: 90px 0;

    background: #f5f3ef;
}

.sponsor-level {
    margin-bottom: 90px;
}

.sponsor-level:last-child {
    margin-bottom: 0;
}


/* ---------- SPONSORNIVEAU ---------- */

.sponsor-level-heading {
    margin-bottom: 30px;
    padding-bottom: 20px;

    border-bottom: 1px solid #ccc;
}

.sponsor-level-heading img {
    display: block;

    width: auto;
    max-width: 220px;
    max-height: 100px;
}

.sponsor-level-heading h3 {
    margin: 0;

    font-size: 2rem;
}


/* ---------- SPONSOR GRID ---------- */

.sponsor-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* ---------- SPONSOR ---------- */

.sponsor-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #fff;

    border-radius: 20px;
}

.sponsor-logo {
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #fff;
}

.sponsor-logo a {
    display: block;

    width: 100%;
}

.sponsor-logo img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}

.sponsor-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 28px;

    border-top: 1px solid #eee;
}

.sponsor-card-content h3 {
    margin-bottom: 8px;

    font-size: 1.5rem;
}

.sponsor-card-content h4 {
    margin-bottom: 15px;

    font-size: 1rem;
}

.sponsor-card-content p {
    margin-bottom: 20px;

    line-height: 1.6;
}

.sponsor-link {
    display: inline-block;

    margin-top: auto;

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   FONDE
   ========================================================= */

.fonde-section {
    padding: 90px 0;

    background: #fff;
}

.fond-grid {
    display: grid;

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

    gap: 30px;
}


/* ---------- FOND ---------- */

.fond-card {
    display: grid;

    grid-template-columns: 180px 1fr;

    overflow: hidden;

    background: #f5f3ef;

    border-radius: 20px;
}

.fond-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: #fff;
}

.fond-logo img {
    display: block;

    max-width: 100%;
    max-height: 110px;

    width: auto;
    height: auto;
}

.fond-content {
    padding: 30px;
}

.fond-year {
    margin-bottom: 6px;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    opacity: 0.5;
}

.fond-content h3 {
    margin-bottom: 8px;

    font-size: 1.5rem;
}

.fond-purpose {
    display: block;

    margin-bottom: 18px;
}

.fond-content h4 {
    margin-bottom: 12px;

    font-size: 1rem;
}

.fond-content p {
    line-height: 1.6;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

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

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

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

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 600px) {

    .sponsor-intro {
        padding: 60px 0 50px;
    }

    .sponsor-pakker,
    .aarets-sponsorer,
    .fonde-section {
        padding: 65px 0;
    }

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


    /* ---------- SPONSORPAKKER ---------- */

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

    .pakke-content {
        padding: 25px;
    }


    /* ---------- SPONSORER ---------- */

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

    .sponsor-level {
        margin-bottom: 65px;
    }


    /* ---------- FONDE ---------- */

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

    .fond-logo {
        min-height: 160px;
    }

}