:root {
  --mp-primary: #062B55;
  --mp-accent: #C98116;
  --mp-ink: #10233d;
  --mp-muted: #66758a;
  --mp-soft: #f6f8fb;
  --mp-cream: #fbf7f0;
  --mp-line: #e5e9ef;
  --mp-white: #ffffff;
  --mp-shadow: 0 18px 50px rgba(15, 36, 61, .10);
  --mp-radius: 18px;
}

body.mp-theme {
  background: #fff;
  color: var(--mp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}
body.mp-theme a { color: var(--mp-primary); }
body.mp-theme .pkp_structure_page { max-width: none; background: transparent; }
body.mp-theme .pkp_structure_content { max-width: 100%; padding: 0; }
body.mp-theme .pkp_structure_main { width: 100%; max-width: none; padding: 0; }
body.mp-theme .pkp_structure_main:before, body.mp-theme .pkp_structure_main:after { display: none; }
body.mp-theme .page { padding: 0; }
body.mp-theme .page:not(.mp-home) { max-width: 1180px; margin: 0 auto; padding: 48px 28px 70px; }
body.mp-theme .pkp_structure_sidebar { margin-right: max(28px, calc((100vw - 1180px)/2)); }

.mp-container { width: min(1180px, calc(100% - 56px)); margin-left: auto; margin-right: auto; }


.mp-topbar { background: var(--mp-primary); color: #fff; font-size: 12px; }
.mp-topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mp-topbar-contact { display: flex; gap: 24px; align-items: center; }
.mp-topbar a { color: #fff !important; text-decoration: none; opacity: .95; }
.mp-topbar a:hover { opacity: 1; text-decoration: underline; }
.mp-topbar .fa { margin-right: 7px; color: #f4c46b; }
.mp-topbar-social { display: flex; gap: 10px; align-items: center; }


/* Hero */
.mp-hero { position: relative; overflow: hidden; background: linear-gradient(110deg, #fcfaf6 0%, #fff 48%, #f2f5f8 100%); min-height: 520px; display: flex; align-items: center; }
.mp-hero:after { content: ""; position: absolute; right: -110px; top: -120px; width: 510px; height: 510px; border-radius: 50%; background: radial-gradient(circle, rgba(6,43,85,.10) 0, rgba(6,43,85,0) 68%); }
.mp-hero-pattern { position: absolute; left: -145px; top: 85px; width: 310px; height: 310px; border: 1px solid rgba(6,43,85,.09); border-radius: 50%; box-shadow: 0 0 0 28px rgba(6,43,85,.025), 0 0 0 58px rgba(6,43,85,.02), 0 0 0 92px rgba(6,43,85,.015); }
.mp-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; padding-top: 54px; padding-bottom: 68px; }
.mp-eyebrow, .mp-section-kicker { color: var(--mp-accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mp-hero-copy h2 { margin: 7px 0 4px; color: var(--mp-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5vw, 68px); line-height: 1.03; letter-spacing: -.02em; }
.mp-tagline { max-width: 620px; color: var(--mp-accent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.18; }
.mp-hero-copy p { max-width: 590px; margin: 20px 0 0; color: #344458; font-size: 17px; line-height: 1.7; }
.mp-hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.mp-btn { display: inline-flex; align-items: center; gap: 11px; padding: 14px 22px; border-radius: 9px; text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: .025em; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
.mp-btn:hover { transform: translateY(-2px); }
.mp-btn-primary { background: var(--mp-primary); color: #fff !important; box-shadow: 0 8px 22px rgba(6,43,85,.18); }
.mp-btn-accent { background: var(--mp-accent); color: #fff !important; box-shadow: 0 8px 22px rgba(201,129,22,.20); }
.mp-hero-books { min-height: 370px; position: relative; perspective: 900px; }
.mp-hero-book, .mp-placeholder-book { position: absolute; display: block; width: 170px; height: 250px; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 0 20px 38px rgba(16,35,61,.22); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.mp-hero-book img { width: 100%; height: 100%; object-fit: cover; }
.mp-hero-book:hover { z-index: 9; box-shadow: 0 26px 52px rgba(16,35,61,.28); }
.mp-hero-book-1 { left: 5%; top: 22%; transform: rotate(-2deg); }
.mp-hero-book-2 { left: 31%; top: 36%; transform: translateZ(15px); }
.mp-hero-book-3 { left: 55%; top: 5%; transform: rotate(1.5deg); }
.mp-hero-book-4 { right: 0; top: 34%; transform: rotate(2deg); }
.mp-hero-book-1:hover, .mp-hero-book-2:hover, .mp-hero-book-3:hover, .mp-hero-book-4:hover { transform: translateY(-8px) scale(1.03); }
.mp-placeholder-book { padding: 28px 18px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.mp-placeholder-book span { font-size: 10px; letter-spacing: .15em; font-weight: 700; opacity: .8; }
.mp-placeholder-book strong { font-family: Georgia, serif; font-size: 24px; line-height: 1.1; }
.mp-placeholder-1 { left: 7%; top: 24%; background: #0c2b50; transform: rotate(-3deg); }
.mp-placeholder-2 { left: 39%; top: 6%; background: #176b6b; }
.mp-placeholder-3 { right: 2%; top: 32%; background: #4d6f63; transform: rotate(2deg); }

/* Trust bar */
.mp-trustbar { position: relative; z-index: 4; margin-top: -35px; background: #fff; border: 1px solid #e8ebef; border-radius: 18px; box-shadow: var(--mp-shadow); display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 18px; }
.mp-trust-item { display: flex; gap: 14px; padding: 2px 20px; border-right: 1px solid #edf0f3; align-items: flex-start; }
.mp-trust-item:last-child { border-right: 0; }
.mp-trust-icon { color: var(--mp-primary); font-size: 27px; width: 32px; padding-top: 2px; }
.mp-trust-item strong { display: block; color: var(--mp-ink); font-family: Georgia, serif; font-size: 15px; margin-bottom: 5px; }
.mp-trust-item span:not(.mp-trust-icon) { color: var(--mp-muted); font-size: 12.5px; line-height: 1.5; display: block; }

/* Sections and books */
.mp-section { padding-top: 58px; padding-bottom: 10px; }
.mp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.mp-section-head h2 { color: var(--mp-primary); font-family: Georgia, serif; font-size: 30px; margin: 1px 0 0; }
.mp-section-head > a, .mp-text-link { color: var(--mp-primary); font-weight: 700; font-size: 13px; text-decoration: none; }
.mp-section-head > a:hover, .mp-text-link:hover { text-decoration: underline; }
.mp-monograph-list { margin: 0; }
.mp-monograph-list > .title { margin-bottom: 22px; color: var(--mp-primary); font-family: Georgia, serif; }
.mp-book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.mp-book-card { border: 1px solid #e9edf1; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 6px 20px rgba(16,35,61,.045); transition: transform .2s ease, box-shadow .2s ease; min-width: 0; }
.mp-book-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(16,35,61,.10); }
.mp-book-card .mp-book-cover { display: block; margin: 0; background: linear-gradient(135deg,#f2f4f7,#fbfbfc); height: 255px; padding: 14px; text-align: center; overflow: hidden; }
.mp-book-card .mp-book-cover img { width: auto; max-width: 100%; height: 100%; object-fit: contain; box-shadow: 0 8px 18px rgba(20,38,59,.14); }
.mp-book-meta { padding: 15px 16px 14px; }
.mp-book-card .seriesPosition { color: var(--mp-accent); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .08em; margin-bottom: 6px; }
.mp-book-card .title { margin: 0 0 7px; font-size: 15px; line-height: 1.35; font-family: Georgia, serif; font-weight: 700; }
.mp-book-card .title a { color: var(--mp-ink); text-decoration: none; }
.mp-book-card .title a:hover { color: var(--mp-primary); }
.mp-book-card .author { color: var(--mp-muted); font-size: 12px; min-height: 38px; }
.mp-book-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #eef1f4; }
.mp-book-bottom .date { color: #8893a0; font-size: 11px; }
.mp-book-link { border: 1px solid #bdd0e2; border-radius: 6px; padding: 5px 9px; color: var(--mp-primary) !important; font-size: 10.5px; font-weight: 750; text-decoration: none !important; }
.mp-book-link:hover { background: var(--mp-primary); color: #fff !important; border-color: var(--mp-primary); }
.mp-featured-section { padding-top: 44px; }

/* About / CTA */
.mp-about-grid { display: grid; grid-template-columns: 1.2fr 1.05fr .95fr; gap: 0; padding-bottom: 62px; }
.mp-about-grid > div { padding: 28px 30px; border: 1px solid var(--mp-line); background: #fff; }
.mp-about-grid > div:first-child { border-radius: 16px 0 0 16px; }
.mp-about-grid > div:last-child { border-radius: 0 16px 16px 0; }
.mp-about-card h2 { font: 700 24px/1.25 Georgia, serif; color: var(--mp-primary); margin: 6px 0 12px; }
.mp-about-card p, .mp-about-text { color: #4d5c6d; font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.mp-benefits-card h3 { margin: 0 0 16px; color: var(--mp-ink); font: 700 17px/1.3 Georgia, serif; }
.mp-benefits-card ul { list-style: none; padding: 0; margin: 0; }
.mp-benefits-card li { margin: 11px 0; color: #3d4c5d; font-size: 13px; }
.mp-benefits-card .fa { color: var(--mp-accent); margin-right: 9px; }
.mp-submit-card { background: var(--mp-primary) !important; color: #fff; border-color: var(--mp-primary) !important; }
.mp-submit-card > .fa { color: #f4bc5a; font-size: 30px; }
.mp-submit-card h3 { color: #fff; font: 700 20px/1.3 Georgia, serif; margin: 10px 0 8px; }
.mp-submit-card p { color: rgba(255,255,255,.82); font-size: 12.5px; }
.mp-submit-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 13px; border-radius: 7px; background: var(--mp-accent); color: #fff !important; text-decoration: none; text-transform: uppercase; font-size: 10.5px; font-weight: 800; }

/* Default OMP pages tuned to match */
body.mp-theme .page > h1, body.mp-theme .page_catalog > h1, body.mp-theme .page_search > h1, body.mp-theme .page_about > h1 { color: var(--mp-primary); font-family: Georgia, serif; font-size: 38px; }
body.mp-theme .cmp_breadcrumbs { margin-bottom: 22px; }
body.mp-theme .cmp_breadcrumbs a { color: var(--mp-muted); }
body.mp-theme input[type="text"], body.mp-theme input[type="email"], body.mp-theme input[type="password"], body.mp-theme textarea, body.mp-theme select { border: 1px solid #ccd5df; border-radius: 7px; }
body.mp-theme .cmp_button, body.mp-theme button.submit, body.mp-theme input[type="submit"] { background: var(--mp-primary); border-color: var(--mp-primary); border-radius: 7px; }
body.mp-theme .obj_monograph_full .title { color: var(--mp-primary); font-family: Georgia, serif; }
body.mp-theme .obj_monograph_full .cover img { border-radius: 5px; box-shadow: 0 12px 28px rgba(16,35,61,.15); }

/* Footer */
.mp-footer { margin-top: 50px; background: #071f3d; color: rgba(255,255,255,.78); border: 0; }
.mp-footer-grid { display: grid; grid-template-columns: 1.25fr .65fr .75fr 1.15fr; gap: 50px; padding-top: 54px; padding-bottom: 42px; }
.mp-footer h2 { color: #fff; font: 700 30px Georgia, serif; margin: 0 0 8px; }
.mp-footer h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 15px; }
.mp-footer p { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.65; }
.mp-footer a { display: block; color: rgba(255,255,255,.75) !important; text-decoration: none; font-size: 13px; margin: 8px 0; }
.mp-footer a:hover { color: #fff !important; text-decoration: underline; }
.mp-footer-address p { margin: 0 0 10px; }
.mp-footer .pkp_footer_content { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.10); }
.mp-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 19px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.50); font-size: 11px; }
.mp-footer-bottom .mp-pkp-brand { display: inline; margin: 0; font-size: 11px; }

@media (max-width: 1100px) {


  .mp-book-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .mp-trustbar { grid-template-columns: repeat(2,1fr); }
  .mp-trust-item:nth-child(2) { border-right: 0; }
  .mp-trust-item:nth-child(-n+2) { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #edf0f3; }
}

@media (max-width: 900px) {
  .mp-container { width: min(100% - 36px, 1180px); }


  .mp-hero-grid { grid-template-columns: 1fr; gap: 25px; padding-top: 46px; }
  .mp-hero-books { min-height: 330px; max-width: 620px; width: 100%; margin: 0 auto; }
  .mp-book-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mp-about-grid { grid-template-columns: 1fr; gap: 14px; }
  .mp-about-grid > div, .mp-about-grid > div:first-child, .mp-about-grid > div:last-child { border-radius: 14px; }
  .mp-footer-grid { grid-template-columns: repeat(2,1fr); gap: 30px; }
}

@media (max-width: 640px) {
  .mp-topbar-inner { padding-top: 7px; padding-bottom: 7px; }
  .mp-topbar-contact { gap: 8px; flex-direction: column; align-items: flex-start; }
  .mp-topbar-social { display: none; }

  .mp-hero { min-height: auto; }
  .mp-hero-copy h2 { font-size: 43px; }
  .mp-tagline { font-size: 25px; }
  .mp-hero-copy p { font-size: 15px; }
  .mp-hero-books { min-height: 270px; transform: scale(.86); transform-origin: center top; margin-bottom: -30px; }
  .mp-trustbar { grid-template-columns: 1fr; margin-top: -18px; padding: 12px 18px; }
  .mp-trust-item { border-right: 0; border-bottom: 1px solid #edf0f3; padding: 16px 5px; margin: 0 !important; }
  .mp-trust-item:last-child { border-bottom: 0; }
  .mp-section { padding-top: 42px; }
  .mp-section-head { align-items: flex-start; }
  .mp-section-head h2 { font-size: 27px; }
  .mp-book-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .mp-book-card .mp-book-cover { height: 220px; padding: 10px; }
  .mp-book-meta { padding: 12px; }
  .mp-book-card .title { font-size: 14px; }
  .mp-footer-grid { grid-template-columns: 1fr; }
  .mp-footer-bottom { align-items: flex-start; gap: 10px; flex-direction: column; }
}

@media (max-width: 420px) {
  .mp-container { width: min(100% - 26px, 1180px); }
  .mp-book-grid { grid-template-columns: 1fr 1fr; }
  .mp-book-card .mp-book-cover { height: 190px; }
  .mp-book-card .author { min-height: auto; }
  .mp-book-bottom { align-items: flex-start; flex-direction: column; }
}


/* =========================================================
   Media Prima v1.1 — full frontend refinement
   ========================================================= */

/* Core layout normalization */
body.mp-theme {
  overflow-x: hidden;
}
body.mp-theme .pkp_structure_content {
  width: 100%;
  margin: 0;
}
body.mp-theme .pkp_structure_main {
  min-width: 0;
}
body.mp-theme .page:not(.mp-home) {
  width: min(1180px, calc(100% - 56px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 0 76px;
}
body.mp-theme .page:not(.mp-home) > h1 {
  margin: 8px 0 26px;
  color: var(--mp-primary);
  font: 700 clamp(34px, 4vw, 46px)/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
body.mp-theme .page p,
body.mp-theme .page li {
  color: #405064;
}
body.mp-theme .page a {
  text-underline-offset: 3px;
}
body.mp-theme .page img {
  max-width: 100%;
}


body.mp-theme .mp-topbar-inner {
  width: min(1180px, calc(100% - 56px));
  min-height: 38px;
}
body.mp-theme .mp-topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}


/* Breadcrumbs */
body.mp-theme .cmp_breadcrumbs,
body.mp-theme .cmp_breadcrumbs ol {
  margin: 0 0 18px;
  padding: 0;
}
body.mp-theme .cmp_breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}
body.mp-theme .cmp_breadcrumbs li,
body.mp-theme .cmp_breadcrumbs a {
  color: #778598;
  font-size: 13px;
  text-decoration: none;
}
body.mp-theme .cmp_breadcrumbs a:hover {
  color: var(--mp-primary);
}

/* Shared catalog/search lists: hard reset default OMP summary layout */
body.mp-theme .mp-book-grid,
body.mp-theme .page_catalog .cmp_monographs_list,
body.mp-theme .page_search .cmp_monographs_list,
body.mp-theme .page_catalog_category .cmp_monographs_list,
body.mp-theme .page_catalog_series .cmp_monographs_list,
body.mp-theme .page_catalog_new_releases .cmp_monographs_list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
  margin: 0;
}
body.mp-theme .cmp_monographs_list > .title {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding: 0;
  color: var(--mp-primary);
  font: 700 27px/1.2 Georgia, serif;
}
body.mp-theme .page_catalog .cmp_monographs_list > .title:empty,
body.mp-theme .page_search .cmp_monographs_list > .title:empty {
  display: none;
}
body.mp-theme .page_catalog .cmp_monographs_list .row,
body.mp-theme .page_search .cmp_monographs_list .row,
body.mp-theme .page_catalog_category .cmp_monographs_list .row,
body.mp-theme .page_catalog_series .cmp_monographs_list .row,
body.mp-theme .page_catalog_new_releases .cmp_monographs_list .row {
  display: contents !important;
}
body.mp-theme .mp-book-grid > .obj_monograph_summary,
body.mp-theme .page_catalog .obj_monograph_summary,
body.mp-theme .page_search .obj_monograph_summary,
body.mp-theme .page_catalog_category .obj_monograph_summary,
body.mp-theme .page_catalog_series .obj_monograph_summary,
body.mp-theme .page_catalog_new_releases .obj_monograph_summary {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e7ecf1;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 7px 24px rgba(16,35,61,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.mp-theme .mp-book-grid > .obj_monograph_summary:hover,
body.mp-theme .page_catalog .obj_monograph_summary:hover,
body.mp-theme .page_search .obj_monograph_summary:hover,
body.mp-theme .page_catalog_category .obj_monograph_summary:hover,
body.mp-theme .page_catalog_series .obj_monograph_summary:hover,
body.mp-theme .page_catalog_new_releases .obj_monograph_summary:hover {
  transform: translateY(-4px);
  border-color: #dce4eb;
  box-shadow: 0 16px 36px rgba(16,35,61,.105);
}
body.mp-theme .mp-book-grid .obj_monograph_summary .cover,
body.mp-theme .page_catalog .obj_monograph_summary .cover,
body.mp-theme .page_search .obj_monograph_summary .cover,
body.mp-theme .page_catalog_category .obj_monograph_summary .cover,
body.mp-theme .page_catalog_series .obj_monograph_summary .cover,
body.mp-theme .page_catalog_new_releases .obj_monograph_summary .cover {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  height: 300px !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  background: linear-gradient(135deg,#f2f5f8,#fbfcfd);
  overflow: hidden;
}
body.mp-theme .mp-book-grid .obj_monograph_summary .cover img,
body.mp-theme .page_catalog .obj_monograph_summary .cover img,
body.mp-theme .page_search .obj_monograph_summary .cover img,
body.mp-theme .page_catalog_category .obj_monograph_summary .cover img,
body.mp-theme .page_catalog_series .obj_monograph_summary .cover img,
body.mp-theme .page_catalog_new_releases .obj_monograph_summary .cover img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(17,36,58,.16);
}
body.mp-theme .obj_monograph_summary .mp-book-meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  padding: 17px 18px 16px;
}
body.mp-theme .mp-book-grid .obj_monograph_summary > .title,
body.mp-theme .mp-book-grid .obj_monograph_summary > .author,
body.mp-theme .mp-book-grid .obj_monograph_summary > .date,
body.mp-theme .page_catalog .obj_monograph_summary:not(.mp-book-card) > .title,
body.mp-theme .page_catalog .obj_monograph_summary:not(.mp-book-card) > .author,
body.mp-theme .page_catalog .obj_monograph_summary:not(.mp-book-card) > .date,
body.mp-theme .page_search .obj_monograph_summary:not(.mp-book-card) > .title,
body.mp-theme .page_search .obj_monograph_summary:not(.mp-book-card) > .author,
body.mp-theme .page_search .obj_monograph_summary:not(.mp-book-card) > .date,
body.mp-theme .page_catalog_category .obj_monograph_summary:not(.mp-book-card) > .title,
body.mp-theme .page_catalog_category .obj_monograph_summary:not(.mp-book-card) > .author,
body.mp-theme .page_catalog_category .obj_monograph_summary:not(.mp-book-card) > .date,
body.mp-theme .page_catalog_series .obj_monograph_summary:not(.mp-book-card) > .title,
body.mp-theme .page_catalog_series .obj_monograph_summary:not(.mp-book-card) > .author,
body.mp-theme .page_catalog_series .obj_monograph_summary:not(.mp-book-card) > .date {
  width: auto !important;
  max-width: none !important;
  margin-left: 18px !important;
  margin-right: 18px !important;
}
body.mp-theme .obj_monograph_summary .title {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  color: var(--mp-ink);
  font: 700 17px/1.36 Georgia, serif !important;
  overflow-wrap: anywhere;
}
body.mp-theme .obj_monograph_summary .title a {
  color: var(--mp-ink) !important;
  text-decoration: none;
}
body.mp-theme .obj_monograph_summary .title a:hover {
  color: var(--mp-primary) !important;
}
body.mp-theme .obj_monograph_summary .author {
  color: #657488 !important;
  font-size: 12.5px !important;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.mp-theme .obj_monograph_summary:not(.mp-book-card) > .author {
  min-height: 40px;
}
body.mp-theme .obj_monograph_summary:not(.mp-book-card) > .date {
  margin-top: auto !important;
  margin-bottom: 16px !important;
  padding-top: 13px;
  border-top: 1px solid #eef1f4;
  color: #8792a0 !important;
  font-size: 11px !important;
}
body.mp-theme .obj_monograph_summary .mp-book-bottom {
  margin-top: auto;
}

/* Catalog headings, counts and series */
body.mp-theme .monograph_count {
  margin: -52px 0 28px auto;
  width: max-content;
  padding: 7px 12px;
  border: 1px solid #e4e9ef;
  border-radius: 999px;
  background: #f8fafc;
  color: #69798c;
  font-size: 12px;
}
body.mp-theme .pkp_series_nav_menu,
body.mp-theme .subcategories,
body.mp-theme .about_section {
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid #e7ecf1;
  border-radius: 14px;
  background: #fafbfd;
}
body.mp-theme .pkp_series_nav_menu h2,
body.mp-theme .subcategories h2 {
  margin: 0 0 10px;
  color: var(--mp-primary);
  font: 700 18px/1.3 Georgia, serif;
}
body.mp-theme .pkp_series_nav_menu ul,
body.mp-theme .subcategories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.mp-theme .pkp_series_nav_menu li,
body.mp-theme .subcategories li {
  margin: 0;
}
body.mp-theme .pkp_series_nav_menu a,
body.mp-theme .subcategories a {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #dce4ec;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  text-decoration: none;
}
body.mp-theme .about_section.has_image {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: start;
}

/* Search */
body.mp-theme .page_search .search_results {
  margin: 0 0 22px;
  padding: 14px 17px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background: #f7fafc;
  color: #4c5e72;
}
body.mp-theme .page_search .cmp_form,
body.mp-theme .page_search form {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid #e3e9ef;
  border-radius: 14px;
  background: #fafbfd;
}
body.mp-theme .page_search input[type="text"],
body.mp-theme .page_search input[type="search"] {
  width: min(100%, 720px);
}

/* Forms: Login, register, password recovery and public forms */
body.mp-theme .page_login,
body.mp-theme .page_lost_password,
body.mp-theme .page_reset_password {
  max-width: 720px !important;
}
body.mp-theme .page_register {
  max-width: 900px !important;
}
body.mp-theme .page_login .cmp_form,
body.mp-theme .page_register .cmp_form,
body.mp-theme .page_lost_password .cmp_form,
body.mp-theme .page_reset_password .cmp_form,
body.mp-theme .page .cmp_form {
  border-radius: 15px;
}
body.mp-theme .page_login .cmp_form,
body.mp-theme .page_register .cmp_form,
body.mp-theme .page_lost_password .cmp_form,
body.mp-theme .page_reset_password .cmp_form {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #e3e8ee;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16,35,61,.07);
}
body.mp-theme .cmp_form fieldset {
  min-width: 0;
  border: 0;
}
body.mp-theme .cmp_form .fields > div,
body.mp-theme .cmp_form .field,
body.mp-theme .cmp_form .form-group {
  margin-bottom: 18px;
}
body.mp-theme .cmp_form label,
body.mp-theme .cmp_form .label {
  color: #24364b;
  font-size: 13px;
  font-weight: 650;
}
body.mp-theme input[type="text"],
body.mp-theme input[type="email"],
body.mp-theme input[type="password"],
body.mp-theme input[type="url"],
body.mp-theme input[type="search"],
body.mp-theme input[type="tel"],
body.mp-theme textarea,
body.mp-theme select {
  box-sizing: border-box;
  width: 100%;
  min-height: 43px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #cbd5df !important;
  border-radius: 8px !important;
  background: #fff;
  color: #1e2d40;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.mp-theme textarea {
  min-height: 120px;
  resize: vertical;
}
body.mp-theme input:focus,
body.mp-theme textarea:focus,
body.mp-theme select:focus {
  border-color: #7da1c4 !important;
  box-shadow: 0 0 0 3px rgba(6,43,85,.08);
}
body.mp-theme input[type="checkbox"],
body.mp-theme input[type="radio"] {
  width: auto;
  min-height: 0;
  margin: 0 7px 0 0;
}
body.mp-theme .cmp_button,
body.mp-theme button.submit,
body.mp-theme button[type="submit"],
body.mp-theme input[type="submit"] {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--mp-primary) !important;
  border-radius: 8px !important;
  background: var(--mp-primary) !important;
  color: #fff !important;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 7px 17px rgba(6,43,85,.14);
}
body.mp-theme .cmp_button:hover,
body.mp-theme button.submit:hover,
body.mp-theme button[type="submit"]:hover,
body.mp-theme input[type="submit"]:hover {
  filter: brightness(.94);
}
body.mp-theme .page_login .buttons,
body.mp-theme .page_register .buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
body.mp-theme .page_login .register {
  font-weight: 650;
}

/* Notifications */
body.mp-theme .cmp_notification,
body.mp-theme .pkp_form_error {
  margin: 18px 0 24px;
  padding: 16px 18px;
  border: 1px solid #d9e5ef;
  border-left: 4px solid var(--mp-primary);
  border-radius: 10px;
  background: #f7fafc;
  color: #405267;
}
body.mp-theme .cmp_notification.notice {
  border-left-color: var(--mp-accent);
  background: #fffaf1;
}

/* Submission / About / static content */
body.mp-theme .page_submissions > .author_guidelines,
body.mp-theme .page_submissions > .submission_checklist,
body.mp-theme .page_submissions > .copyright_notice,
body.mp-theme .page_submissions > .privacy_statement,
body.mp-theme .page_about > section,
body.mp-theme .page_about > div:not(.cmp_breadcrumbs),
body.mp-theme .page_contact > section,
body.mp-theme .page_contact > div:not(.cmp_breadcrumbs),
body.mp-theme .page_static > section,
body.mp-theme .page_static > div:not(.cmp_breadcrumbs) {
  margin: 0 0 22px;
  padding: 24px 26px;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  background: #fff;
}
body.mp-theme .page_submissions h2,
body.mp-theme .page_about h2,
body.mp-theme .page_contact h2,
body.mp-theme .page_static h2 {
  color: var(--mp-primary);
  font: 700 24px/1.25 Georgia, serif;
}
body.mp-theme .page_submissions .submission_checklist ul,
body.mp-theme .page_submissions .submission_checklist ol {
  padding-left: 22px;
}
body.mp-theme .page_submissions .submission_checklist li {
  margin: 9px 0;
}

/* Book detail */
body.mp-theme .page_book {
  width: min(1180px, calc(100% - 56px));
  max-width: 1180px;
}
body.mp-theme .obj_monograph_full {
  width: 100%;
}
body.mp-theme .obj_monograph_full > .title {
  max-width: 980px;
  margin: 0 0 30px;
  color: var(--mp-primary);
  font: 700 clamp(34px, 4vw, 48px)/1.12 Georgia, serif;
  letter-spacing: -.02em;
}
body.mp-theme .obj_monograph_full > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px;
  align-items: start;
  margin: 0 !important;
}
body.mp-theme .obj_monograph_full .main_entry,
body.mp-theme .obj_monograph_full .entry_details {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.mp-theme .obj_monograph_full .main_entry > .item {
  margin: 0 0 28px;
  padding: 0 0 27px;
  border-bottom: 1px solid #e8edf2;
}
body.mp-theme .obj_monograph_full .main_entry > .item:last-child {
  border-bottom: 0;
}
body.mp-theme .obj_monograph_full .item > .label,
body.mp-theme .obj_monograph_full .sub_item > .label,
body.mp-theme .obj_monograph_full .main_entry h2.label {
  display: block;
  margin: 0 0 10px;
  color: var(--mp-primary);
  font: 700 20px/1.3 Georgia, serif;
}
body.mp-theme .obj_monograph_full .main_entry .value {
  color: #405064;
  font-size: 15px;
  line-height: 1.75;
}
body.mp-theme .obj_monograph_full .authors {
  margin-bottom: 20px;
  color: #435469;
  font-size: 16px;
}
body.mp-theme .obj_monograph_full .authors .name {
  font-weight: 700;
}
body.mp-theme .obj_monograph_full .entry_details {
  position: sticky;
  top: 22px;
  padding: 20px !important;
  border: 1px solid #e4e9ef;
  border-radius: 16px;
  background: #fafbfd;
}
body.mp-theme .obj_monograph_full .entry_details > .item {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid #e7ebef;
}
body.mp-theme .obj_monograph_full .entry_details > .item:first-child {
  padding-top: 0;
}
body.mp-theme .obj_monograph_full .entry_details > .item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
body.mp-theme .obj_monograph_full .entry_details .cover {
  text-align: center;
}
body.mp-theme .obj_monograph_full .entry_details .cover img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 430px;
  margin: 0 auto;
  border-radius: 5px;
  box-shadow: 0 14px 32px rgba(16,35,61,.16);
}
body.mp-theme .obj_monograph_full .entry_details .label {
  margin-bottom: 6px;
  color: #24364b;
  font: 700 12px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.mp-theme .obj_monograph_full .entry_details .value {
  color: #56667a;
  font-size: 12.5px;
  line-height: 1.6;
}
body.mp-theme .obj_monograph_full .entry_details ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* v1.3.3: wide book description column; cover-only right column */
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .main_entry {
  min-width: 0;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .main_entry > .authors,
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .main_entry > .item {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .main_entry > .authors {
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid #e8edf2;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .main_entry .abstract .value,
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .main_entry .description .value {
  max-width: 800px;
  color: #33465b;
  font-size: 16px;
  line-height: 1.85;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .entry_details {
  padding: 24px !important;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .entry_details > :not(.cover) {
  display: none !important;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged .entry_details > .cover {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.mp-theme .obj_monograph_full .chapters ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.mp-theme .obj_monograph_full .chapters li {
  margin: 0 0 12px;
  padding: 15px 17px;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  background: #fafbfd;
}
body.mp-theme .obj_monograph_full .chapters li .title {
  font: 700 15px/1.4 Georgia, serif;
}
body.mp-theme .obj_monograph_full .files a,
body.mp-theme .obj_monograph_full .cmp_download_link,
body.mp-theme .obj_monograph_full a.cmp_download_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px 5px 5px 0;
  padding: 9px 12px;
  border: 1px solid var(--mp-primary);
  border-radius: 7px;
  background: var(--mp-primary);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
body.mp-theme .obj_monograph_full .keywords .value {
  color: #667689;
}
body.mp-theme .obj_monograph_full .references .value {
  font-size: 13px;
}

/* Tables and misc content */
body.mp-theme table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
body.mp-theme th,
body.mp-theme td {
  padding: 11px 12px;
  border: 1px solid #e2e7ec;
  text-align: left;
  vertical-align: top;
}
body.mp-theme th {
  background: #f5f7fa;
  color: #24364b;
  font-weight: 700;
}
body.mp-theme blockquote {
  margin: 22px 0;
  padding: 15px 20px;
  border-left: 4px solid var(--mp-accent);
  background: #fbf8f2;
  color: #526174;
}

/* Pagination */
body.mp-theme .cmp_pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e7ebef;
  color: #667689;
  font-size: 13px;
}
body.mp-theme .cmp_pagination a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #d9e1e9;
  border-radius: 7px;
  background: #fff;
  text-decoration: none;
}
body.mp-theme .cmp_pagination a:hover {
  border-color: var(--mp-primary);
  background: var(--mp-primary);
  color: #fff;
}

/* Footer refinement */
body.mp-theme .mp-footer {
  margin-top: 0;
}
body.mp-theme .mp-footer-grid {
  width: min(1180px, calc(100% - 56px));
}
body.mp-theme .mp-footer-col a {
  width: fit-content;
}

/* Tablet */
@media (max-width: 1100px) {


  body.mp-theme .mp-book-grid,
  body.mp-theme .page_catalog .cmp_monographs_list,
  body.mp-theme .page_search .cmp_monographs_list,
  body.mp-theme .page_catalog_category .cmp_monographs_list,
  body.mp-theme .page_catalog_series .cmp_monographs_list,
  body.mp-theme .page_catalog_new_releases .cmp_monographs_list {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

/* Mobile navigation */
@media (max-width: 980px) {


  body.mp-theme .obj_monograph_full > .row {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  body.mp-theme .obj_monograph_full .entry_details {
    position: static;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 0 24px;
  }
  body.mp-theme .obj_monograph_full .entry_details > .cover {
    grid-row: 1 / span 8;
    padding-right: 20px;
    border-right: 1px solid #e7ebef;
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  body.mp-theme .mp-book-grid,
  body.mp-theme .page_catalog .cmp_monographs_list,
  body.mp-theme .page_search .cmp_monographs_list,
  body.mp-theme .page_catalog_category .cmp_monographs_list,
  body.mp-theme .page_catalog_series .cmp_monographs_list,
  body.mp-theme .page_catalog_new_releases .cmp_monographs_list {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
  }
  body.mp-theme .mp-book-grid .obj_monograph_summary .cover,
  body.mp-theme .page_catalog .obj_monograph_summary .cover,
  body.mp-theme .page_search .obj_monograph_summary .cover,
  body.mp-theme .page_catalog_category .obj_monograph_summary .cover,
  body.mp-theme .page_catalog_series .obj_monograph_summary .cover,
  body.mp-theme .page_catalog_new_releases .obj_monograph_summary .cover {
    height: 260px !important;
  }
  body.mp-theme .monograph_count {
    margin: -12px 0 24px;
  }
  body.mp-theme .about_section.has_image {
    grid-template-columns: 1fr;
  }
  body.mp-theme .obj_monograph_full .entry_details {
    display: block;
  }
  body.mp-theme .obj_monograph_full .entry_details > .cover {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid #e7ebef;
  }
}

@media (max-width: 520px) {

  body.mp-theme .mp-topbar-contact {
    gap: 4px;
  }
  body.mp-theme .mp-topbar-contact a {
    font-size: 11px;
  }

  body.mp-theme .mp-book-grid,
  body.mp-theme .page_catalog .cmp_monographs_list,
  body.mp-theme .page_search .cmp_monographs_list,
  body.mp-theme .page_catalog_category .cmp_monographs_list,
  body.mp-theme .page_catalog_series .cmp_monographs_list,
  body.mp-theme .page_catalog_new_releases .cmp_monographs_list {
    grid-template-columns: 1fr;
  }
  body.mp-theme .mp-book-grid .obj_monograph_summary .cover,
  body.mp-theme .page_catalog .obj_monograph_summary .cover,
  body.mp-theme .page_search .obj_monograph_summary .cover,
  body.mp-theme .page_catalog_category .obj_monograph_summary .cover,
  body.mp-theme .page_catalog_series .obj_monograph_summary .cover,
  body.mp-theme .page_catalog_new_releases .obj_monograph_summary .cover {
    height: 320px !important;
  }
  body.mp-theme .page_login .cmp_form,
  body.mp-theme .page_register .cmp_form,
  body.mp-theme .page_lost_password .cmp_form,
  body.mp-theme .page_reset_password .cmp_form {
    padding: 20px;
  }


}

body.mp-theme .mp-page-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
body.mp-theme .mp-page-heading-row h1 {
  margin: 4px 0 0 !important;
}
body.mp-theme .mp-page-heading-row .monograph_count {
  flex: 0 0 auto;
  width: auto;
  margin: 0 0 5px !important;
}
body.mp-theme .mp-empty-state {
  padding: 50px 28px;
  border: 1px dashed #ccd7e1;
  border-radius: 16px;
  background: #fafbfd;
  text-align: center;
}
body.mp-theme .mp-empty-state .fa {
  color: var(--mp-accent);
  font-size: 38px;
}
body.mp-theme .mp-empty-state h2 {
  margin: 14px 0 7px;
  color: var(--mp-primary);
  font: 700 24px/1.25 Georgia, serif;
}
body.mp-theme .mp-search-form-card {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid #e3e9ef;
  border-radius: 14px;
  background: #fafbfd;
}
body.mp-theme .mp-search-form-card form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
@media (max-width: 720px) {
  body.mp-theme .mp-page-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  body.mp-theme .mp-page-heading-row .monograph_count {
    margin: 0 !important;
  }
}

/* ================================================================
   v1.2 Layout isolation
   Header and catalog cards intentionally avoid native Default Theme
   layout classes to prevent inherited OMP rules from collapsing them.
   ================================================================ */

body.mp-theme { overflow-x: hidden; }
body.mp-theme .mp-shell {
  width: min(1280px, calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.mp-theme .mp-topbar { width: 100%; }
body.mp-theme .mp-topbar-inner {
  width: min(1280px, calc(100% - 64px));
  min-height: 36px;
  margin: 0 auto;
  padding: 0;
}


body.mp-theme .mp-brand-link {
  display: inline-flex;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--mp-primary);
  text-decoration: none !important;
}
body.mp-theme .mp-brand-logo {
  display: block;
  width: auto;
  max-width: 245px;
  max-height: 62px;
  height: auto;
  object-fit: contain;
}
body.mp-theme .mp-brand-name {
  display: block;
  color: var(--mp-primary);
  font: 700 28px/1.05 Georgia, "Times New Roman", serif;
  white-space: nowrap;
}


body.mp-theme .mp-user-list {
  display: flex !important;
  align-items: center;
  gap: 2px;
}
body.mp-theme .mp-user-list > li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}
body.mp-theme .mp-user-list > li > a {
  display: block !important;
  padding: 10px 7px !important;
  color: #17263a !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
body.mp-theme .mp-user-list ul {
  position: absolute;
  z-index: 120;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 190px;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid #e1e7ed !important;
  border-radius: 10px;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(16,35,61,.13) !important;
}
body.mp-theme .mp-user-list ul a {
  display: block !important;
  padding: 9px 11px !important;
  color: var(--mp-ink) !important;
  text-decoration: none !important;
}


/* Page width: slightly wider, less wasted whitespace */
body.mp-theme .page:not(.mp-home),
body.mp-theme .page_book {
  width: min(1280px, calc(100% - 64px)) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* Isolated book cards */
body.mp-theme .mp-catalog-grid,
body.mp-theme .mp-search-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 270px)) !important;
  justify-content: start;
  align-items: stretch;
  gap: 26px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.mp-theme .mp-monograph-list { width: 100%; margin: 0; padding: 0; }
body.mp-theme .mp-list-title {
  margin: 0 0 22px;
  color: var(--mp-primary);
  font: 700 28px/1.2 Georgia,serif;
}
body.mp-theme .mp-home .mp-book-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}
body.mp-theme .mp-book-card {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 270px !important;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #e4eaf0 !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 7px 22px rgba(16,35,61,.06) !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
body.mp-theme .mp-home .mp-book-card { max-width: none !important; }
body.mp-theme .mp-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 34px rgba(16,35,61,.11) !important;
}
body.mp-theme .mp-book-cover {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 300px !important;
  margin: 0 !important;
  padding: 20px !important;
  overflow: hidden;
  background: linear-gradient(135deg,#f1f4f7,#fafbfd) !important;
  border: 0 !important;
}
body.mp-theme .mp-book-cover img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  box-shadow: 0 10px 24px rgba(17,36,58,.15);
}
body.mp-theme .mp-book-meta {
  box-sizing: border-box;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100% !important;
  min-width: 0;
  padding: 17px 18px 16px !important;
}
body.mp-theme .mp-series-position {
  margin: 0 0 7px;
  color: var(--mp-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.mp-theme .mp-book-title {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--mp-ink) !important;
  font: 700 17px/1.35 Georgia,serif !important;
  overflow-wrap: break-word;
  word-break: normal;
}
body.mp-theme .mp-book-title a {
  display: block;
  color: var(--mp-ink) !important;
  text-decoration: none !important;
  overflow-wrap: break-word;
  word-break: normal;
}
body.mp-theme .mp-book-author {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  color: #69788a !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  overflow-wrap: break-word;
  word-break: normal;
}
body.mp-theme .mp-book-bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid #edf1f4;
}
body.mp-theme .mp-book-date {
  color: #8792a0;
  font-size: 11px;
}
body.mp-theme .mp-book-link {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 7px 10px !important;
  border: 1px solid #bdd0e2 !important;
  border-radius: 7px;
  color: var(--mp-primary) !important;
  background: #fff !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  text-align: center;
  text-decoration: none !important;
}
body.mp-theme .mp-book-link:hover {
  border-color: var(--mp-primary) !important;
  background: var(--mp-primary) !important;
  color: #fff !important;
}

/* Desktop widths between 981 and 1220: compact nav before switching mobile */
@media (max-width: 1220px) and (min-width: 981px) {
  body.mp-theme .mp-shell,
  body.mp-theme .mp-topbar-inner,
  body.mp-theme .page:not(.mp-home),
  body.mp-theme .page_book { width: min(100% - 40px, 1280px) !important; }

  body.mp-theme .mp-brand-name { font-size: 25px; }


}

/* Mobile header completely controlled by Media Prima classes */
@media (max-width: 980px) {
  body.mp-theme .mp-shell,
  body.mp-theme .mp-topbar-inner,
  body.mp-theme .page:not(.mp-home),
  body.mp-theme .page_book { width: min(100% - 36px, 1280px) !important; }


  body.mp-theme .mp-user-list { flex-wrap: wrap; }

  body.mp-theme .mp-catalog-grid,
  body.mp-theme .mp-search-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }
  body.mp-theme .mp-book-card { max-width: none !important; }
}

@media (max-width: 620px) {
  body.mp-theme .mp-shell,
  body.mp-theme .mp-topbar-inner,
  body.mp-theme .page:not(.mp-home),
  body.mp-theme .page_book { width: min(100% - 26px, 1280px) !important; }
  body.mp-theme .mp-brand-logo { max-width: 205px; max-height: 52px; }
  body.mp-theme .mp-brand-name { font-size: 24px; }
  body.mp-theme .mp-catalog-grid,
  body.mp-theme .mp-search-grid { grid-template-columns: 1fr !important; }
  body.mp-theme .mp-book-card { max-width: 100% !important; }
  body.mp-theme .mp-book-cover { height: 330px !important; }
  body.mp-theme .mp-home .mp-book-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}


/* ================================================================
   v1.3 Catalog: fixed three-column desktop layout
   ================================================================ */
body.mp-theme .mp-catalog-page { max-width: 1280px !important; }
body.mp-theme .mp-catalog-grid,
body.mp-theme .mp-search-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: stretch !important;
  align-items: stretch !important;
}
body.mp-theme .mp-catalog-grid .mp-book-card,
body.mp-theme .mp-search-grid .mp-book-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
body.mp-theme .mp-catalog-grid .mp-book-cover,
body.mp-theme .mp-search-grid .mp-book-cover {
  height: 390px !important;
  padding: 24px !important;
}
body.mp-theme .mp-catalog-grid .mp-book-meta,
body.mp-theme .mp-search-grid .mp-book-meta {
  padding: 22px 24px 20px !important;
}
body.mp-theme .mp-catalog-grid .mp-book-title,
body.mp-theme .mp-search-grid .mp-book-title {
  font-size: 20px !important;
  line-height: 1.38 !important;
}
body.mp-theme .mp-catalog-grid .mp-book-author,
body.mp-theme .mp-search-grid .mp-book-author {
  font-size: 13.5px !important;
}
body.mp-theme .mp-catalog-grid .mp-book-link,
body.mp-theme .mp-search-grid .mp-book-link {
  min-width: 96px !important;
  padding: 8px 13px !important;
  font-size: 12px !important;
}
@media (max-width: 980px) {
  body.mp-theme .mp-catalog-grid,
  body.mp-theme .mp-search-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; max-width: none !important; gap: 24px !important; }
  body.mp-theme .mp-catalog-grid .mp-book-cover,
  body.mp-theme .mp-search-grid .mp-book-cover { height: 340px !important; }
}
@media (max-width: 620px) {
  body.mp-theme .mp-catalog-grid,
  body.mp-theme .mp-search-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  body.mp-theme .mp-catalog-grid .mp-book-cover,
  body.mp-theme .mp-search-grid .mp-book-cover { height: 360px !important; }
}


/* ================================================================
   v1.3.1 Header critical layout (moved out of Smarty template)
   ================================================================ */
body.mp-theme .mp13-shell{width:min(1280px,calc(100% - 64px))!important;margin:0 auto!important;box-sizing:border-box!important}


@media(max-width:1120px){
 body.mp-theme .mp13-shell{width:min(100% - 40px,1280px)!important}


}
@media(max-width:920px){


}

/* ================================================================
   v1.4.0 Approved book-detail composition
   ================================================================ */
body.mp-theme .page_book {
  width: min(1240px, calc(100% - 56px)) !important;
  max-width: 1240px !important;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged > .mp-detail-box {
  overflow: hidden;
  margin: 34px 0 40px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15,39,67,.07);
}
body.mp-theme .mp-detail-top {
  display: grid;
  grid-template-columns: minmax(0,68%) minmax(260px,32%);
  min-height: 440px;
}
body.mp-theme .mp-detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 48px 52px;
}
body.mp-theme .obj_monograph_full .mp-detail-info > .title {
  max-width: none;
  margin: 0 0 25px;
  color: var(--mp-primary);
  font: 700 clamp(34px,3.7vw,50px)/1.12 Georgia,"Times New Roman",serif;
  letter-spacing: -.025em;
}
body.mp-theme .mp-detail-info > .authors {
  margin: 0 0 27px;
  padding: 0;
  border: 0;
  color: #253950;
  font-size: 17px;
  line-height: 1.55;
}
body.mp-theme .mp-detail-info > .keywords {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
}
body.mp-theme .mp-detail-info > .keywords .label {
  display: inline;
  margin: 0 12px 0 0;
  color: #607086;
  font: 700 13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.mp-theme .mp-detail-info > .keywords .value {
  color: #34475d;
  font-size: 14px;
  line-height: 1.65;
}
body.mp-theme .mp-detail-metadata {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 9px 17px;
  margin: 0;
  color: #34475d;
  font-size: 14px;
  line-height: 1.55;
}
body.mp-theme .mp-detail-metadata dt { color: #6a788a; }
body.mp-theme .mp-detail-metadata dd { margin: 0; font-weight: 600; }
body.mp-theme .mp-detail-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 38px;
  border-left: 1px solid #dfe5ec;
  background: linear-gradient(145deg,#f2f5f8,#fafbfd);
}
body.mp-theme .obj_monograph_full .mp-detail-cover > .cover {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
}
body.mp-theme .obj_monograph_full .mp-detail-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 520px !important;
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 18px 36px rgba(13,36,61,.22);
}
body.mp-theme .mp-detail-synopsis {
  padding: 40px 52px 46px;
  border-top: 1px solid #dfe5ec;
}
body.mp-theme .mp-detail-synopsis > .abstract {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.mp-theme .mp-detail-synopsis .label {
  display: block;
  margin: 0 0 16px;
  color: var(--mp-primary);
  font: 700 26px/1.25 Georgia,"Times New Roman",serif;
}
body.mp-theme .mp-detail-synopsis .value {
  max-width: 1000px;
  color: #34475b;
  font-size: 16px;
  line-height: 1.85;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged > .row {
  display: block !important;
  margin-top: 0 !important;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged > .row .main_entry,
body.mp-theme .obj_monograph_full.mp-book-detail-arranged > .row .entry_details {
  width: 100% !important;
  position: static !important;
}
body.mp-theme .obj_monograph_full.mp-book-detail-arranged > .row .entry_details:empty,
body.mp-theme .obj_monograph_full.mp-book-detail-arranged > .row .main_entry:empty { display:none !important; }


@media (max-width: 920px) {
  body.mp-theme .page_book { width: min(100% - 36px,1240px) !important; }
  body.mp-theme .mp-detail-top { grid-template-columns: minmax(0,62%) minmax(235px,38%); }
  body.mp-theme .mp-detail-info { padding: 38px 34px; }
  body.mp-theme .obj_monograph_full .mp-detail-info > .title { font-size: 35px; }
  body.mp-theme .mp-detail-cover { padding: 30px; }
  body.mp-theme .mp-detail-synopsis { padding: 34px 34px 39px; }
}
@media (max-width: 680px) {
  body.mp-theme .page_book { width: min(100% - 24px,1240px) !important; }
  body.mp-theme .obj_monograph_full.mp-book-detail-arranged > .mp-detail-box { margin-top: 22px; }
  body.mp-theme .mp-detail-top { grid-template-columns: 1fr; }
  body.mp-theme .mp-detail-info { padding: 30px 25px; }
  body.mp-theme .obj_monograph_full .mp-detail-info > .title { font-size: 30px; }
  body.mp-theme .mp-detail-cover { padding: 30px; border-top: 1px solid #dfe5ec; border-left: 0; }
  body.mp-theme .obj_monograph_full .mp-detail-cover img { height: 350px !important; max-height: 350px; }
  body.mp-theme .mp-detail-synopsis { padding: 29px 25px 34px; }
}

/* ================================================================
   Media Prima v1.5.1 — conservative header refinement
   IMPORTANT: visual styling only. Menu structure remains native OMP.
   ================================================================ */

/* Contact strip: slim, understated, and separate from navigation */
body.mp-theme .mp-topbar {
  background: #041a33;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
}
body.mp-theme .mp-topbar-inner {
  width: min(1280px, calc(100% - 64px));
  min-height: 38px;
  padding: 0;
}
body.mp-theme .mp-topbar-contact {
  gap: 22px;
}
body.mp-theme .mp-topbar-contact a,
body.mp-theme .mp-topbar-social,
body.mp-theme .mp-topbar-social a {
  color: rgba(255,255,255,.86) !important;
  font-size: 12px;
  letter-spacing: .01em;
}
body.mp-theme .mp-topbar .fa {
  color: #d9a94e;
}

/* Native OMP header — only visual treatment */
body.mp-theme .pkp_structure_head {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,.035), transparent 33%),
    linear-gradient(180deg, #0a315b 0%, #08294d 100%);
  border-bottom: 2px solid #c98a25;
  box-shadow: 0 8px 24px rgba(4,26,51,.10);
}
body.mp-theme .pkp_structure_head:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(120deg, transparent 0 72%, rgba(255,255,255,.025) 72% 73%, transparent 73%),
    linear-gradient(60deg, transparent 0 80%, rgba(201,138,37,.035) 80% 81%, transparent 81%);
}
body.mp-theme .pkp_head_wrapper {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 64px));
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 22px;
  padding-bottom: 18px;
  box-sizing: border-box;
}

/* Press identity: stronger but still OMP's native site-name block */
body.mp-theme .pkp_site_name_wrapper {
  padding: 0;
  margin: 0 0 10px;
}
body.mp-theme .pkp_site_name {
  line-height: 1;
}
body.mp-theme .pkp_site_name .is_text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 0;
  color: #fff !important;
  font: 700 clamp(27px, 2.6vw, 35px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: .015em;
  text-decoration: none !important;
}
body.mp-theme .pkp_site_name .is_text:after {
  content: "PENERBIT AKADEMIK & PENGETAHUAN";
  color: #d9a94e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.2;
}
body.mp-theme .pkp_site_name .is_img {
  display: inline-block;
  padding: 0;
}
body.mp-theme .pkp_site_name .is_img img {
  width: auto;
  height: auto;
  max-width: 330px;
  max-height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.14));
}

/* Keep OMP's menu hierarchy; only make it visually coherent */
body.mp-theme .pkp_site_nav_menu {
  color: #fff;
}
body.mp-theme .pkp_navigation_primary_row {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 12px;
  padding-top: 8px;
}
body.mp-theme .pkp_navigation_primary_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
body.mp-theme .pkp_navigation_primary {
  margin: 0;
  padding: 0;
}
body.mp-theme .pkp_navigation_primary > li > a,
body.mp-theme .pkp_navigation_primary > li > button {
  color: rgba(255,255,255,.90) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
body.mp-theme .pkp_navigation_primary > li > a:hover,
body.mp-theme .pkp_navigation_primary > li > a:focus,
body.mp-theme .pkp_navigation_primary > li > button:hover,
body.mp-theme .pkp_navigation_primary > li > button:focus {
  color: #f0bd62 !important;
}

/* OMP native search, visually lighter */
body.mp-theme .pkp_navigation_search_wrapper {
  flex: 0 0 auto;
}
body.mp-theme .pkp_search {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 999px;
  background: rgba(0,0,0,.10) !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 13px;
  text-decoration: none !important;
}
body.mp-theme .pkp_search .fa {
  color: #d9a94e;
}
body.mp-theme .pkp_search:hover,
body.mp-theme .pkp_search:focus {
  background: rgba(255,255,255,.07) !important;
  color: #fff !important;
}

/* Native OMP user menu stays in its own standard position */
body.mp-theme .pkp_navigation_user_wrapper {
  top: 10px;
  right: 0;
}
body.mp-theme .pkp_navigation_user > li > a,
body.mp-theme .pkp_navigation_user > li > button {
  color: rgba(255,255,255,.78) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 12px;
  text-decoration: none !important;
}
body.mp-theme .pkp_navigation_user > li > a:hover,
body.mp-theme .pkp_navigation_user > li > a:focus,
body.mp-theme .pkp_navigation_user > li > button:hover,
body.mp-theme .pkp_navigation_user > li > button:focus {
  color: #fff !important;
}

/* Native dropdown panels remain standard; improve contrast only */
body.mp-theme .pkp_navigation_primary ul,
body.mp-theme .pkp_navigation_user ul {
  border: 1px solid #e3e8ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(7,31,59,.14);
}
body.mp-theme .pkp_navigation_primary ul a,
body.mp-theme .pkp_navigation_user ul a {
  color: #213247 !important;
  background: #fff !important;
}
body.mp-theme .pkp_navigation_primary ul a:hover,
body.mp-theme .pkp_navigation_user ul a:hover {
  color: #062b55 !important;
  background: #f5f7fa !important;
}

/* Mobile: hand layout control back to OMP */
@media (max-width: 980px) {
  body.mp-theme .pkp_head_wrapper,
  body.mp-theme .mp-topbar-inner {
    width: min(100% - 36px, 1280px);
  }
  body.mp-theme .pkp_head_wrapper {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  body.mp-theme .pkp_site_name_wrapper {
    margin-bottom: 0;
  }
  body.mp-theme .pkp_site_name .is_text {
    font-size: 27px;
  }
  body.mp-theme .pkp_site_name .is_text:after {
    font-size: 9px;
    letter-spacing: .13em;
  }
  body.mp-theme .pkp_navigation_primary_row {
    margin-top: 8px;
    padding-top: 8px;
  }
  body.mp-theme .pkp_navigation_primary_wrapper {
    display: block;
  }
  body.mp-theme .pkp_search {
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  body.mp-theme .pkp_head_wrapper,
  body.mp-theme .mp-topbar-inner {
    width: min(100% - 24px, 1280px);
  }
  body.mp-theme .mp-topbar-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 7px 0;
  }
  body.mp-theme .pkp_site_name .is_text {
    font-size: 23px;
  }
  body.mp-theme .pkp_site_name .is_img img {
    max-height: 56px;
    max-width: 240px;
  }
}


/* v1.5.2 detail-page fallback selectors (same layout, less dependent on body class) */
.page_book .obj_monograph_full.mp-book-detail-arranged > .mp-detail-box {
  overflow: hidden;
  margin: 34px 0 40px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15,39,67,.07);
}
.page_book .mp-detail-top {
  display: grid;
  grid-template-columns: minmax(0,68%) minmax(260px,32%);
  min-height: 440px;
}
.page_book .mp-detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 48px 52px;
}
.page_book .obj_monograph_full .mp-detail-info > .title {
  max-width: none;
  margin: 0 0 25px;
  color: var(--mp-primary, #062B55);
  font: 700 clamp(34px,3.7vw,50px)/1.12 Georgia,"Times New Roman",serif;
  letter-spacing: -.025em;
}
.page_book .mp-detail-info > .authors {
  margin: 0 0 27px;
  padding: 0;
  border: 0;
  color: #253950;
  font-size: 17px;
  line-height: 1.55;
}
.page_book .mp-detail-info > .keywords {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
}
.page_book .mp-detail-info > .keywords .label {
  display: inline;
  margin: 0 12px 0 0;
  color: #607086;
  font: 700 13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.page_book .mp-detail-info > .keywords .value {
  color: #34475d;
  font-size: 14px;
  line-height: 1.65;
}
.page_book .mp-detail-metadata {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 9px 17px;
  margin: 0;
  color: #34475d;
  font-size: 14px;
  line-height: 1.55;
}
.page_book .mp-detail-metadata dt { color: #6a788a; }
.page_book .mp-detail-metadata dd { margin: 0; font-weight: 600; }
.page_book .mp-detail-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 38px;
  border-left: 1px solid #dfe5ec;
  background: linear-gradient(145deg,#f2f5f8,#fafbfd);
}
.page_book .obj_monograph_full .mp-detail-cover > .cover {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
}
.page_book .obj_monograph_full .mp-detail-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 520px !important;
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 18px 36px rgba(13,36,61,.22);
}
.page_book .mp-detail-synopsis {
  padding: 40px 52px 46px;
  border-top: 1px solid #dfe5ec;
}
.page_book .mp-detail-synopsis > .abstract,
.page_book .mp-detail-synopsis > .description {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.page_book .mp-detail-synopsis .label {
  display: block;
  margin: 0 0 16px;
  color: var(--mp-primary, #062B55);
  font: 700 26px/1.25 Georgia,"Times New Roman",serif;
}
.page_book .mp-detail-synopsis .value {
  max-width: 1000px;
  color: #34475b;
  font-size: 16px;
  line-height: 1.85;
}
.page_book .obj_monograph_full.mp-book-detail-arranged > .row {
  display: block !important;
  margin-top: 0 !important;
}
.page_book .obj_monograph_full.mp-book-detail-arranged > .row .main_entry,
.page_book .obj_monograph_full.mp-book-detail-arranged > .row .entry_details {
  width: 100% !important;
  position: static !important;
}
.page_book .obj_monograph_full.mp-book-detail-arranged > .row .entry_details:empty,
.page_book .obj_monograph_full.mp-book-detail-arranged > .row .main_entry:empty { display:none !important; }
@media (max-width: 920px) {
  .page_book .mp-detail-top { grid-template-columns: minmax(0,62%) minmax(235px,38%); }
  .page_book .mp-detail-info { padding: 38px 34px; }
  .page_book .obj_monograph_full .mp-detail-info > .title { font-size: 35px; }
  .page_book .mp-detail-cover { padding: 30px; }
  .page_book .mp-detail-synopsis { padding: 34px 34px 39px; }
}
@media (max-width: 680px) {
  .page_book .mp-detail-top { grid-template-columns: 1fr; }
  .page_book .mp-detail-info { padding: 30px 25px; }
  .page_book .obj_monograph_full .mp-detail-info > .title { font-size: 30px; }
  .page_book .mp-detail-cover { padding: 30px; border-top: 1px solid #dfe5ec; border-left: 0; }
  .page_book .obj_monograph_full .mp-detail-cover img { height: 350px !important; max-height: 350px; }
  .page_book .mp-detail-synopsis { padding: 29px 25px 34px; }
}


/* ================================================================
   Media Prima v1.6.0 — approved compact two-tier header
   HEADER ONLY. Native OMP primary/user menu structure is preserved.
   No book-detail, catalog, homepage or publication rules changed here.
   ================================================================ */
@media (min-width: 981px) {
  body.mp-theme .pkp_structure_head {
    min-height: 0;
    background:
      radial-gradient(circle at 78% 12%, rgba(255,255,255,.045), transparent 27%),
      radial-gradient(circle at 92% 40%, rgba(201,138,37,.055), transparent 22%),
      linear-gradient(180deg, #0a315b 0%, #08294d 100%);
    border-bottom: 3px solid #c98a25;
    box-shadow: 0 8px 24px rgba(4,26,51,.11);
  }

  /* Subtle line ornament only; it does not add or alter navigation content. */
  body.mp-theme .pkp_structure_head:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 53px;
    height: 72px;
    pointer-events: none;
    opacity: .26;
    background:
      radial-gradient(ellipse at 20% 100%, transparent 0 52%, rgba(255,255,255,.16) 53% 53.6%, transparent 54.4%),
      radial-gradient(ellipse at 38% 100%, transparent 0 57%, rgba(201,169,78,.16) 58% 58.5%, transparent 59.2%);
    background-size: 620px 105px, 760px 125px;
    background-position: left bottom, 180px bottom;
    background-repeat: no-repeat;
  }
  body.mp-theme .pkp_structure_head:after {
    opacity: .22;
  }

  /* Two-tier grid: identity/user on top, primary/search below. */
  body.mp-theme .pkp_head_wrapper {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: 100px 54px;
    align-items: center;
    width: min(1460px, calc(100% - 72px));
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 !important;
    box-sizing: border-box;
  }

  body.mp-theme .pkp_site_name_wrapper {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
  }
  body.mp-theme .pkp_site_name {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
  }
  body.mp-theme .pkp_site_name .is_img {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
    padding: 0 !important;
  }
  body.mp-theme .pkp_site_name .is_img img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 430px !important;
    max-height: 82px !important;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.14));
  }
  body.mp-theme .pkp_site_name .is_text {
    font-size: 34px;
  }

  /* Let the two native nav sections participate in the header grid. */
  body.mp-theme .pkp_site_nav_menu {
    display: contents !important;
  }

  body.mp-theme .pkp_navigation_user_wrapper {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    margin: 0 !important;
    padding: 18px 0 0 !important;
  }
  body.mp-theme .pkp_navigation_user {
    display: flex !important;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
  }
  body.mp-theme .pkp_navigation_user > li {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.mp-theme .pkp_navigation_user > li + li:before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 15px;
    margin: 0 3px 0 2px;
    vertical-align: middle;
    background: rgba(255,255,255,.28);
  }
  body.mp-theme .pkp_navigation_user > li > a,
  body.mp-theme .pkp_navigation_user > li > button {
    display: inline-flex !important;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px !important;
    color: rgba(255,255,255,.90) !important;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
  }
  body.mp-theme .pkp_navigation_user > li > a:hover,
  body.mp-theme .pkp_navigation_user > li > a:focus,
  body.mp-theme .pkp_navigation_user > li > button:hover,
  body.mp-theme .pkp_navigation_user > li > button:focus {
    color: #f0bd62 !important;
  }

  body.mp-theme .pkp_navigation_primary_row {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
  }
  body.mp-theme .pkp_navigation_primary_wrapper {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 53px;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.mp-theme .pkp_navigation_primary {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
  }
  body.mp-theme .pkp_navigation_primary > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.mp-theme .pkp_navigation_primary > li > a,
  body.mp-theme .pkp_navigation_primary > li > button {
    display: inline-flex !important;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px !important;
    border: 0 !important;
    border-radius: 8px;
    background: transparent !important;
    color: rgba(255,255,255,.94) !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: color .18s ease, background-color .18s ease;
  }
  body.mp-theme .pkp_navigation_primary > li > a:hover,
  body.mp-theme .pkp_navigation_primary > li > a:focus,
  body.mp-theme .pkp_navigation_primary > li > button:hover,
  body.mp-theme .pkp_navigation_primary > li > button:focus {
    color: #f0bd62 !important;
    background: rgba(255,255,255,.055) !important;
  }

  body.mp-theme .pkp_navigation_search_wrapper {
    flex: 0 0 auto;
    margin-left: auto !important;
    padding: 0 !important;
  }
  body.mp-theme .pkp_search {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 230px;
    min-height: 38px;
    margin: 0 !important;
    padding: 7px 18px !important;
    border: 1px solid rgba(255,255,255,.30) !important;
    border-radius: 999px;
    background: rgba(1,16,34,.18) !important;
    color: rgba(255,255,255,.82) !important;
    font-size: 14px !important;
    line-height: 1.2;
    text-decoration: none !important;
  }
  body.mp-theme .pkp_search .fa {
    color: #e9ab35 !important;
    font-size: 16px;
  }
  body.mp-theme .pkp_search:hover,
  body.mp-theme .pkp_search:focus {
    border-color: rgba(240,189,98,.62) !important;
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
  }

  /* Dropdowns remain OMP menus, just visually cleaned up. */
  body.mp-theme .pkp_navigation_primary ul,
  body.mp-theme .pkp_navigation_user ul {
    z-index: 1000;
    margin-top: 5px !important;
    padding: 8px !important;
    border: 1px solid #e1e7ee !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(5,28,52,.17) !important;
  }
  body.mp-theme .pkp_navigation_primary ul a,
  body.mp-theme .pkp_navigation_user ul a {
    padding: 9px 11px !important;
    border-radius: 7px;
    color: #213247 !important;
    background: #fff !important;
  }
  body.mp-theme .pkp_navigation_primary ul a:hover,
  body.mp-theme .pkp_navigation_user ul a:hover {
    color: #062b55 !important;
    background: #f4f7fa !important;
  }
}

/* Tablet/mobile: keep OMP native toggle/menu behaviour and only refine sizing. */
@media (max-width: 980px) {
  body.mp-theme .pkp_structure_head {
    border-bottom-width: 3px;
  }
  body.mp-theme .pkp_structure_head:before {
    display: none !important;
  }
  body.mp-theme .pkp_head_wrapper {
    width: min(100% - 32px, 1280px) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  body.mp-theme .pkp_site_name .is_img img {
    max-width: 300px !important;
    max-height: 62px !important;
  }
  body.mp-theme .pkp_site_name .is_text {
    font-size: 26px !important;
  }
  body.mp-theme .pkp_navigation_primary_row {
    margin-top: 10px !important;
    padding-top: 8px !important;
  }
  body.mp-theme .pkp_navigation_primary_wrapper {
    gap: 10px;
  }
  body.mp-theme .pkp_navigation_primary > li > a,
  body.mp-theme .pkp_navigation_primary > li > button {
    font-size: 14px !important;
  }
  body.mp-theme .pkp_search {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body.mp-theme .pkp_head_wrapper {
    width: min(100% - 22px, 1280px) !important;
  }
  body.mp-theme .pkp_site_name .is_img img {
    max-width: 245px !important;
    max-height: 54px !important;
  }
}
