/* =============================================
   Events Page — /sites/cukcuk/css/pages/events.css
   ============================================= */

.events-page {
    font-family: Archivo, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #66656C;
    background-color: #fff;
}

.events-page a {
    text-decoration: none;
    color: inherit;
}

@media (min-width: 1200px) {
    .events-page .container {
        width: 1200px;
    }
}

/*#region Hero Banner */
.events-hero {
    position: relative;
    height: 754px;
    background-image: url('/sites/cukcuk/images/pages/events/bg-banner.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.events-hero__content {
    max-width: 700px;
    padding-top: 60px;
}

.events-hero__label {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 64px;
    color: #fff;
    margin-bottom: 50px;
    line-height: 1.25;
}

.events-hero__title {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 30px;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.events-hero__desc {
    font-size: 20px;
    color: #F5F5F5;
    margin: 0 0 40px 0;
    line-height: 1.6;
    max-width: 657px;
}

a.events-hero__cta {
    display: inline-block;
    background-color: #2A67B3;
    color: #fff;
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 16px;
    padding: 12px 70px;
    border-radius: 9999px;
}

@media (max-width: 1099px) {
    .events-hero {
        height: 640px;
    }

    .events-hero__label {
        font-size: 30px;
    }

    .events-hero__title {
        font-size: 32px;
    }
}

@media (max-width: 979px) {
    .events-hero {
        height: auto;
        padding: 120px 0 60px;
    }

    .events-hero__content {
        max-width: 100%;
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .events-hero {
        padding: 100px 0 48px;
    }

    .events-hero__label {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .events-hero__title {
        font-size: 26px;
    }

    .events-hero__desc {
        font-size: 16px;
    }
}

/*#endregion*/

/*#region Let's Connect */
.events-connect-cta {
    background-color: #fff;
    padding: 80px 0;
}

.events-connect-cta__inner {
    display: flex;
    align-items: center;
    gap: 70px;
}

.events-connect-cta__content {
    flex: 1;
    min-width: 0;
}

.events-connect-cta__heading {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 40px;
    color: #3E3E3E;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.events-connect-cta__desc {
    font-size: 16px;
    color: #65646B;
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 550px;
}

.events-connect-cta__list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
}

.events-connect-cta__item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    margin-left: 0;
    font-size: 16px;
    color: #66646A;
    line-height: 1.5;
}

a.events-connect-cta__btn {
    display: inline-block;
    background-color: #2A67B3;
    color: #fff;
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 12px 34px;
    border-radius: 9999px;
}

.events-connect-cta__image {
    flex: 0 0 475px;
    max-width: 475px;
}

.events-connect-cta__image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

@media (max-width: 1099px) {
    .events-connect-cta__image {
        flex: 0 0 280px;
        max-width: 280px;
    }
    .events-connect-cta__inner {
        gap: 48px;
    }
}

@media (max-width: 979px) {
    .events-connect-cta__inner {
        flex-direction: column;
        gap: 40px;
    }
    .events-connect-cta__image {
        flex: 0 0 auto;
        max-width: 480px;
        width: 100%;
    }
    .events-connect-cta__desc {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .events-connect-cta {
        padding: 48px 0;
    }
    .events-connect-cta__heading {
        font-size: 30px;
    }

    .events-connect-cta__desc {
        margin-bottom: 24px;
    }

    .events-connect-cta__check {
        width: 24px;
        height: 24px;
    }

    .events-connect-cta__list {
        margin: 0 0 24px 0;
    }

    .events-connect-cta__inner {
        gap: 32px;
    }
}
/*#endregion*/

/*#region Upcoming Events Slider */
.events-upcoming {
    background-color: #fff;
}

.events-upcoming__header {
    background-color: #2A67B3;
    padding: 96px 0;
    text-align: center;
}

h2.events-upcoming__title {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 80px;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

.events-upcoming__slider-wrap {
    background-color: #fff;
    padding: 40px 0 48px;
    position: relative;
}

.events-upcoming__owl .events-upcoming__slide {
    position: relative;
    overflow: hidden;
    max-width: 1194px;
    margin: 0 auto;
}

.events-upcoming__owl .events-upcoming__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Owl nav arrows */
.events-upcoming__owl .owl-nav button.owl-prev,
.events-upcoming__owl .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: unset !important;
    z-index: 10;
}

.events-upcoming__owl .owl-nav button.owl-prev {
    left: -40px;
}

.events-upcoming__owl .owl-nav button.owl-next {
    right: -40px;
}

.events-upcoming__owl .owl-nav button:hover {
    background: unset !important;
}

/* Owl dots */
.events-upcoming__owl.owl-theme .owl-dots .owl-dot span {
    background: #C8C8C8;
}

.events-upcoming__owl.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
   background: #2A67B3;
}

@media (max-width: 979px) {
    h2.events-upcoming__title {
        font-size: 30px;
    }

    .events-upcoming__header {
        padding: 40px 0;
    }
}
/*#endregion*/

/*#region What to Expect */
.events-expect {
    background-color: #fff;
    padding: 80px 0;
}

.events-expect__inner {
    display: flex;
    align-items: center;
    gap: 70px;
}

.events-expect__image {
    flex: 0 0 627px;
    max-width: 627px;
}

.events-expect__image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.events-expect__content {
    flex: 1;
    min-width: 0;
}

.events-expect__heading {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 40px;
    color: #3E3E3E;
    line-height: 1.2;
}

.events-expect__list {
    list-style: none;
    padding: 0;
    margin: 36px 0 0 0;
}

.events-expect__item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    margin-left: 0;
    font-size: 16px;
    color: #66646A;
    line-height: 1.5;
}

@media (max-width: 1099px) {
    .events-expect__image {
        flex: 0 0 280px;
        max-width: 280px;
    }
    .events-expect__inner {
        gap: 48px;
    }
}

@media (max-width: 979px) {
    .events-expect__inner {
        flex-direction: column;
        gap: 40px;
    }
    .events-expect__image {
        flex: 0 0 auto;
        max-width: 480px;
        width: 100%;
    }
    .events-expect__desc {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .events-expect {
        padding: 48px 0;
    }
    .events-expect__heading {
        font-size: 30px;
    }
    .events-expect__check {
        width: 24px;
        height: 24px;
    }
    .events-expect__list {
        margin: 24px 0 0;
    }
    .events-expect__inner {
        gap: 32px;
    }
}
/*#endregion*/

/*#region Why Attend */
.events-why {
    background-color: #2A67B3;
    padding: 64px 0;
    text-align: center;
}

.events-why__heading {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 40px;
    color: #fff;
    margin-bottom: 16px;
}

.events-why__sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.events-why__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.events-why__item {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.events-why__icon img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.events-why__text {
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 1099px) {
    .events-why__grid {
        gap: 24px;
    }

    .events-why__item {
        flex: 0 0 160px;
    }
}

@media (max-width: 979px) {
    .events-why__grid {
        flex-wrap: wrap;
    }

    .events-why__item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .events-why__heading {
        font-size: 28px;
    }

    .events-why__grid {
        flex-direction: column;
        align-items: center;
    }

    .events-why__item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .events-why {
        padding: 30px 0;
    }
}

/*#endregion*/

/*#region Event Recaps Header */
.events-recaps-header {
    background-color: #FFF;
    padding: 64px 0 40px;
    text-align: center;
}

.events-recaps-header__title {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 48px;
    color: #2A67B3;
    margin-bottom: 16px;
}

.events-recaps-header__sub {
    font-size: 16px;
    color: #2A67B3;
    max-width: 1145px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .events-recaps-header__title {
        font-size: 24px;
    }
}

/*#endregion*/

/*#region Event Cards Grid */
.events-grid {
    background-color: #f5f7fa;
    padding: 40px 0 64px;
}

.events-grid__row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.events-card {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
}

.events-card__img img {
    width: 100%;
    height: 254px;
    object-fit: cover;
    display: block;
}

.events-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.events-card__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.events-card__category {
    font-size: 13px;
    color: #017BB6;
    font-family: Barlow Medium, Arial, sans-serif;
    letter-spacing: 0.5px;
}

.events-card__date {
    font-family: Barlow Medium, Arial, sans-serif;
    font-size: 14px;
    color: #3E3E3E;
    padding-right: 20px;
    border-right: 1px solid #3E3E3E;
}

.events-card__title {
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 20px;
    color: #3E3E3E;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.events-card__excerpt {
    font-size: 14px;
    color: #52595E;
    line-height: 1.6;
    margin: 0 0 auto 0;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.events-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0973B9;
    font-family: Barlow Medium, Arial, sans-serif;
    margin-top: auto;
}

.events-grid__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.events-pagination__btn {
    width: 42px;
    height: 42px;
    border: none;
    background: #fff;
    color: #52595E;
    font-family: Barlow Bold, Arial, sans-serif;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.events-pagination__btn--active {
    background-color: #1369D5;
    color: #fff;
}

.events-pagination__btn--next {
    width: auto;
    padding: 0 16px;
}

.events-pagination__btn:hover:not(.events-pagination__btn--active) {
    background-color: #e8edf5;
}

@media (max-width: 767px) {
    .events-grid__row {
        flex-direction: column;
    }

    .events-card {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/*#endregion*/

/* #region Event Connect */
.events-connect {
    padding: 0;
    background-color: #fff;
    min-height: 485px;
    display: flex;
    align-items: stretch;
    position: relative;
}

.events-connect .container {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.events-connect__map {
    position: relative;
    z-index: 1;
}

.events-connect__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.events-connect__content {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(21, 58, 106, 0.00) 50%, rgba(21, 58, 106, 0.60) 65.99%);
    padding: 36px 50px 0 0;
    text-align: right;
}

.events-connect__title {
    font-family: Barlow Medium, Arial, sans-serif;
    font-size: 55px;
    color: #FFF;
    max-width: 500px;
    text-align: right;
    padding-bottom: 36px;
    margin-left: auto;
    line-height: 1.1;
}

.events-connect__content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    margin: 0;
    max-width: 450px;
    margin-left: auto;
    text-align: justify;
}

@media (max-width: 1400px) {
    .events-connect__content {
        position: relative;
        text-align: center;
        background: unset;
        padding: 40px 20px 0;
    }

    .events-connect__title, .events-connect__content p {
        color: #3E3E3E;
        width: 100%;
        max-width: unset;
        text-align: center;
    }

    .events-connect__content p {
        padding-bottom: 24px;
    }
}

@media (max-width: 979px) {
   .events-connect__title {
        font-size: 32px;
        padding-bottom: 16px;
   }
}

@media (max-width: 767px) {
    .events-connect__content p {
        font-size: 16px;
    }
}

/*#endregion*/