/*
Theme Name: Sekolah ST
Theme URI: https://example.com/sekolah-st
Author: Sekolah ST
Description: Tema sekolah responsif dengan header dan slider layar penuh.
Version: 1.0.0
Text Domain: sekolah-st
*/

:root {
	--blue: #0763b6;
	--blue-dark: #073d79;
	--cyan: #17bfe8;
	--ink: #111827;
	--header-height: 112px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	max-width: 100%;
	overflow-x: hidden;
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	max-width: 100%;
	overflow-x: hidden;
	overflow-x: clip;
	margin: 0;
	color: var(--ink);
	background: #fff;
	font-family: "Manrope", sans-serif;
}

img,
iframe,
video {
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 1000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: #fff;
}

.site-header {
	position: relative;
	z-index: 50;
	min-height: var(--header-height);
	background: linear-gradient(180deg, #82cee6 0%, #eaf7fb 100%);
	box-shadow: 0 1px 12px rgb(7 61 121 / 8%);
}

.breaking-news {
	position: relative;
	z-index: 40;
	display: flex;
	align-items: center;
	height: 50px;
	overflow: hidden;
	color: #fff;
	background: #193b82;
	border-bottom: 3px solid #18a6a3;
}

.breaking-news-track {
	display: flex;
	align-items: center;
	width: max-content;
	min-width: max-content;
	animation: breaking-news-scroll 24s linear infinite;
	will-change: transform;
}

.breaking-news:hover .breaking-news-track {
	animation-play-state: paused;
}

.breaking-news-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 72px;
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
}

.breaking-news-logo {
	display: block;
	width: 38px;
	height: 38px;
	padding: 3px;
	margin-left: 24px;
	background: #fff;
	border: 2px solid rgb(255 255 255 / 75%);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
	flex: 0 0 38px;
	object-fit: contain;
}

.breaking-news-mark {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: 24px;
	font-size: 13px;
	font-weight: 800;
	background: #18a6a3;
	border-radius: 50%;
}

.breaking-news-item strong {
	font-weight: 800;
}

.breaking-news-separator {
	width: 6px;
	height: 6px;
	background: #ffd54a;
	border-radius: 50%;
}

@keyframes breaking-news-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.header-inner {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr) max-content;
	align-items: center;
	gap: clamp(20px, 1.8vw, 34px);
	width: min(100% - 48px, 1820px);
	min-height: var(--header-height);
	margin-inline: auto;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	width: max-content;
	color: var(--blue);
}

.site-logo,
.custom-logo-link {
	display: inline-flex;
	max-width: 100%;
}

.custom-logo {
	display: block;
	width: var(--school-logo-width, 64px);
	height: var(--school-logo-height, 76px);
	max-width: 100%;
	object-fit: contain;
}

.logo-placeholder {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	color: #fff;
	background: var(--blue);
	border-radius: 50%;
}

.logo-placeholder svg {
	width: 42px;
	fill: currentColor;
}

.site-title {
	font-size: clamp(22px, 2vw, 38px);
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
}

.primary-navigation .menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 1.25vw, 26px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation li {
	position: relative;
	flex: 0 0 auto;
}

.primary-navigation a {
	display: block;
	padding: 43px 0 39px;
	font-size: 16px;
	font-weight: 800;
	line-height: 30px;
	white-space: nowrap;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a,
.primary-navigation a:hover,
.primary-navigation a:focus-visible {
	color: var(--blue);
}

.primary-navigation .menu-item-has-children > a::after {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin: 0 0 3px 10px;
	content: "";
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.primary-navigation .sub-menu {
	position: absolute;
	top: calc(100% - 20px);
	left: -18px;
	min-width: 210px;
	padding: 10px 0;
	margin: 0;
	visibility: hidden;
	list-style: none;
	background: #fff;
	box-shadow: 0 12px 30px rgb(7 61 121 / 16%);
	opacity: 0;
	transform: translateY(8px);
	transition: 180ms ease;
}

.primary-navigation .sub-menu a {
	padding: 10px 18px;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.social-links {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.social-links a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: #fff;
	font-weight: 800;
	border-radius: 50%;
}

.social-links svg {
	width: 18px;
	height: 18px;
}

.social-facebook { background: #385898; }
.social-instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 52%, #fcb045 100%); }
.social-tiktok { background: #111827; }
.social-youtube { background: #e52428; }
.social-whatsapp { background: #16c86a; }

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 9px;
	color: var(--blue-dark);
	background: transparent;
	border: 0;
}

.menu-toggle svg,
.slider-arrow svg {
	width: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hero-slider {
	position: relative;
	isolation: isolate;
	width: 100%;
	height: clamp(420px, 45vw, 760px);
	overflow: hidden;
	background: linear-gradient(110deg, #14d5de 0%, #08b9eb 46%, #078ff2 100%);
}

.hero-slider::before,
.hero-slider::after {
	position: absolute;
	z-index: -1;
	width: 28%;
	height: 100%;
	pointer-events: none;
	content: "";
}

.hero-slider::before {
	top: 0;
	left: 0;
	background:
		radial-gradient(circle, rgb(255 255 255 / 55%) 2px, transparent 2.5px) 22px 8px / 16px 16px no-repeat,
		repeating-linear-gradient(45deg, transparent 0 12px, rgb(255 255 255 / 24%) 13px 15px, transparent 16px 24px) -90px 72% / 260px 230px no-repeat;
}

.hero-slider::after {
	right: 0;
	bottom: 0;
	background:
		repeating-linear-gradient(55deg, transparent 0 10px, rgb(255 255 255 / 24%) 11px 13px, transparent 14px 22px) 50px -20px / 270px 250px no-repeat,
		radial-gradient(circle, rgb(255 255 255 / 45%) 2px, transparent 2.5px) calc(100% - 28px) calc(100% - 18px) / 16px 16px no-repeat;
}

.slides,
.slide {
	width: 100%;
	height: 100%;
}

.slides {
	position: relative;
	z-index: 1;
}

.slide {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px 8% 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 700ms ease, visibility 700ms ease;
}

.slide.is-active {
	visibility: visible;
	opacity: 1;
}

.slide img {
	display: block;
	width: 100%;
	max-width: 1390px;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.slider-arrow {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: grid;
	place-items: center;
	width: 58px;
	height: 92px;
	padding: 8px;
	color: #fff;
	background: transparent;
	border: 0;
	transform: translateY(-50%);
	cursor: pointer;
	filter: drop-shadow(0 2px 2px rgb(0 64 115 / 22%));
	transition: transform 180ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
	background: transparent;
	transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
	display: none;
}

.slider-dot {
	width: 11px;
	height: 11px;
	padding: 0;
	background: rgb(255 255 255 / 55%);
	border: 2px solid #fff;
	border-radius: 50%;
	cursor: pointer;
}

.slider-dot.is-active {
	background: var(--blue);
}

.vision-mission {
	padding: 52px 24px 62px;
	background: #fff;
}

.vision-mission-inner {
	width: min(100%, 1320px);
	margin-inline: auto;
}

.section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 0 0 42px;
	color: #0b4d64;
	font-size: clamp(30px, 3vw, 52px);
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
}

.section-title::before,
.section-title::after {
	width: clamp(70px, 9vw, 150px);
	height: 5px;
	content: "";
	background: repeating-linear-gradient(90deg, #0b4d64 0 22px, #fff 22px 25px);
}

.vision-mission-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(18px, 2vw, 30px);
}

.vm-card {
	position: relative;
	min-width: 0;
	min-height: 340px;
	padding: 28px 24px;
	text-align: center;
	border: 4px solid transparent;
	border-radius: 28px;
	transition-property: none;
}

.vm-card.is-selected,
.vm-card:focus-within {
	border-color: #12a6a3;
	box-shadow: 0 18px 34px rgb(15 23 42 / 24%);
	transform: translateY(-2px);
}

.vm-card-select {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
	border-radius: 38px;
}

.vm-card-select:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 4px;
}

.vm-card h3 {
	margin: 0 0 15px;
	color: #182235;
	font-size: clamp(26px, 2vw, 36px);
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
}

.vm-card p {
	margin: 0;
	color: var(--blue);
	font-size: clamp(16px, 1.15vw, 19px);
	font-weight: 700;
	line-height: 1.65;
}

.vm-list {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 18px;
	padding: 0;
	margin: 0;
	color: var(--blue);
	font-size: clamp(15px, 1.1vw, 18px);
	line-height: 1.6;
	list-style: none;
}

.vm-list li {
	position: relative;
	min-width: 0;
	padding-left: 28px;
	text-align: left;
	overflow-wrap: anywhere;
}

.vm-list li::before {
	position: absolute;
	top: 0.65em;
	left: 0;
	width: 7px;
	height: 7px;
	content: "";
	background: currentColor;
	border-radius: 50%;
	transform: translateY(-50%);
}

.latest-news {
	padding: 58px 16px 68px;
	background: #fff;
}

.latest-news-inner {
	width: min(100%, 1200px);
	margin-inline: auto;
}

.latest-news .section-title {
	margin-bottom: 34px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(18px, 2vw, 28px);
}

.news-card {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	color: #fff;
	background: #193b82;
	border-radius: 10px;
	box-shadow: 0 16px 30px rgb(15 23 42 / 12%);
}

.news-thumbnail {
	display: block;
	margin: 18px 18px 0;
	overflow: hidden;
	height: clamp(120px, 11vw, 160px);
}

.news-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-card-body {
	display: flex;
	min-height: 0;
	flex: 1;
	flex-direction: column;
	padding: 16px 18px 18px;
}

.news-category {
	position: absolute;
	z-index: 1;
	top: 18px;
	left: 18px;
	padding: 7px 10px;
	font-size: 13px;
	line-height: 1;
	background: #078df2;
	border-radius: 4px;
}

.news-date {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 7px;
	padding: 7px 10px;
	margin: 0 0 20px;
	color: #fff;
	line-height: 1;
	background: #f5255b;
	border-radius: 4px;
}

.has-news-image .news-date {
	margin-top: -40px;
	margin-left: -18px;
}

.news-date strong {
	font-size: 19px;
}

.news-date span {
	font-size: 13px;
}

.news-card h3 {
	display: -webkit-box;
	margin: 0 0 10px;
	overflow: hidden;
	font-size: clamp(17px, 1.15vw, 20px);
	font-weight: 800;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.news-card p {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	font-size: clamp(13px, 0.9vw, 15px);
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.news-read-more {
	display: none;
}

.news-read-more:hover,
.news-read-more:focus-visible {
	background: #0862da;
}

.school-videos,
.school-partners {
	padding: 72px 20px 84px;
}

.school-videos {
	background: #f1f9fc;
}

.school-partners {
	background: #fff;
}

.school-videos-inner,
.school-partners-inner {
	width: min(100%, 1640px);
	margin-inline: auto;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.4vw, 38px);
}

.video-frame {
	overflow: hidden;
	background: #071a36;
	border: 5px solid #fff;
	border-radius: 8px;
	box-shadow: 0 16px 34px rgb(7 61 121 / 18%);
	aspect-ratio: 16 / 9;
}

.video-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.partner-carousel {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 48px;
	align-items: center;
	gap: 14px;
}

.partner-viewport {
	min-width: 0;
	overflow: hidden;
}

.partner-track {
	display: flex;
	gap: 20px;
	transition: transform 500ms ease;
}

.partner-logo {
	display: grid;
	flex: 0 0 calc((100% - 80px) / 5);
	place-items: center;
	min-width: 0;
	height: 150px;
	padding: 18px;
	background: #fff;
	border: 1px solid #d9e8ef;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgb(7 61 121 / 8%);
}

.partner-logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.partner-arrow {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 11px;
	color: #fff;
	cursor: pointer;
	background: #0877c9;
	border: 0;
	border-radius: 50%;
}

.partner-arrow:hover,
.partner-arrow:focus-visible {
	background: #193b82;
}

.partner-arrow svg {
	width: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.school-contact {
	background: #fff;
}

.contact-service {
	padding: 72px 20px 64px;
	text-align: center;
	background: #eaf7fb;
}

.contact-service .section-title {
	margin-bottom: 26px;
}

.contact-service .section-title::before,
.contact-service .section-title::after {
	background: repeating-linear-gradient(90deg, #0b4d64 0 22px, #eaf7fb 22px 25px);
}

.contact-service > p {
	max-width: 780px;
	margin: 0 auto 28px;
	color: #334155;
	font-size: clamp(16px, 1.25vw, 20px);
	line-height: 1.7;
}

.service-schedule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
	width: fit-content;
	max-width: 100%;
	padding: 16px 28px;
	margin-inline: auto;
	color: #fff;
	background: #193b82;
	border-radius: 8px;
}

.service-schedule span {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.service-schedule strong,
.service-schedule b {
	font-size: clamp(15px, 1.2vw, 19px);
}

.service-schedule b {
	padding-left: 24px;
	border-left: 1px solid rgb(255 255 255 / 40%);
}

.school-address {
	width: min(100% - 40px, 1500px);
	padding: 74px 0 90px;
	margin-inline: auto;
}

.address-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	align-items: stretch;
	gap: clamp(34px, 5vw, 76px);
}

.map-frame {
	min-height: 410px;
	overflow: hidden;
	border: 1px solid #cfe1e8;
	border-radius: 8px;
	box-shadow: 0 14px 30px rgb(7 61 121 / 12%);
}

.map-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 410px;
	border: 0;
}

.address-card {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 28px 0 28px 42px;
	border-left: 5px solid #18a6a3;
}

.address-label {
	margin-bottom: 12px;
	color: #0877c9;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.address-card h3 {
	margin: 0 0 18px;
	color: #182235;
	font-size: clamp(25px, 2.2vw, 38px);
	line-height: 1.2;
}

.address-card address {
	margin: 0 0 30px;
	color: #334155;
	font-size: clamp(16px, 1.25vw, 20px);
	font-style: normal;
	line-height: 1.7;
}

.map-link {
	align-self: flex-start;
	padding: 14px 24px;
	color: #fff;
	font-weight: 700;
	background: #0877c9;
	border-radius: 6px;
}

.map-link:hover,
.map-link:focus-visible {
	background: #193b82;
}

.address-social-links {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.address-social-links a,
.address-social-links span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: #fff;
	font-weight: 800;
	border-radius: 50%;
}

.address-social-links .is-unconfigured {
	opacity: 0.55;
}

.address-social-links svg {
	width: 19px;
	height: 19px;
}

.single-post-page {
	padding: 32px 20px 90px;
	background: #f4f8fa;
}

.single-post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 410px;
	align-items: start;
	gap: 34px;
	width: min(100%, 1380px);
	margin-inline: auto;
}

.single-post-layout-full-width {
	grid-template-columns: minmax(0, 960px);
	justify-content: center;
}

.single-post-layout-full-width .popular-posts-widget {
	display: none;
}

.single-post-article {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 34px rgb(7 61 121 / 10%);
}

.single-post-header {
	padding: 32px clamp(22px, 5vw, 64px);
}

.single-post-category {
	display: inline-block;
	padding: 7px 12px;
	margin-bottom: 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	background: #0877c9;
	border-radius: 4px;
}

.single-post-header h1 {
	margin: 0 0 18px;
	color: #182235;
	font-size: clamp(30px, 3.6vw, 54px);
	line-height: 1.18;
	overflow-wrap: anywhere;
}

.single-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	color: #607086;
	font-size: 14px;
}

.single-post-featured {
	margin: 0;
	background: #dcebf0;
	aspect-ratio: 16 / 9;
}

.single-post-featured img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-post-content {
	padding: clamp(30px, 5vw, 64px);
	color: #27364a;
	font-size: 18px;
	line-height: 1.85;
	overflow-wrap: anywhere;
}

.single-post-content > :first-child { margin-top: 0; }
.single-post-content > :last-child { margin-bottom: 0; }
.single-post-content img { max-width: 100%; height: auto; }
.single-post-content a { color: #0763b6; text-decoration: underline; }

.single-post-content table,
.page-content table,
.single-post-content pre,
.page-content pre {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.single-post-share {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 clamp(22px, 5vw, 64px) clamp(34px, 5vw, 58px);
}

.single-post-share > strong {
	margin-right: 4px;
	color: #334155;
	font-size: 15px;
}

.share-button {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 7px 16px rgb(15 23 42 / 18%);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.share-button svg {
	width: 25px;
	height: 25px;
	fill: currentColor;
}

.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }

.share-button:hover,
.share-button:focus-visible {
	color: #fff;
	box-shadow: 0 10px 20px rgb(15 23 42 / 26%);
	transform: translateY(-2px);
}

.share-button:focus-visible {
	outline: 3px solid #182235;
	outline-offset: 3px;
}

.popular-posts-widget {
	position: sticky;
	top: 24px;
	padding: 28px 24px;
	background: #fff;
	border-top: 5px solid #18a6a3;
	border-radius: 6px;
	box-shadow: 0 12px 34px rgb(7 61 121 / 10%);
}

.popular-posts-widget h2 {
	padding-bottom: 18px;
	margin: 0 0 8px;
	color: #193b82;
	font-size: 18px;
	border-bottom: 1px solid #dce7ec;
}

.popular-posts-list {
	padding: 0;
	margin: 0;
	list-style: none;
	counter-reset: popular-post;
}

.popular-posts-list li {
	position: relative;
	padding: 15px 0 15px 32px;
	border-bottom: 1px solid #e2ebef;
	counter-increment: popular-post;
}

.popular-posts-list li:last-child { padding-bottom: 0; border-bottom: 0; }

.popular-posts-list li::before {
	position: absolute;
	top: 18px;
	left: 0;
	color: #0877c9;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	content: counter(popular-post);
}

.popular-post-link {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
	gap: 7px;
}

.popular-post-thumbnail {
	display: block;
	overflow: hidden;
	background: #dcebf0;
	border-radius: 5px;
	aspect-ratio: 4 / 3;
}

.popular-post-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.popular-post-copy { min-width: 0; }

.popular-post-copy strong {
	display: -webkit-box;
	overflow: hidden;
	color: #182235;
	font-size: 15px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.popular-post-copy time {
	display: block;
	margin-top: 7px;
	color: #718096;
	font-size: 12px;
}

.popular-post-link:hover strong,
.popular-post-link:focus-visible strong { color: #0877c9; }

.page-content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 410px;
	align-items: start;
	gap: 34px;
	width: min(100% - 40px, 1380px);
	margin: 64px auto;
}

.page-content-layout-full-width {
	grid-template-columns: minmax(0, 1120px);
	justify-content: center;
}

.page-content {
	min-width: 0;
	overflow-wrap: anywhere;
}

.page-content img,
.page-content iframe,
.page-content video {
	max-width: 100%;
	height: auto;
}

.site-footer {
	padding: 24px;
	color: #fff;
	text-align: center;
	background: var(--blue-dark);
}

.site-footer p {
	margin: 0;
}

@media (min-width: 1181px) and (max-width: 1600px) {
	.header-inner {
		gap: 18px;
	}

	.custom-logo {
		width: min(var(--school-logo-width, 64px), 330px);
	}

	.primary-navigation .menu {
		gap: 12px;
	}

	.primary-navigation a {
		font-size: 14px;
	}

	.social-links {
		gap: 7px;
	}

	.social-links a {
		width: 34px;
		height: 34px;
	}
}

@media (max-width: 1180px) {
	.page-content-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }

	.header-inner {
		grid-template-columns: 1fr auto auto;
		gap: 18px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 8px 24px 24px;
		background: #effaff;
		box-shadow: 0 14px 20px rgb(7 61 121 / 12%);
	}

	.menu-is-open .primary-navigation {
		display: block;
	}

	.primary-navigation .menu {
		align-items: stretch;
		gap: 0;
		flex-direction: column;
	}

	.primary-navigation a {
		padding: 12px 4px;
	}

	.primary-navigation .sub-menu {
		position: static;
		display: block;
		visibility: visible;
		padding-left: 18px;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}

	.vision-mission-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vm-card:first-child {
		grid-column: 1 / -1;
		min-height: 240px;
	}

	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.partner-logo { flex-basis: calc((100% - 40px) / 3); }

	.address-grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
		gap: 34px;
	}

	.single-post-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
	.popular-posts-widget { padding: 26px 20px; }
	.popular-post-link { grid-template-columns: 72px minmax(0, 1fr); gap: 7px; }
}

@media (max-width: 680px) {
	:root { --header-height: 92px; }

	.header-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
		width: calc(100% - 24px);
	}

	.site-brand {
		min-width: 0;
		max-width: 100%;
	}

	.custom-logo {
		width: 100%;
		height: min(var(--school-logo-height, 76px), 62px);
	}

	.logo-placeholder {
		width: 48px;
		height: 48px;
	}

	.logo-placeholder svg { width: 32px; }
	.site-title {
		display: -webkit-box;
		overflow: hidden;
		font-size: 16px;
		line-height: 1.25;
		white-space: normal;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
	.menu-toggle { width: 40px; height: 40px; padding: 8px; }
	.primary-navigation { padding: 8px 18px 18px; }
	.primary-navigation a { padding: 10px 2px; font-size: 14px; }
	.social-links {
		gap: 6px;
		max-width: min(52vw, 230px);
		flex-wrap: wrap;
	}
	.social-links a {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}
	.breaking-news { height: 42px; }
	.breaking-news-item { gap: 10px; padding-right: 42px; font-size: 12px; }
	.breaking-news-logo {
		width: 32px;
		height: 32px;
		margin-left: 14px;
		flex-basis: 32px;
	}
	.breaking-news-mark { width: 28px; height: 28px; margin-left: 14px; }
	.hero-slider { height: 62vw; min-height: 220px; max-height: 300px; }
	.hero-slider::before,
	.hero-slider::after { display: none; }
	.slide { padding: 0; }
	.slide img { max-width: none; }
	.slider-arrow { width: 38px; height: 48px; padding: 9px; }
	.slider-prev { left: 4px; }
	.slider-next { right: 4px; }
	.slider-dots { bottom: 14px; gap: 7px; }
	.slider-dot { width: 9px; height: 9px; }
	.vision-mission { padding: 36px 8px 44px; }
	.section-title { gap: 9px; margin-bottom: 22px; font-size: 26px; }
	.section-title::before,
	.section-title::after { width: 44px; min-width: 32px; height: 3px; }
	.vision-mission-grid { grid-template-columns: 1fr; gap: 10px; }
	.vm-card,
	.vm-card:first-child {
		grid-column: auto;
		width: 100%;
		min-height: auto;
		padding: 24px 14px;
		border-radius: 22px;
	}
	.vm-card + .vm-card { border-top: 1px solid #d8e8ee; }
	.vm-card.is-selected,
	.vm-card:focus-within {
		border-color: #12a6a3;
		box-shadow: 0 12px 24px rgb(15 23 42 / 18%);
		transform: none;
	}
	.vm-card h3 { margin-bottom: 14px; font-size: 25px; }
	.vm-card p { font-size: 15px; line-height: 1.65; }
	.vm-list { gap: 16px; font-size: 15px; line-height: 1.6; }
	.vm-list li { padding-left: 22px; }
	.vm-list li::before { width: 6px; height: 6px; }
	.latest-news { padding: 34px 8px 42px; }
	.latest-news .section-title { margin-bottom: 22px; }
	.news-grid { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
	.news-card { width: 100%; min-height: 0; border-radius: 8px; }
	.news-thumbnail { height: auto; aspect-ratio: 16 / 9; margin: 0; }
	.news-category { top: 10px; left: 10px; padding: 5px 8px; font-size: 11px; }
	.news-card-body { padding: 12px; }
	.news-date { padding: 5px 8px; margin-bottom: 10px; }
	.has-news-image .news-date { margin-top: -30px; margin-left: -12px; }
	.news-date strong { font-size: 16px; }
	.news-date span { font-size: 11px; }
	.news-card h3 { margin-bottom: 6px; font-size: 15px; }
	.news-card p { margin-bottom: 0; font-size: 12px; line-height: 1.4; -webkit-line-clamp: 1; }
	.school-videos,
	.school-partners { padding: 44px 8px 54px; }
	.school-videos .section-title,
	.school-partners .section-title { margin-bottom: 28px; font-size: 24px; }
	.video-grid { grid-template-columns: 1fr; gap: 16px; }
	.video-frame { border-width: 3px; border-radius: 6px; }
	.partner-carousel { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 6px; }
	.partner-track { gap: 10px; }
	.partner-logo { flex-basis: calc((100% - 10px) / 2); }
	.partner-logo { height: 112px; padding: 12px; }
	.partner-arrow { width: 36px; height: 36px; padding: 8px; }
	.contact-service { padding: 44px 16px 40px; }
	.contact-service .section-title { margin-bottom: 20px; }
	.contact-service > p { margin-bottom: 22px; font-size: 15px; }
	.service-schedule {
		align-items: stretch;
		width: 100%;
		padding: 16px;
		gap: 8px;
		flex-direction: column;
	}
	.service-schedule b { padding: 10px 0 0; border-top: 1px solid rgb(255 255 255 / 40%); border-left: 0; }
	.school-address { width: calc(100% - 16px); padding: 44px 0 56px; }
	.school-address .section-title { margin-bottom: 28px; font-size: 24px; }
	.address-grid { grid-template-columns: 1fr; gap: 28px; }
	.map-frame,
	.map-frame iframe { min-height: 300px; }
	.address-card { padding: 24px 16px 4px 20px; border-left-width: 4px; }
	.address-card h3 { font-size: 25px; }
	.address-card address { margin-bottom: 24px; font-size: 16px; }
	.map-link { width: 100%; text-align: center; }
	.single-post-page { padding: 28px 8px 48px; }
	.single-post-layout { grid-template-columns: 1fr; gap: 28px; }
	.page-content-layout { grid-template-columns: 1fr; gap: 28px; margin: 32px auto; }
	.single-post-header { padding: 28px 20px 24px; }
	.single-post-header h1 { font-size: 29px; }
	.single-post-content { padding: 28px 20px 34px; font-size: 16px; line-height: 1.75; }
	.single-post-share { padding: 0 20px 34px; }
	.share-button { width: 42px; height: 42px; flex-basis: 42px; }
	.share-button svg { width: 23px; height: 23px; }
	.popular-posts-widget { position: static; padding: 25px 18px; }
	.popular-posts-widget h2 { font-size: 18px; }
	.popular-posts-list li { padding-left: 32px; }
	.popular-post-link { grid-template-columns: 82px minmax(0, 1fr); }
	.site-footer { padding: 20px 16px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.breaking-news-track {
		animation-duration: 60s !important;
	}
}