@import url('kit/typography.css');

.science-events-hero {
    padding: 96px 0 28px;
    background:
        radial-gradient(circle at top right, rgba(118, 228, 180, 0.22), transparent 26%),
        linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
}

.science-events-hero-label {
    margin-bottom: 12px;
}

.science-events-hero-title {
    max-width: 760px;
    margin-bottom: 16px;
}

.science-events-hero-description {
    max-width: 720px;
}

.science-events-section {
    padding: 28px 0 96px;
}

.science-event-card {
    overflow: hidden;
    border: 1px solid #E4E7EC;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.science-event-card-image-link {
    display: block;
}

.science-event-card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #F2F4F7;
}

.science-event-card-body {
    padding: 24px;
}

.science-event-card-date {
    margin-bottom: 10px;
}

.science-event-card-title {
    display: block;
    margin-bottom: 14px;
    text-decoration: none;
}

.science-event-card-title:hover {
    /* color: #1570EF; */
    color: #5CD5A0;
}

.science-event-card-description {
    line-height: 1.6;
}

.science-events-empty {
    padding: 64px 24px;
    border: 1px dashed #D0D5DD;
    border-radius: 24px;
    text-align: center;
    background: #FCFCFD;
}

.science-events-empty h2 {
    margin-bottom: 12px;
}

.science-event-detail-head {
    padding: 72px 0 40px;
}

.science-event-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 24px;
}

.science-event-back::before {
    content: "\2190";
    font-size: 18px;
}

.science-event-detail-intro {
    max-width: 860px;
    margin-bottom: 32px;
}

.science-event-detail-label {
    margin-bottom: 12px;
}

.science-event-detail-title {
    margin-bottom: 16px;
}

.science-event-detail-date {
    margin-bottom: 0;
}

.science-event-slider {
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(118, 228, 180, 0.18), rgba(21, 112, 239, 0.08));
}

.science-event-slider-inner {
    border-radius: 28px;
}

.science-event-slider-image {
    height: 620px;
    object-fit: cover;
}

.science-event-slider-indicators {
    margin-bottom: 18px;
}

.science-event-slider-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.science-event-content-section {
    padding-bottom: 96px;
}

.science-event-content {
    max-width: 860px;
    margin: 0 auto;
}

.science-event-content > p,
.science-event-content li {
    color: #475467;
    font-size: var(--font-size-text-lg);
    line-height: var(--line-height-text-lg);
}

.science-event-content > h2,
.science-event-content > h3,
.science-event-content > h4 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: #101828;
    font-weight: 600;
}

.science-event-content img {
    width: 100% !important;
    height: auto !important;
    border-radius: 24px !important;
}

.science-events-more-section {
    padding: 0 0 96px;
}

.science-events-more-head {
    margin-bottom: 32px;
}

.science-events-more-head p {
    margin-bottom: 12px;
}

@media only screen and (max-width: 992px) {
    .science-events-hero {
        padding-top: 72px;
    }

    .science-event-slider-image {
        height: 420px;
    }
}

@media only screen and (max-width: 768px) {
    .science-events-hero {
        padding: 64px 0 20px;
    }

    .science-events-hero-title {
        font-size: var(--font-size-display-md);
        line-height: var(--line-height-display-md);
    }

    .science-events-hero-description {
        font-size: var(--font-size-text-lg);
        line-height: var(--line-height-text-lg);
    }

    .science-events-section,
    .science-event-content-section,
    .science-events-more-section {
        padding-bottom: 64px;
    }

    .science-event-card-image {
        height: 220px;
    }

    .science-event-card-body {
        padding: 20px;
    }

    .science-event-detail-head {
        padding-top: 48px;
    }

    .science-event-detail-title {
        font-size: var(--font-size-display-md);
        line-height: var(--line-height-display-md);
    }

    .science-event-slider {
        border-radius: 20px;
    }

    .science-event-slider-image {
        height: 260px;
    }

    .science-event-content > p,
    .science-event-content li {
        font-size: var(--font-size-text-md);
        line-height: var(--line-height-text-md);
    }
}
