/* ==========================================================
   ZOEKtrainingen.nl
   Bestand: algemeen_categorie.css

   Universele opmaak voor:
   - Categoriepagina's
   - Trainingen
   - Workshops
   - Event Booking evenementpagina's

   Compacte uitvoering
   ========================================================== */


/* ==========================================================
   BASIS
   ========================================================== */

.algemeen-categorie {
    --ac-rood: #c62828;
    --ac-rood-donker: #991f1f;
    --ac-donker: #252525;
    --ac-tekst: #454545;
    --ac-grijs: #f5f5f5;
    --ac-rand: #e4e4e4;
    --ac-wit: #ffffff;

    max-width: 1200px;
    margin: 0 auto;

    color: var(--ac-tekst);

    font-size: 17px;
    line-height: 1.55;
}


.algemeen-categorie * {
    box-sizing: border-box;
}


/* ==========================================================
   TEKST
   ========================================================== */

.algemeen-categorie p {
    margin-top: 0;
    margin-bottom: 11px;
}


.algemeen-categorie h1,
.algemeen-categorie h2,
.algemeen-categorie h3,
.algemeen-categorie h4 {
    color: var(--ac-donker);
    line-height: 1.2;
    font-weight: 700;
}


.algemeen-categorie h1 {
    font-size: clamp(32px, 4vw, 46px);
    margin: 0 0 10px;
}


.algemeen-categorie h2 {
    font-size: clamp(24px, 3vw, 31px);
    margin: 0 0 12px;
}


.algemeen-categorie h3 {
    font-size: clamp(19px, 2vw, 23px);
    margin: 0 0 7px;
}


/* ==========================================================
   INTRO
   ========================================================== */

.ac-intro {
    max-width: 950px;
    margin: 0 auto 22px;
    padding: 5px 15px 8px;

    text-align: center;
}


.ac-label {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--ac-rood);

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.4px;
}


.ac-lead {
    font-size: 19px;
    line-height: 1.55;
    color: #555555;

    margin-bottom: 10px;
}


/* ==========================================================
   ALGEMENE BLOKKEN
   ========================================================== */

.ac-blok {
    margin: 22px 0;
}


.ac-twee-kolommen {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 28px;

    align-items: center;
}


.ac-tekst {
    padding: 0;
}


/* ==========================================================
   FOTO'S
   ========================================================== */

.ac-foto {
    position: relative;

    overflow: hidden;

    border-radius: 12px;

    background: var(--ac-grijs);

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.10);
}


.ac-foto img {
    display: block;

    width: 100%;
    height: 310px;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.ac-foto:hover img {
    transform: scale(1.02);
}


/* Rode accentlijn */

.ac-foto::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 85px;
    height: 5px;

    background: var(--ac-rood);
}


/* ==========================================================
   GRIJS UITGELICHT BLOK
   ========================================================== */

.ac-highlight {
    margin: 25px 0;

    padding: 22px 28px;

    background: var(--ac-grijs);

    border-left:
        5px solid var(--ac-rood);

    border-radius:
        0 12px 12px 0;
}


.ac-highlight-label {
    display: block;

    margin-bottom: 5px;

    color: var(--ac-rood);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.3px;
}


.ac-highlight h2,
.ac-highlight h3 {
    margin-bottom: 9px;
}


.ac-highlight p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   CHECKLIST
   ========================================================== */

.ac-checklist {
    list-style: none;

    padding: 0;
    margin: 10px 0 12px;
}


.ac-checklist li {
    position: relative;

    padding:
        4px 0
        4px 32px;
}


.ac-checklist li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 4px;

    width: 22px;
    height: 22px;

    line-height: 22px;

    text-align: center;

    border-radius: 50%;

    background: var(--ac-rood);

    color: var(--ac-wit);

    font-size: 13px;
    font-weight: bold;
}


/* ==========================================================
   ONDERWERPEN
   ========================================================== */

.ac-onderwerpen {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px 28px;
}


.ac-onderwerp {
    padding-bottom: 10px;

    border-bottom:
        1px solid var(--ac-rand);
}


.ac-onderwerp h3 {
    color: var(--ac-rood-donker);

    margin-bottom: 5px;
}


.ac-onderwerp p {
    margin-bottom: 0;
}


/* ==========================================================
   AFSLUITING / CTA
   ========================================================== */

.ac-afsluiting {
    margin-top: 28px;

    padding: 26px 30px;

    text-align: center;

    background: var(--ac-donker);

    color: var(--ac-wit);

    border-radius: 12px;
}


/* BELANGRIJK:
   alle koppen in het donkere vlak worden wit */

.ac-afsluiting h1,
.ac-afsluiting h2,
.ac-afsluiting h3,
.ac-afsluiting h4 {
    color: #ffffff !important;
}


.ac-afsluiting h2 {
    margin-bottom: 10px;
}


.ac-afsluiting p {
    max-width: 800px;

    margin:
        0 auto 10px;

    color: #eeeeee;
}


.ac-afsluiting p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   KNOP
   Kan universeel worden gebruikt
   ========================================================== */

.ac-button {
    display: inline-block;

    margin-top: 8px;

    padding: 12px 25px;

    background: var(--ac-rood);

    color: #ffffff !important;

    text-decoration: none !important;

    border-radius: 6px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.ac-button:hover,
.ac-button:focus {
    background: var(--ac-rood-donker);

    color: #ffffff !important;

    transform: translateY(-2px);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .ac-twee-kolommen {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .ac-omgekeerd .ac-foto {
        order: 2;
    }


    .ac-omgekeerd .ac-tekst {
        order: 1;
    }


    .ac-foto img {
        height: 290px;
    }


    .ac-onderwerpen {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .ac-highlight {
        margin: 20px 0;
    }

}


/* ==========================================================
   MOBIEL
   ========================================================== */

@media (max-width: 600px) {

    .algemeen-categorie {
        font-size: 16px;

        line-height: 1.5;
    }


    .ac-intro {
        margin-bottom: 16px;

        padding:
            3px 5px 6px;
    }


    .ac-lead {
        font-size: 17px;
    }


    .ac-blok {
        margin: 18px 0;
    }


    .ac-twee-kolommen {
        gap: 14px;
    }


    .ac-foto img {
        height: 225px;
    }


    .ac-highlight {
        margin: 18px 0;

        padding: 18px 17px;
    }


    .ac-onderwerpen {
        gap: 8px;
    }


    .ac-onderwerp {
        padding-bottom: 8px;
    }


    .ac-afsluiting {
        margin-top: 20px;

        padding: 22px 18px;
    }


    .ac-button {
        width: 100%;

        text-align: center;
    }

}