/* ==================================================
   COCKTAILS FOR CRITTERS — EVENT DETAILS BOX
================================================== */

.cfc-info-box,
.cfc-info-box *,
.cfc-info-box *::before,
.cfc-info-box *::after {
    box-sizing: border-box;
}

.cfc-info-box {
    width: 100%;
    max-width: 1100px;
    margin: 28px auto;
    padding: 48px 80px;

    background-color: #fffaf2;

    background-image:
        linear-gradient(
            #fffaf2,
            #fffaf2
        ),
        linear-gradient(
            rgba(255, 255, 255, 0.2),
            rgba(237, 237, 237, 0.2)
        ),
        url("https://www.calgaryhumane.ca/wp-content/uploads/2026/07/cfc-purple-13-scaled.webp");

    background-position:
        center,
        center,
        center;

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat;

    background-size:
        auto,
        cover,
        cover;

    background-origin:
        padding-box,
        border-box,
        border-box;

    background-clip:
        padding-box,
        border-box,
        border-box;

    border: 8px solid transparent;
    border-radius: 18px;

    filter: drop-shadow(
        0 3px 0.5px rgba(48, 10, 70, 0.75)
    );
}


/* Event Details heading */

.cfc-info-box__title {
    margin: 0 0 50px !important;

    font-family: "tt-modernoir", sans-serif !important;
    font-size: clamp(42px, 5vw, 58px) !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: 1 !important;
    text-align: center;

    background-color: #c58a4d;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.08)
        ),
        url("https://www.calgaryhumane.ca/wp-content/uploads/2026/07/Asset-1.webp");

    background-position: center;
    background-repeat: no-repeat;
    background-size: 180% auto;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;

    filter: drop-shadow(
        0 3px 0.5px rgba(70, 35, 10, 0.75)
    );
}


/* Event detail columns */

.cfc-info-box__list {
    display: grid;

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

    width: 100%;
}


/* Individual event detail */

.cfc-info-box__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    min-width: 0;
    padding: 8px 22px;

    text-align: center;
}

.cfc-info-box__item:not(:last-child) {
    border-right: 1px solid rgba(159, 106, 54, 0.3);
}


/* Icon and title */

.cfc-info-box__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 34px;
    margin: 0 0 16px;

    color: #9f6a36;
    font-family: "tt-modernoir", "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 8;

    text-align: center;
}


.cfc-info-box__label > span:last-child {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transform: translateY(1px);
}


/* Event detail value */

.cfc-info-box__value {
    display: block;
    width: 100%;
    margin: 0;
    padding-left: 0;

    color: #6e6287;
    font-family:
        "Outfit",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;

    text-align: center;
}


/* Purchase Tickets button */

.cfc-info-box__button-wrap {
    width: 100%;
    margin-top: 24px;

    text-align: center;
}

.cfc-info-box__button.btn {
    margin-top: 0;
    margin-bottom: 0;
}


/* ==================================================
   EVENT DETAILS — TABLET
================================================== */

@media screen and (max-width: 900px) {
    .cfc-info-box {
        padding: 28px 30px;
    }

    .cfc-info-box__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cfc-info-box__item {
        padding: 18px 20px;

        border-right: 0;
        border-bottom: 0;
    }

    .cfc-info-box__item:nth-child(odd) {
        border-right: 1px solid rgba(159, 106, 54, 0.3);
    }

    .cfc-info-box__item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(159, 106, 54, 0.3);
    }
}


/* ==================================================
   EVENT DETAILS — MOBILE
================================================== */

@media screen and (max-width: 560px) {
    .cfc-info-box {
        padding: 24px 20px;

        border-width: 6px;
        border-radius: 16px;
    }

    .cfc-info-box__title {
        margin-bottom: 20px !important;
        font-size: 40px !important;
    }

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

    .cfc-info-box__item {
        padding: 16px 4px;

        border-right: 0 !important;
        border-bottom: 1px solid rgba(159, 106, 54, 0.3);
    }

    .cfc-info-box__item:last-child {
        border-bottom: 0;
    }

    .cfc-info-box__label {
        margin-bottom: 10px;
        font-size: 18px;
    }

    .cfc-info-box__value {
        font-size: 16px;
    }

    .cfc-info-box__button-wrap {
        margin-top: 20px;
    }
}
