/**
 * ==================================================
 * TEA TIME
 * ==================================================
 * Theme: Aicher Teeladen
 *
 * Homepage tea category section.
 *
 * Includes:
 * - Section
 * - Section Header
 * - Grid
 * - Tea Card
 * - Card Image
 * - Card Body
 * - Card Typography
 * - Card Link
 * - Hover Effects
 * - Responsive Layout
 * ==================================================
 */


/* ==================================================
   SECTION
================================================== */

.tea-time {

    padding: 5rem 0;

    background: var(--wp--preset--color--background);

}


/* ==================================================
   SECTION HEADER
================================================== */

.tea-time__eyebrow {

    margin-bottom: .5rem;

    text-align: center;

    color: var(--wp--preset--color--accent);

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: .15em;

    text-transform: uppercase;

}

/* ==================================================
   SECTION TITLE
================================================== */

.tea-time__title {

    margin: 0 0 3.5rem;

    text-align: center;

    color: var(--wp--preset--color--primary);

    font-family: var(--wp--preset--font-family--heading);

    font-size: clamp(2.25rem, 3vw, 3rem);

    font-weight: 600;

    line-height: 1.15;

}


/* ==================================================
   GRID
================================================== */

.tea-time__grid {

    display: grid;

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

    gap: 1.5rem;

}


/* ==================================================
   TEA CARD
================================================== */

.tea-card {

    width: 100%;

    max-width: 190px;

    margin: 0 auto;

    padding-bottom: 0.75rem;

    background: var(--wp--preset--color--surface);

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform .45s ease,
        box-shadow .45s ease;



}


/* ==================================================
   CARD IMAGE
================================================== */

.tea-card__image {

    margin: 0;

    overflow: hidden;

}

.tea-card__image img {

    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition: transform .60s ease;

}


/* ==================================================
   CARD BODY
================================================== */

.tea-card__body {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 1.5rem;

}


/* ==================================================
   CARD TITLE
================================================== */

.tea-card__title {

    width: 100%;

    margin: 0;

    text-align: center;

    color: var(--wp--preset--color--primary);

    font-size: 1.35rem;

    font-weight: 700;

    line-height: 1.3;

}


/* ==================================================
   CARD LINK
================================================== */

.tea-card__link {

    width: 100%;

    margin-top: 1rem;

    text-align: center;

}

.tea-card__link a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: .35rem;

    color: var(--wp--preset--color--primary);

    font-size: .95rem;

    font-weight: 600;

    text-decoration: none;

}

.tea-card__link a::after {

    content: "→";

    transition: transform .25s ease;

}

.tea-card__link a:hover {

    color: var(--wp--preset--color--accent);

    gap: .55rem;

}

.tea-card__link a:hover::after {

    transform: translateX(3px);

}


/* ==================================================
   HOVER EFFECTS
================================================== */

.tea-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(55,45,25,.08),
        0 18px 36px rgba(55,45,25,.06);

}

.tea-card:hover .tea-card__image img {

    transform: scale(1.05);

}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1280px) {

    .tea-time__grid {

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

    }

}

@media (max-width: 768px) {

    .tea-time {

        padding: 4rem 0;

    }

    .tea-time__grid {

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

    }

}

@media (max-width: 540px) {

    .tea-time {

        padding: 3rem 0;

    }

    .tea-time__grid {

        grid-template-columns: 1fr;

    }

}

/*
    KOMMT NOCH IN DIE WHY-US CSS
*/

.why_us {

    background: var(--wp--preset--color--background-alt);

    padding-block: 5rem;

}