/*
	Theme Name:   	Superfast Child Sejarah Perang
	Theme URI:    	https://www.sejarahperang.eu.org/
	Description: 	Superfast Child Theme untuk Sejarah Perang — identitas navy + emas, niche sejarah perang.
	Author: 		Sejarah Perang
	Version: 		1.0.1
	License: 		GNU General Public License v2 or later
	License URI: 	http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: 	superfast
	Template:    	superfast
*/

/* Identitas Sejarah Perang: navy berwibawa + emas. */
:root {
	--sp-navy: #12263f;
	--sp-navy-dark: #0c1a2c;
	--sp-navy-mid: #1b3352;
	--sp-gold: #c9a227;
	--sp-gold-dark: #9a7b1a;
	--sp-parchment: #f5f0e6;
	--sp-ink: #1a1a1a;
}

/* Keep header logo constrained; all other styling inherits from parent. */
.gmr-logo img,
.gmr-logomobile img,
.custom-logo-link img {
	max-height: 64px;
	width: auto;
	height: auto;
}

/* Header + menu: navy, aksen emas. */
.site-header {
	background-color: #12263f !important;
}
.gmr-menuwrap {
	background-color: #0c1a2c !important;
}
.gmr-mainmenu #primary-menu > li > a {
	color: #ffffff;
}
.gmr-mainmenu #primary-menu > li:hover > a,
.gmr-mainmenu #primary-menu > li.current-menu-item > a,
.gmr-mainmenu #primary-menu > li.current-menu-ancestor > a {
	color: #c9a227 !important;
}
.gmr-secondmenuwrap {
	background-color: #0c1a2c;
}
.gmr-secondmenu #primary-menu > li > a {
	color: #d8d2c4;
}
.gmr-secondmenu #primary-menu > li:hover > a,
.gmr-secondmenu #primary-menu .current-menu-item > a {
	color: #c9a227 !important;
}
.site-title a {
	color: #f5f0e6 !important;
}
.site-description {
	color: #c9a227 !important;
}

/* Tautan + judul: navy, hover emas gelap. */
a {
	color: #1b3352;
}
a:hover,
a:focus {
	color: #9a7b1a;
}
.entry-title a,
h1.entry-title {
	color: #12263f;
}
.entry-title a:hover {
	color: #9a7b1a;
}
::selection {
	background: #c9a227;
	color: #ffffff;
}

/* Breadcrumb. */
.sp-breadcrumb-wrap {
	margin-bottom: 12px;
}
.sp-breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
	color: #555555;
}
.sp-breadcrumb a {
	color: #1b3352;
}
.sp-breadcrumb .sp-sep {
	color: #c9a227;
}

/* Estimasi waktu baca. */
.sp-reading-time {
	color: #666666;
	font-size: 13px;
	white-space: nowrap;
}

/* Table of Contents di artikel. */
.sp-toc {
	border: 1px solid #d8d2c4;
	border-left: 5px solid #c9a227;
	background: #fbf8f0;
	padding: 16px 20px;
	margin: 0 0 24px;
}
.sp-toc-title {
	color: #12263f;
	font-size: 18px;
	margin: 0 0 10px;
}
.sp-toc ol {
	margin: 0;
	padding-left: 20px;
}
.sp-toc li {
	margin-bottom: 4px;
}
.sp-toc a {
	color: #1b3352;
}

/* Kotak Baca Juga di tengah artikel. */
.sp-read-also {
	border: 1px solid #d8d2c4;
	border-left: 5px solid #c9a227;
	background: #fbf8f0;
	padding: 16px 20px;
	margin: 24px 0;
}
.sp-read-also-title {
	color: #12263f;
	font-size: 18px;
	margin: 0 0 10px;
}
.sp-read-also ul {
	margin: 0;
	padding-left: 20px;
}
.sp-read-also li {
	margin-bottom: 4px;
}
.sp-read-also a {
	color: #1b3352;
	font-weight: 600;
}

/* Thumbnail fallback: samakan perilaku gambar asli. */
.content-thumbnail img,
.gmr-box-content figure img {
	width: 100%;
	height: auto;
}

/* Footer: navy gelap, teks parchment. */
#footer-container {
	background-color: #0c1a2c;
}
#colophon.site-footer {
	background-color: #0c1a2c;
	color: #d8d2c4;
}
#colophon.site-footer a {
	color: #f5f0e6;
}
#colophon.site-footer a:hover {
	color: #c9a227;
}
.sp-copyright {
	margin: 0;
}

/* Sidebar: arsip dibatasi tinggi + scroll; widget komentar terbaru (kosong) disembunyikan. */
.widget-area .wp-block-archives-list { max-height: 300px; overflow-y: auto; padding-right: 6px; }
.widget_block:has(.wp-block-latest-comments) { display: none; }
