/* Banner */
.page-banner {
    background: #8F0D06;
    padding: 90px 10px 140px 10px;
    text-align: center;
    position: relative;
    margin-top: 144px;
}

/* golden border style */
.page-banner .banner-image {
    /* content: ""; */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    height: 60px;
    width: 100%;
}

.page-banner h2 {
    font-size: 50px;
    line-height: 50px;
    font-weight: 400;
    color: #F8C500;
}

.divine-section {
    position: relative;
    background-color: #f4b400;
    /* yellow base */
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

/* background pattern */
.divine-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/images/join_p_bg.jpg") top/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.divine-section h2 {
    font-size: 32px;
    line-height: 30px;
    color: #970505;
    margin-bottom: 40px;
    font-weight: 400;
    font-family: Arapey;
}

.divine-slider {
    position: relative;
    padding: 20px 0 50px;
}

.divine-slider img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

/* top design */
.top-pattern {
    height: 40px;
    background: #8F0D06;
    border-bottom: 6px solid #f8c500;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #8F0D06;
    margin: 30px 0;
}

.tab {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 40px;
    font-family: Arapey;
    font-weight: 400;
    padding: 20px 0;
    cursor: pointer;
    color: #ED7B1B;
    position: relative;
    transition: all 0.3s ease;
}

.tab.active {
    font-weight: 400;
    color: #970505;
}

.tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 3px;
    width: 100%;
    background: #8F0D06;
}

/* Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Event Item */
.event-item {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.thumb {
    width: 280px;
    height: 220px;
    background: #d9d9d9;
    border-radius: 30px;
    flex-shrink: 0;
}

.thumb img {
    border-radius: 30px;
}

.info .date {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    font-family: Arapey;
    color: #606060;
}

.info h3 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    font-family: Arapey;
    color: #970505;
    margin: 10px 0;
}

.info p {
    font-size: 14px;
    line-height: 28px;
    font-weight: 400;
    font-family: Arapey;
    margin: 0;
    color: #333;
}

@media (min-width: 1400px) {
    .divine-section {
        padding: 120px 40px;
    }
}

@media (max-width: 1200px) {

    .page-banner h2 {
        font-size: 42px;
    }

    .divine-section h2 {
        font-size: 28px;
    }

    .tab {
        font-size: 26px;
    }

    .info h3 {
        font-size: 26px;
    }

    .thumb {
        width: 240px;
        height: 200px;
    }
}

@media (max-width: 992px) {

    /* banner */
    .page-banner {
        padding: 70px 10px 120px;
        margin-top: 144px;
    }

    .page-banner h2 {
        font-size: 34px;
        line-height: 40px;
    }

    .page-banner .banner-image {
        height: 40px;
    }

    /* divine */
    .divine-section {
        padding: 70px 20px;
    }

    .divine-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .divine-slider {
        padding: 0;
    }

    /* tabs */
    .tabs {
        gap: 25px;
    }

    .tab {
        font-size: 22px;
        padding: 15px 0;
    }

    /* event */
    .event-item {
        gap: 20px;
    }

    .thumb {
        width: 200px;
        height: 170px;
    }

    .info h3 {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (max-width: 768px) {

    /* banner */
    .page-banner {
        padding: 60px 10px 90px;
        margin-top: 144px;
    }

    .page-banner h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .page-banner .banner-image {
        height: 40px;
    }

    /* divine */
    .divine-section {
        padding: 50px 15px;
    }

    .divine-section h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .divine-slider img {
        height: 200px;
    }

    /* tabs -> scroll */
    .tabs {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .tab {
        font-size: 18px;
        padding: 10px 0;
    }

    /* event */
    .event-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .thumb {
        width: 250px;
        height: 160px;
    }

    .thumb img {
        height: 100%;
    }

    .info .date {
        font-size: 14px;
    }

    .info h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .info p {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 576px) {

    .page-banner {
        padding: 40px 10px 70px;
        margin-top: 104px;
    }

    .page-banner .banner-image {
        height: 20px;
    }

    .page-banner h2 {
        font-size: 18px;
    }

    .tab {
        font-size: 16px;
    }

    .info h3 {
        font-size: 18px;
    }

    .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .thumb {
        width: 100%;
        height: 200px;
    }

    .thumb img {
        height: 100%;
    }
}