/* =========================================================
   EVENTS PAGE
   TIẾNG TRUNG HERO
========================================================= */

.events-page {
    --events-blue: #1e73be;
    --events-blue-hover: #17639f;
    --events-main-blue: #238bb5;

    --events-navy: #123d6b;

    --events-text: #60778b;
    --events-muted: #8192a1;

    --events-soft: #eef8fc;
    --events-soft-2: #f7fbfd;

    --events-border: #d8e7ef;

    width: 100%;
    overflow: hidden;

    background: #ffffff;
}


/* =========================================================
   COMMON
========================================================= */

.events-eyebrow {
    display: block;

    color: var(--events-blue);

    font-size: 13px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: .16em;
}


.events-heading-line {
    width: 64px;
    height: 2px;

    display: block;

    margin-top: 11px;

    border-radius: 999px;

    background: var(--events-blue);
}


.events-section-heading {
    width: min(100%, 850px);

    margin: 0 auto 42px;

    text-align: center;
}


.events-section-heading .events-heading-line {
    margin: 11px auto 22px;
}


.events-section-heading h2 {
    margin: 0 0 15px;

    color: var(--events-navy);

    font-size: clamp(32px, 3vw, 44px);

    font-weight: 850;

    line-height: 1.13;

    letter-spacing: -.04em;
}


.events-section-heading h2 span {
    color: var(--events-blue);
}


.events-section-heading>p {
    width: min(100%, 720px);

    margin: 0 auto;

    color: var(--events-text);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   INTRO
========================================================= */

.events-intro {
    padding: 76px 0 42px;

    border-bottom:
        1px solid var(--events-border);

    background: #ffffff;
}


.events-intro__layout {
    display: grid;

    grid-template-columns:
        minmax(0, .92fr) minmax(0, 1.08fr);

    align-items: end;

    gap: 72px;

    margin-bottom: 42px;
}


.events-intro__heading h2 {
    max-width: 620px;

    margin: 21px 0 0;

    color: var(--events-navy);

    font-size: clamp(34px, 3.2vw, 48px);

    font-weight: 850;

    line-height: 1.12;

    letter-spacing: -.04em;
}


.events-intro__heading h2 span {
    color: var(--events-blue);
}


.events-intro__content p {
    max-width: 650px;

    margin: 0 0 14px;

    color: var(--events-text);

    font-size: 14px;

    line-height: 1.8;
}


.events-intro__content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   INTRO FEATURES
========================================================= */

.events-intro__features {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    overflow: hidden;

    border:
        1px solid var(--events-border);

    border-radius: 17px;

    background: var(--events-soft);
}


.event-feature {
    min-width: 0;

    display: grid;

    grid-template-columns:
        46px minmax(0, 1fr);

    align-items: center;

    gap: 13px;

    padding: 22px 24px;
}


.event-feature+.event-feature {
    border-left:
        1px solid var(--events-border);
}


.event-feature>span {
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: #ffffff;

    color: var(--events-blue);

    font-size: 15px;
}


.event-feature strong,
.event-feature small {
    display: block;
}


.event-feature strong {
    margin-bottom: 4px;

    color: var(--events-navy);

    font-size: 13px;
    font-weight: 750;
}


.event-feature small {
    color: #718697;

    font-size: 10.5px;

    line-height: 1.55;
}


/* =========================================================
   EVENT LIST SECTION
========================================================= */

.events-list-section {
    padding: 84px 0 94px;

    background: var(--events-soft);
}


.events-list__meta {
    display: flex;

    justify-content: flex-end;

    margin: -18px 0 20px;
}


.events-list__meta p {
    margin: 0;

    color: var(--events-text);

    font-size: 11px;
}


.events-list__meta strong {
    color: var(--events-blue);

    font-size: 13px;

    font-weight: 800;
}


/* =========================================================
   GRID
========================================================= */

.events-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   EVENT CARD
========================================================= */

.event-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid rgba(30, 115, 190, .16);

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 14px 34px rgba(18, 61, 107, .06);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


@media (hover: hover) {

    .event-card:hover {
        transform: translateY(-6px);

        border-color:
            rgba(30, 115, 190, .29);

        box-shadow:
            0 23px 48px rgba(18, 61, 107, .11);
    }

}


/* =========================================================
   EVENT VISUAL
========================================================= */

.event-card__visual {
    position: relative;

    min-height: 220px;

    display: flex;

    align-items: flex-end;

    padding: 20px;

    overflow: hidden;

    background: var(--events-blue);

    color: #ffffff;

    text-decoration: none;
}


.event-card__mark {
    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    color:
        rgba(255, 255, 255, .065);

    font-size: 155px;

    font-weight: 850;

    line-height: 1;

    pointer-events: none;
}


.event-card__icon {
    position: absolute;

    top: 18px;
    left: 18px;

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(255, 255, 255, .25);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, .12);

    color: #ffffff;

    font-size: 16px;
}


.event-card__type {
    position: relative;

    z-index: 2;

    min-height: 29px;

    display: inline-flex;

    align-items: center;

    padding: 0 10px;

    border:
        1px solid rgba(255, 255, 255, .28);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .12);

    color:
        rgba(255, 255, 255, .9);

    font-size: 9px;

    font-weight: 750;

    letter-spacing: .1em;
}


/* =========================================================
   EVENT BODY
========================================================= */

.event-card__body {
    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 22px 21px;
}


.event-card__published {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 11px;

    color: #8999a6;

    font-size: 9.5px;
}


.event-card__published i {
    color: var(--events-blue);
}


.event-card__body h2 {
    margin: 0 0 11px;

    color: var(--events-navy);

    font-size: 18px;

    font-weight: 800;

    line-height: 1.38;
}


.event-card__body h2 a {
    display: -webkit-box;

    overflow: hidden;

    color: inherit;

    text-decoration: none;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.event-card__body>p {
    display: -webkit-box;

    overflow: hidden;

    margin: 0 0 19px;

    color: var(--events-text);

    font-size: 12px;

    line-height: 1.7;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.event-card__link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    align-self: flex-start;

    margin-top: auto;

    color: var(--events-blue);

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;
}


.event-card__link>span {
    width: 27px;
    height: 27px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #e5f3f9;

    font-size: 8px;

    transition: transform .2s ease;
}


@media (hover: hover) {

    .event-card__link:hover>span {
        transform:
            translateX(4px);
    }

}


/* =========================================================
   EMPTY STATE
========================================================= */

.events-empty {
    width:
        min(100%, 760px);

    margin-inline: auto;

    padding: 52px 35px;

    border:
        1px solid var(--events-border);

    border-radius: 20px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 16px 40px rgba(18, 61, 107, .06);
}


.events-empty__icon {
    width: 68px;
    height: 68px;

    display: grid;

    place-items: center;

    margin:
        0 auto 19px;

    border-radius: 18px;

    background: #e5f3f9;

    color: var(--events-blue);

    font-size: 23px;
}


.events-empty__eyebrow {
    display: block;

    color: var(--events-blue);

    font-size: 9.5px;

    font-weight: 800;

    letter-spacing: .13em;
}


.events-empty h2 {
    margin:
        10px 0 12px;

    color: var(--events-navy);

    font-size: 27px;

    font-weight: 800;
}


.events-empty p {
    max-width: 570px;

    margin: 0 auto;

    color: var(--events-text);

    font-size: 12.5px;

    line-height: 1.75;
}


.events-empty__actions {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 23px;
}


.events-empty__primary,
.events-empty__secondary {
    min-height: 45px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 17px;

    border-radius: 10px;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;
}


.events-empty__primary {
    border:
        1px solid var(--events-blue);

    background:
        var(--events-blue);

    color: #ffffff;
}


.events-empty__secondary {
    border:
        1px solid #bdd8e6;

    background:
        #ffffff;

    color:
        var(--events-navy);
}


/* =========================================================
   FOLLOW CTA
========================================================= */

.events-follow {
    padding: 72px 0;

    border-top:
        1px solid var(--events-border);

    background: #ffffff;
}


.events-follow__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) auto;

    align-items: center;

    gap: 60px;

    padding: 38px 42px;

    border:
        1px solid var(--events-border);

    border-radius: 20px;

    background: var(--events-soft);

    box-shadow:
        0 16px 40px rgba(18, 61, 107, .055);
}


.events-follow__eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--events-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .12em;
}


.events-follow h2 {
    max-width: 650px;

    margin: 0 0 11px;

    color: var(--events-navy);

    font-size:
        clamp(27px, 2.4vw, 36px);

    font-weight: 850;

    line-height: 1.18;

    letter-spacing: -.035em;
}


.events-follow h2 span {
    color: var(--events-blue);
}


.events-follow p {
    max-width: 650px;

    margin: 0;

    color: var(--events-text);

    font-size: 13px;

    line-height: 1.7;
}


.events-follow__actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.events-follow__primary,
.events-follow__secondary {
    min-height: 49px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 19px;

    border-radius: 11px;

    font-size: 12px;

    font-weight: 650;

    white-space: nowrap;

    text-decoration: none;
}


.events-follow__primary {
    border:
        1px solid #f4bd32;

    background:
        #f4bd32;

    color:
        #173d53;
}


.events-follow__secondary {
    border:
        1px solid #bdd8e6;

    background:
        #ffffff;

    color:
        var(--events-navy);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .events-intro__layout {
        grid-template-columns:
            1fr;

        gap: 30px;
    }


    .events-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .events-follow__inner {
        grid-template-columns:
            1fr;

        gap: 28px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .events-intro,
    .events-list-section {
        padding:
            58px 0 62px;
    }


    .events-intro__layout {
        margin-bottom: 32px;
    }


    .events-intro__heading h2 {
        font-size:
            clamp(30px, 8.5vw, 35px);
    }


    /* =============================================
       FEATURES
    ============================================== */

    .events-intro__features {
        grid-template-columns:
            1fr;
    }


    .event-feature+.event-feature {
        border-top:
            1px solid var(--events-border);

        border-left: 0;
    }


    /* =============================================
       GRID
    ============================================== */

    .events-grid {
        grid-template-columns:
            1fr;
    }


    .event-card__visual {
        min-height: 190px;
    }


    /* =============================================
       EMPTY
    ============================================== */

    .events-empty {
        padding:
            38px 20px;
    }


    .events-empty__actions {
        align-items: stretch;

        flex-direction: column;
    }


    .events-empty__primary,
    .events-empty__secondary {
        width: 100%;
    }


    /* =============================================
       CTA
    ============================================== */

    .events-follow {
        padding:
            48px 0;
    }


    .events-follow__inner {
        padding:
            28px 20px;
    }


    .events-follow__actions {
        align-items: stretch;

        flex-direction: column;
    }


    .events-follow__primary,
    .events-follow__secondary {
        width: 100%;
    }

}