/* ==========================================================
   SINGLE EVENT
   Community Astra V1.0
========================================================== */


/* ==========================================================
   EVENT PAGE
========================================================== */

.c-event-single {
    padding: 72px 0 96px;
    background: var(--color-surface);
}


/* ==========================================================
   HEADER
========================================================== */

.c-event-single__header {
    max-width: 900px;
    margin: 0 auto 52px;
    text-align: center;
}

.c-event-single__eyebrow {
    margin: 0 0 10px;

    color: #0b6fa4;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.c-event-single__title {
    margin: 0;

    color: var(--color-heading);

    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}


/* ==========================================================
   MAIN LAYOUT
========================================================== */

.c-event-single__layout {
    display: grid;

    grid-template-columns: 120px minmax(0, 760px);

    gap: 42px;

    max-width: 920px;

    margin: 0 auto;
}


/* ==========================================================
   DATE BLOCK
========================================================== */

.c-event-single__date {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    align-self: start;

    min-height: 150px;

    padding: 20px 12px;

    background: #173b5c;

    color: #ffffff;

    text-align: center;
}

.c-event-single__day {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;

    line-height: 1;
}

.c-event-single__month {
    margin-top: 8px;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.c-event-single__year {
    margin-top: 5px;

    font-size: 12px;

    opacity: 0.8;
}


/* ==========================================================
   CONTENT
========================================================== */

.c-event-single__content {
    min-width: 0;
}


/* ==========================================================
   META
========================================================== */

.c-event-single__meta {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 38px;

    padding-bottom: 28px;

    border-bottom: 1px solid #dfe4e8;
}

.c-event-single__meta-item {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.c-event-single__meta-item strong {
    color: #71808c;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.c-event-single__meta-item span {
    color: var(--color-heading);

    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}


/* ==========================================================
   BODY
========================================================== */

.c-event-single__body {
    max-width: 720px;

    color: #405261;

    font-size: 17px;
    line-height: 1.8;
}

.c-event-single__body p {
    margin: 0 0 1.4em;
}

.c-event-single__body h2,
.c-event-single__body h3 {
    margin-top: 1.8em;
    margin-bottom: 0.7em;

    color: var(--color-heading);

    font-family: var(--font-display);
    line-height: 1.2;
}

.c-event-single__body ul,
.c-event-single__body ol {
    margin-bottom: 1.5em;

    padding-left: 1.5em;
}

.c-event-single__body li {
    margin-bottom: 0.5em;
}


/* ==========================================================
   BACK LINK
========================================================== */

.c-event-single__back {
    margin-top: 48px;
    padding-top: 24px;

    border-top: 1px solid #dfe4e8;
}

.c-event-single__back a {
    color: #0b6fa4;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.c-event-single__back a:hover {
    color: #173b5c;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 800px) {

    .c-event-single {
        padding: 56px 0 72px;
    }

    .c-event-single__layout {
        grid-template-columns: 100px minmax(0, 1fr);

        gap: 30px;
    }

    .c-event-single__header {
        margin-bottom: 42px;
    }

    .c-event-single__meta {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .c-event-single {
        padding: 44px 0 60px;
    }

    .c-event-single__header {
        margin-bottom: 32px;
    }

    .c-event-single__title {
        font-size: 38px;
    }

    .c-event-single__layout {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .c-event-single__date {
        justify-self: start;

        width: 100px;

        min-height: 130px;
    }

    .c-event-single__day {
        font-size: 42px;
    }

    .c-event-single__body {
        font-size: 16px;
        line-height: 1.75;
    }
}