/* ==========================================================================
   SMK NEGERI MATESIH - OLLIE CHILD THEME
   Visual Design System & Component Foundation
   ========================================================================== */

:root {
	/* Brand Identity Palette */
	--smk-navy: #142B45;
	--smk-navy-dark: #0D1C2E;
	--smk-teal: #087E83;
	--smk-teal-light: #E0F2F1;
	--smk-teal-dark: #055C60;
	--smk-gold: #D6A64F;
	--smk-gold-light: #FFF8E7;
	--smk-gold-dark: #B88937;
	--smk-blue: #2563EB;
	--smk-blue-light: #DBEAFE;

	/* Neutral Palette */
	--smk-white: #FFFFFF;
	--smk-bg: #FFFFFF;
	--smk-bg-light: #F8FAFC;
	--smk-bg-secondary: #F1F5F9;
	--smk-text: #0F172A;
	--smk-text-muted: #64748B;
	--smk-border: #E2E8F0;
	--smk-border-subtle: #F1F5F9;

	/* Elevation & Shadows */
	--smk-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
	--smk-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.07);
	--smk-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);

	/* Radii */
	--smk-radius-sm: 8px;
	--smk-radius-md: 14px;
	--smk-radius-lg: 20px;
	--smk-radius-pill: 9999px;

	/* Animation */
	--smk-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base & Global Enhancements
   -------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}

body {
	color: var(--smk-text);
	background-color: var(--smk-white);
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--smk-navy);
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 700;
	line-height: 1.25;
}

a {
	color: var(--smk-teal);
	transition: color var(--smk-transition);
}

a:hover {
	color: var(--smk-navy);
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--smk-gold);
	outline-offset: 3px;
}

/* Section Anchor Offsets for Smooth Scrolling */
#beranda,
#profil,
#jurusan,
#layanan,
#berita,
#faq,
#kontak {
	scroll-margin-top: 90px;
}

/* --------------------------------------------------------------------------
   Header & Navigation (FSE Header Part)
   -------------------------------------------------------------------------- */
.smk-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: transparent;
	border-bottom: 1px solid var(--smk-border);
	transition: background var(--smk-transition), box-shadow var(--smk-transition);
}

/* Blur lives on a pseudo-element so the header itself is not a containing
   block for the fixed mobile menu overlay (backdrop-filter creates one). */
.smk-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	pointer-events: none;
}

.smk-header-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.smk-brand-wrapper {
	display: flex;
	align-items: center;
	gap: 14px;
}

.smk-brand-wrapper .wp-block-site-logo img {
	max-height: 48px;
	width: auto;
}

.smk-brand-text .wp-block-site-title {
	margin: 0;
}

.smk-brand-text .wp-block-site-title a {
	color: var(--smk-navy);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.smk-brand-text .wp-block-site-tagline {
	margin: 2px 0 0 0;
	color: var(--smk-text-muted);
	font-size: 0.8rem;
	font-weight: 500;
}

/* Navigation items */
.smk-header .wp-block-navigation {
	font-size: 0.95rem;
	font-weight: 600;
	position: relative;
}

.smk-header .wp-block-navigation a {
	color: var(--smk-navy);
	text-decoration: none;
	padding: 8px 12px;
	border-radius: var(--smk-radius-sm);
	transition: all var(--smk-transition);
}

.smk-header .wp-block-navigation a:hover,
.smk-header .wp-block-navigation .current-menu-item > a {
	color: var(--smk-teal);
	background-color: var(--smk-teal-light);
}

/* Level 1 dropdown container */
.smk-header .wp-block-navigation:not(.is-menu-open) .wp-block-navigation__submenu-container {
	background: var(--smk-white);
	border: 1px solid var(--smk-border);
	border-radius: var(--smk-radius-md);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
	padding: 8px;
	min-width: 230px;
	z-index: 1000;
}

.smk-header .wp-block-navigation:not(.is-menu-open) .wp-block-navigation__submenu-container a {
	font-size: 0.88rem;
	font-weight: 500;
	padding: 9px 14px;
	display: block;
	border-radius: var(--smk-radius-sm);
	color: var(--smk-navy);
	white-space: normal;
	line-height: 1.4;
}

.smk-header .wp-block-navigation:not(.is-menu-open) .wp-block-navigation__submenu-container a:hover {
	color: var(--smk-teal);
	background: var(--smk-teal-light);
}

/* Nested Submenus (Level 2, 3, 4 flyouts) */
.smk-header .wp-block-navigation:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	top: -8px !important;
	left: 100% !important;
	margin-left: 4px;
	box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
	z-index: 1001;
}

/* Top-level items after the first (PROKEH, DIREKTORI, ORGANISASI) open their nested flyouts to the left so deeper levels stay inside the viewport */
.smk-header .wp-block-navigation:not(.is-menu-open) .wp-block-navigation__container > li:nth-child(n+2) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	left: auto !important;
	right: 100% !important;
	margin-left: 0;
	margin-right: 4px;
}

/* Visual arrow indicator for items with child menus */
.smk-header .wp-block-navigation:not(.is-menu-open) .has-child > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* Mobile Navigation Hierarchy (Inside Modal / Drawer) */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	padding: 10px 0;
}

.wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
	border-left: 2px solid var(--smk-teal-light);
	margin-left: 14px !important;
	padding-left: 10px !important;
	gap: 4px;
}

.wp-block-navigation__responsive-container.is-menu-open .has-child .has-child > .wp-block-navigation__submenu-container {
	border-left-color: var(--smk-gold);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	min-height: 44px;
	display: flex;
	align-items: center;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.smk-hero {
	padding: clamp(80px, 10vw, 130px) 24px clamp(60px, 8vw, 90px);
	background: linear-gradient(135deg, #0D1C2E 0%, #142B45 60%, #087E83 100%);
	color: var(--smk-white);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.smk-hero::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(214, 166, 79, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.smk-hero-inner {
	max-width: 1040px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.smk-hero-badge-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.smk-hero-title {
	color: var(--smk-white);
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 auto 24px;
	max-width: 920px;
}

.smk-hero-description {
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(1rem, 2vw, 1.25rem);
	line-height: 1.7;
	max-width: 780px;
	margin: 0 auto 36px;
}

.smk-hero-buttons {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

.smk-hero-buttons .wp-block-button__link {
	padding: 13px 26px;
	font-size: 0.98rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--smk-radius-md);
	transition: all var(--smk-transition);
}

.smk-button-primary .wp-block-button__link {
	background: var(--smk-white);
	color: var(--smk-navy);
}

.smk-button-primary .wp-block-button__link:hover {
	background: var(--smk-gold-light);
	color: var(--smk-navy-dark);
	transform: translateY(-2px);
}

.smk-button-outline .wp-block-button__link {
	background: transparent;
	color: var(--smk-white);
	border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.smk-button-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--smk-white);
	transform: translateY(-2px);
}

.smk-button-gold .wp-block-button__link {
	background: var(--smk-gold);
	color: var(--smk-navy-dark);
}

.smk-button-gold .wp-block-button__link:hover {
	background: #e4b55c;
	transform: translateY(-2px);
}

/* Hero Stats Micro-Cards */
.smk-hero-stats-grid {
	gap: 16px;
	margin-top: 20px;
}

.smk-stat-card {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--smk-radius-md);
	padding: 20px 16px;
	text-align: center;
	transition: background var(--smk-transition), transform var(--smk-transition);
}

.smk-stat-card:hover {
	background: rgba(255, 255, 255, 0.14);
	transform: translateY(-3px);
}

.smk-stat-number {
	color: var(--smk-gold);
	font-size: 2rem;
	font-weight: 800;
	margin: 0 0 6px 0;
	letter-spacing: -0.02em;
}

.smk-stat-label {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.85rem;
	line-height: 1.4;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Badges & Eyebrows
   -------------------------------------------------------------------------- */
.smk-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: var(--smk-radius-pill);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.smk-badge-gold {
	background: rgba(214, 166, 79, 0.18);
	color: var(--smk-gold);
	border: 1px solid rgba(214, 166, 79, 0.4);
}

.smk-badge-blue {
	background: var(--smk-blue-light);
	color: var(--smk-blue);
}

.smk-badge-teal {
	background: var(--smk-teal-light);
	color: var(--smk-teal-dark);
}

.smk-eyebrow {
	color: var(--smk-teal);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Section Foundations
   -------------------------------------------------------------------------- */
.smk-section {
	padding: clamp(70px, 8vw, 100px) 24px;
}

.smk-section-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.smk-bg-light {
	background-color: var(--smk-bg-light);
}

.smk-section-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 50px;
}

.smk-section-title {
	font-size: clamp(1.85rem, 3.5vw, 2.6rem);
	font-weight: 800;
	color: var(--smk-navy);
	margin-bottom: 14px;
	letter-spacing: -0.02em;
}

.smk-section-subtitle {
	color: var(--smk-text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Cards System
   -------------------------------------------------------------------------- */
.smk-card {
	background: var(--smk-white);
	border: 1px solid var(--smk-border);
	border-radius: var(--smk-radius-lg);
	box-shadow: var(--smk-shadow-sm);
	padding: 32px;
	transition: all var(--smk-transition);
}

.smk-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--smk-shadow-lg);
	border-color: #CBD5E1;
}

.smk-card-title {
	color: var(--smk-navy);
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 14px;
}

/* Profile Section Styles */
.smk-profile-columns {
	gap: 24px;
}

.smk-profile-main-card {
	height: 100%;
}

.smk-feature-list {
	padding-left: 20px;
	margin-top: 18px;
}

.smk-feature-list li {
	margin-bottom: 12px;
	color: var(--smk-text);
}

.smk-school-info-card {
	height: 100%;
	background: var(--smk-bg-light);
}

.smk-info-row {
	font-size: 0.95rem;
	margin-bottom: 10px;
	color: var(--smk-text);
	border-bottom: 1px dashed var(--smk-border);
	padding-bottom: 8px;
}

.smk-info-row strong {
	color: var(--smk-navy);
}

.smk-card-btn-wrap {
	margin-top: 24px;
}

.smk-button-outline-teal .wp-block-button__link {
	background: transparent;
	color: var(--smk-teal);
	border: 1.5px solid var(--smk-teal);
	font-weight: 700;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: var(--smk-radius-md);
	transition: all var(--smk-transition);
}

.smk-button-outline-teal .wp-block-button__link:hover {
	background: var(--smk-teal);
	color: var(--smk-white);
}

/* --------------------------------------------------------------------------
   Program Keahlian (DKV & Kuliner)
   -------------------------------------------------------------------------- */
.smk-program-grid {
	gap: 28px;
}

.smk-program-card {
	height: 100%;
	border-top: 4px solid var(--smk-teal);
}

.smk-card-dkv {
	border-top-color: var(--smk-blue);
}

.smk-card-kuliner {
	border-top-color: var(--smk-gold);
}

.smk-program-title {
	font-size: 1.5rem;
	margin-bottom: 14px;
}

.smk-program-desc {
	color: var(--smk-text-muted);
	font-size: 0.96rem;
	line-height: 1.7;
	margin-bottom: 18px;
}

.smk-program-subhead {
	color: var(--smk-navy);
	font-size: 0.92rem;
	margin-bottom: 8px;
}

.smk-program-list {
	padding-left: 20px;
	margin: 0;
	font-size: 0.92rem;
	color: var(--smk-text);
}

.smk-program-list li {
	margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Layanan & Fasilitas
   -------------------------------------------------------------------------- */
.smk-services-grid {
	gap: 20px;
}

.smk-service-card {
	height: 100%;
	padding: 24px;
}

.smk-service-title {
	font-size: 1.15rem;
	margin-bottom: 12px;
	color: var(--smk-navy);
}

.smk-service-card p {
	color: var(--smk-text-muted);
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Dynamic News Section (WP Query Loop)
   -------------------------------------------------------------------------- */
.smk-news-query {
	margin-top: 20px;
}

.smk-post-grid {
	gap: 24px;
}

.smk-news-card {
	background: var(--smk-white);
	border: 1px solid var(--smk-border);
	border-radius: var(--smk-radius-md);
	overflow: hidden;
	height: 100%;
	box-shadow: var(--smk-shadow-sm);
	transition: all var(--smk-transition);
	display: flex;
	flex-direction: column;
}

.smk-news-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--smk-shadow-md);
	border-color: #CBD5E1;
}

.smk-news-card .wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
}

.smk-news-card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform var(--smk-transition);
}

.smk-news-card:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

.smk-news-card .smk-post-date {
	padding: 16px 20px 0;
	color: var(--smk-teal);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.smk-news-card .smk-post-title {
	padding: 8px 20px 0;
	font-size: 1.15rem;
	line-height: 1.4;
	margin: 0;
}

.smk-news-card .smk-post-title a {
	color: var(--smk-navy);
	text-decoration: none;
}

.smk-news-card .smk-post-title a:hover {
	color: var(--smk-teal);
}

.smk-news-card .smk-post-excerpt {
	padding: 10px 20px 20px;
	color: var(--smk-text-muted);
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
	margin-top: auto;
}

.smk-news-card .smk-post-excerpt a {
	display: inline-block;
	margin-top: 8px;
	color: var(--smk-teal);
	font-weight: 700;
	text-decoration: none;
}

.smk-news-card .smk-post-excerpt a:hover {
	color: var(--smk-navy);
}

/* Post card fallback styling when featured image is absent */
.smk-news-card:not(:has(.wp-block-post-featured-image)) {
	border-top: 5px solid var(--smk-teal);
	background: linear-gradient(180deg, rgba(8, 126, 131, 0.04) 0%, #FFFFFF 35%);
}

.smk-news-card:not(:has(.wp-block-post-featured-image)) .smk-post-date {
	padding-top: 24px;
}

.smk-news-pagination {
	margin-top: 40px;
	gap: 10px;
}

.smk-news-pagination a,
.smk-news-pagination span {
	padding: 8px 16px;
	border: 1px solid var(--smk-border);
	border-radius: var(--smk-radius-sm);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--smk-navy);
	text-decoration: none;
	background: var(--smk-white);
}

.smk-news-pagination .page-numbers.current {
	background: var(--smk-teal);
	color: var(--smk-white);
	border-color: var(--smk-teal);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.smk-faq-grid {
	gap: 20px;
}

.smk-faq-card {
	padding: 22px 26px;
	margin-bottom: 16px;
	border-left: 4px solid var(--smk-teal);
}

.smk-faq-question {
	font-size: 1.1rem;
	margin-bottom: 8px;
	color: var(--smk-navy);
}

.smk-faq-answer {
	color: var(--smk-text-muted);
	font-size: 0.92rem;
	line-height: 1.65;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Contact CTA Box
   -------------------------------------------------------------------------- */
.smk-contact-cta-box {
	text-align: center;
	padding: clamp(40px, 6vw, 60px) 24px;
	background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
	border: 1.5px solid var(--smk-border);
}

.smk-contact-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin-bottom: 12px;
	color: var(--smk-navy);
}

.smk-contact-subtitle {
	color: var(--smk-text-muted);
	font-size: 1.05rem;
	max-width: 600px;
	margin: 0 auto 30px;
}

.smk-contact-buttons {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.smk-contact-buttons .wp-block-button__link {
	padding: 12px 24px;
	font-weight: 700;
	border-radius: var(--smk-radius-md);
	text-decoration: none;
}

.smk-button-teal .wp-block-button__link {
	background: var(--smk-teal);
	color: var(--smk-white);
}

.smk-button-teal .wp-block-button__link:hover {
	background: var(--smk-teal-dark);
}

/* --------------------------------------------------------------------------
   Footer Section (FSE Footer Part)
   -------------------------------------------------------------------------- */
.smk-footer {
	background: var(--smk-navy-dark);
	color: #DCE6ED;
	padding: clamp(60px, 8vw, 85px) 24px 30px;
}

.smk-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.smk-footer .wp-block-site-title a {
	color: var(--smk-white);
	font-size: 1.35rem;
	font-weight: 800;
	text-decoration: none;
}

.smk-footer-desc {
	color: #A0B2C6;
	font-size: 0.9rem;
	line-height: 1.7;
	margin: 14px 0 12px;
}

.smk-footer-badge {
	color: var(--smk-gold);
	font-size: 0.82rem;
	font-weight: 600;
}

.smk-footer-title {
	color: var(--smk-white);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 18px;
	letter-spacing: -0.01em;
}

.smk-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.smk-footer-links li {
	margin-bottom: 10px;
}

.smk-footer-links a {
	color: #B9C9D5;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color var(--smk-transition);
}

.smk-footer-links a:hover {
	color: var(--smk-gold);
	padding-left: 4px;
}

.smk-footer-contact {
	color: #B9C9D5;
	font-size: 0.88rem;
	line-height: 1.6;
	margin-bottom: 10px;
}

.smk-footer-divider {
	border-color: rgba(255, 255, 255, 0.12);
	margin: 40px 0 24px;
}

.smk-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.82rem;
	color: #8C9EAF;
}

.smk-copyright,
.smk-footer-credit {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Page, Single Post, & Archive Layouts
   -------------------------------------------------------------------------- */
.smk-page-main,
.smk-single-main,
.smk-archive-main,
.smk-index-main {
	min-height: 60vh;
}

.smk-page-header {
	background-color: var(--smk-bg-light);
	border-bottom: 1px solid var(--smk-border);
	padding: clamp(36px, 5vw, 60px) 24px;
}

.smk-page-header-inner {
	max-width: 960px;
	margin: 0 auto;
}

.smk-page-title {
	color: var(--smk-navy);
	font-size: clamp(1.85rem, 3.8vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0;
}

.smk-archive-desc {
	color: var(--smk-text-muted);
	font-size: 1.05rem;
	margin: 12px 0 0;
	line-height: 1.7;
}

.smk-single-category a {
	display: inline-block;
	background: var(--smk-teal-light);
	color: var(--smk-teal-dark);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 12px;
	border-radius: var(--smk-radius-pill);
	text-decoration: none;
	margin-bottom: 12px;
}

.smk-single-meta {
	display: flex;
	gap: 16px;
	margin-top: 14px;
	color: var(--smk-text-muted);
	font-size: 0.9rem;
}

.smk-single-meta .smk-post-date {
	color: var(--smk-teal);
	font-weight: 600;
}

.smk-content-container {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(36px, 5vw, 55px) 24px clamp(55px, 7vw, 85px);
}

.smk-page-featured-image,
.smk-single-featured-image {
	margin-bottom: 36px;
	border-radius: var(--smk-radius-md);
	overflow: hidden;
}

.smk-page-featured-image img,
.smk-single-featured-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: var(--smk-radius-md);
}

/* Content Typography & Elements */
.smk-content-container p {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 24px;
	color: var(--smk-text);
}

.smk-content-container h2 {
	font-size: 1.75rem;
	margin-top: 40px;
	margin-bottom: 18px;
	color: var(--smk-navy);
}

.smk-content-container h3 {
	font-size: 1.35rem;
	margin-top: 32px;
	margin-bottom: 14px;
	color: var(--smk-navy);
}

.smk-content-container ul,
.smk-content-container ol {
	padding-left: 28px;
	margin-bottom: 24px;
	font-size: 1.02rem;
	line-height: 1.8;
}

.smk-content-container li {
	margin-bottom: 8px;
}

.smk-content-container blockquote {
	border-left: 4px solid var(--smk-teal);
	background: var(--smk-bg-light);
	padding: 18px 24px;
	border-radius: 0 var(--smk-radius-sm) var(--smk-radius-sm) 0;
	margin: 28px 0;
	font-style: italic;
	color: var(--smk-navy);
}

.smk-content-container table {
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0;
	font-size: 0.95rem;
}

.smk-content-container th,
.smk-content-container td {
	padding: 12px 16px;
	border: 1px solid var(--smk-border);
	text-align: left;
}

.smk-content-container th {
	background: var(--smk-bg-light);
	color: var(--smk-navy);
	font-weight: 700;
}

.smk-content-container tr:nth-child(even) td {
	background: rgba(248, 250, 252, 0.6);
}

.smk-single-separator {
	margin: 40px 0 28px;
	border-color: var(--smk-border);
}

.smk-post-nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.smk-post-nav-links a {
	padding: 10px 18px;
	border: 1px solid var(--smk-border);
	border-radius: var(--smk-radius-sm);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	background: var(--smk-white);
	transition: all var(--smk-transition);
}

.smk-post-nav-links a:hover {
	border-color: var(--smk-teal);
	color: var(--smk-teal);
	background: var(--smk-teal-light);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
	.smk-hero-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.smk-footer-grid {
		flex-direction: column;
		gap: 32px;
	}

	.smk-footer-grid > .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 781px) {
	.smk-header-inner {
		padding: 12px 18px;
	}

	.smk-hero {
		padding: 70px 18px 50px;
	}

	.smk-hero-title {
		font-size: 2.1rem;
	}

	.smk-hero-stats-grid {
		flex-direction: column;
	}

	.smk-profile-columns,
	.smk-program-grid,
	.smk-services-grid,
	.smk-faq-grid {
		flex-direction: column;
		gap: 16px;
	}

	.smk-section {
		padding: 50px 18px;
	}

	.smk-footer-bottom {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
}
