/* =====================================================================
   SILATARA — gaya visual
   Nuansa: kertas hangat, tinta teal tua, aksen amber seperti lampu baca.
   ===================================================================== */
:root {
  --paper: #fbf7f0;
  --paper-2: #f4ede1;
  --card: #ffffff;
  --ink: #1d2a2c;
  --ink-soft: #5b6a6c;
  --line: #e8dfd0;
  --teal: #0f5e5a;
  --teal-dark: #0b4441;
  --teal-soft: #e3f1ef;
  --amber: #d97706;
  --amber-soft: #fdf1dc;
  --clay: #c2410c;
  --clay-soft: #fbe7dc;
  --plum: #7c3aed;
  --plum-soft: #efe8fd;
  --blue: #1d4ed8;
  --blue-soft: #e4ebfd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 42, 44, .05), 0 4px 18px rgba(29, 42, 44, .06);
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --sidebar-w: 256px;

  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--line);
  --bs-primary: var(--teal);
  --bs-primary-rgb: 15, 94, 90;
  --bs-link-color: var(--teal);
  --bs-link-color-rgb: 15, 94, 90;
  --bs-link-hover-color: var(--teal-dark);
  --bs-border-radius: 10px;
}

body { background: var(--paper); color: var(--ink); font-size: .95rem; }
h1, h2, h3, .display-font { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h4, h5, h6 { font-weight: 700; }
a { text-decoration: none; }
.text-muted { color: var(--ink-soft) !important; }
.small-caps { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--ink-soft); }

/* ---------- Tombol ---------- */
.btn { font-weight: 600; border-radius: 10px; }
.btn-primary { --bs-btn-bg: var(--teal); --bs-btn-border-color: var(--teal); --bs-btn-hover-bg: var(--teal-dark); --bs-btn-hover-border-color: var(--teal-dark); --bs-btn-active-bg: var(--teal-dark); --bs-btn-disabled-bg: var(--teal); --bs-btn-disabled-border-color: var(--teal); }
.btn-outline-primary { --bs-btn-color: var(--teal); --bs-btn-border-color: var(--teal); --bs-btn-hover-bg: var(--teal); --bs-btn-hover-border-color: var(--teal); --bs-btn-active-bg: var(--teal); }
.btn-accent { background: var(--amber); color: #fff; border-color: var(--amber); }
.btn-accent:hover { background: #b45309; color: #fff; }
.btn-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.2rem; color: var(--ink); }
.btn-icon:hover { background: var(--paper-2); }
.btn-user { display: flex; align-items: center; gap: .6rem; border: 0; padding: .25rem .5rem; }
.btn-user:hover { background: var(--paper-2); }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(15, 94, 90, .15); }
.form-label { font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
.form-text { color: var(--ink-soft); }

/* ---------- Kerangka aplikasi ---------- */
.app-body { min-height: 100vh; }
.sidebar { background: var(--teal-dark); color: #d6e7e4; width: var(--sidebar-w); display: flex; flex-direction: column; }
@media (min-width: 992px) {
  .sidebar.offcanvas-lg { position: fixed; inset: 0 auto 0 0; z-index: 1030; background-color: var(--teal-dark) !important; }
  .main { margin-left: var(--sidebar-w); }
}
.sidebar.offcanvas-lg { --bs-offcanvas-width: 270px; --bs-offcanvas-bg: var(--teal-dark); }
.sidebar-brand { display: flex; align-items: center; gap: .75rem; padding: 1.2rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-logo { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; background: #fff; padding: 3px; }
.brand-logo-gen { display: inline-flex; align-items: center; justify-content: center; background: var(--amber); color: #fff; font-size: 1.3rem; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; color: #fff; line-height: 1; letter-spacing: .02em; }
.brand-sub { font-size: .72rem; color: #9fc3be; margin-top: .25rem; }
.sidebar-nav { padding: .8rem .7rem; flex: 1; overflow-y: auto; }
.sidebar .nav-link { display: flex; align-items: center; gap: .75rem; padding: .58rem .8rem; border-radius: 10px; color: #cfe2df; font-weight: 500; font-size: .92rem; margin-bottom: 2px; }
.sidebar .nav-link i { font-size: 1.08rem; width: 1.2rem; text-align: center; opacity: .9; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar .nav-link.active { background: var(--amber); color: #fff; box-shadow: 0 4px 14px rgba(217,119,6,.35); }
.nav-section { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #7fa9a3; padding: 1rem .8rem .35rem; font-weight: 700; }
.sidebar-foot { padding: .7rem; border-top: 1px solid rgba(255,255,255,.08); }

.topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: .5rem; padding: .6rem 1.25rem; background: rgba(251, 247, 240, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-title { font-weight: 700; font-size: 1rem; }
@media (min-width: 992px) { .topbar-title { display: none; } }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; flex-shrink: 0; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.1rem; }
.notif-dot { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--clay); color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--paper); }

.content { padding: 1.5rem 1.25rem 2rem; max-width: 1280px; }
@media (min-width: 992px) { .content { padding: 1.75rem 2rem 2.5rem; } }
.role-siswa .content { padding-bottom: 6rem; }
@media (min-width: 992px) { .role-siswa .content { padding-bottom: 2.5rem; } }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.page-title { font-size: 1.7rem; margin: 0; }
.page-sub { color: var(--ink-soft); margin: .25rem 0 0; }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.app-foot { padding: 1rem 2rem 1.5rem; color: var(--ink-soft); font-size: .8rem; }
.role-siswa .app-foot { padding-bottom: 5.5rem; }
@media (min-width: 992px) { .role-siswa .app-foot { padding-bottom: 1.5rem; } }

/* Navigasi bawah siswa (HP) */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; display: flex; background: #fff; border-top: 1px solid var(--line); padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(29,42,44,.06); }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--ink-soft); font-size: .68rem; font-weight: 600; padding: .25rem 0; border-radius: 10px; }
.bottom-nav a i { font-size: 1.25rem; }
.bottom-nav a.active { color: var(--teal); }
.bottom-nav a.active i { color: var(--amber); }

/* ---------- Kartu ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); padding: .95rem 1.15rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.card-body { padding: 1.15rem; }
.card-title-sm { font-weight: 700; font-size: 1rem; margin: 0; }

.stat-card { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); height: 100%; }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-value { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.stat-label { font-size: .82rem; color: var(--ink-soft); font-weight: 500; }
.stat-note { font-size: .74rem; color: var(--ink-soft); }
.tone-teal .stat-icon { background: var(--teal-soft); color: var(--teal); }
.tone-amber .stat-icon { background: var(--amber-soft); color: var(--amber); }
.tone-clay .stat-icon { background: var(--clay-soft); color: var(--clay); }
.tone-plum .stat-icon { background: var(--plum-soft); color: var(--plum); }
.tone-blue .stat-icon { background: var(--blue-soft); color: var(--blue); }

.hello-card { background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; border-radius: 18px; padding: 1.5rem; position: relative; overflow: hidden; }
.hello-card > * { position: relative; z-index: 1; }
.hello-card .hello-deco { position: absolute; right: -6px; bottom: -34px; font-size: 9.5rem; opacity: .09; z-index: 0; line-height: 1; }
.hello-card h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.hello-card p { color: #cfe6e2; margin: 0; }
.hello-card .btn-light { color: var(--teal-dark); }

/* ---------- Lencana / badge ---------- */
.badge { font-weight: 600; border-radius: 8px; padding: .38em .6em; }
.badge-soft-success { background: #dcf3e5; color: #166534; }
.badge-soft-warning { background: var(--amber-soft); color: #92400e; }
.badge-soft-danger { background: #fde2e2; color: #991b1b; }
.badge-soft-info { background: #dff0f7; color: #075985; }
.badge-soft-secondary { background: #ececec; color: #4b5563; }
.badge-soft-primary { background: var(--teal-soft); color: var(--teal-dark); }
.chip { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .2rem .65rem; font-size: .75rem; font-weight: 600; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--teal)); }

.medal { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: #fff; background: var(--c); box-shadow: inset 0 -4px 0 rgba(0,0,0,.15), 0 6px 16px rgba(0,0,0,.1); margin: 0 auto .6rem; }
.medal.locked { background: #d8d2c6; color: #fff; filter: grayscale(1); opacity: .7; }
.badge-tile { text-align: center; padding: 1.1rem .6rem; }
.badge-tile h6 { margin-bottom: .15rem; }

/* ---------- Sampul buku ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.1rem; }
@media (max-width: 420px) { .book-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.book-card { display: flex; flex-direction: column; color: var(--ink); }
.book-card:hover .cover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(29,42,44,.18); }
.cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px 10px 10px 6px; box-shadow: 0 4px 12px rgba(29,42,44,.14); transition: .2s ease; background: var(--paper-2); }
.cover-gen { display: flex; flex-direction: column; justify-content: space-between; padding: 1rem .8rem; color: #fff; background: linear-gradient(160deg, var(--c) 0%, color-mix(in srgb, var(--c) 60%, #000) 100%); position: relative; overflow: hidden; }
.cover-gen::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.25); }
.cover-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; padding-left: .4rem; }
.cover-author { font-size: .72rem; opacity: .85; padding-left: .4rem; }
.book-meta { padding-top: .6rem; }
.book-title { font-weight: 700; font-size: .9rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book-author { font-size: .78rem; color: var(--ink-soft); }
.cover-sm { width: 52px; flex-shrink: 0; }
.cover-sm.cover-gen { padding: .35rem; }
.cover-sm .cover-title { font-size: .5rem; padding: 0; }
.cover-sm .cover-author, .cover-sm.cover-gen::before { display: none; }
.cover-md { width: 180px; max-width: 45vw; }

.reader-frame { width: 100%; height: 78vh; min-height: 480px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* ---------- Tabel ---------- */
.table { --bs-table-bg: transparent; margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .7rem .85rem; border-bottom-color: var(--line); vertical-align: middle; }
.table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; background: var(--paper); white-space: nowrap; }
.table-hover tbody tr:hover > * { background: #fdfaf4; }

/* ---------- Peringkat ---------- */
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { display: flex; align-items: center; gap: .8rem; padding: .65rem .2rem; border-bottom: 1px dashed var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rank-no { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: var(--paper-2); color: var(--ink-soft); flex-shrink: 0; }
.rank-1 .rank-no { background: #f5c542; color: #6b4e00; }
.rank-2 .rank-no { background: #d5dbe0; color: #3d4852; }
.rank-3 .rank-no { background: #e9b48a; color: #6b3410; }
.rank-me { background: var(--amber-soft); border-radius: 10px; }
.rank-pts { margin-left: auto; font-weight: 800; color: var(--teal); white-space: nowrap; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: .6rem; padding: 1rem 0 0; }
.podium-item { text-align: center; flex: 1; max-width: 160px; }
.podium-bar { border-radius: 12px 12px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: .5rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; }
.podium-1 .podium-bar { height: 120px; background: linear-gradient(#e0a919, #b8860b); }
.podium-2 .podium-bar { height: 90px; background: linear-gradient(#9aa6b2, #6f7c88); }
.podium-3 .podium-bar { height: 70px; background: linear-gradient(#cf8a57, #a35f2f); }
.podium-name { font-weight: 700; font-size: .85rem; line-height: 1.2; margin-top: .4rem; }
.podium-pts { font-size: .78rem; color: var(--ink-soft); margin-bottom: .4rem; }

/* ---------- Progres & lainnya ---------- */
.progress { height: 10px; border-radius: 999px; background: var(--paper-2); }
.progress-bar { background: linear-gradient(90deg, var(--teal), #14928b); border-radius: 999px; }
.progress-bar.bg-amber { background: linear-gradient(90deg, var(--amber), #f59e0b); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.empty-state > i { font-size: 2.8rem; color: var(--amber); display: block; margin-bottom: .6rem; }
.empty-state h5 { color: var(--ink); }
.notif-item { display: flex; gap: .85rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.notif-item.unread { background: #fffaf0; }
.notif-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.word-counter { font-size: .8rem; font-weight: 600; }
.word-counter.ok { color: #16a34a; }
.word-counter.kurang { color: var(--clay); }
.prose { font-size: 1.02rem; line-height: 1.8; white-space: pre-line; }
.prose-poem { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; text-align: center; }
.quote-block { border-left: 4px solid var(--amber); background: var(--amber-soft); padding: .9rem 1.1rem; border-radius: 0 12px 12px 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; }
.filter-bar .form-control, .filter-bar .form-select { min-width: 140px; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.timer-pill { position: sticky; top: 64px; z-index: 5; display: inline-flex; align-items: center; gap: .4rem; background: var(--ink); color: #fff; border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.timer-pill.warn { background: var(--clay); }
.soal-card .form-check { padding: .65rem .9rem .65rem 2.4rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .45rem; cursor: pointer; }
.soal-card .form-check:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.soal-card .form-check-input { margin-left: -1.5rem; }
.kunci-benar { color: #16a34a; font-weight: 700; }
.kunci-salah { color: var(--clay); text-decoration: line-through; }

/* ---------- Halaman login & publik ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .auth-wrap { grid-template-columns: 1.1fr 1fr; } }
.auth-art { display: none; background: var(--teal-dark); color: #fff; padding: 3rem; position: relative; overflow: hidden; }
@media (min-width: 992px) { .auth-art { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-art h1 { font-size: 2.6rem; line-height: 1.1; }
.auth-art .lead { color: #bcd9d4; }
.auth-art-books { position: absolute; right: -40px; bottom: -30px; display: flex; gap: 10px; transform: rotate(-8deg); opacity: .9; }
.auth-art-books span { width: 46px; border-radius: 4px 4px 0 0; display: block; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.auth-card { width: 100%; max-width: 400px; }
.role-tabs .nav-link { color: var(--ink-soft); font-weight: 600; border-radius: 10px; }
.role-tabs .nav-link.active { background: var(--teal); color: #fff; }

.pub-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.pub-nav .navbar-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; color: var(--teal-dark); }
.hero { background: radial-gradient(circle at 85% 20%, rgba(217,119,6,.18), transparent 45%), linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 70%); color: #fff; padding: 3.5rem 0 4rem; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; }
.hero .lead { color: #cfe6e2; max-width: 560px; }
.hero-quote { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 1.3rem 1.4rem; backdrop-filter: blur(4px); }
.hero-quote blockquote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; margin: 0 0 .6rem; }
.hero-quote figcaption { color: #f6c97f; font-size: .85rem; font-weight: 600; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2rem; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; }
.hero-stats span { color: #a9cdc7; font-size: .82rem; }
.section { padding: 3rem 0; }
.section-title { font-size: 1.7rem; margin-bottom: .3rem; }
.section-alt { background: var(--paper-2); }
.karya-card { display: block; height: 100%; color: var(--ink); }
.karya-card:hover { border-color: var(--amber); }
.karya-card .karya-excerpt { color: var(--ink-soft); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jenis-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--clay); }

/* ---------- Cetak ---------- */
.print-page { background: #fff; color: #000; font-family: "Times New Roman", serif; font-size: 12pt; }
.print-page .kop img { width: 100%; max-height: 130px; object-fit: contain; }
.print-page .kop { border-bottom: 3px double #000; padding-bottom: 6px; margin-bottom: 14px; }
.kop-text { text-align: center; }
.kop-nama { font-size: 18pt; font-weight: bold; text-transform: uppercase; }
.print-page table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
.print-page th, .print-page td { border: 1px solid #000; padding: 4px 6px; }
.print-page th { background: #eee; }
.print-toolbar { position: sticky; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; display: flex; gap: .5rem; align-items: center; z-index: 10; font-family: var(--font-body); }
.ttd-blok { display: flex; justify-content: space-between; gap: 24px; margin-top: 24px; font-size: 11pt; break-inside: avoid; page-break-inside: avoid; }
.ttd-blok > div { width: 45%; }
.ttd-blok .ruang { height: 64px; }
.print-page thead { display: table-header-group; }
.print-page tr { break-inside: avoid; page-break-inside: avoid; }
@media print {
  .print-toolbar, .no-print { display: none !important; }
  body { background: #fff; }
  @page { margin: 1.5cm; }
}

/* Sertifikat */
.sertifikat { width: 297mm; height: 210mm; margin: 0 auto 20px; background: #fffdf8; position: relative; padding: 14mm; page-break-after: always; box-sizing: border-box; font-family: var(--font-body); color: #1d2a2c; }
.sertifikat-frame { border: 3px solid var(--teal-dark); outline: 1px solid var(--amber); outline-offset: -10px; height: 100%; padding: 9mm 18mm 10mm; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.sertifikat-frame .s-logo { height: 70px; }
.sertifikat h1 { font-family: var(--font-display); font-size: 36pt; color: var(--teal-dark); margin: 6px 0 0; letter-spacing: .04em; }
.sertifikat .s-no { font-size: 10pt; color: #555; }
.sertifikat .s-nama { font-family: var(--font-display); font-size: 30pt; color: var(--amber); border-bottom: 2px solid var(--line); padding: 0 30px 4px; margin: 6px 0 8px; }
.sertifikat .s-juara { font-size: 15pt; font-weight: 700; color: var(--teal-dark); }
.sertifikat .s-ttd { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 16px; font-size: 11pt; }
.sertifikat .s-ttd > div { width: 42%; }
.sertifikat .s-ttd .ruang { height: 60px; }
@media print {
  @page sertifikat { size: A4 landscape; margin: 0; }
  .sertifikat-wrap { page: sertifikat; }
  .sertifikat { margin: 0; box-shadow: none; }
  .sertifikat-wrap { background: none; padding: 0; }
}
@media screen { .sertifikat-wrap { background: #e8e2d6; padding: 20px; overflow-x: auto; } .sertifikat { box-shadow: 0 6px 30px rgba(0,0,0,.15); } }
