/* ===== Layout Formatting ===== */
.page-main-wrapper {
    margin: 75px 100px;
}

.page-content-wrapper {
    padding-right: 40px;
    padding-left: 40px;
    border-radius: 39px;
    box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.15);
}

.page-title-heading {
    font-size: 32px;
    color: #333;
}

.text-muted-custom {
    color: #7c7c7c;
}

.delimiter-line {
    border-top: 1px solid #ddd;
}

.main-content-text {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

.content-body p {
    color: #333;
    line-height: 1.9;
    margin-bottom: 1rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb-link,
.breadcrumb-current {
    color: #7c7c7c;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #f44336;
}

/* ===== Event Box ===== */
.event-thumbnail {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.event-box a img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-box a:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.event-title {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
    word-wrap: break-word;
}

/* ===== Slide Image ===== */
.slide-image {
    width: 100%;
    height: auto;
}

/* ===== Sidebar ===== */
.sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-list {
    line-height: 1.8;
}

.sidebar-link {
    text-decoration: none;
    color: #7c7c7c;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease;
    display: block;
    padding: 6px 0;
}

.sidebar-link:hover {
    color: #f67c78;
}

.sidebar-link.active {
    color: #f67c78 !important;
}

.bi-check2.sidebar-icon {
    color: #f67c78;
    font-weight: bold;
    font-size: 16px;
    margin-right: 6px;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .page-main-wrapper {
        margin: 60px 30px !important;
    }

    .page-content-wrapper {
        padding: 30px 20px !important;
    }

    .main-content-text {
        font-size: 14px;
    }

    .sidebar {
        margin-top: 30px;
    }

    .carousel-item img.slide-image {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    .page-content-wrapper {
        padding: 20px 15px !important;
    }

    .page-title-heading {
        font-size: 24px !important;
    }

    .main-content-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .event-thumbnail {
        width: 100px !important;
        height: 100px !important;
    }

    .sidebar {
        padding: 15px;
        text-align: center;
    }

    .sidebar-link {
        font-size: 13px;
        display: inline-block;
    }

    .row {
        flex-direction: column;
    }
}

/* ===== Flipbook Styles ===== */
.flip-card {
    perspective: 1000px;
}

.flip-thumb {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.6s ease, box-shadow 0.3s ease;
    transform-origin: left center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.flip-card:hover .flip-thumb {
    transform: rotateY(-18deg) scale(1.04);
    box-shadow: 18px 15px 35px rgba(0, 0, 0, 0.3);
}