.fpdm-wrap{max-width:1240px;margin:30px auto 56px;padding:0 22px;color:#102b55;font-family:inherit}.fpdm-hero{position:relative;isolation:isolate;overflow:hidden;min-height:205px;display:flex;align-items:center;padding:38px 42px;border-radius:16px;background:linear-gradient(112deg,#092653 0%,#104b91 55%,#1769bd 100%);color:#fff;margin-bottom:20px;box-shadow:0 12px 30px rgba(9,38,83,.14)}.fpdm-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(7,30,67,.12),transparent 70%),repeating-linear-gradient(135deg,transparent 0 38px,rgba(255,255,255,.035) 39px 41px)}.fpdm-hero-copy{position:relative;z-index:2;max-width:570px}.fpdm-eyebrow{font-size:11px;letter-spacing:1.2px;font-weight:800;color:#dbeafe}.fpdm-hero h1{font-size:clamp(30px,4vw,45px);line-height:1.1;color:#fff;margin:12px 0 10px}.fpdm-hero p{color:#e5efff;max-width:520px;margin:0;font-size:16px}.fpdm-hero-art{position:absolute;right:0;bottom:0;width:48%;height:100%;overflow:hidden;opacity:.82;background:linear-gradient(180deg,transparent 48%,rgba(3,19,44,.38))}.fpdm-hero-sun{position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.12);right:23%;top:-85px}.fpdm-hero-building{position:absolute;right:5%;bottom:-14px;width:88%;height:58%;clip-path:polygon(0 72%,15% 35%,37% 35%,50% 0,63% 35%,83% 35%,100% 72%,100% 100%,0 100%);background:linear-gradient(180deg,#d7eaff 0 10%,#7ea8cf 10% 18%,#dce9f6 18% 25%,#174c83 25% 100%);border-top:5px solid rgba(255,255,255,.8);box-shadow:0 -8px 30px rgba(255,255,255,.15)}.fpdm-building:after{content:""}.fpdm-hero-flag{position:absolute;right:12%;top:22%;font-size:38px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.25))}.fpdm-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:18px 0 24px}.fpdm-tools>a{padding:10px 15px;border:1px solid #dbe5f1;border-radius:8px;text-decoration:none;color:#102b55;font-size:13px;font-weight:650;background:#fff}.fpdm-tools>a.active,.fpdm-primary{background:#075bd8;color:#fff!important;border-color:#075bd8}.fpdm-search{margin-left:auto;display:flex;align-items:center;gap:7px;padding:4px 7px 4px 12px;border:1px solid #d3deeb;border-radius:9px;background:#fff;min-width:260px;color:#56708f}.fpdm-search input{min-width:0;width:100%;border:0!important;outline:0!important;padding:8px 3px!important;background:transparent!important;box-shadow:none!important}.fpdm-search button{border:0;border-radius:6px;background:#edf4ff;color:#075bd8;padding:8px 12px;font-weight:700}.fpdm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.fpdm-card{border:1px solid #e2eaf4;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 6px 20px rgba(16,43,85,.07);transition:transform .2s ease,box-shadow .2s ease}.fpdm-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,43,85,.12)}.fpdm-cover{height:255px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#0b3470,#1769bd);text-align:center;color:#fff;text-decoration:none}.fpdm-cover img{width:100%;height:100%;object-fit:cover}.fpdm-cover-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:18px;color:#fff;background:radial-gradient(circle at 70% 20%,rgba(255,255,255,.2),transparent 35%),linear-gradient(150deg,#0b2b60,#1474cb)}.fpdm-cover-fallback small{font-size:10px;letter-spacing:4px}.fpdm-cover-fallback strong{font-size:30px;line-height:1.1;margin:8px 0}.fpdm-cover-fallback i{font-size:11px;font-style:normal;letter-spacing:1px}.fpdm-cardbody{padding:14px}.fpdm-card-kicker{font-size:10px;font-weight:800;letter-spacing:.8px;color:#1769d2}.fpdm-cardbody h2{font-size:17px;line-height:1.35;margin:5px 0;color:#102b55}.fpdm-cardbody h2 a{color:inherit;text-decoration:none}.fpdm-cardbody small{color:#64748b;font-size:12px}.fpdm-cardbody p{font-size:13px;color:#64748b;line-height:1.55;min-height:40px}.fpdm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.fpdm-actions a{display:inline-block;padding:10px 13px;border-radius:7px;text-decoration:none;font-size:12px;font-weight:750}.fpdm-primary{background:#075bd8;color:#fff}.fpdm-secondary{border:1px solid #075bd8;color:#075bd8}.fpdm-empty{grid-column:1/-1;padding:24px;border:1px solid #e2eaf4;border-radius:12px;color:#64748b;background:#f7f9fc}.fpdm-pagination{margin:24px 0;text-align:center}.fpdm-pagination .page-numbers{display:inline-block;padding:8px 12px;margin:3px;border:1px solid #dbe5f1;border-radius:7px;text-decoration:none;color:#102b55}.fpdm-pagination .current{background:#075bd8;color:#fff}.fpdm-breadcrumb{font-size:13px;color:#64748b;margin:10px 0 20px}.fpdm-breadcrumb a{color:#1769d2;text-decoration:none}.fpdm-detail{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:30px;padding:25px;border:1px solid #e2eaf4;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(16,43,85,.05)}.fpdm-detailcover{height:410px;overflow:hidden;background:linear-gradient(145deg,#0b3470,#1769bd);display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;font-weight:800;font-size:25px}.fpdm-detailcover img{width:100%;height:100%;object-fit:cover}.fpdm-detailinfo h1{font-size:clamp(25px,3vw,34px);line-height:1.2;margin:0 0 5px;color:#102b55}.fpdm-detailinfo h3{margin:0 0 15px;color:#1769d2}.fpdm-description{color:#475569;line-height:1.7}.fpdm-detailinfo dl{background:#f3f7fc;padding:14px 18px;border-radius:10px;margin:20px 0}.fpdm-detailinfo dl div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #e1e9f3}.fpdm-detailinfo dl div:last-child{border:0}.fpdm-detailinfo dt{font-weight:700}.fpdm-detailinfo dd{margin:0;text-align:right}.fpdm-reader-section{margin:38px 0;background:#0b1728;padding:20px;border-radius:14px;color:#fff;box-shadow:0 12px 30px rgba(5,18,36,.15)}.fpdm-reader-section h2{color:#fff;margin:0 0 14px}.fpdm-toolbar{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;background:#17283d;padding:12px;border-radius:9px;margin-bottom:14px}.fpdm-toolbar button,.fpdm-toolbar a{background:#263c57;color:#fff;border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:9px 12px;text-decoration:none;cursor:pointer;font-size:13px}.fpdm-reader{display:flex;gap:14px;min-height:500px}.fpdm-thumbs{width:110px;max-height:650px;overflow:auto;display:flex;flex-direction:column;gap:8px}.fpdm-thumbs canvas{width:90px;background:#fff;cursor:pointer;border:2px solid transparent;border-radius:3px}.fpdm-thumbs canvas.active{border-color:#4da3ff}.fpdm-book{flex:1;min-width:0;min-height:500px;display:flex;align-items:center;justify-content:center;overflow:hidden}.fpdm-book .stf__parent{margin:auto}.fpdm-reader-note{font-size:12px;color:#b7c7dc}.fpdm-reader:fullscreen{background:#0b1728;padding:20px;overflow:auto}@media(max-width:900px){.fpdm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fpdm-detail{grid-template-columns:220px 1fr}.fpdm-detailcover{height:320px}.fpdm-hero-art{width:42%}}@media(max-width:650px){.fpdm-wrap{padding:0 14px;margin:18px auto 38px}.fpdm-hero{min-height:190px;padding:27px 22px}.fpdm-hero-copy{max-width:78%}.fpdm-hero-art{width:42%;opacity:.42}.fpdm-hero p{font-size:14px}.fpdm-tools{gap:7px}.fpdm-tools>a{padding:9px 10px;font-size:12px}.fpdm-search{order:2;width:100%;min-width:0;margin:4px 0 0}.fpdm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fpdm-cover{height:190px}.fpdm-cardbody{padding:11px}.fpdm-cardbody h2{font-size:14px}.fpdm-cardbody p{font-size:12px;min-height:0}.fpdm-actions{gap:6px}.fpdm-actions a{padding:9px 10px;font-size:11px}.fpdm-detail{grid-template-columns:1fr;padding:16px;gap:18px}.fpdm-detailcover{height:340px;max-width:250px;width:100%;margin:auto}.fpdm-detailinfo h1{font-size:25px}.fpdm-reader-section{padding:12px;margin:25px 0}.fpdm-reader{display:block;min-height:300px}.fpdm-thumbs{width:100%;max-height:105px;flex-direction:row;margin-bottom:10px}.fpdm-thumbs canvas{width:auto;height:90px}.fpdm-book{min-height:300px}.fpdm-toolbar{justify-content:flex-start}.fpdm-toolbar button,.fpdm-toolbar a{padding:8px 9px;font-size:11px}}

/* =====================================
   FPD-DPR MAJALAH DIGITAL - REDESIGN
   ===================================== */

.fpdm-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 24px 60px;
    color: #102b55;
}

/* HERO BANNER */
.fpdm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 300px;
    padding: 48px 55px;
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(90deg, rgba(8,35,79,.96), rgba(15,75,145,.58)),
        linear-gradient(135deg, #102b55, #1769d2);
    color: #fff;
}

.fpdm-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.fpdm-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    margin: 0 0 12px;
}

.fpdm-hero p {
    color: #edf4ff;
    font-size: 16px;
    line-height: 1.7;
}

/* FILTER DAN PENCARIAN */
.fpdm-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0;
}

.fpdm-tools a,
.fpdm-search input,
.fpdm-search button {
    border-radius: 8px;
}

.fpdm-tools a {
    padding: 11px 18px;
    background: #edf3fb;
    color: #102b55;
    font-weight: 700;
}

.fpdm-tools a:hover {
    background: #1769d2;
    color: #fff;
}

.fpdm-search {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.fpdm-search input {
    min-width: 220px;
    padding: 11px 14px;
    border: 1px solid #d6e1f0;
}

/* GRID EDISI */
.fpdm-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.fpdm-card {
    overflow: hidden;
    border: 1px solid #e1e9f3;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(16,43,85,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.fpdm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(16,43,85,.13);
}

.fpdm-cover {
    height: 290px;
    overflow: hidden;
    background: #e8eff8;
}

.fpdm-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fpdm-card-body {
    padding: 18px;
}

.fpdm-card-body h2 {
    color: #102b55;
    font-size: 18px;
    line-height: 1.4;
    margin: 8px 0;
}

.fpdm-card-body p {
    color: #64748b;
    line-height: 1.65;
}

.fpdm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.fpdm-actions a {
    padding: 10px 14px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
}

.fpdm-primary {
    background: #075bd8;
    color: #fff !important;
}

.fpdm-secondary {
    border: 1px solid #075bd8;
    color: #075bd8 !important;
}

/* DETAIL EDISI */
.fpdm-detail-cover {
    max-width: 350px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .fpdm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .fpdm-wrap {
        padding: 22px 15px 40px;
    }

    .fpdm-hero {
        min-height: 230px;
        padding: 28px 22px;
    }

    .fpdm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .fpdm-cover {
        height: 210px;
    }

    .fpdm-card-body {
        padding: 12px;
    }

    .fpdm-card-body h2 {
        font-size: 15px;
    }

    .fpdm-search {
        width: 100%;
        margin-left: 0;
    }

    .fpdm-search input {
        min-width: 0;
        width: 100%;
    }
}

/* PENYEMPURNAAN FLIPBOOK */
.fpdm-reader-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fpdm-reader {
    width: 100% !important;
    max-width: 100% !important;
}

.fpdm-book {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Stabilitas area flipbook: cegah halaman terpotong ketika ukuran berubah/zoom */
.fpdm-reader-section,
.fpdm-reader,
.fpdm-book {
    box-sizing: border-box;
}

.fpdm-reader {
    min-width: 0;
    align-items: flex-start;
}

.fpdm-book {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible !important;
    transform-origin: center top;
}

.fpdm-book .stf__parent {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
}

.fpdm-book .stf__block {
    background: #fff;
}

.fpdm-book .fpdm-page {
    background: #fff;
    overflow: hidden;
}

.fpdm-book .fpdm-page canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 650px) {
    .fpdm-reader {
        width: 100%;
        overflow: visible;
    }

    .fpdm-book {
        min-height: 320px;
        width: 100%;
    }
}


/* 1.1.4 — tata letak responsif untuk HP, iPad, dan desktop */
.fpdm-reader-section { min-width: 0; }
.fpdm-reader { min-width: 0; width: 100%; }
.fpdm-book { min-width: 0; overflow: hidden !important; }
.fpdm-book .stf__parent { width: 100%; max-width: 100%; }
.fpdm-book .stf__block { box-sizing: border-box; }
.fpdm-book .fpdm-page { box-sizing: border-box; }
.fpdm-book .fpdm-page canvas { max-width: 100%; }

/* Tablet portrait dan HP: thumbnail di atas, buku memakai lebar penuh.
   PageFlip tetap menentukan mode satu/dua halaman berdasarkan ruang aktual. */
@media (max-width: 900px) {
  .fpdm-reader { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .fpdm-thumbs { order: 0; width: 100%; max-width: 100%; max-height: 112px;
    flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .fpdm-thumbs .fpdm-thumb { flex: 0 0 auto; }
  .fpdm-thumbs canvas { height: 88px; width: auto; max-width: none; }
  .fpdm-book { order: 1; width: 100%; min-height: 360px; }
}

@media (max-width: 650px) {
  .fpdm-reader-section { padding: 10px; }
  .fpdm-book { min-height: 300px; }
  .fpdm-book .stf__parent { margin: 0 auto !important; }
}


/* 1.1.5 — susunan pembaca: buku utama dahulu, thumbnail di bawah */
.fpdm-reader {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  min-width: 0;
}
.fpdm-book {
  order: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  display: block !important;
}
.fpdm-thumbs {
  order: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 112px !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 2px 8px !important;
  box-sizing: border-box !important;
}
.fpdm-thumbs .fpdm-thumb {
  flex: 0 0 auto !important;
  width: auto !important;
  height: 96px !important;
  padding: 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  cursor: pointer;
}
.fpdm-thumbs .fpdm-thumb.active { border-color: #4da3ff !important; }
.fpdm-thumbs .fpdm-thumb canvas {
  display: block !important;
  width: auto !important;
  height: 86px !important;
  max-width: none !important;
  object-fit: contain;
}
.fpdm-book .stf__parent {
  margin: 0 auto !important;
  max-width: 100% !important;
}
.fpdm-book .stf__block,
.fpdm-book .fpdm-page { box-sizing: border-box !important; }
.fpdm-book .fpdm-page { background: #fff !important; overflow: hidden !important; }
.fpdm-book .fpdm-page canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill;
}
@media (max-width: 650px) {
  .fpdm-reader-section { padding: 12px !important; }
  .fpdm-book { min-height: 0 !important; }
  .fpdm-thumbs { max-height: 104px !important; }
  .fpdm-thumbs .fpdm-thumb { height: 88px !important; }
  .fpdm-thumbs .fpdm-thumb canvas { height: 78px !important; }
}


/* 1.1.6 — bentangkan pembaca pada tablet/iPad landscape tanpa mengubah layout HP. */
@media (min-width: 901px) and (orientation: landscape) {
  .fpdm-reader-section {
    position: relative !important;
    left: 50% !important;
    width: min(1480px, calc(100vw - 48px)) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
  }
  .fpdm-reader, .fpdm-book { width: 100% !important; max-width: 100% !important; }
  .fpdm-book { min-height: 0 !important; }
}


/* 1.1.7 — iPad landscape: lebarkan reader berdasarkan viewport CSS Safari.
   Aturan ini hanya aktif pada tablet landscape; HP dan tablet portrait tetap memakai
   layout 1.1.5/1.1.6. */
@media (min-width: 700px) and (orientation: landscape) {
  .fpdm-reader-section {
    position: relative !important;
    left: 50% !important;
    width: calc(100vw - 32px) !important;
    max-width: 1600px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
  }
  .fpdm-reader,
  .fpdm-book {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .fpdm-book {
    min-height: 0 !important;
  }
  .fpdm-book .stf__parent {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* 1.2.0 — host sizing for PageFlip's responsive single/spread threshold. */
.fpdm-reader { min-width: 0 !important; align-items: stretch !important; }
.fpdm-book { flex: 0 1 auto !important; box-sizing: border-box !important; }
.fpdm-book .stf__parent { margin-left: auto !important; margin-right: auto !important; }
