/* Customization for Flipbook to hide download/print */
.df-ui-btn.df-ui-download, .df-ui-btn.df-ui-print {
    display: none !important;
}

/* Prevent text selection */
.df-container {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    /* Optional: Hide scrollbar when viewing flipbook */
}

.flipbook-wrapper {
    height: 80vh;
    min-height: 400px;
    background: #1e293b;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 20; /* Ensure it stays clickable */
}

@media (max-width: 768px) {
    .flipbook-wrapper {
        height: 75vh;
        min-height: 400px;
        border-radius: 0.5rem;
    }
}

/* Hero Section */
.kr-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 80px; /* navbar offset */
}
.kr-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10,10,30,0.55) 0%, rgba(10,10,30,0.75) 60%, rgba(10,10,30,0.92) 100%),
        url('https://infocare.upgris.ac.id/assets/uploads/Screenshot 2026-06-17 at 04.35.23.png') center/cover no-repeat;
}
.kr-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    text-align: center;
}

/* ===== Selaras global.css ===== */
.eb-actions { margin-bottom: 16px; }
.eb-actions .ui-btn { box-shadow: var(--ui-shadow); }
.eb-desc { margin-bottom: 24px; }
.eb-desc h3 { font-family: var(--ui-font-head); font-size: 1.1rem; font-weight: 800; color: var(--ui-ink); margin: 0 0 10px; }
.eb-desc-body { font-size: 0.95rem; line-height: 1.8; color: var(--ui-body); }
.flipbook-wrapper { border-radius: var(--ui-radius-lg); overflow: hidden; box-shadow: var(--ui-shadow-lg); }
