/* Geosains Modern theme: bookshelf archive + animated book issue view.
   Plain CSS, no external fonts or CDNs (local-first). */

:root {
	/* Palette taken from geosainsterapan.id */
	--gm-yellow: #fed900;
	--gm-yellow-dk: #e2c100;
	--gm-yellow-deep: #a88f00;
	--gm-ink: #1a1a1a;
	--gm-muted: #5c5c5c;
	--gm-bg: #f2f2f0;
	--gm-card: #ffffff;
	--gm-line: #e3e3e3;
	--gm-accent: #8a7300;
	--gm-teal: #1a1a1a;
	--gm-radius: 14px;
	/* Page container: use nearly the full viewport (cap only on ultra-wide screens) */
	--gm-wrap: min(2200px, 100% - 2rem);
	--gm-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--gm-serif: var(--gm-sans);
	--gm-ease: cubic-bezier(.2, .8, .2, 1);
}

body, button, input, select, textarea, .pkp_structure_page { font-family: var(--gm-sans); }
body { background: var(--gm-bg); color: var(--gm-ink); }
h1, h2, h3, h4, .pkp_site_name, .pkp_navigation_primary > li > a { font-family: var(--gm-sans); }
.pkp_structure_page { background: transparent; }
.pkp_structure_main h1, .pkp_structure_main h2 { font-family: var(--gm-serif); letter-spacing: -.02em; font-weight: 700; }
.pkp_structure_main a { transition: color .2s; }
.pkp_structure_main a { color: var(--gm-ink); }
.pkp_structure_main a:hover { color: var(--gm-accent); }

/* Full-width layout when there is no sidebar */
.pkp_structure_content, .pkp_head_wrapper { width: var(--gm-wrap); max-width: none; margin-left: auto; margin-right: auto; box-sizing: border-box; padding-left: 0; padding-right: 0; }
.pkp_structure_content:not(.has_sidebar) .pkp_structure_main { width: 100%; margin-left: 0; margin-right: 0; padding: 0 clamp(1rem, 3vw, 2.5rem) 3rem; box-sizing: border-box; }
.pkp_structure_content:not(.has_sidebar) .pkp_structure_main::before,
.pkp_structure_content:not(.has_sidebar) .pkp_structure_main::after { display: none; }
.pkp_structure_content:not(.has_sidebar) .pkp_structure_main > .page { width: 100%; max-width: none; }
.pkp_structure_content:not(.has_sidebar) .pkp_structure_main > .page > .cmp_breadcrumbs { margin-bottom: 0; }

/* ---------- Book component ---------- */
.book {
	--w: 200px;
	--h: calc(var(--w) * 1.42);
	--depth: calc(var(--w) * .09);
	--open: -22deg;
	width: var(--w);
	height: var(--h);
	perspective: 1400px;
	position: relative;
	margin: 0 auto;
}
.book--lg { --w: 240px; --open: -20deg; }
.book__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transform: rotateY(var(--open)) rotateX(2deg);
	transition: transform .7s var(--gm-ease);
}
.book__cover {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transform-origin: left center;
	transform: translateZ(calc(var(--depth) / 2));
	transition: transform .9s var(--gm-ease);
	z-index: 3;
}
.book__face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	overflow: hidden;
	border-radius: 3px 8px 8px 3px;
	background: #ddd;
}
.book__face--front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book__face--back {
	transform: rotateY(180deg);
	background: linear-gradient(135deg, #fbf8f1, #efe7d6);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--gm-ink);
}
.book__inside { display: grid; gap: .35rem; padding: 1rem; font-family: var(--gm-serif); font-size: .85rem; }
.book__inside strong { font-size: 1.15rem; }
.book__inside-kicker { font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gm-muted); }
.book__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 35%, rgba(0,0,0,.12) 100%);
	pointer-events: none;
}
.book__face--front::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 6px;
	background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 60%, transparent);
	z-index: 2;
}
.book__fallback {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.1rem 1rem;
	color: #fff;
	background:
		radial-gradient(circle at 80% 15%, rgba(254,217,0,.35), transparent 45%),
		linear-gradient(160deg, #2b2b2b, #111 70%);
	font-family: var(--gm-serif);
}
.book__fallback-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.book__fallback-year { font-size: 2.6rem; line-height: 1; font-weight: 700; }
.book__fallback-journal { font-size: .8rem; line-height: 1.3; opacity: .9; }

.book__page {
	position: absolute;
	inset: 3px 3px 3px 0;
	background: linear-gradient(90deg, #e9e1cf 0, #fbf8f1 6%, #fffdf8 100%);
	border-radius: 0 6px 6px 0;
	transform: translateZ(0);
	overflow: hidden;
	box-shadow: inset 0 0 18px rgba(80,60,20,.08);
}
.book__page-content {
	padding: 1rem .9rem 1rem 1.2rem;
	font-size: .72rem;
	line-height: 1.5;
	color: var(--gm-ink);
	height: 100%;
	overflow: auto;
	opacity: 0;
	transition: opacity .5s ease .45s;
}
.book__page-content p { margin: 0 0 .5em; }
.book__back {
	position: absolute;
	inset: 0;
	background: #eadfc9;
	border-radius: 3px 8px 8px 3px;
	transform: translateZ(calc(var(--depth) / -2));
}
.book__spine {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: var(--depth);
	background: linear-gradient(90deg, var(--gm-yellow-deep), var(--gm-yellow));
	transform-origin: left center;
	transform: rotateY(-90deg) translateX(calc(var(--depth) / -2)) translateZ(calc(var(--depth) / 2));
	border-radius: 3px 0 0 3px;
}
.book__shadow {
	position: absolute;
	left: 8%; right: 2%; bottom: -14px;
	height: 18px;
	background: radial-gradient(ellipse at center, rgba(0,0,0,.28), transparent 70%);
	filter: blur(4px);
	transition: transform .7s var(--gm-ease), opacity .7s;
}

/* Card hover: book turns toward the viewer and the cover cracks open */
.book--card { --w: 170px; }
.issue_card__link:hover .book--card .book__inner,
.issue_card__link:focus-visible .book--card .book__inner { transform: rotateY(-34deg) rotateX(2deg) translateY(-6px); }
.issue_card__link:hover .book--card .book__cover,
.issue_card__link:focus-visible .book--card .book__cover { transform: translateZ(calc(var(--depth) / 2)) rotateY(-26deg); }
.issue_card__link:hover .book--card .book__shadow { transform: scaleX(1.15); opacity: .8; }

/* Toggle book (issue page): cover swings fully open, book re-centers */
.book--toggle.is-open .book__inner { transform: translateX(50%) rotateY(0) rotateX(0); }
.book--toggle.is-open .book__cover { transform: translateZ(calc(var(--depth) / 2)) rotateY(-178deg); }
.book--toggle.is-open .book__page-content { opacity: 1; }
.book--toggle { cursor: pointer; }

/* ---------- Archive shelf ---------- */
.shelf_hero { padding: 1.5rem 0 1rem; }
.shelf_hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.shelf_hero__sub { color: var(--gm-muted); margin: .3rem 0 0; }

.shelf_tools {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.25rem;
	align-items: center;
	justify-content: space-between;
	margin: 1rem 0 1.5rem;
	padding: .75rem 1rem;
	background: var(--gm-card);
	border: 1px solid var(--gm-line);
	border-radius: var(--gm-radius);
}
.shelf_tools[hidden] { display: none; }
.shelf_chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.shelf_chip {
	border: 1px solid var(--gm-line);
	background: transparent;
	color: var(--gm-ink);
	border-radius: 999px;
	padding: .3rem .85rem;
	font: inherit;
	font-size: .85rem;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.shelf_chip:hover { border-color: var(--gm-teal); }
.shelf_chip[aria-pressed="true"] { background: var(--gm-yellow); border-color: var(--gm-yellow-dk); color: var(--gm-ink); font-weight: 600; }
.shelf_search input {
	font: inherit;
	padding: .45rem .9rem;
	border: 1px solid var(--gm-line);
	border-radius: 999px;
	background: var(--gm-bg);
	min-width: 220px;
}
.shelf_search input:focus { outline: 2px solid var(--gm-teal); outline-offset: 1px; }

.shelf_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 2.25rem 1.5rem;
	margin: 0;
	padding: 0;
}
.issue_card { list-style: none; text-align: center; transition: opacity .4s, transform .6s var(--gm-ease); }
.issue_card[hidden] { display: none; }
.issue_card__link { display: block; padding: 1rem 0 .5rem; outline-offset: 4px; }
.issue_card__meta { padding: .5rem .5rem 0; }
.issue_card__year { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-accent); font-weight: 600; }
.issue_card__title { font-size: 1.05rem; margin: .2rem 0; }
.issue_card__title a { text-decoration: none; color: var(--gm-ink); }
.issue_card .series { font-size: .85rem; color: var(--gm-muted); }
.issue_card__date { font-size: .8rem; color: var(--gm-muted); }
.issue_card__desc { font-size: .82rem; color: var(--gm-muted); margin-top: .4rem; }
.shelf_empty { text-align: center; color: var(--gm-muted); padding: 2rem 0; }

/* Shelf plank under each row is drawn by the grid background */
.shelf_grid { position: relative; }

/* ---------- Issue view (book + TOC) ---------- */
.issue_view {
	display: grid;
	grid-template-columns: calc(240px * 2 + 40px) minmax(0, 1fr);
	gap: 2rem 3rem;
	align-items: start;
	margin-top: 1rem;
}
.issue_view__book { position: sticky; top: 1.5rem; padding: 2rem 0; text-align: center; }
.book_toggle {
	margin-top: 2rem;
	border: 1px solid var(--gm-line);
	background: var(--gm-card);
	color: var(--gm-ink);
	border-radius: 999px;
	padding: .45rem 1.1rem;
	font: inherit;
	font-size: .85rem;
	cursor: pointer;
}
.book_toggle:hover { border-color: var(--gm-yellow-dk); background: var(--gm-yellow); }
.issue_view__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 1rem; }
.issue_view__toc .section h2 {
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--gm-accent);
	border-bottom: 1px solid var(--gm-line);
	padding-bottom: .4rem;
	margin: 1.5rem 0 .5rem;
}
.issue_view__toc .cmp_article_list { list-style: none; margin: 0; padding: 0; }
.issue_view__toc .cmp_article_list > li {
	background: var(--gm-card);
	border: 1px solid var(--gm-line);
	border-radius: var(--gm-radius);
	padding: 1rem 1.1rem;
	margin: .7rem 0;
	transition: box-shadow .25s, transform .25s var(--gm-ease), opacity .5s;
}
.issue_view__toc .cmp_article_list > li:hover { box-shadow: 0 8px 24px rgba(20,60,60,.1); transform: translateY(-2px); }
.issue_view__toc .obj_article_summary { padding: 0; border: 0; }
.issue_view__toc .obj_article_summary .title { font-family: var(--gm-serif); margin: 0 0 .3rem; }

.current_issue__label { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gm-accent); }
.current_issue .read_more { display: inline-block; margin-top: 1.5rem; }

/* ---------- Reveal animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.issue_view { grid-template-columns: 1fr; }
	.issue_view__book { position: static; }
	.book--lg { --w: min(36vw, 190px); }
	.book--toggle.is-open .book__inner { transform: translateX(50%); }
}
@media (max-width: 480px) {
	.shelf_grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem .75rem; }
	.book--card { --w: 130px; }
	.shelf_search input { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.book__inner, .book__cover, .book__page-content, .issue_card, .shelf_grid * { transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Homepage ---------- */
.home { padding-bottom: 2rem; }
.home_section { padding: 3.5rem 0 0; }
.home_head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.home_heading { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; position: relative; padding-left: 1rem; }
.home_heading::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 3px; background: var(--gm-yellow); }
.home_link { font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--gm-yellow); padding-bottom: 2px; }
.home_link:hover { background: var(--gm-yellow); color: var(--gm-ink); }

/* Intro */
.home_intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; padding: 3.5rem 0 1rem; }
.home_kicker { display: inline-block; background: var(--gm-yellow); color: var(--gm-ink); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px; }
.home_title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin: 1.1rem 0 1rem; max-width: 18ch; }
.home_intro__desc { max-width: 62ch; color: #3d3d3d; font-size: 1.05rem; line-height: 1.7; }
.home_intro__desc p { text-align: left; margin: 0 0 .8em; }
.home_intro__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.home_btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 10px; font-weight: 700; text-decoration: none; transition: transform .2s var(--gm-ease), box-shadow .2s; }
.home_btn--primary { background: var(--gm-yellow); color: var(--gm-ink) !important; box-shadow: 0 6px var(--gm-yellow-dk); }
.home_btn--primary:hover { transform: translateY(2px); box-shadow: 0 4px #dcbb00; }
.home_btn--ghost { border: 2px solid var(--gm-ink); color: var(--gm-ink) !important; }
.home_btn--ghost:hover { background: var(--gm-ink); color: var(--gm-yellow) !important; }

/* Cover fan */
.home_fan { position: relative; height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
.home_fan::before { content: ""; position: absolute; inset: 8% 4% 4%; background: radial-gradient(closest-side, rgba(254,217,0,.35), transparent); z-index: 0; }
.home_fan__item { position: absolute; top: 50%; left: 50%; width: 46%; aspect-ratio: 2 / 2.84; margin: 0; border-radius: 4px 8px 8px 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.28); background: #eee; transition: transform .6s var(--gm-ease), box-shadow .4s; }
.home_fan__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home_fan__item--c { z-index: 3; transform: translate(-50%, -52%) rotate(0); }
.home_fan__item--l { z-index: 2; transform: translate(-112%, -46%) rotate(-9deg); }
.home_fan__item--r { z-index: 1; transform: translate(12%, -46%) rotate(9deg); }
.home_fan:hover .home_fan__item--c { transform: translate(-50%, -56%) scale(1.04); }
.home_fan:hover .home_fan__item--l { transform: translate(-124%, -48%) rotate(-13deg); }
.home_fan:hover .home_fan__item--r { transform: translate(24%, -48%) rotate(13deg); }

/* Current issue band */
.home_current { margin-top: 3.5rem; padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 2.5rem; background: linear-gradient(180deg, #fffbe0, #fff); border: 1px solid #f1e7a8; border-radius: 20px; }
.home_current .issue_view { margin-top: 0; }
.home_current .issue_view__title { font-size: clamp(1.4rem, 2.4vw, 2rem); }

/* Latest issues */
.shelf_grid--latest { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.shelf_grid--latest .book--card { --w: 150px; }

@media (max-width: 1100px) {
	.shelf_grid--latest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.home_intro { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
	.home_fan { height: 320px; }
}
@media (max-width: 560px) {
	.shelf_grid--latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shelf_grid--latest .book--card { --w: 120px; }
	.home_current { padding: 1.5rem 1rem; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.home_fan__item { transition: none; }
}
.page_index_journal .home_title { font-size: clamp(2rem, 6vw, 3.4rem); padding: 0; }
.page_index_journal .home_title::before { display: none; }
.page_index_journal .home_title { line-height: 1.12; }
.home_intro { padding-top: 2.5rem; }

/* Book page: written table of contents (not interactive) */
.book__toc { pointer-events: none; user-select: none; padding: .9rem .8rem .8rem 1.15rem; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.book__toc-head { font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .45rem; margin-bottom: .55rem; border-bottom: 2px solid var(--gm-yellow); }
.book__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.book__toc li { display: flex; gap: .4rem; align-items: baseline; font-size: .6rem; line-height: 1.35; margin: 0 0 .42rem; counter-increment: toc; }
.book__toc li::before { content: counter(toc) "."; flex: none; width: 1.1em; color: var(--gm-yellow-deep); font-weight: 700; }
.book__toc .t { flex: 1; min-width: 0; color: var(--gm-ink); }
.book__toc .p { flex: none; color: var(--gm-muted); font-variant-numeric: tabular-nums; }
.book__toc-more { font-size: .6rem; color: var(--gm-muted); padding-left: 1.5rem; }
.issue_view__date { color: var(--gm-muted); font-size: .9rem; margin: -.4rem 0 .8rem; }
.issue_view__desc { margin: 0 0 1.2rem; color: #3d3d3d; }

.issue_view__download { display: flex; align-items: center; gap: .8rem 1.2rem; flex-wrap: wrap; margin: 0 0 1.4rem; padding: 1rem 1.2rem; background: #fffbe0; border: 1px solid #f1e7a8; border-radius: 12px; }
.issue_view__download-label { font-weight: 800; }
.issue_view__download .galleys_links { display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.issue_view__download .obj_galley_link { padding: .55rem 1.3rem; font-size: .95rem; }

/* ---------- Feature band: room for admin-managed homepage content (poster/image) ---------- */
.feature { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem); background: #1a1a1a; text-align: center; }
.feature::before, .feature::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.feature::before { width: 46%; aspect-ratio: 1; left: -12%; top: -35%; background: radial-gradient(closest-side, rgba(254,217,0,.30), transparent); }
.feature::after { width: 40%; aspect-ratio: 1; right: -10%; bottom: -40%; background: radial-gradient(closest-side, rgba(254,217,0,.22), transparent); }
.feature__content { position: relative; max-width: 520px; margin: 0 auto; color: #fff; }
.feature__content p { margin: 0 0 1rem; text-align: center; }
.feature__content h1, .feature__content h2, .feature__content h3 { color: #fff; }
.feature__content a { color: var(--gm-yellow); }
.feature__content img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 14px; border: 6px solid #fff; box-sizing: border-box; box-shadow: 0 28px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(254,217,0,.25); transform: rotate(-1.5deg); transition: transform .6s var(--gm-ease), box-shadow .6s; }
.feature:hover .feature__content img { transform: rotate(0) scale(1.015); box-shadow: 0 34px 80px rgba(0,0,0,.65), 0 0 0 2px rgba(254,217,0,.45); }
@media (max-width: 560px) { .feature { border-radius: 16px; } .feature__content { max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .feature__content img { transition: none; transform: none; } }

/* ---------- One button system (matches the live site's yellow 3D buttons) ---------- */
.home_btn, .book_toggle {
	display: inline-block; padding: .8rem 1.6rem; border: 0; border-radius: 6px; font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.3;
	text-decoration: none; text-align: center; cursor: pointer; transition: transform .2s var(--gm-ease), box-shadow .2s, background .2s, color .2s;
}
.home_btn--primary, .book_toggle { background: var(--gm-yellow); color: var(--gm-ink) !important; box-shadow: 0 6px var(--gm-yellow-dk); }
.home_btn--primary:hover, .book_toggle:hover { background: var(--gm-yellow); color: #000 !important; transform: translateY(2px); box-shadow: 0 4px #dcbb00; }
.home_btn--primary:active, .book_toggle:active { transform: translateY(4px); box-shadow: 0 2px #a88f00; }
/* secondary = same shape, dark */
.home_btn--ghost { background: var(--gm-ink); color: var(--gm-yellow) !important; border: 0; box-shadow: 0 6px #000; }
.home_btn--ghost:hover { background: #000; color: var(--gm-yellow) !important; transform: translateY(2px); box-shadow: 0 4px #000; }
.home_btn--ghost:active { transform: translateY(4px); box-shadow: 0 2px #000; }
.book_toggle { margin-top: 2rem; padding: .55rem 1.3rem; font-size: .85rem; }
.home_intro__cta { gap: 1.1rem; }

/* ---------- Light theme overrides: feature band + secondary button ---------- */
.feature { background: linear-gradient(135deg, #fffbe0 0%, #fff4b0 100%); border: 1px solid #f1e7a8; color: var(--gm-ink); }
.feature::before { background: radial-gradient(closest-side, rgba(254,217,0,.55), transparent); }
.feature::after { background: radial-gradient(closest-side, rgba(254,217,0,.4), transparent); }
.feature__content { color: var(--gm-ink); }
.feature__content h1, .feature__content h2, .feature__content h3 { color: var(--gm-ink); }
.feature__content a { color: var(--gm-ink); text-decoration: underline; text-decoration-color: var(--gm-yellow-dk); text-underline-offset: 3px; }
.feature__content img { border-color: #fff; box-shadow: 0 24px 50px rgba(120,95,0,.28), 0 0 0 1px rgba(168,143,0,.25); }
.feature:hover .feature__content img { box-shadow: 0 30px 60px rgba(120,95,0,.34), 0 0 0 2px rgba(168,143,0,.4); }

.home_btn--ghost { background: #fff; color: var(--gm-ink) !important; border: 1px solid #e3e3e3; box-shadow: 0 6px #d6d6d6; }
.home_btn--ghost:hover { background: #fff; color: #000 !important; transform: translateY(2px); box-shadow: 0 4px #cfcfcf; }
.home_btn--ghost:active { transform: translateY(4px); box-shadow: 0 2px #c4c4c4; }

/* Feature band: neutral light surface so a yellow poster stands out; compact poster */
.feature { background: linear-gradient(135deg, #ffffff 0%, #f7f6ef 100%); border: 1px solid var(--gm-line); padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem); }
.feature::before { background: radial-gradient(closest-side, rgba(254,217,0,.32), transparent); }
.feature::after { background: radial-gradient(closest-side, rgba(254,217,0,.25), transparent); }
.feature__content { max-width: 380px; }
.feature__content img { border-color: #fff; box-shadow: 0 22px 48px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); }
.feature:hover .feature__content img { box-shadow: 0 28px 56px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.08); }

/* Hero poster (admin-managed additional homepage content) */
.home_poster { position: relative; max-width: 380px; width: 100%; margin: 0 auto; }
.home_poster::before { content: ""; position: absolute; inset: 6% -12% -6%; z-index: 0; background: radial-gradient(closest-side, rgba(254,217,0,.45), transparent); }
.home_poster p { margin: 0; position: relative; z-index: 1; text-align: center; }
.home_poster img { display: block; width: 100%; height: auto; border: 6px solid #fff; border-radius: 14px; box-sizing: border-box; box-shadow: 0 26px 56px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.06); transform: rotate(2.5deg); transition: transform .6s var(--gm-ease), box-shadow .6s; }
.home_poster:hover img { transform: rotate(0) scale(1.02); box-shadow: 0 32px 64px rgba(0,0,0,.26), 0 0 0 1px rgba(0,0,0,.08); }
@media (prefers-reduced-motion: reduce) { .home_poster img { transition: none; transform: none; } }

/* Poster hugs the right edge of the container */
.home_intro { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); justify-content: space-between; }
.home_poster { margin: 0 0 0 auto; }
@media (max-width: 860px) { .home_intro { grid-template-columns: 1fr; } .home_poster { margin: 0 auto; } }

/* Manual table of contents (issue description): one clean card, left aligned, no collision with other blocks */
.issue_view__desc--toc { background: #fff; border: 1px solid var(--gm-line); border-left: 5px solid var(--gm-yellow); border-radius: 0 14px 14px 0; padding: 1.1rem 1.4rem 1.2rem; margin: 0 0 1.6rem; }
.issue_view__desc--toc p { margin: 0 0 .85rem; text-align: left !important; line-height: 1.55; }
.issue_view__desc--toc p:first-child { margin-bottom: 1rem; }
.issue_view__desc--toc p:first-child strong { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-accent); padding-bottom: .35rem; border-bottom: 2px solid var(--gm-yellow); }
.issue_view__desc--toc p:last-child { margin-bottom: 0; }
.issue_view__desc--toc a { color: var(--gm-ink); text-decoration: none; background-image: linear-gradient(var(--gm-yellow), var(--gm-yellow)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--gm-ease); }
.issue_view__desc--toc a:hover { background-size: 100% 3px; }

/* "About the journal" block above the contents (restored) */
.issue_view__about { margin: 1.6rem 0 .6rem; padding: 1.1rem 1.3rem; border-left: 5px solid var(--gm-yellow); background: #fafaf7; border-radius: 0 12px 12px 0; }
.issue_view__about-label { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-accent); margin-bottom: .4rem; }
.issue_view__about-text { color: #3d3d3d; line-height: 1.65; font-size: .95rem; }
.issue_view__about-text p { margin: 0 0 .6em; text-align: left; }
.issue_view__about-text p:last-child { margin-bottom: 0; }
/* The journal stylesheet pads/justifies .description for the default theme; the contents card needs its own padding */
body .pkp_op_view .issue_view .issue_view__desc--toc, body .issue_view .issue_view__desc--toc { padding: 1.1rem 1.4rem 1.2rem !important; }
body .issue_view .issue_view__desc--toc p { text-align: left !important; }

/* ===== v7: big centred book with About (left page) and live Daftar Isi (right page) ===== */
.issue_view--big { display: block; margin-top: 0; }
.issue_view__head { text-align: center; max-width: 960px; margin: 0 auto 1rem; }
.issue_view--big .issue_view__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 0 0 .4rem; }
.issue_view--big .issue_view__download { display: inline-flex; margin: .6rem auto 0; justify-content: center; }
.issue_view__stage { display: flex; flex-direction: column; align-items: center; padding: 1rem 0 3rem; }
.book--xl { --w: min(440px, 36vw); --open: -12deg; }
.book--xl .book__page { inset: 4px 4px 4px 0; }
.book--xl .book__face--back { align-items: stretch; justify-content: flex-start; text-align: left; background: linear-gradient(90deg, #fffdf8, #f4eedf 97%, #e6dcc3); }
.book--xl .book__face--back .book__sheet { padding: 1.5rem 1.4rem 1.2rem 1.5rem; }
.book__sheet { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; color: var(--gm-ink); }
.book__page .book__sheet.book__page-content { padding: 1.5rem 1.4rem 1.2rem 1.7rem; opacity: 0; }
.book--toggle.is-open .book__page .book__sheet.book__page-content { opacity: 1; }
.book__sheet-head { flex: none; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .55rem; margin-bottom: .9rem; border-bottom: 2px solid var(--gm-yellow); }
.book__sheet-body { flex: 1; min-height: 0; overflow: auto; font-size: .86rem; line-height: 1.6; padding-right: .3rem; scrollbar-width: thin; }
.book__sheet-body p { margin: 0 0 .7em; text-align: left; font-size: inherit; }
.book__sheet-body::-webkit-scrollbar { width: 6px; }
.book__sheet-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 3px; }
/* live (clickable) contents: neutralise the read-only styling of the small book */
.book__toc--live { pointer-events: auto; user-select: text; -webkit-mask-image: none; mask-image: none; }
.book__toc--live .toc_manual > strong:first-child, .book__toc--live .toc_manual > p:first-child:has(> strong:only-child) { display: none; }
.book__toc--live dl { margin: 0; }
.book__toc--live dt, .book__toc--live .toc_manual p { margin: 0 0 .8rem !important; padding: 0 !important; text-align: left !important; font-size: inherit; }
.book__toc--live .toc_auto { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.book__toc--live .toc_auto li { display: flex; gap: .6rem; margin: 0 0 .8rem; counter-increment: t; }
.book__toc--live .toc_auto li::before { content: counter(t) "."; flex: none; width: 1.3em; color: var(--gm-yellow-deep); font-weight: 700; }
.book__toc--live .toc_auto .p { margin-left: auto; color: var(--gm-muted); font-variant-numeric: tabular-nums; }
.book__toc--live a { color: var(--gm-ink); text-decoration: none; background-image: linear-gradient(var(--gm-yellow), var(--gm-yellow)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--gm-ease); }
.book__toc--live a:hover, .book__toc--live a:focus { background-size: 100% 3px; }
.issue_view__fallback { display: none; }
@media (max-width: 899px) {
	.book--xl { --w: 190px; }
	.book--xl .book__sheet { display: none; }
	.issue_view__fallback { display: block; max-width: 760px; margin: 0 auto; }
	.issue_view__stage { padding-bottom: 1.5rem; }
}
@media (min-width: 900px) and (max-width: 1199px) { .book--xl { --w: 34vw; } }
/* ===== v10 ===== =====*/
/* Hero: let the description use the free space next to the poster */
.page_index_journal .home_intro__desc { max-width: min(100%, 100ch); font-size: 1.12rem; line-height: 1.75; }
.page_index_journal .home_title { max-width: none; }
.page_index_journal .home_intro { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(2rem, 5vw, 5rem); }
/* ===== v11 ===== =====*/
/* Big-book header: no overlap between title and date */
.issue_view--big .issue_view__title { line-height: 1.15; }
.issue_view--big .issue_view__date { margin: .45rem 0 1rem; position: relative; }

/* Homepage "Terbitan Terkini": info on the left, the open book on the right (side by side) */
@media (min-width: 1100px) {
	.home_current .issue_view--big { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
	.home_current .issue_view--big .issue_view__head { text-align: left; margin: 0; max-width: none; }
	.home_current .issue_view--big .issue_view__title { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
	.home_current .issue_view--big .issue_view__download { display: flex; flex-wrap: wrap; justify-content: flex-start; margin: .4rem 0 0; }
	.home_current .issue_view__stage { padding: 0; }
	.home_current .book--xl { --w: min(400px, 26vw); }
	.home_current .issue_view__fallback { grid-column: 1 / -1; }
}
/* ===== v14 ===== =====*/
/* Contents links: same "»" as the journal stylesheet's <dl><dt><a> lists (that rule is left untouched);
   p-based and automatic lists get an identical copy of it. */
.book__toc--live .toc_manual p a::before, .book__toc--live .toc_auto a::before, .issue_view__desc--toc p a::before {
	content: ""; opacity: 0; color: #000; font-size: 20px; transition: 0.5s; padding: 0;
}
.book__toc--live .toc_manual p a:hover::before, .book__toc--live .toc_manual p a:focus::before,
.book__toc--live .toc_auto a:hover::before, .book__toc--live .toc_auto a:focus::before,
.issue_view__desc--toc p a:hover::before, .issue_view__desc--toc p a:focus::before {
	content: "\00bb"; opacity: 1; color: #000; font-size: 20px; padding-right: 10px;
}
/* ===== v15 ===== =====*/
/* contents pager (turn pages instead of scrolling) */
[hidden] { display: none !important; }
.book__sheet-body.is-paged { overflow: hidden; position: relative; }
.book__sheet-body.turn { animation: toc-turn .35s var(--gm-ease); }
@keyframes toc-turn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.toc_pager { flex: none; display: flex; align-items: center; justify-content: center; gap: .9rem; padding-top: .6rem; margin-top: .3rem; border-top: 1px solid var(--gm-line); font-size: .78rem; font-weight: 700; color: var(--gm-muted); }
.toc_pager button { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: var(--gm-yellow); color: var(--gm-ink); font-size: 1.2rem; line-height: 1; cursor: pointer; box-shadow: 0 3px var(--gm-yellow-dk); transition: transform .2s var(--gm-ease), box-shadow .2s; }
.toc_pager button:hover:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px var(--gm-yellow-dk); }
.toc_pager button:disabled { opacity: .35; cursor: default; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .book__sheet-body.turn { animation: none; } }
/* ===== v16 ===== =====*/
/* pager shows "Page n / N" (see modern-v16.js) */
.toc_count { min-width: 5.5em; text-align: center; letter-spacing: .02em; }
/* ===== v18 ===== =====*/
/* ============ Article detail ============ */
.pkp_page_article .obj_article_details { max-width: 1240px; margin: 0 auto; }
.pkp_page_article .obj_article_details .page_title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; line-height: 1.22; letter-spacing: -.02em; margin: .4rem 0 1.8rem; max-width: 34em; }
.pkp_page_article .obj_article_details .row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem 3.5rem; align-items: start; border: 0; margin: 0; padding: 0; }
.pkp_page_article .obj_article_details .row::before, .pkp_page_article .obj_article_details .row::after { display: none; }
.pkp_page_article .obj_article_details .main_entry, .pkp_page_article .obj_article_details .entry_details { float: none; width: auto; margin: 0; padding: 0; border: 0; }
.pkp_page_article .obj_article_details .main_entry::before, .pkp_page_article .obj_article_details .main_entry::after,
.pkp_page_article .obj_article_details .entry_details::before, .pkp_page_article .obj_article_details .entry_details::after { display: none; }

/* right card: cover, download, facts */
.pkp_page_article .obj_article_details .entry_details { position: sticky; top: 1rem; background: #fff; border: 1px solid var(--gm-line); border-radius: 18px; padding: 1.4rem; box-shadow: 0 14px 40px rgba(0,0,0,.07); }
.pkp_page_article .entry_details .item { margin: 0 0 1.3rem; padding: 0; border: 0; }
.pkp_page_article .entry_details .item:last-child { margin-bottom: 0; }
.pkp_page_article .entry_details .cover_image img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.pkp_page_article .entry_details .galleys .value, .pkp_page_article .entry_details .galleys ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.pkp_page_article .entry_details .galleys li { margin: 0; padding: 0; }
.pkp_page_article .entry_details .galleys a.obj_galley_link { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; box-sizing: border-box; padding: .85rem 1rem; line-height: 1.2; }
.pkp_page_article .entry_details .item > .label, .pkp_page_article .entry_details .item > h2, .pkp_page_article .entry_details .item > h3 {
	display: block; margin: 0 0 .35rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-accent);
}
.pkp_page_article .entry_details .item .value, .pkp_page_article .entry_details .item .value a { font-size: .95rem; color: var(--gm-ink); line-height: 1.5; }
.pkp_page_article .entry_details .citation_display { font-size: .88rem; line-height: 1.55; color: #3d3d3d; }

/* left column */
.pkp_page_article .main_entry .item { margin: 0 0 2.2rem; padding: 0; border: 0; }
.pkp_page_article .main_entry .item > .label, .pkp_page_article .main_entry .item > h2 {
	display: block; margin: 0 0 1rem; padding-bottom: .55rem; border-bottom: 2px solid var(--gm-yellow);
	font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-accent);
}
.pkp_page_article .main_entry .authors ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .9rem; }
.pkp_page_article .main_entry .authors li { margin: 0; padding: .95rem 1.15rem; background: #fff; border: 1px solid var(--gm-line); border-radius: 14px; }
.pkp_page_article .main_entry .authors .name { display: block; font-weight: 700; }
.pkp_page_article .main_entry .authors .affiliation { display: block; margin-top: .2rem; color: var(--gm-muted); font-size: .85rem; line-height: 1.45; }
.pkp_page_article .main_entry .doi .value a { display: inline-block; padding: .4rem 1rem; border-radius: 999px; background: #fffbe0; border: 1px solid #f1e7a8; color: var(--gm-ink); text-decoration: none; font-size: .9rem; }
.pkp_page_article .main_entry .doi .value a:hover { background: var(--gm-yellow); }
.pkp_page_article .main_entry .keywords .value { display: flex; flex-wrap: wrap; gap: .5rem; }
.kw_chip { display: inline-block; padding: .35rem .95rem; border: 1px solid var(--gm-line); border-radius: 999px; background: #fff; font-size: .85rem; transition: background .2s, border-color .2s; }
.kw_chip:hover { background: var(--gm-yellow); border-color: var(--gm-yellow-dk); }
.pkp_page_article .main_entry .abstract { padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--gm-line); border-left: 5px solid var(--gm-yellow); border-radius: 0 16px 16px 0; }
.pkp_page_article .main_entry .abstract p { font-size: 1.04rem; line-height: 1.85; margin: 0 0 1em; }
.pkp_page_article .main_entry .abstract p:last-child { margin-bottom: 0; }
.pkp_page_article .main_entry .references .value p { margin: 0 0 .7rem; padding-left: 1.4rem; text-indent: -1.4rem; font-size: .88rem; line-height: 1.65; color: #3d3d3d; text-align: left; }

@media (max-width: 991px) {
	.pkp_page_article .obj_article_details .row { grid-template-columns: 1fr; }
	.pkp_page_article .obj_article_details .entry_details { position: static; order: -1; }
	.pkp_page_article .entry_details .cover_image { max-width: 240px; }
}
/* ===== v19 ===== =====*/
/* article download button: full width of the card */
.pkp_page_article .entry_details .galleys li, .pkp_page_article .entry_details .galleys ul { display: block; width: 100%; }
body .pkp_page_article .entry_details .galleys a.obj_galley_link { display: flex !important; width: 100% !important; box-sizing: border-box; justify-content: center; }
/* ===== v20 ===== =====*/
/* ============ Paper pages for the contents (turn, drag) ============ */
.book__sheet-body.is-paged { overflow: hidden; position: relative; perspective: 1500px; padding-right: 0; }
.toc_stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.toc_pg { position: absolute; inset: 0; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(0,0,0,.07) 0, rgba(0,0,0,0) 14px), #fffdf8; backface-visibility: hidden; border-radius: 0 6px 6px 0; will-change: transform; }
.toc_pg__in { position: absolute; inset: 0 .6rem 2.1rem 0; overflow: hidden; }
.toc_pg__num { position: absolute; right: 1rem; bottom: .55rem; font-size: .78rem; font-weight: 700; color: var(--gm-muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.toc_pg a, .toc_pg p { pointer-events: auto; }
/* page-curl corner (bottom right = next, bottom left = previous) */
.toc_curl { position: absolute; right: 0; bottom: 0; width: 2.4rem; height: 2.4rem; cursor: grab; touch-action: none; z-index: 5;
	background: linear-gradient(315deg, rgba(0,0,0,0) 50%, #e9dfc7 50%, #fffdf8 100%); border-radius: 0 0 6px 0; box-shadow: -3px -3px 8px rgba(0,0,0,.12);
	transition: width .25s var(--gm-ease), height .25s var(--gm-ease); }
.toc_curl:hover { width: 3.2rem; height: 3.2rem; }
.toc_curl:active { cursor: grabbing; }
.toc_pg:last-child .toc_curl { display: none; }
.toc_curl--back { right: auto; left: 0; background: linear-gradient(45deg, rgba(0,0,0,0) 50%, #e9dfc7 50%, #fffdf8 100%); border-radius: 0 0 0 6px; box-shadow: 3px -3px 8px rgba(0,0,0,.12); width: 1.8rem; height: 1.8rem; }
.toc_pager { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: .45rem; padding-top: .5rem; margin-top: .2rem; border-top: 1px solid var(--gm-line); }
.toc_pager .toc_count { margin-right: auto; font-size: .78rem; font-weight: 700; color: var(--gm-muted); letter-spacing: .02em; }
.toc_pager button { width: 1.9rem; height: 1.9rem; }
@media (prefers-reduced-motion: reduce) { .toc_pg { transition: none !important; } }
/* ===== v21 ===== =====*/
/* ============ Contents as a real spread: leaves turn around the spine; controls outside the book (v21) ============ */
.toc_leaves { position: absolute; inset: 4px 4px 4px 0; transform-style: preserve-3d; transform: translateZ(calc(var(--depth) / 2 + 3px)); visibility: hidden; }
.book--toggle.is-open .toc_leaves { visibility: visible; }
.book--xl.has-leaves .book__page .book__sheet.book__page-content { visibility: hidden; }
.toc_leaf { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.45, .05, .2, 1); }
.toc_leaf.drag { transition: none; }
.toc_face { position: absolute; inset: 0; box-sizing: border-box; display: flex; flex-direction: column; padding: 1.5rem 1.4rem 1.2rem 1.7rem; overflow: hidden;
	backface-visibility: hidden; -webkit-backface-visibility: hidden;
	background: linear-gradient(90deg, rgba(0,0,0,.09) 0, rgba(0,0,0,0) 22px), #fffdf8; border-radius: 0 7px 7px 0; box-shadow: inset 0 0 18px rgba(80,60,20,.08); }
.toc_face--back { transform: rotateY(180deg); padding: 1.5rem 1.7rem 1.2rem 1.4rem; border-radius: 7px 0 0 7px;
	background: linear-gradient(270deg, rgba(0,0,0,.09) 0, rgba(0,0,0,0) 22px), #fbf7ec; }
.toc_face--blank { background: #fbf7ec; }
.toc_face__head { flex: none; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .55rem; margin-bottom: .9rem; border-bottom: 2px solid var(--gm-yellow); }
.toc_face__body { flex: none; overflow: hidden; line-height: 1.6; }
.toc_face__body .toc_manual, .toc_face__body dl { margin: 0; }
.toc_face__num { position: absolute; bottom: .6rem; font-size: .78rem; font-weight: 700; color: var(--gm-muted); font-variant-numeric: tabular-nums; pointer-events: none; right: 1.1rem; }
.toc_face--back .toc_face__num { right: auto; left: 1.1rem; }
.toc_curl { position: absolute; right: 0; bottom: 0; width: 2rem; height: 2rem; cursor: grab; touch-action: none; z-index: 5;
	background: linear-gradient(315deg, rgba(0,0,0,0) 50%, #e8dcc0 50%, #fffdf8 100%); box-shadow: -3px -3px 7px rgba(0,0,0,.14); border-radius: 0 0 7px 0; transition: width .25s var(--gm-ease), height .25s var(--gm-ease); }
.toc_curl:hover { width: 3rem; height: 3rem; }
.toc_curl:active { cursor: grabbing; }
.toc_curl--l { right: auto; left: 0; background: linear-gradient(45deg, rgba(0,0,0,0) 50%, #e8dcc0 50%, #fbf7ec 100%); box-shadow: 3px -3px 7px rgba(0,0,0,.14); border-radius: 0 0 0 7px; }
.toc_leaf:last-child .toc_face:not(.toc_face--back) .toc_curl { display: none; }
.toc_face--blank .toc_curl--l { display: none; }

.book_controls { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
.book_controls button { width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: var(--gm-yellow); color: var(--gm-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 4px var(--gm-yellow-dk); transition: transform .2s var(--gm-ease), box-shadow .2s; }
.book_controls button:hover:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px var(--gm-yellow-dk); }
.book_controls button:disabled { opacity: .35; cursor: default; box-shadow: none; }
.book_controls .bc_label { min-width: 8.5em; text-align: center; font-weight: 700; font-size: .9rem; color: var(--gm-ink); font-variant-numeric: tabular-nums; }
.has-leaves ~ .book_toggle, .book_controls + .book_toggle { margin-top: 1rem; }
@media (max-width: 899px) { .toc_leaves, .book_controls { display: none; } }
@media (prefers-reduced-motion: reduce) { .toc_leaf { transition: none; } }
/* ===== v22 ===== =====*/
.toc_empty { display: none !important; }
/* ===== v23 ===== =====*/
/* paper turn: WAAPI drives the transform (lift + ease); shade sweeps across the page while it turns */
.toc_leaf { transition: none !important; will-change: transform; }
.toc_shade { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgba(40,25,5,.34), rgba(40,25,5,0) 58%); }
.toc_face--back .toc_shade { background: linear-gradient(270deg, rgba(40,25,5,.34), rgba(40,25,5,0) 58%); }
/* ===== v24 ===== =====*/
/* contents: intro paragraphs and items share the pages */
.toc_face__body .toc_manual > p { margin: 0 0 .8rem; text-align: left; }
/* ===== v25 ===== =====*/
/* ============ Bent paper: each page is N hinged strips, so the free edge trails like real paper ============ */
.toc_leaf { transform-style: preserve-3d; }
.toc_strip { position: absolute; top: 0; bottom: 0; transform-origin: 0 50%; transform-style: preserve-3d; }
.toc_sface { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.toc_sface--back { transform: rotateY(180deg); }
.toc_sin { position: absolute; top: 0; }
.toc_sin > .toc_face { position: absolute; inset: 0; backface-visibility: visible; transform: none !important; }
.toc_shade { opacity: var(--sh, 0); }
/* ===== v26 ===== =====*/
/* ============ StPageFlip book ============ */
.flipbook { display: none; }
.js .flipbook.is-flip { display: block; }
html:not(.js) .flipbook { display: none; }
html:not(.js) .issue_view__fallback { display: block; }
.js .issue_view__stage .book_controls, .js .issue_view__stage .book_toggle { display: none; }
.js .flipbook.is-flip ~ .book_controls { display: flex; }
.js .flipbook.is-flip ~ .book_toggle { display: inline-block; }
.fb_stage { margin: 0 auto; max-width: 100%; position: relative; }
.fb_measure { position: absolute; left: -10000px; top: 0; visibility: hidden; pointer-events: none; }
.fb_page { box-sizing: border-box; overflow: hidden; display: flex; flex-direction: column; background: #fffdf8; color: var(--gm-ink); }
.fb_page.fb_left { background: linear-gradient(270deg, rgba(0,0,0,.10) 0, rgba(0,0,0,0) 26px), #fbf7ec; padding: 1.5rem 1.7rem 1.2rem 1.4rem; }
.fb_page.fb_right { background: linear-gradient(90deg, rgba(0,0,0,.10) 0, rgba(0,0,0,0) 26px), #fffdf8; padding: 1.5rem 1.4rem 1.2rem 1.7rem; }
.fb_head { flex: none; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .55rem; margin-bottom: .9rem; border-bottom: 2px solid var(--gm-yellow); min-height: 1em; }
.fb_body { flex: 1; min-height: 0; overflow: hidden; line-height: 1.6; font-size: .86rem; margin-bottom: 1.4rem; }
.fb_about_body { overflow: auto; font-size: .94rem; scrollbar-width: thin; }
.fb_about_body p { margin: 0 0 .7em; text-align: left; font-size: inherit; }
.fb_about_body, .fb_about_body * { font-family: var(--gm-sans) !important; }
.fb_num { position: absolute; bottom: .6rem; font-size: .78rem; font-weight: 700; color: var(--gm-muted); font-variant-numeric: tabular-nums; }
.fb_left .fb_num { left: 1.1rem; } .fb_right .fb_num { right: 1.1rem; }
.fb_blank .fb_head { border-bottom-color: transparent; }
.fb_cover_page { padding: 0; background: #2b2b2b; border-radius: 3px 8px 8px 3px; box-shadow: inset 6px 0 10px rgba(0,0,0,.35); }
.fb_cover_page img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb_cover_page .book__fallback { height: 100%; }
.fb_spine { position: absolute; inset: 0 auto 0 0; width: 7px; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,255,255,.12) 60%, transparent); pointer-events: none; }
.fb_back_page { padding: 0; background: linear-gradient(135deg, #2b2b2b, #111); border-radius: 8px 3px 3px 8px; }
.fb_toc_page .toc_manual p, .fb_toc_page .toc_manual dt { margin: 0 0 .8rem; padding: 0; text-align: left; }
.fb_toc_page .toc_manual dl, .fb_toc_page .toc_manual { margin: 0; }
.fb_toc_page .toc_auto { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.fb_toc_page .toc_auto li { display: flex; gap: .6rem; margin: 0 0 .8rem; counter-increment: t; }
.fb_toc_page .toc_auto li::before { content: counter(t) "."; flex: none; width: 1.3em; color: var(--gm-yellow-deep); font-weight: 700; }
.fb_toc_page .toc_auto .p { margin-left: auto; color: var(--gm-muted); }
.fb_toc_page a { color: var(--gm-ink); text-decoration: none; background-image: linear-gradient(var(--gm-yellow), var(--gm-yellow)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--gm-ease); }
.fb_toc_page a:hover, .fb_toc_page a:focus { background-size: 100% 3px; }
@media (max-width: 899px) { .flipbook, .js .flipbook.is-flip, .js .flipbook.is-flip ~ .book_controls, .js .flipbook.is-flip ~ .book_toggle { display: none !important; } .issue_view__fallback { display: block; } }
/* ===== v27 ===== =====*/
/* book polish: lighter cover shadow, yellow back cover, denser contents */
.fb_back_page { background: linear-gradient(135deg, #fed900, #f2c800) !important; box-shadow: inset -6px 0 10px rgba(0,0,0,.12); }
.fb_cover_page { box-shadow: none !important; }
.fb_spine { display: none; }
.fb_body { margin-bottom: .5rem !important; line-height: 1.5 !important; }
.fb_toc_page .toc_manual p, .fb_toc_page .toc_manual dt { margin: 0 0 .5rem !important; }
.fb_toc_page .toc_auto li { margin: 0 0 .5rem !important; }
/* ===== v28 ===== =====*/
/* book pages: fixed text box (does not depend on flex), so measuring and rendering agree and the foot is never trimmed */
.fb_page { display: block; }
.fb_measure .fb_page { position: relative; }
.fb_head { position: absolute; top: 1.5rem; left: 1.4rem; right: 1.7rem; margin: 0 !important; height: 1.4rem; }
.fb_page.fb_right .fb_head { left: 1.7rem; right: 1.4rem; }
.fb_body { position: absolute !important; top: 4.2rem; bottom: 3rem; left: 1.4rem; right: 1.7rem; margin: 0 !important; flex: none !important; }
.fb_page.fb_right .fb_body { left: 1.7rem; right: 1.4rem; }

.fb_stage { overflow: visible; }
.fb_measure { z-index: -1; }

/* inside of the back cover: an endpaper, so the last page opens onto paper, not a black board */
.fb_back_page { background: linear-gradient(270deg, rgba(0,0,0,.10) 0, rgba(0,0,0,0) 26px), #fbf7ec !important; box-shadow: none !important; border-radius: 0; }
.fb_endpaper { position: absolute; inset: 1.4rem; border: 1.5px solid var(--gm-yellow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1rem; color: var(--gm-ink); }
.fb_endpaper b { font-size: .95rem; letter-spacing: .04em; }
.fb_endpaper i { font-style: normal; font-size: .72rem; color: var(--gm-muted); }
.fb_endpaper__mark { width: 38px; height: 38px; border-radius: 50%; background: var(--gm-yellow); margin-bottom: .4rem; box-shadow: inset 0 -10px 0 rgba(0,0,0,.12); }

.fb_about_body * { font-size: inherit !important; line-height: 1.55 !important; }
.fb_about_body { line-height: 1.55; }
.fb_about_body { overflow: hidden !important; }

.fb_map { display: none; }
.fb_edition { margin-top: .8em; padding-top: .7em; border-top: 1.5px solid var(--gm-yellow); }
.fb_edition__label { font-weight: 800; font-size: .72em; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4em; }
.fb_about_body .fb_edition p { margin: 0 0 .5em; }

.fb_endpaper__mark { display: none; }

.fb_endpaper_page .fb_endpaper { display: none; }
.fb_endpaper_page { background-image: linear-gradient(90deg, rgba(0,0,0,.08) 0, rgba(0,0,0,0) 26px) !important; }
.fb_endpaper_page.fb_left { background-image: linear-gradient(270deg, rgba(0,0,0,.10) 0, rgba(0,0,0,0) 26px) !important; }
.fb_back_page { background: linear-gradient(135deg, #fed900, #f2c800) !important; border-radius: 8px 3px 3px 8px; box-shadow: inset -6px 0 10px rgba(0,0,0,.12) !important; }
.fb_backcover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .35rem; padding: 0 1.2rem 2.2rem; text-align: center; color: var(--gm-ink); }
.fb_backcover b { font-size: .95rem; letter-spacing: .04em; }
.fb_backcover i { font-style: normal; font-size: .7rem; opacity: .75; }

/* mobile / no-book reading view */
.issue_view__fallback.is-mobile-view { display: block; max-width: 640px; margin: 0 auto; padding: 0 0 2rem; }
.m_cover { margin: 1.4rem auto 1.6rem; width: min(64%, 260px); }
.m_cover img { display: block; width: 100%; height: auto; border-radius: 3px 8px 8px 3px; box-shadow: 0 18px 30px -12px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06), inset 6px 0 8px rgba(0,0,0,.2); }
.m_card { background: #fffdf8; border: 1px solid rgba(0,0,0,.07); border-radius: 14px; padding: 1.2rem 1.2rem 1.3rem; margin: 0 0 1rem; }
.m_h { margin: 0 0 .8rem; padding: 0 0 .55rem; border-bottom: 2px solid var(--gm-yellow); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-ink); }
.m_h--sub { margin-top: 1.2rem; }
.m_text, .m_text * { font-family: var(--gm-sans) !important; font-size: .95rem !important; line-height: 1.65 !important; color: var(--gm-ink); }
.m_text p { margin: 0 0 .7rem; text-align: left; }
.m_text a, .m_text strong, .m_text b, .m_text em { text-transform: none !important; letter-spacing: normal !important; background: none !important; border: 0 !important; padding: 0 !important; color: inherit; }
.m_toc { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.m_toc li { counter-increment: m; display: flex; gap: .8rem; padding: .85rem 0; border-top: 1px solid rgba(0,0,0,.07); }
.m_toc li:first-child { border-top: 0; padding-top: .2rem; }
.m_toc li::before { content: counter(m); flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--gm-yellow); font-weight: 800; font-size: .78rem; display: grid; place-items: center; margin-top: .1rem; }
.m_toc a { color: var(--gm-ink); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.5; text-transform: none; letter-spacing: normal; background: none; padding: 0; }
.m_toc a::before, .m_toc a::after { content: none !important; }
.m_toc a:active { color: var(--gm-yellow-deep); }
.issue_view .m_card .m_h { margin: 0 0 .8rem !important; padding: 0 0 .55rem !important; font-size: .78rem !important; line-height: 1.3 !important; letter-spacing: .14em !important; font-family: var(--gm-sans) !important; }
.issue_view .m_card .m_h--sub { margin-top: 1.2rem !important; }
.issue_view .m_card { padding: 1.1rem 1.2rem 1.2rem !important; }
.issue_view .m_text, .issue_view .m_text * { font-size: .9rem !important; }

/* home on phones/tablets: one column (the desktop two-column rule had higher specificity) */
@media (max-width: 860px) {
	.page_index_journal .home_intro { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-top: 1.4rem; }
	.page_index_journal .home_intro .home_poster { max-width: 300px; margin: 0 auto; }
	.home_kicker { white-space: normal; }
}
.home_intro__desc, .home_intro__desc * { font-family: var(--gm-sans) !important; }
@media (max-width: 860px) { .home_intro__desc, .home_intro__desc * { font-size: .98rem !important; line-height: 1.65 !important; } .home_title { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; } }
/* the reading view is only for narrow screens; wide ones get the book (same 900px switch as the script) */
@media (min-width: 900px) { .issue_view__fallback.is-mobile-view { display: none !important; } }
@media (max-width: 899px) { .flipbook, .issue_view__stage .book_controls, .issue_view__stage .book_toggle { display: none !important; } }

/* uniform contents entries, whatever markup the editor used */
.fb_toc_page .fb_item { margin: 0 0 .6rem !important; padding: 0 !important; line-height: 1.5 !important; text-align: left !important; }
.fb_toc_page .fb_item--sub { margin-top: -.3rem !important; color: var(--gm-muted); }
.fb_toc_page .fb_item, .fb_toc_page .fb_item * { font-family: var(--gm-sans) !important; font-size: inherit !important; font-weight: 400 !important; font-style: normal; text-transform: none !important; letter-spacing: normal !important; border: 0 !important; }
.fb_toc_page .fb_item em, .fb_toc_page .fb_item i { font-style: italic; }
.fb_toc_page .fb_item a { color: var(--gm-ink) !important; text-decoration: none !important; padding: 0 !important; display: inline !important; }
.fb_toc_page .fb_item a::before, .fb_toc_page .fb_item a::after { content: none !important; display: none !important; }
.fb_toc_page .fb_item a { background-image: linear-gradient(var(--gm-yellow), var(--gm-yellow)) !important; background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--gm-ease); }
.fb_toc_page .fb_item a:hover, .fb_toc_page .fb_item a:focus { background-size: 100% 3px; }

/* ============ Search page ============ */
.page_search { max-width: 920px; margin: 0 auto; padding: 0 0 3rem; }
.page_search > h1 { margin: .4rem 0 1.2rem; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.page_search .cmp_form { background: #fffdf8; border: 1px solid rgba(0,0,0,.08); border-radius: 18px; padding: 1.1rem 1.2rem 1.2rem; box-shadow: 0 14px 30px -22px rgba(0,0,0,.35); margin: 0 0 2rem; display: block; }
.page_search .search_input { margin: 0 0 .9rem; }
.page_search .search_input input.query { width: 100%; box-sizing: border-box; height: 52px; padding: 0 1.2rem; font: 600 1rem var(--gm-sans); color: var(--gm-ink); background: #fff; border: 2px solid var(--gm-ink); border-radius: 999px; outline: none; transition: box-shadow .2s, border-color .2s; }
.page_search .search_input input.query:focus { border-color: var(--gm-ink); box-shadow: 0 0 0 4px rgba(254,217,0,.55); }
.page_search fieldset.search_advanced { border: 0; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; }
.page_search fieldset.search_advanced legend { grid-column: 1 / -1; padding: 0; margin: 0 0 .2rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-muted); float: none; width: auto; }
.page_search fieldset.search_advanced > * { min-width: 0; }
.page_search .date_range, .page_search .author { margin: 0; }
.page_search .date_range > div, .page_search .author { display: block; }
.page_search .date_range label, .page_search .author label { display: block; font-size: .8rem; font-weight: 700; margin: 0 0 .35rem; color: var(--gm-ink); }
.page_search .date_range .from, .page_search .date_range .to { margin: 0 0 .7rem; }
.page_search select, .page_search .author input[type=text] { height: 40px; padding: 0 .7rem; font: 500 .92rem var(--gm-sans); border: 1.5px solid rgba(0,0,0,.2); border-radius: 10px; background-color: #fff; color: var(--gm-ink); max-width: 100%; box-sizing: border-box; }
.page_search .author input[type=text] { width: 100%; }
.page_search select:focus, .page_search .author input:focus { outline: none; border-color: var(--gm-ink); box-shadow: 0 0 0 3px rgba(254,217,0,.5); }
.page_search .submit { text-align: right; margin: 0; }
.page_search .submit button { display: inline-flex; align-items: center; gap: .5rem; height: 46px; padding: 0 1.6rem; font: 800 .95rem var(--gm-sans); color: var(--gm-yellow); background: var(--gm-ink); border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s; }
.page_search .submit button:hover { transform: translateY(-1px); box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.page_search .submit button:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.page_search .submit button::before { content: none; }
.page_search .search_results { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.page_search .search_results > li { margin: 0; padding: 0; border: 0; }
.page_search .obj_article_summary { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 1.1rem 1.3rem 1.15rem; transition: transform .25s var(--gm-ease), box-shadow .25s, border-color .25s; position: relative; }
.page_search .obj_article_summary:hover { transform: translateY(-2px); border-color: var(--gm-yellow); box-shadow: 0 18px 30px -22px rgba(0,0,0,.4); }
.page_search .obj_article_summary .title { margin: 0 0 .45rem; font-size: 1.05rem; font-weight: 800; line-height: 1.4; letter-spacing: -.005em; }
.page_search .obj_article_summary .title a { color: var(--gm-ink); text-decoration: none; background-image: linear-gradient(var(--gm-yellow), var(--gm-yellow)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 3px; transition: background-size .3s var(--gm-ease); }
.page_search .obj_article_summary .title a:hover { background-size: 100% 3px; }
.page_search .obj_article_summary .meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; }
.page_search .obj_article_summary .authors { flex: 1 1 100%; font-size: .88rem; color: #555; line-height: 1.5; }
.page_search .obj_article_summary .pages, .page_search .obj_article_summary .published { font-size: .75rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; background: #f4f1e6; color: var(--gm-ink); float: none; margin: 0; }
.page_search .obj_article_summary .pages::before { content: "hal. "; font-weight: 500; opacity: .7; }
.page_search .cmp_pagination { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; align-items: center; font-size: .9rem; }
.page_search .cmp_pagination a, .page_search .cmp_pagination strong { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 .7rem; border-radius: 999px; text-decoration: none; font-weight: 700; box-sizing: border-box; }
.page_search .cmp_pagination a { color: var(--gm-ink); border: 1.5px solid rgba(0,0,0,.15); background: #fff; }
.page_search .cmp_pagination a:hover { border-color: var(--gm-ink); }
.page_search .cmp_pagination strong { background: var(--gm-yellow); color: var(--gm-ink); }
.page_search .cmp_pagination .current { background: var(--gm-yellow); }
.page_search .search_results ~ .pkp_screen_reader, .page_search h2.pkp_screen_reader { }
@media (max-width: 640px) { .page_search fieldset.search_advanced { grid-template-columns: 1fr; } .page_search .cmp_form { padding: 1rem; border-radius: 16px; } .page_search .submit button { width: 100%; justify-content: center; } }
.page_search fieldset.search_advanced .date_range { float: none !important; width: auto !important; grid-column: 1; margin: 0 !important; padding: 0 !important; }
.page_search fieldset.search_advanced .author { float: none !important; width: auto !important; grid-column: 2; margin: 0 !important; padding: 0 !important; }
.page_search .date_range fieldset { border: 0; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.page_search .date_range fieldset legend { flex: 0 0 100%; width: 100%; padding: 0; margin: 0 0 .15rem; font-size: .8rem; font-weight: 700; letter-spacing: normal; text-transform: none; color: var(--gm-ink); }
.page_search .date_range label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page_search .date_range select { flex: 1 1 0; min-width: 0; }
.page_search .author label { font-size: .8rem; font-weight: 700; }
.page_search .cmp_form .submit button.submit, .page_search .cmp_form button.submit { width: auto !important; min-width: 0 !important; height: 46px !important; padding: 0 1.8rem !important; border-radius: 999px !important; background: var(--gm-ink) !important; color: var(--gm-yellow) !important; font: 800 .95rem var(--gm-sans) !important; text-indent: 0 !important; line-height: 1 !important; border: 0 !important; }
.page_search .cmp_form button.submit::before, .page_search .cmp_form button.submit::after { content: none !important; display: none !important; }
/* poster: no hairline above it (inherited from .additional_content), room for its rotation and shadow */
.home_poster.additional_content, .home_poster { border: 0 !important; padding: 1.2rem 0 2rem !important; margin-top: 0; overflow: visible; }
.home_poster::before { inset: 10% -8% 0; }
/* ===== v29 ===== =====*/
/* a11y: logo name, skip-link target */
