/*
Theme Name: Kampus SMK Kadence
Theme URI: https://www.smkn1bunguranbarat.sch.id/
Description: Child theme Kadence untuk portal sekolah bergaya universitas.
Author: SMKN 1 Bunguran Barat
Template: kadence
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kampus-smk-kadence
*/

:root {
	--ks-ink: #17231d;
	--ks-muted: #5c6861;
	--ks-green: #0b5139;
	--ks-green-deep: #073d2b;
	--ks-gold: #d8a62d;
	--ks-paper: #f5f4ef;
	--ks-white: #ffffff;
	--ks-line: #d9ded9;
	--ks-width: 1200px;
	--ks-section-padding: 88px;
	--ks-mobile-section-padding: 62px;
	--ks-header-padding: 14px;
	--ks-menu-padding: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ks-ink);
	background: var(--ks-white);
	font-family: "DM Sans", sans-serif;
	line-height: 1.65;
	letter-spacing: 0;
}
body > #page { display: none; }
img { max-width: 100%; }
a { color: inherit; }
.ks-container { width: min(var(--ks-width), calc(100% - 48px)); margin-inline: auto; }
.ks-header { position: relative; z-index: 100; background: var(--ks-white); }
.ks-utility { color: #e9f1ed; background: var(--ks-green-deep); font-size: 12px; font-weight: 600; }
.ks-utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ks-utility-links { display: flex; align-items: center; gap: 22px; }
.ks-utility a { text-decoration: none; }
.ks-utility a:hover { color: #fff3cb; }
.ks-identity { color: var(--ks-white); background: var(--ks-green-deep); }
.ks-identity-inner { min-height: 116px; display: flex; align-items: center; padding-block: var(--ks-header-padding); }
.ks-brand { max-width: 100%; display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.ks-logo { width: min(var(--ks-logo-width, 360px), 100%); max-height: 100px; height: auto; display: block; object-fit: contain; object-position: left center; }
.ks-brand-logo-only { width: min(var(--ks-logo-width, 360px), 100%); }
.ks-brand-logo-only .ks-logo { width: 100%; max-height: none; }
.ks-logo-fallback { width: 72px; height: 72px; display: grid; place-items: center; color: var(--ks-white); background: var(--ks-green); font-weight: 800; font-size: 19px; }
.ks-brand-copy { display: grid; line-height: 1.12; }
.ks-brand-copy small { margin-bottom: 6px; color: var(--ks-gold); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.ks-brand-copy strong { font-family: "Newsreader", serif; font-size: clamp(25px, 3vw, 38px); }
.ks-brand-copy span { margin-top: 4px; color: #d7e3dc; font-size: 13px; }
.ks-navigation { color: var(--ks-white); background: var(--ks-green); border-bottom: 4px solid var(--ks-gold); }
.ks-navigation-inner { min-height: 58px; display: flex; align-items: center; }
.ks-main-nav { min-width: 0; flex: 1; }
.ks-menu { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.ks-menu li { position: relative; margin: 0; list-style: none; }
.ks-menu > li > a { min-height: 58px; display: flex; align-items: center; padding: 0 var(--ks-menu-padding); color: var(--ks-white); text-decoration: none; font-size: 13px; font-weight: 700; }
.ks-menu > li:first-child > a { padding-left: 0; }
.ks-menu > li > a:hover, .ks-menu > .current-menu-item > a { color: #ffe6a4; }
.ks-menu .sub-menu { position: absolute; top: 100%; left: 0; display: none; min-width: 230px; margin: 0; padding: 8px; background: var(--ks-white); border-top: 3px solid var(--ks-gold); box-shadow: 0 16px 35px rgba(7, 42, 30, .18); list-style: none; }
.ks-menu li:hover > .sub-menu, .ks-menu li:focus-within > .sub-menu { display: block; }
.ks-menu .sub-menu a { display: block; padding: 10px 12px; color: var(--ks-ink); text-decoration: none; font-size: 13px; }
.ks-menu .sub-menu a:hover { color: var(--ks-green); background: var(--ks-paper); }
.ks-search-link { min-height: 58px; display: inline-flex; align-items: center; gap: 7px; padding-left: 20px; color: var(--ks-white); text-decoration: none; border-left: 1px solid rgba(255,255,255,.25); font-size: 12px; font-weight: 700; }
.ks-search-link svg, .ks-button svg, .ks-text-link svg { width: 17px; height: 17px; }
.ks-menu-toggle { display: none; color: var(--ks-white); background: transparent; border: 0; font: inherit; font-weight: 700; }

.ks-hero { position: relative; overflow: hidden; background: var(--ks-white); }
.ks-slides { position: relative; }
.ks-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; background: var(--ks-white); transition: opacity .7s ease, visibility .7s ease; }
.ks-slide.is-active { position: relative; visibility: visible; opacity: 1; }
.ks-slide > img { width: 100%; height: clamp(360px, 45vw, 600px); display: block; object-fit: cover; }
.ks-slide-shade { display: none; }
.ks-slide-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: end; gap: 5px 20px; padding-block: 18px; color: var(--ks-white); background: transparent; }
.ks-slide-content p { grid-column: 1; margin: 0; color: #fff3c7; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-shadow: 0 2px 7px #000, 0 1px 2px #000; }
.ks-slide-content h1 { grid-column: 1; width: 100%; margin: 0; color: var(--ks-white); font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: 0; text-shadow: 0 2px 7px #000, 0 1px 2px #000; }
.ks-slide-content .ks-button { min-height: 34px; padding: 6px 12px; font-size: 11px; }
.ks-slide-content .ks-button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ks-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 18px; color: var(--ks-white); background: var(--ks-green); border: 1px solid var(--ks-green); text-decoration: none; font-size: 13px; font-weight: 700; }
.ks-button:hover { color: var(--ks-white); background: var(--ks-green-deep); }
.ks-button-light { color: var(--ks-green-deep); background: var(--ks-white); border-color: var(--ks-white); }
.ks-button-light:hover { color: var(--ks-green-deep); background: #f8e6ad; border-color: #f8e6ad; }
.ks-slider-controls { position: absolute; right: max(24px, calc((100% - var(--ks-width)) / 2)); top: 24px; z-index: 3; display: flex; align-items: center; color: var(--ks-white); background: rgba(7, 46, 32, .92); }
.ks-slider-controls button { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ks-white); background: transparent; border: 0; cursor: pointer; }
.ks-slider-controls button:hover { background: rgba(255,255,255,.12); }
.ks-slider-controls span { min-width: 66px; text-align: center; font-size: 12px; font-weight: 700; }
.ks-slider-controls svg { width: 19px; }

.ks-quick { position: relative; z-index: 4; background: var(--ks-green-deep); }
.ks-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ks-quick a { min-height: 112px; display: flex; align-items: center; gap: 15px; padding: 22px; color: var(--ks-white); border-right: 1px solid rgba(255,255,255,.15); text-decoration: none; }
.ks-quick a:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.ks-quick a:hover { background: rgba(255,255,255,.07); }
.ks-quick svg { width: 30px; height: 30px; color: #efc65d; flex: 0 0 auto; }
.ks-quick span { display: grid; font-family: "Newsreader", serif; font-size: 18px; line-height: 1.15; }
.ks-quick small { margin-bottom: 5px; color: #b9c9c1; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.ks-section { padding: var(--ks-section-padding) 0; }
.ks-section-heading { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.ks-eyebrow { margin: 0 0 8px; color: var(--ks-green); font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.ks-section h2, .ks-page-header h1, .ks-article-header h1 { margin: 0; color: var(--ks-ink); font-family: "Newsreader", serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: 0; }
.ks-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ks-green); text-decoration: none; font-size: 13px; font-weight: 800; }
.ks-text-link:hover { color: var(--ks-ink); }
.ks-news-popular-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); gap: 38px; align-items: start; }
.ks-news-column { min-width: 0; }
.ks-news-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.ks-news-item { min-width: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ks-line); }
.ks-news-item:first-child { padding-top: 0; }
.ks-news-item:last-child { padding-bottom: 0; border-bottom: 0; }
.ks-news-image { width: 190px; height: 126px; display: block; overflow: hidden; background: #dce3de; }
.ks-news-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.ks-news-item:hover img { transform: scale(1.035); }
.ks-news-copy { min-width: 0; padding: 0; }
.ks-news-copy > p { margin: 0 0 6px; color: var(--ks-green); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ks-news-copy h3 { margin: 0 0 7px; font-family: "Newsreader", serif; font-size: 20px; line-height: 1.15; letter-spacing: 0; }
.ks-news-copy h3 a { text-decoration: none; }
.ks-news-copy h3 a:hover { color: var(--ks-green); }
.ks-news-copy > div { display: -webkit-box; overflow: hidden; color: var(--ks-muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ks-news-pagination, .ks-teacher-pagination { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 7px; }
.ks-news-pagination a, .ks-teacher-pagination a { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ks-green); background: var(--ks-paper); border: 1px solid var(--ks-line); text-decoration: none; font-size: 13px; font-weight: 800; }
.ks-news-pagination a:hover, .ks-teacher-pagination a:hover { color: var(--ks-white); background: var(--ks-green-deep); border-color: var(--ks-green-deep); }
.ks-news-pagination a.is-current, .ks-teacher-pagination a.is-current { color: var(--ks-white); background: var(--ks-green); border-color: var(--ks-green); pointer-events: none; }
.ks-teacher-pagination { justify-content: center; margin-top: 34px; }

.ks-popular-widget { padding: 25px; background: #e4f3f6; border-top: 4px solid #20a0bb; }
.ks-popular-widget-head { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ks-popular-widget-head .ks-eyebrow { color: #178da5; }
.ks-popular-widget-head h3 { margin: 0; font-family: "Newsreader", serif; font-size: 31px; line-height: 1; }
.ks-popular-widget-head > svg { width: 27px; height: 27px; color: #178da5; }
.ks-popular-list { display: grid; }
.ks-popular-item { min-width: 0; display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #c5dfe4; }
.ks-popular-item:last-child { border-bottom: 0; }
.ks-popular-date { min-height: 86px; display: grid; grid-template-rows: 34px 1fr; overflow: hidden; color: var(--ks-white); background: #20a0bb; border-radius: 13px; text-align: center; text-decoration: none; }
.ks-popular-date span { display: grid; place-items: center; padding: 5px; color: #fff; background: #202428; font-size: 15px; font-weight: 600; }
.ks-popular-date strong { display: grid; place-items: center; color: #fff; font-size: 27px; font-weight: 500; line-height: 1; }
.ks-popular-content h4 { margin: 0 0 8px; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: 0; }
.ks-popular-content h4 a { text-decoration: none; }
.ks-popular-content h4 a:hover { color: #168ca4; }
.ks-popular-content p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #168ca4; font-size: 12px; font-weight: 700; }
.ks-popular-content p svg { width: 15px; height: 15px; }

.ks-announcement-band { background: var(--ks-paper); border-block: 1px solid var(--ks-line); }
.ks-announcement-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.ks-announcement-intro h2 { margin-bottom: 18px; }
.ks-announcement-intro > p:not(.ks-eyebrow) { max-width: 44ch; margin: 0 0 24px; color: var(--ks-muted); }
.ks-announcement-list { border-top: 1px solid #cdd4cf; }
.ks-announcement-list article { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid #cdd4cf; }
.ks-announcement-list time { width: 56px; display: grid; place-items: center; align-content: center; color: var(--ks-white); background: var(--ks-green); font-size: 10px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.ks-announcement-list time strong { font-family: "Newsreader", serif; font-size: 25px; }
.ks-announcement-list h3 { margin: 0 0 4px; font-family: "Newsreader", serif; font-size: 21px; line-height: 1.2; }
.ks-announcement-list h3 a { text-decoration: none; }
.ks-announcement-list p { margin: 0; color: var(--ks-muted); font-size: 13px; }
.ks-empty { display: flex; align-items: center; gap: 14px; padding: 30px 0; color: var(--ks-muted); }
.ks-empty svg { color: var(--ks-green); }

.ks-teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ks-teacher { background: var(--ks-paper); border-bottom: 3px solid var(--ks-green); }
.ks-teacher > a { aspect-ratio: 4/5; display: block; overflow: hidden; background: #dfe6e1; }
.ks-teacher img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.ks-teacher-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #7c9185; }
.ks-teacher-placeholder svg { width: 64px; height: 64px; }
.ks-teacher > div { padding: 18px; }
.ks-teacher h3 { margin: 0 0 5px; font-family: "Newsreader", serif; font-size: 21px; line-height: 1.15; }
.ks-teacher h3 a { text-decoration: none; }
.ks-teacher p { margin: 0; color: var(--ks-muted); font-size: 12px; }
.ks-teacher-directory .ks-page-header > p:last-child { max-width: 680px; margin: 16px 0 0; color: var(--ks-muted); }
.ks-teacher-filter { margin-bottom: 42px; display: grid; grid-template-columns: 1.25fr 1fr 1fr auto auto; gap: 14px; align-items: end; padding: 24px; background: var(--ks-white); border-top: 4px solid var(--ks-gold); box-shadow: 0 12px 30px rgba(23, 35, 29, .06); }
.ks-teacher-filter label { display: grid; gap: 7px; }
.ks-teacher-filter label span { color: var(--ks-green-deep); font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.ks-teacher-filter input, .ks-teacher-filter select { width: 100%; height: 44px; margin: 0; padding: 0 12px; color: var(--ks-ink); background: var(--ks-paper); border: 1px solid var(--ks-line); border-radius: 0; font: inherit; font-size: 13px; }
.ks-teacher-filter input:focus, .ks-teacher-filter select:focus { border-color: var(--ks-green); outline: 2px solid rgba(11, 81, 57, .12); }
.ks-teacher-filter .ks-button { height: 44px; border-radius: 0; cursor: pointer; }
.ks-filter-reset { height: 44px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--ks-muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.ks-filter-reset:hover { color: var(--ks-green); }
.ks-teacher-grid-directory { grid-template-columns: repeat(3, 1fr); }
.ks-teacher-grid-directory .ks-teacher { background: var(--ks-white); box-shadow: 0 12px 30px rgba(23, 35, 29, .06); }
.ks-teacher-grid-directory .ks-teacher > a { aspect-ratio: 4/4.6; }
.ks-teacher-grid-directory .ks-teacher h2 { margin: 4px 0 6px; font-family: "Newsreader", serif; font-size: 25px; line-height: 1.1; }
.ks-teacher-grid-directory .ks-teacher h2 a { text-decoration: none; }
.ks-teacher-subject { color: var(--ks-green) !important; font-size: 10px !important; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.ks-teacher-detail { margin-top: 15px; display: inline-flex; align-items: center; gap: 7px; color: var(--ks-green); font-size: 12px; font-weight: 800; text-decoration: none; }
.ks-teacher-detail svg { width: 15px; }
.ks-teacher-directory > .ks-container > .page-numbers { margin-top: 40px; display: inline-block; }
.ks-teacher-profile-page { padding-top: 44px; }
.ks-profile-back { margin-bottom: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--ks-green); font-size: 12px; font-weight: 800; text-decoration: none; }
.ks-profile-back svg { width: 16px; }
.ks-teacher-profile { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; min-height: 520px; background: var(--ks-white); box-shadow: 0 18px 48px rgba(23, 35, 29, .08); }
.ks-profile-photo { min-height: 520px; background: #dfe6e1; }
.ks-profile-photo img, .ks-profile-photo .ks-teacher-placeholder { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.ks-profile-photo .ks-teacher-placeholder { display: grid; }
.ks-profile-content { padding: clamp(34px, 5vw, 70px); }
.ks-profile-content h1 { margin: 0 0 15px; font-family: "Newsreader", serif; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: 0; }
.ks-profile-summary { max-width: 62ch; margin: 0 0 30px; color: var(--ks-muted); }
.ks-profile-data { margin: 0; border-top: 1px solid var(--ks-line); }
.ks-profile-data > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--ks-line); }
.ks-profile-data dt { color: var(--ks-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.ks-profile-data dd { margin: 0; font-size: 14px; font-weight: 700; }
.ks-profile-biography { max-width: 850px; margin: 55px auto 0; }
.ks-profile-biography h2 { margin: 0 0 20px; font-family: "Newsreader", serif; font-size: 34px; }
.ks-empty-wide { grid-column: 1/-1; margin: 0; padding: 28px; color: var(--ks-muted); background: var(--ks-paper); border: 1px solid var(--ks-line); text-align: center; }

.ks-partners { padding-block: 70px; background: var(--ks-green-deep); color: var(--ks-white); }
.ks-partner-heading { margin-bottom: 30px; text-align: center; }
.ks-partners .ks-eyebrow { color: #f0cb6d; }
.ks-partners h2 { color: var(--ks-white); font-size: 38px; }
.ks-partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.ks-partner { min-height: 130px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px; background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.ks-partner img { max-width: 100px; max-height: 70px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); }
.ks-partner span { font-weight: 700; font-size: 13px; }
.ks-partners .ks-empty-wide { color: #dce8e1; background: transparent; border-color: rgba(255,255,255,.18); }

.ks-page-main { min-height: 55vh; padding: 70px 0 90px; background: var(--ks-paper); }
.single-post .ks-page-main { padding-top: 0; }
.ks-standard-page { padding: 0 0 90px; }
.ks-standard-page-header { padding: 28px 0; background: var(--ks-white); border-top: 4px solid var(--ks-gold); border-bottom: 1px solid var(--ks-line); }
.ks-page-title h1 { margin: 0; color: var(--ks-ink); font-family: "DM Sans", sans-serif; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: 0; }
.ks-standard-page-content-header { margin-bottom: 32px; }
.ks-standard-page-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 46px; padding-top: 38px; }
.ks-standard-page-layout.layout-narrow:not(.has-sidebar) { max-width: 820px; }
.ks-standard-page-layout.layout-fullwidth { width: 100%; max-width: none; }
.ks-standard-page-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
.ks-standard-page-layout.sidebar-left { grid-template-columns: 300px minmax(0, 1fr); }
.ks-standard-page-layout.sidebar-left .ks-standard-page-content { grid-column: 2; }
.ks-standard-page-layout.sidebar-left .ks-page-sidebar { grid-column: 1; grid-row: 1; }
.ks-page-sidebar { align-self: start; display: grid; gap: 18px; }
.ks-page-widget { margin: 0; padding: 20px; background: var(--ks-white); border-top: 4px solid var(--ks-gold); }
.ks-page-widget-title { margin: 0 0 14px; color: var(--ks-ink); font-family: "Newsreader", serif; font-size: 23px; line-height: 1.15; }
.ks-page-widget ul { margin: 0; padding: 0; list-style: none; }
.ks-page-widget li { padding: 9px 0; border-bottom: 1px solid var(--ks-line); font-size: 13px; }
.ks-page-widget li:last-child { border-bottom: 0; }
.ks-page-widget a { color: var(--ks-ink); text-decoration: none; }
.ks-page-widget a:hover { color: var(--ks-green); }
.ks-page-widget input, .ks-page-widget select { max-width: 100%; }
.ks-page-widget.widget_recent_entries,
.ks-page-widget.widget_block:has(.ks-recent-posts-widget) { padding: 0; background: transparent; border-top: 0; }
.ks-page-featured { margin: 0 0 32px; }
.ks-page-featured img { width: 100%; height: auto; display: block; }
.ks-page-header { margin-bottom: 42px; }
.ks-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ks-archive-item { background: var(--ks-white); border-bottom: 3px solid var(--ks-green); }
.ks-archive-item > a { aspect-ratio: 16/10; display: block; overflow: hidden; }
.ks-archive-item img { width: 100%; height: 100%; object-fit: cover; }
.ks-archive-item > div { padding: 22px; }
.ks-archive-item p { margin: 0 0 8px; color: var(--ks-green); font-size: 11px; font-weight: 800; }
.ks-archive-item h2 { margin: 0 0 10px; font-family: "Newsreader", serif; font-size: 25px; line-height: 1.15; }
.ks-archive-item h2 a { text-decoration: none; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 6px; }
.page-numbers { padding: 8px 13px; color: var(--ks-green); background: var(--ks-white); text-decoration: none; }
.page-numbers.current { color: var(--ks-white); background: var(--ks-green); }

.ks-article-header { padding: 70px 0; color: var(--ks-white); background: var(--ks-green-deep); }
.ks-article-header .ks-eyebrow { color: #efcb70; }
.ks-article-header h1 { max-width: 980px; color: var(--ks-white); font-size: clamp(28px, 4vw, var(--ks-single-title-size, 42px)); }
.ks-article-header-inner > p:last-child { margin: 20px 0 0; color: #c9d7d0; font-size: 13px; }
.ks-article-header-compact { padding: 36px 0; }
.ks-article-header-compact h1 { max-width: 880px; }
.ks-article-header-compact .ks-article-header-inner > p:last-child { margin-top: 13px; }
.ks-article-header-plain { padding: 32px 0; color: var(--ks-ink); background: var(--ks-white); border-bottom: 1px solid var(--ks-line); }
.ks-article-header-plain .ks-eyebrow { color: var(--ks-green); }
.ks-article-header-plain h1 { color: var(--ks-ink); }
.ks-article-header-plain .ks-article-header-inner > p:last-child { margin-top: 12px; color: var(--ks-muted); }
.ks-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 60px; padding-block: 54px 90px; }
.ks-featured { margin: 0 0 36px; }
.ks-featured img { width: 100%; height: auto; display: block; }
.ks-entry-content { font-family: "DM Sans", sans-serif; font-size: 17px; line-height: 1.85; }
.ks-entry-content h2, .ks-entry-content h3 { font-family: "Newsreader", serif; }
.ks-entry-content img { height: auto; }
.ks-share { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 24px; border-top: 1px solid var(--ks-line); }
.ks-share strong { margin-right: 8px; }
.ks-share a { padding: 8px 13px; color: var(--ks-white); background: var(--ks-green); text-decoration: none; font-size: 12px; font-weight: 700; }
.ks-sidebar { align-self: start; padding: 24px; background: var(--ks-paper); border-top: 4px solid var(--ks-gold); }
.ks-sidebar h2 { margin: 0 0 18px; font-size: 25px; }
.ks-sidebar > a { display: block; padding: 13px 0; border-bottom: 1px solid var(--ks-line); text-decoration: none; font-family: "Newsreader", serif; font-size: 18px; line-height: 1.2; }
.ks-sidebar small { display: block; margin-top: 6px; color: var(--ks-muted); font-family: "DM Sans", sans-serif; font-size: 10px; text-transform: uppercase; }

.ks-footer { color: #d7e3dc; background: #062d20; }
.ks-footer-main { padding: 64px 0; }
.ks-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 70px; }
.ks-footer h2, .ks-footer h3 { margin: 0 0 14px; color: var(--ks-white); font-family: "Newsreader", serif; }
.ks-footer h2 { font-size: 31px; }
.ks-footer h3 { font-size: 20px; }
.ks-footer p { margin: 0 0 9px; font-size: 13px; }
.ks-footer a { color: #d7e3dc; text-decoration: none; font-size: 13px; }
.ks-footer a:hover { color: #f1cf79; }
.ks-footer-label { color: #edc967; font-size: 10px !important; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.ks-footer-menu { margin: 0 0 4px; padding: 0; list-style: none; }
.ks-footer-menu li { margin: 0 0 6px; }
.ks-footer-bottom { padding: 17px 0; color: #a9bbb1; background: #042319; font-size: 11px; }

@media (max-width: 980px) {
	.ks-news-grid, .ks-teacher-grid { grid-template-columns: repeat(2, 1fr); }
	.ks-news-popular-layout { grid-template-columns: 1fr; }
	.ks-teacher-grid-directory { grid-template-columns: repeat(2, 1fr); }
	.ks-teacher-filter { grid-template-columns: 1fr 1fr; }
	.ks-teacher-filter .ks-button { align-self: end; }
	.ks-teacher-profile { grid-template-columns: minmax(260px, 340px) 1fr; }
	.ks-quick-grid { grid-template-columns: repeat(2, 1fr); }
	.ks-announcement-layout { grid-template-columns: 1fr; gap: 45px; }
	.ks-archive-grid { grid-template-columns: repeat(2, 1fr); }
	.ks-article-layout { grid-template-columns: 1fr; }
	.ks-sidebar { display: none; }
	.ks-footer-grid { grid-template-columns: 1.3fr 1fr; }
	.ks-partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	.ks-container { width: min(100% - 28px, var(--ks-width)); }
	.ks-utility-inner { justify-content: center; }
	.ks-utility-links { display: none; }
	.ks-identity-inner { min-height: 92px; padding-block: max(4px, calc(var(--ks-header-padding) - 4px)); }
	.ks-logo, .ks-brand-logo-only { width: min(var(--ks-logo-width, 360px), calc(100vw - 28px)); }
	.ks-logo { max-height: 78px; height: auto; }
	.ks-brand-logo-only .ks-logo { max-height: 88px; }
	.ks-brand { gap: 12px; }
	.ks-brand-copy strong { font-size: clamp(20px, 6vw, 28px); }
	.ks-brand-copy small { font-size: 9px; }
	.ks-brand-copy span { display: none; }
	.ks-navigation-inner { position: relative; justify-content: space-between; }
	.ks-menu-toggle { min-height: 54px; display: inline-flex; align-items: center; gap: 8px; padding: 0; }
	.ks-menu-toggle svg { width: 20px; }
	.ks-main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: var(--ks-green-deep); box-shadow: 0 18px 30px rgba(0,0,0,.25); }
	.ks-main-nav.is-open { display: block; }
	.ks-menu { display: block; max-height: 65vh; padding: 8px 14px 14px; overflow-y: auto; }
	.ks-menu > li > a { min-height: 44px; padding: 0 max(8px, calc(var(--ks-menu-padding) - 8px)); border-bottom: 1px solid rgba(255,255,255,.1); }
	.ks-menu > li:first-child > a { padding-left: max(8px, calc(var(--ks-menu-padding) - 8px)); }
	.ks-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 5px 14px; background: transparent; border: 0; box-shadow: none; }
	.ks-menu .sub-menu a { color: #d9e6df; padding: 7px 10px; }
	.ks-search-link { min-height: 54px; }
	.ks-hero { width: 100%; background: var(--ks-white); }
	.ks-slide > img { width: 100%; height: auto; max-height: none; object-fit: contain; }
	.ks-slide-content { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding-block: 12px; }
	.ks-slide-content p { margin: 0; font-size: 9px; }
	.ks-slide-content h1 { width: 100%; margin: 0; font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
	.ks-slide-content .ks-button { min-height: 30px; padding: 4px 9px; font-size: 10px; }
	.ks-slider-controls { right: 10px; top: 10px; bottom: auto; }
	.ks-slider-controls button { width: 34px; height: 34px; }
	.ks-slider-controls span { min-width: 46px; font-size: 10px; }
	.ks-quick-grid { width: 100%; grid-template-columns: 1fr 1fr; }
	.ks-quick a { min-height: 105px; padding: 16px 14px; }
	.ks-quick span { font-size: 14px; }
	.ks-quick svg { width: 24px; }
	.ks-section { padding: var(--ks-mobile-section-padding) 0; }
	.ks-section-heading { align-items: flex-start; }
	.ks-news-grid, .ks-teacher-grid, .ks-archive-grid { grid-template-columns: 1fr; }
	.ks-news-popular-layout .ks-news-grid { grid-template-columns: 1fr; }
	.ks-news-grid { gap: 0; }
	.ks-news-item { grid-template-columns: 112px minmax(0, 1fr); gap: 13px; padding: 14px 0; }
	.ks-news-image { width: 112px; height: 86px; }
	.ks-news-copy > p { margin-bottom: 3px; font-size: 9px; }
	.ks-news-copy h3 { margin-bottom: 4px; font-size: 16px; }
	.ks-news-copy > div { font-size: 11px; -webkit-line-clamp: 1; }
	.ks-news-image { aspect-ratio: 16/10; }
	.ks-teacher-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.ks-teacher-filter { grid-template-columns: 1fr; padding: 18px; }
	.ks-filter-reset { justify-content: center; }
	.ks-teacher-grid-directory { grid-template-columns: 1fr 1fr; }
	.ks-teacher-profile { grid-template-columns: 1fr; }
	.ks-profile-photo { min-height: 0; aspect-ratio: 4/4.5; }
	.ks-profile-content { padding: 30px 22px; }
	.ks-profile-data > div { grid-template-columns: 1fr; gap: 3px; }
	.ks-teacher > div { padding: 14px; }
	.ks-teacher h3 { font-size: 17px; }
	.ks-partner-grid { grid-template-columns: 1fr 1fr; }
	.ks-partner { min-height: 105px; flex-direction: column; text-align: center; }
	.ks-footer-grid { grid-template-columns: 1fr; gap: 35px; }
	.ks-article-header { padding: 36px 0; }
	.ks-article-header-compact, .ks-article-header-plain { padding: 26px 0; }
	.ks-article-layout { padding-block: 28px 60px; }
	.ks-standard-page-header { padding: 20px 0; }
	.ks-standard-page-layout, .ks-standard-page-layout.has-sidebar, .ks-standard-page-layout.sidebar-left { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
	.ks-standard-page-layout.sidebar-left .ks-standard-page-content, .ks-standard-page-layout.sidebar-left .ks-page-sidebar { grid-column: 1; }
	.ks-standard-page-layout.sidebar-left .ks-standard-page-content { grid-row: 1; }
	.ks-standard-page-layout.sidebar-left .ks-page-sidebar { grid-row: 2; }
	.ks-entry-content { font-size: 16px; }
}

@media (max-width: 480px) {
	.ks-teacher-grid-directory { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
