/* Beranda situs (daftar jurnal) — satu bahasa visual dengan tema CHERYL. */

.page_index_site {
	max-width: 1180px;
	margin: 0 auto;
	padding: 26px 20px 40px;
}

.cheryl_site__hero {
	background: linear-gradient(135deg, #0b3f6b 0%, #0b5fa5 55%, #1287c9 100%);
	border-radius: 16px;
	padding: 34px 34px 32px;
	color: #ffffff;
	box-shadow: 0 12px 30px rgba(11, 63, 107, 0.18);
}

.cheryl_site__heroText {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 780px;
}

.cheryl_site__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 13px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cheryl_site__badge .fa-solid {
	font-size: 0.82rem;
}

.page_index_site .cheryl_site__title {
	margin: 0;
	color: #ffffff;
	font-size: 2.05rem;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.page_index_site .cheryl_site__about {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
	line-height: 1.75;
}

.cheryl_site__about p {
	margin: 0 0 8px;
}

.cheryl_site__about p:last-child {
	margin-bottom: 0;
}

.cheryl_site__heroActions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.cheryl_site__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid #cfe0ef;
	border-radius: 9px;
	background: #ffffff;
	color: #0b5fa5;
	font-size: 0.83rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.cheryl_site__btn:hover,
.cheryl_site__btn:focus-visible {
	background: #f2f8fe;
	border-color: #0b5fa5;
	color: #0b3f6b;
	transform: translateY(-1px);
}

.page_index_site .cheryl_site__hero .cheryl_site__btn {
	border-color: transparent;
}

.cheryl_site__hero .cheryl_site__btn:hover,
.cheryl_site__hero .cheryl_site__btn:focus-visible {
	background: #ffffff;
	color: #0b3f6b;
}

.cheryl_site__btn--primary {
	background: #0b5fa5;
	border-color: #0b5fa5;
	color: #ffffff;
}

.cheryl_site__btn--primary:hover,
.cheryl_site__btn--primary:focus-visible {
	background: #0b3f6b;
	border-color: #0b3f6b;
	color: #ffffff;
}

.cheryl_site__journals {
	margin-top: 26px;
}

.cheryl_site__sectionHead {
	margin-bottom: 16px;
}

.cheryl_site__sectionHead h2 {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	color: #12283d;
}

.cheryl_site__sectionHead p {
	margin: 6px 0 0;
	color: #5b6b7c;
	font-size: 0.9rem;
}

.cheryl_site__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cheryl_site__card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e1e8f0;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(15, 40, 66, 0.05);
	overflow: hidden;
}

.cheryl_site__cover {
	display: block;
	background: #f4f6f8;
}

.cheryl_site__cover img.is-logo {
	height: 150px;
	padding: 26px 30px;
	background: #ffffff;
	object-fit: contain;
}

.cheryl_site__cover img {
	display: block;
	width: 100%;
	height: 210px;
	padding: 16px;
	background: #ffffff;
	object-fit: contain;
}

.cheryl_site__coverFallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 210px;
	color: #7e9fbd;
	font-size: 2.4rem;
}

.cheryl_site__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
	flex: 1;
}

.cheryl_site__body h3 {
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.35;
	font-weight: 800;
}

.cheryl_site__body h3 a {
	color: #12283d;
	text-decoration: none;
}

.cheryl_site__body h3 a:hover,
.cheryl_site__body h3 a:focus-visible {
	color: #0b5fa5;
}

.cheryl_site__issn {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	color: #5b6b7c;
	font-size: 0.79rem;
	font-weight: 600;
}

.cheryl_site__desc {
	color: #46586a;
	font-size: 0.87rem;
	line-height: 1.7;
}

.cheryl_site__desc p {
	margin: 0 0 8px;
}

.cheryl_site__desc p:last-child {
	margin-bottom: 0;
}

.cheryl_site__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: auto;
	padding-top: 12px;
}

.cheryl_site__empty {
	padding: 18px 20px;
	background: #ffffff;
	border: 1px dashed #cfdcea;
	border-radius: 12px;
	color: #5b6b7c;
}

/* Mode gelap */
:root[data-cheryl-theme="dark"] .cheryl_site__card {
	background: #16202a;
	border-color: #26313d;
}

:root[data-cheryl-theme="dark"] .cheryl_site__sectionHead h2,
:root[data-cheryl-theme="dark"] .cheryl_site__body h3 a {
	color: #e8eef5;
}

:root[data-cheryl-theme="dark"] .cheryl_site__sectionHead p,
:root[data-cheryl-theme="dark"] .cheryl_site__issn,
:root[data-cheryl-theme="dark"] .cheryl_site__desc {
	color: #9fb0c0;
}

:root[data-cheryl-theme="dark"] .cheryl_site__cover,
:root[data-cheryl-theme="dark"] .cheryl_site__coverFallback {
	background: #1b2530;
}

:root[data-cheryl-theme="dark"] .cheryl_site__btn {
	background: #1b2530;
	border-color: #2b3d4e;
	color: #cfe0ef;
}

:root[data-cheryl-theme="dark"] .cheryl_site__btn--primary {
	background: #0b5fa5;
	border-color: #0b5fa5;
	color: #ffffff;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-cheryl-theme="light"]) .cheryl_site__card {
		background: #16202a;
		border-color: #26313d;
	}

	:root:not([data-cheryl-theme="light"]) .cheryl_site__sectionHead h2,
	:root:not([data-cheryl-theme="light"]) .cheryl_site__body h3 a {
		color: #e8eef5;
	}

	:root:not([data-cheryl-theme="light"]) .cheryl_site__sectionHead p,
	:root:not([data-cheryl-theme="light"]) .cheryl_site__issn,
	:root:not([data-cheryl-theme="light"]) .cheryl_site__desc {
		color: #9fb0c0;
	}

	:root:not([data-cheryl-theme="light"]) .cheryl_site__btn {
		background: #1b2530;
		border-color: #2b3d4e;
		color: #cfe0ef;
	}

	:root:not([data-cheryl-theme="light"]) .cheryl_site__btn--primary {
		background: #0b5fa5;
		border-color: #0b5fa5;
		color: #ffffff;
	}
}

@media (max-width: 900px) {
	.cheryl_site__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.page_index_site {
		padding: 16px 14px 30px;
	}

	.cheryl_site__hero {
		padding: 24px 20px 22px;
		border-radius: 14px;
	}

	.cheryl_site__title {
		font-size: 1.5rem;
	}

	.cheryl_site__cover img,
	.cheryl_site__coverFallback {
		height: 170px;
	}
}
