/* ==========================================================================
   Pediatrie Katiri — Main Stylesheet
   Brand colors: blue #0c416b / teal #16b6ae
   Performance: no external dependencies, mobile-first, minimal specificity
   ========================================================================== */

/* CSS Custom Properties (overridden inline via Customizer) */
:root {
	--pk-blue: #0c416b;
	--pk-teal: #16b6ae;
	--pk-accent: #f5a623;

	--pk-blue-dark: #082f50;
	--pk-blue-light: #1a5c8c;
	--pk-teal-dark: #0f8c86;
	--pk-teal-light: #4dd4cd;

	--pk-text: #1a2733;
	--pk-text-soft: #5a6878;
	--pk-bg: #ffffff;
	--pk-bg-alt: #f4f9fb;
	--pk-bg-card: #ffffff;
	--pk-border: #e3eaf0;

	--pk-radius-sm: 6px;
	--pk-radius: 12px;
	--pk-radius-lg: 20px;
	--pk-radius-pill: 999px;

	--pk-shadow-sm: 0 1px 3px rgba(12,65,107,.06);
	--pk-shadow: 0 4px 16px rgba(12,65,107,.08);
	--pk-shadow-lg: 0 12px 40px rgba(12,65,107,.12);

	--pk-container: 1200px;
	--pk-gap: clamp(1rem, 3vw, 2rem);
	--pk-section-py: clamp(3rem, 7vw, 5.5rem);

	--pk-font-sans: 'Inter', 'Segoe UI', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Noto Sans', Arial, sans-serif;
	--pk-font-headings: 'Inter', 'Segoe UI', 'Helvetica Neue', -apple-system, sans-serif;
}

/* Reset (minimal) */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--pk-font-sans);
	font-size: clamp(16px, 1vw + 0.8rem, 18px);
	line-height: 1.65;
	color: var(--pk-text);
	background: var(--pk-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, picture, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--pk-blue); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--pk-teal); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pk-font-headings);
	color: var(--pk-blue);
	line-height: 1.25;
	font-weight: 700;
	margin-bottom: 0.6em;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em 1.3em; }
li { margin-bottom: 0.4em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--pk-blue);
	color: #fff;
	padding: 12px 20px;
	z-index: 99999;
	font-weight: 600;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Layout */
.pk-container {
	max-width: var(--pk-container);
	margin-inline: auto;
	padding-inline: var(--pk-gap);
	width: 100%;
}

.pk-section { padding-block: var(--pk-section-py); }
.pk-section-alt { background: var(--pk-bg-alt); }

.pk-section-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.pk-section-title { color: var(--pk-blue); }
.pk-section-subtitle {
	color: var(--pk-text-soft);
	max-width: 720px;
	margin-inline: auto;
	font-size: 1.1rem;
}

/* Buttons */
.pk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	font-size: 1rem;
	border: 2px solid transparent;
	border-radius: var(--pk-radius-pill);
	cursor: pointer;
	transition: all .2s ease;
	text-decoration: none;
	line-height: 1.2;
	font-family: inherit;
}
.pk-btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.pk-btn-cta { background: var(--pk-accent); color: #fff; }
.pk-btn-cta:hover { background: #d68d18; color: #fff; transform: translateY(-1px); box-shadow: var(--pk-shadow); }
.pk-btn-outline { background: transparent; border-color: var(--pk-blue); color: var(--pk-blue); }
.pk-btn-outline:hover { background: var(--pk-blue); color: #fff; }
.pk-btn-light { background: #fff; color: var(--pk-blue); }
.pk-btn-light:hover { background: #f0f7ff; color: var(--pk-blue); transform: translateY(-1px); }

/* ===================== HEADER ===================== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; }

.pk-topbar {
	background: var(--pk-blue);
	color: #fff;
	font-size: 0.875rem;
}
.pk-topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-block: 0.4rem;
	min-height: 36px;
}
.pk-topbar-tagline { opacity: 0.85; }
.pk-topbar-phone a {
	color: #fff;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.pk-topbar-phone a:hover { opacity: 0.85; }
.pk-icon-phone { font-size: 1.05em; }

.pk-navbar { border-bottom: 1px solid var(--pk-border); background: #fff; }
.pk-navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 80px;
	padding-block: 0.5rem;
}

.site-branding { flex-shrink: 0; }
.site-logo img { max-height: 70px; width: auto; }
.site-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	font-family: var(--pk-font-headings);
}
.site-logo-k {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	background: linear-gradient(135deg, var(--pk-teal) 0%, var(--pk-blue) 100%);
	color: #fff;
	font-weight: 800;
	font-size: 1.6rem;
	border-radius: 12px;
	letter-spacing: -0.04em;
}
.site-logo-name { display: flex; flex-direction: column; line-height: 1; }
.site-logo-name strong { color: var(--pk-blue); font-size: 1.3rem; letter-spacing: 0.02em; }
.site-logo-name small { color: var(--pk-teal); font-size: 0.85rem; font-weight: 500; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Navigation */
.main-navigation { flex: 1; }
.nav-menu {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.5rem;
}
.nav-menu > li > a {
	display: inline-block;
	padding: 0.6rem 1rem;
	color: var(--pk-text);
	font-weight: 500;
	border-radius: var(--pk-radius-sm);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
	background: var(--pk-bg-alt);
	color: var(--pk-blue);
}

.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	width: 36px; height: 36px;
	padding: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}
.menu-icon-bar {
	display: block;
	width: 26px; height: 3px;
	background: var(--pk-blue);
	border-radius: 2px;
	transition: all 0.25s ease;
}
.menu-toggle[aria-expanded="true"] .menu-icon-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.pk-header-cta { flex-shrink: 0; }

/* ===================== HERO ===================== */
.pk-hero {
	background: linear-gradient(135deg, var(--pk-blue) 0%, var(--pk-blue-dark) 50%, var(--pk-teal-dark) 100%);
	color: #fff;
	padding-block: clamp(3rem, 7vw, 5.5rem);
	position: relative;
	overflow: hidden;
}
.pk-hero::before {
	content: "";
	position: absolute;
	top: -50%; right: -20%;
	width: 600px; height: 600px;
	background: radial-gradient(circle, var(--pk-teal) 0%, transparent 70%);
	opacity: 0.15;
	border-radius: 50%;
	pointer-events: none;
}
.pk-hero-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	position: relative;
	z-index: 1;
}
.pk-hero-title {
	color: #fff;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	line-height: 1.1;
	margin-bottom: 0.6rem;
}
.pk-hero-subtitle {
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1rem;
	font-weight: 300;
}
.pk-hero-arabic {
	font-size: 1.4rem;
	color: var(--pk-teal-light);
	margin-bottom: 1.5rem;
	font-weight: 600;
}
.pk-hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.pk-hero-image {
	display: flex;
	justify-content: center;
	align-items: center;
}
.pk-hero-image img {
	max-width: 100%;
	border-radius: var(--pk-radius-lg);
	box-shadow: var(--pk-shadow-lg);
	background: rgba(255, 255, 255, 0.05);
}

/* ===================== ABOUT ===================== */
.pk-about-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.pk-about-image img,
.pk-about-image-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--pk-radius-lg);
	box-shadow: var(--pk-shadow);
	background: var(--pk-bg-alt);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pk-about-image-placeholder .dashicons { font-size: 5rem; color: var(--pk-blue-light); }
.pk-about-text { color: var(--pk-text-soft); font-size: 1.05rem; margin-bottom: 1.8rem; }

.pk-about-quickfacts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--pk-border);
}
.pk-quickfact { text-align: center; }
.pk-quickfact-num {
	display: block;
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	font-weight: 800;
	color: var(--pk-teal);
	line-height: 1.1;
}
.pk-quickfact-label {
	display: block;
	font-size: 0.85rem;
	color: var(--pk-text-soft);
	margin-top: 0.3rem;
}

/* ===================== SERVICES ===================== */
.pk-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.pk-service-card {
	background: var(--pk-bg-card);
	padding: 2rem;
	border-radius: var(--pk-radius);
	box-shadow: var(--pk-shadow-sm);
	border: 1px solid var(--pk-border);
	transition: transform .25s ease, box-shadow .25s ease;
}
.pk-service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--pk-shadow);
}
.pk-service-icon {
	width: 56px; height: 56px;
	border-radius: var(--pk-radius);
	background: linear-gradient(135deg, var(--pk-teal) 0%, var(--pk-blue) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.2rem;
}
.pk-service-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.pk-service-desc { color: var(--pk-text-soft); font-size: 0.95rem; }

/* ===================== VALUES ===================== */
.pk-values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.pk-value-card {
	display: flex;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--pk-bg-card);
	border-radius: var(--pk-radius);
	border-left: 4px solid var(--pk-teal);
	box-shadow: var(--pk-shadow-sm);
}
.pk-value-check {
	flex-shrink: 0;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--pk-teal);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pk-value-title { font-size: 1.1rem; margin-bottom: 0.3rem; }
.pk-value-desc { color: var(--pk-text-soft); font-size: 0.9rem; }

/* ===================== DIPLOMAS ===================== */
.pk-diplomas-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.5rem;
}
.pk-diploma-card {
	display: flex;
	gap: 1.2rem;
	padding: 1.8rem;
	background: var(--pk-bg-card);
	border-radius: var(--pk-radius);
	box-shadow: var(--pk-shadow-sm);
	border-top: 4px solid var(--pk-blue);
}
.pk-diploma-icon {
	flex-shrink: 0;
	width: 56px; height: 56px;
	border-radius: var(--pk-radius);
	background: var(--pk-bg-alt);
	color: var(--pk-blue);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pk-diploma-title { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--pk-blue); }
.pk-diploma-uni {
	color: var(--pk-teal);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.pk-diploma-desc { color: var(--pk-text-soft); font-size: 0.9rem; }

/* ===================== CABINET ===================== */
.pk-cabinet-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1.5rem;
	align-items: stretch;
}
.pk-cabinet-img {
	border-radius: var(--pk-radius);
	overflow: hidden;
	box-shadow: var(--pk-shadow-sm);
	margin: 0;
}
.pk-cabinet-img img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	transition: transform .4s ease;
}
.pk-cabinet-img:hover img { transform: scale(1.05); }
.pk-cabinet-info {
	background: var(--pk-blue);
	color: #fff;
	padding: 2rem;
	border-radius: var(--pk-radius);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.pk-cabinet-info h3 { color: #fff; margin-bottom: 1rem; }
.pk-cabinet-info p { margin-bottom: 1rem; }
.pk-cabinet-info strong { color: var(--pk-teal-light); }
.pk-cabinet-info a { color: #fff; text-decoration: underline; text-decoration-color: var(--pk-teal-light); }
.pk-cabinet-info a:hover { color: var(--pk-teal-light); }

/* ===================== BLOG GRID ===================== */
.pk-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.8rem;
}
.pk-blog-grid-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pk-blog-card {
	background: var(--pk-bg-card);
	border-radius: var(--pk-radius);
	overflow: hidden;
	box-shadow: var(--pk-shadow-sm);
	border: 1px solid var(--pk-border);
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.pk-blog-card:hover { transform: translateY(-4px); box-shadow: var(--pk-shadow); }
.pk-blog-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pk-bg-alt); }
.pk-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pk-blog-card:hover .pk-blog-card-img img { transform: scale(1.05); }
.pk-blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.pk-blog-card-date {
	font-size: 0.8rem;
	color: var(--pk-teal);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}
.pk-blog-card-title { font-size: 1.2rem; margin-bottom: 0.6rem; line-height: 1.3; }
.pk-blog-card-title a { color: var(--pk-blue); }
.pk-blog-card-title a:hover { color: var(--pk-teal); }
.pk-blog-card-excerpt { color: var(--pk-text-soft); font-size: 0.95rem; flex: 1; }
.pk-blog-card-link {
	margin-top: 0.8rem;
	color: var(--pk-teal);
	font-weight: 600;
	font-size: 0.9rem;
}
.pk-blog-card-link:hover { color: var(--pk-blue); }
.pk-blog-teaser-all { text-align: center; margin-top: 2.5rem; }
.pk-no-posts { text-align: center; color: var(--pk-text-soft); padding: 2rem 0; }

/* ===================== SINGLE POST ===================== */
.pk-content-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: var(--pk-section-py);
}
.no-sidebar .pk-content-grid { grid-template-columns: 1fr; }
.pk-content-main { min-width: 0; }

.page-header { padding-block: 2rem 1rem; }
.page-title { color: var(--pk-blue); }

.pk-single-post {
	background: var(--pk-bg-card);
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--pk-radius);
	box-shadow: var(--pk-shadow-sm);
	margin-bottom: 2rem;
}
.entry-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.entry-cat {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: var(--pk-bg-alt);
	color: var(--pk-teal);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: var(--pk-radius-pill);
}
.entry-cat:hover { background: var(--pk-teal); color: #fff; }
.entry-title { margin-bottom: 1rem; }
.entry-meta {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: var(--pk-text-soft);
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--pk-border);
}
.entry-meta .updated { opacity: 0.7; font-style: italic; }
.entry-thumbnail { margin-bottom: 2rem; border-radius: var(--pk-radius); overflow: hidden; }
.entry-thumbnail img { width: 100%; }
.entry-thumbnail figcaption { font-size: 0.85rem; color: var(--pk-text-soft); padding-top: 0.5rem; text-align: center; }

.entry-content { font-size: 1.05rem; line-height: 1.75; color: var(--pk-text); }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content img { border-radius: var(--pk-radius-sm); margin: 1.5em auto; }
.entry-content ul, .entry-content ol { margin: 1em 0 1.2em 1.3em; }
.entry-content blockquote {
	border-left: 4px solid var(--pk-teal);
	padding: 1rem 1.5rem;
	margin: 1.5em 0;
	background: var(--pk-bg-alt);
	font-style: italic;
	border-radius: 0 var(--pk-radius) var(--pk-radius) 0;
	color: var(--pk-text-soft);
}
.entry-content pre {
	background: var(--pk-blue-dark);
	color: #e3eaf0;
	padding: 1.2rem;
	border-radius: var(--pk-radius-sm);
	overflow-x: auto;
	margin: 1.5em 0;
	font-size: 0.9rem;
}
.entry-content code { background: var(--pk-bg-alt); padding: 0.15em 0.4em; border-radius: 4px; font-family: 'Consolas', monospace; font-size: 0.9em; }
.entry-content pre code { background: transparent; padding: 0; }

.entry-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--pk-border); }
.post-tags { list-style: none; margin: 0 0 1rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-tags li { margin: 0; }
.post-tags li a {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	background: var(--pk-bg-alt);
	color: var(--pk-blue);
	font-size: 0.85rem;
	border-radius: var(--pk-radius-pill);
	border: 1px solid var(--pk-border);
}
.post-tags li a:hover { background: var(--pk-teal); color: #fff; border-color: var(--pk-teal); }

.entry-share { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.share-label { font-weight: 600; color: var(--pk-text-soft); font-size: 0.9rem; }
.entry-share a {
	display: inline-flex;
	padding: 0.4rem 0.9rem;
	background: var(--pk-blue);
	color: #fff;
	font-size: 0.85rem;
	border-radius: var(--pk-radius-pill);
	font-weight: 500;
}
.entry-share a:hover { background: var(--pk-teal); color: #fff; }
.share-whatsapp { background: #25d366 !important; }
.share-whatsapp:hover { background: #1da851 !important; color: #fff; }

.author-bio {
	display: flex;
	gap: 1.2rem;
	margin-top: 2.5rem;
	padding: 1.5rem;
	background: var(--pk-bg-alt);
	border-radius: var(--pk-radius);
	border-left: 4px solid var(--pk-teal);
}
.author-bio .avatar { border-radius: 50%; }
.author-bio-name { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--pk-blue); }
.author-bio-desc { color: var(--pk-text-soft); font-size: 0.9rem; margin-bottom: 0.6rem; }
.author-bio-link { color: var(--pk-teal); font-weight: 600; font-size: 0.9rem; }

/* Post navigation */
.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 2rem;
}
.post-navigation a {
	display: block;
	padding: 1.2rem;
	background: var(--pk-bg-card);
	border: 1px solid var(--pk-border);
	border-radius: var(--pk-radius);
	font-size: 0.9rem;
	color: var(--pk-text);
}
.post-navigation a:hover { border-color: var(--pk-teal); box-shadow: var(--pk-shadow-sm); }
.post-navigation .nav-subtitle { display: block; font-size: 0.8rem; color: var(--pk-text-soft); margin-bottom: 0.3rem; }
.post-navigation .nav-title { font-weight: 600; color: var(--pk-blue); }
.post-navigation .nav-previous { text-align: left; }
.post-navigation .nav-next { text-align: right; }

/* Pagination */
.pagination, .post-page-numbers {
	margin: 2rem 0;
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px; height: 40px;
	padding: 0 0.6rem;
	border: 1px solid var(--pk-border);
	border-radius: var(--pk-radius-sm);
	color: var(--pk-text);
	font-weight: 500;
	background: #fff;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--pk-blue);
	color: #fff;
	border-color: var(--pk-blue);
}

/* ===================== SIDEBAR ===================== */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.widget {
	background: var(--pk-bg-card);
	padding: 1.5rem;
	border-radius: var(--pk-radius);
	box-shadow: var(--pk-shadow-sm);
	border: 1px solid var(--pk-border);
}
.widget-title {
	font-size: 1.1rem;
	color: var(--pk-blue);
	margin-bottom: 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--pk-teal);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--pk-border); }
.widget ul li:last-child { border-bottom: none; }
.widget a { color: var(--pk-text); }
.widget a:hover { color: var(--pk-teal); }

/* Custom widgets */
.pk-contact-widget .pk-label { display: block; font-weight: 600; color: var(--pk-blue); font-size: 0.85rem; margin-bottom: 0.2rem; }
.pk-contact-widget p { margin-bottom: 0.8rem; }
.pk-popular-posts { list-style: none; margin: 0; padding: 0; }
.pk-popular-posts li { padding: 0.5rem 0; border-bottom: 1px solid var(--pk-border); }
.pk-popular-posts li:last-child { border-bottom: none; }
.pk-popular-posts a { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--pk-text); }
.pk-popular-posts a:hover .pk-title { color: var(--pk-teal); }
.pk-popular-posts .pk-thumb { width: 60px; height: 60px; border-radius: var(--pk-radius-sm); object-fit: cover; flex-shrink: 0; }
.pk-popular-posts .pk-title { display: block; font-weight: 600; font-size: 0.95rem; line-height: 1.3; margin-bottom: 0.2rem; }
.pk-popular-posts .pk-date { display: block; font-size: 0.8rem; color: var(--pk-text-soft); }

/* ===================== COMMENTS ===================== */
.comments-area { margin-top: 2rem; padding: 1.5rem; background: var(--pk-bg-card); border-radius: var(--pk-radius); box-shadow: var(--pk-shadow-sm); }
.comments-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.comment-list .children { list-style: none; padding-left: 2rem; margin-top: 1rem; border-left: 2px solid var(--pk-border); }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--pk-border); }
.comment-body:last-child { border-bottom: none; }
.comment-author { font-weight: 600; color: var(--pk-blue); }
.comment-metadata { font-size: 0.8rem; color: var(--pk-text-soft); margin-bottom: 0.5rem; }
.comment-metadata a { color: var(--pk-text-soft); }
.comment-content { color: var(--pk-text); }
.comment-reply-link { color: var(--pk-teal); font-weight: 600; font-size: 0.85rem; }

.comment-form { display: grid; gap: 1rem; }
.comment-form p { margin-bottom: 0; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--pk-blue); font-size: 0.9rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--pk-border);
	border-radius: var(--pk-radius-sm);
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	transition: border-color .2s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--pk-teal);
	box-shadow: 0 0 0 3px rgba(22, 182, 174, 0.1);
}
.comment-form .pk-btn { justify-self: start; }
.pk-honeypot { position: absolute !important; left: -9999px !important; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--pk-blue-dark); color: rgba(255, 255, 255, 0.85); }

.pk-footer-cta {
	background: linear-gradient(135deg, var(--pk-teal) 0%, var(--pk-blue-light) 100%);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
	color: #fff;
}
.pk-footer-cta-title { color: #fff; margin-bottom: 0.6rem; }
.pk-footer-cta-text { color: rgba(255, 255, 255, 0.92); margin-bottom: 1.5rem; font-size: 1.1rem; }

.pk-footer-widgets { padding-block: clamp(2.5rem, 5vw, 4rem); }
.pk-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.pk-footer-col .widget { background: transparent; padding: 0; border: none; box-shadow: none; }
.pk-footer-col .widget-title { color: var(--pk-teal-light); border-bottom-color: var(--pk-teal); }
.pk-footer-col a { color: rgba(255, 255, 255, 0.85); }
.pk-footer-col a:hover { color: var(--pk-teal-light); }
.pk-footer-col .textwidget p { margin-bottom: 0.6rem; font-size: 0.95rem; }
.pk-footer-col .textwidget strong { color: var(--pk-teal-light); }
.pk-footer-col ul li { border-bottom-color: rgba(255, 255, 255, 0.1); padding: 0.4rem 0; }

.pk-footer-bottom { background: rgba(0, 0, 0, 0.2); padding-block: 1.2rem; font-size: 0.85rem; }
.pk-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}
.pk-copyright { color: rgba(255, 255, 255, 0.7); }
.pk-footer-legal a { color: rgba(255, 255, 255, 0.7); }
.pk-footer-legal a:hover { color: var(--pk-teal-light); }
.pk-footer-legal .sep { margin: 0 0.5rem; color: rgba(255, 255, 255, 0.4); }

/* ===================== 404 ===================== */
.error-404 { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.error-title { font-size: clamp(5rem, 15vw, 10rem); color: var(--pk-blue); line-height: 1; margin-bottom: 0.5rem; }
.error-subtitle { color: var(--pk-text); margin-bottom: 1rem; }
.error-text { color: var(--pk-text-soft); max-width: 600px; margin: 0 auto 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.error-search { max-width: 500px; margin: 0 auto; }

/* Search form */
.search-form { display: flex; gap: 0.5rem; }
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--pk-border);
	border-radius: var(--pk-radius-pill);
	font-size: 1rem;
	font-family: inherit;
}
.search-form .search-submit {
	padding: 0.75rem 1.5rem;
	background: var(--pk-blue);
	color: #fff;
	border: none;
	border-radius: var(--pk-radius-pill);
	cursor: pointer;
	font-weight: 600;
	font-family: inherit;
}
.search-form .search-submit:hover { background: var(--pk-teal); }

/* Contact page */
.pk-contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.pk-contact-details { display: grid; gap: 1rem; margin: 1.5rem 0; }
.pk-contact-details dt { color: var(--pk-teal); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }
.pk-contact-details dd { font-size: 1.1rem; }
.pk-contact-details a { color: var(--pk-blue); font-weight: 600; }
.pk-contact-notice {
	background: var(--pk-bg-alt);
	border-left: 4px solid var(--pk-teal);
	padding: 1rem 1.2rem;
	border-radius: 0 var(--pk-radius-sm) var(--pk-radius-sm) 0;
	margin-top: 1.5rem;
	font-size: 0.95rem;
}
.pk-contact-map { border-radius: var(--pk-radius); overflow: hidden; box-shadow: var(--pk-shadow); min-height: 400px; }
.pk-contact-map iframe { display: block; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
	.pk-hero-inner { grid-template-columns: 1fr; text-align: center; }
	.pk-hero-actions { justify-content: center; }
	.pk-hero-image { order: -1; max-width: 400px; margin: 0 auto; }
	.pk-about-inner { grid-template-columns: 1fr; }
	.pk-about-image { max-width: 500px; margin: 0 auto; }
	.pk-content-grid { grid-template-columns: 1fr; }
	.sidebar { order: 2; }
	.pk-cabinet-grid { grid-template-columns: 1fr 1fr; }
	.pk-cabinet-info { grid-column: 1 / -1; }
	.pk-contact-page { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.menu-toggle { display: flex; }
	.main-navigation .nav-menu {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		flex-direction: column;
		padding: 1rem var(--pk-gap);
		box-shadow: var(--pk-shadow);
		border-top: 1px solid var(--pk-border);
		max-height: 0;
		overflow: hidden;
		transition: max-height .35s ease;
		gap: 0;
	}
	.main-navigation.toggled .nav-menu { max-height: 600px; overflow-y: auto; }
	.nav-menu > li { width: 100%; }
	.nav-menu > li > a { display: block; padding: 0.8rem 1rem; border-radius: 0; }
	.nav-menu > li > a:hover { background: var(--pk-bg-alt); }
	.pk-header-cta { display: none; }
	.pk-topbar-inner { justify-content: center; text-align: center; }
	.pk-topbar-tagline { display: none; }
	.pk-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.pk-footer-bottom-inner { flex-direction: column; text-align: center; }
	.pk-about-quickfacts { grid-template-columns: 1fr; gap: 1rem; }
	.pk-quickfact { display: flex; align-items: baseline; gap: 0.8rem; justify-content: center; text-align: left; }
	.pk-cabinet-grid { grid-template-columns: 1fr; }
	.post-navigation { grid-template-columns: 1fr; }
	.author-bio { flex-direction: column; align-items: center; text-align: center; }
	.pk-single-post { padding: 1.5rem; }
	.entry-meta { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 480px) {
	.pk-hero-actions { flex-direction: column; align-items: stretch; }
	.pk-hero-actions .pk-btn { width: 100%; }
	.error-actions { flex-direction: column; }
}

/* RTL support (Arabic) */
[dir="rtl"] .pk-topbar-inner { flex-direction: row-reverse; }
[dir="rtl"] .pk-cabinet-info { text-align: right; }
[dir="rtl"] .pk-value-card,
[dir="rtl"] .pk-diploma-card { flex-direction: row-reverse; }

/* Print */
@media print {
	.site-header, .site-footer, .pk-hero-actions, .entry-share, .comments-area, .sidebar, .post-navigation { display: none !important; }
	body { color: #000; background: #fff; }
	.pk-single-post { box-shadow: none; border: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   v2 ADDITIONS
   ========================================================================== */

/* --- Hero video --- */
.pk-hero-video {
	width: 100%;
	max-width: 600px;
	border-radius: var(--pk-radius-lg);
	box-shadow: var(--pk-shadow-lg);
	background: #000;
	aspect-ratio: 9 / 16;
	object-fit: cover;
}

/* --- Hero status (open now / closed) --- */
.pk-hero-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	padding: 0.4rem 1rem;
	border-radius: var(--pk-radius-pill);
	font-size: 0.9rem;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
}
.pk-hero-status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	animation: pk-pulse 1.5s ease-in-out infinite;
}
.pk-hero-status.is-open .pk-hero-status-dot { background: #4ade80; }
.pk-hero-status.is-closed .pk-hero-status-dot { background: #f87171; animation: none; }
.pk-hero-status.is-open { background: rgba(74, 222, 128, 0.2); }
.pk-hero-status.is-closed { background: rgba(248, 113, 113, 0.2); }

@keyframes pk-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(1.3); }
}

/* --- Working hours table --- */
.pk-hours-table-wrap {
	max-width: 700px;
	margin: 0 auto;
	background: var(--pk-bg-card);
	border-radius: var(--pk-radius);
	box-shadow: var(--pk-shadow-sm);
	overflow: hidden;
	border: 1px solid var(--pk-border);
}
.pk-hours-status {
	padding: 1rem 1.5rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	border-bottom: 1px solid var(--pk-border);
}
.pk-hours-status-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}
.is-open .pk-hours-status { background: rgba(22, 182, 174, 0.1); color: var(--pk-teal-dark); }
.is-open .pk-hours-status-dot { background: var(--pk-teal); animation: pk-pulse 1.5s ease-in-out infinite; }
.is-closed .pk-hours-status { background: rgba(248, 113, 113, 0.1); color: #b91c1c; }
.is-closed .pk-hours-status-dot { background: #ef4444; }

.pk-hours-table {
	width: 100%;
	border-collapse: collapse;
}
.pk-hours-table th,
.pk-hours-table td {
	padding: 0.85rem 1.5rem;
	text-align: left;
	font-size: 0.95rem;
	border-bottom: 1px solid var(--pk-border);
}
.pk-hours-table tr:last-child th,
.pk-hours-table tr:last-child td { border-bottom: none; }
.pk-hours-table th {
	font-weight: 600;
	color: var(--pk-text);
	width: 35%;
}
.pk-hours-table tr.is-today {
	background: linear-gradient(90deg, rgba(22, 182, 174, 0.08) 0%, transparent 100%);
}
.pk-hours-table tr.is-today th {
	color: var(--pk-blue);
	font-weight: 700;
	border-left: 4px solid var(--pk-teal);
}
.pk-hours-slots { color: var(--pk-text); font-weight: 500; }
.pk-hours-closed { color: #b91c1c; font-style: italic; }
.pk-hours-today-badge {
	display: inline-block;
	margin-left: 0.6rem;
	padding: 0.1rem 0.5rem;
	background: var(--pk-teal);
	color: #fff;
	font-size: 0.7rem;
	border-radius: var(--pk-radius-pill);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}

/* --- Top Videos section --- */
.pk-videos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.pk-video-card {
	background: var(--pk-bg-card);
	border-radius: var(--pk-radius);
	overflow: hidden;
	box-shadow: var(--pk-shadow-sm);
	border: 1px solid var(--pk-border);
	transition: transform .25s ease, box-shadow .25s ease;
	cursor: pointer;
}
.pk-video-card:hover { transform: translateY(-4px); box-shadow: var(--pk-shadow); }
.pk-video-thumb-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--pk-blue);
	overflow: hidden;
}
.pk-video-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.pk-video-card:hover .pk-video-thumb-wrap img { transform: scale(1.05); }
.pk-video-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--pk-blue) 0%, var(--pk-teal) 100%);
	color: rgba(255, 255, 255, 0.5);
	font-size: 3rem;
}
.pk-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--pk-blue);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .25s ease;
	box-shadow: var(--pk-shadow);
}
.pk-video-card:hover .pk-video-play {
	background: var(--pk-accent);
	color: #fff;
	transform: translate(-50%, -50%) scale(1.1);
}
.pk-video-platform {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	padding: 0.2rem 0.6rem;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	border-radius: var(--pk-radius-pill);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.pk-platform-youtube { background: rgba(255, 0, 0, 0.85) !important; }
.pk-platform-tiktok { background: rgba(0, 0, 0, 0.85) !important; }
.pk-platform-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; }
.pk-platform-vimeo { background: rgba(26, 183, 234, 0.9) !important; }
.pk-video-body { padding: 1rem 1.2rem; }
.pk-video-title {
	font-size: 1rem;
	margin: 0;
	color: var(--pk-blue);
	line-height: 1.4;
}

/* --- Video modal --- */
.pk-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}
.pk-video-modal[hidden] { display: none; }
.pk-video-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(4px);
}
.pk-video-modal-content {
	position: relative;
	max-width: 1100px;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--pk-radius);
	overflow: hidden;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}
.pk-video-modal-iframe-wrap {
	width: 100%;
	height: 100%;
}
.pk-video-modal-iframe-wrap iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
.pk-video-modal-close {
	position: absolute;
	top: -50px;
	right: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}
.pk-video-modal-close:hover { background: rgba(255, 255, 255, 0.3); }

/* --- Contact form --- */
.pk-contact-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}
.pk-contact-right { display: flex; flex-direction: column; gap: 2rem; }
.pk-contact-form {
	background: var(--pk-bg-card);
	padding: 1.8rem;
	border-radius: var(--pk-radius);
	box-shadow: var(--pk-shadow-sm);
	border: 1px solid var(--pk-border);
}
.pk-contact-form h3 { margin-top: 0; margin-bottom: 1.2rem; color: var(--pk-blue); }
.pk-form-row { margin-bottom: 1rem; }
.pk-form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pk-form-row label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--pk-blue); font-size: 0.9rem; }
.pk-form-row input,
.pk-form-row textarea {
	width: 100%;
	padding: 0.7rem 1rem;
	border: 1px solid var(--pk-border);
	border-radius: var(--pk-radius-sm);
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.pk-form-row input:focus,
.pk-form-row textarea:focus {
	outline: none;
	border-color: var(--pk-teal);
	box-shadow: 0 0 0 3px rgba(22, 182, 174, 0.1);
}
.pk-form-row .required { color: #dc2626; }

.pk-captcha-row { background: var(--pk-bg-alt); padding: 1rem; border-radius: var(--pk-radius-sm); }
.pk-captcha-wrap { display: flex; align-items: center; gap: 0.8rem; }
.pk-captcha-question {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1rem;
	background: var(--pk-blue);
	color: #fff;
	border-radius: var(--pk-radius-sm);
	font-weight: 700;
	font-size: 1.1rem;
	white-space: nowrap;
}
.pk-captcha-wrap input { max-width: 120px; }

.pk-form-message {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: var(--pk-radius-sm);
	font-weight: 500;
}
.pk-form-message.is-success {
	background: rgba(22, 182, 174, 0.1);
	color: var(--pk-teal-dark);
	border: 1px solid var(--pk-teal);
}
.pk-form-message.is-error {
	background: rgba(220, 38, 38, 0.08);
	color: #b91c1c;
	border: 1px solid #fca5a5;
}

.pk-contact-hours-block { margin: 1.5rem 0; }
.pk-contact-hours-block h3 { font-size: 1.1rem; color: var(--pk-blue); margin-bottom: 0.8rem; }

/* --- Quick post dashboard widget --- */
.pk-quick-post-widget input[type="text"],
.pk-quick-post-widget textarea { width: 100%; }
.pk-quick-post-widget label { display: block; }

/* --- Responsive additions --- */
@media (max-width: 768px) {
	.pk-form-row-double { grid-template-columns: 1fr; }
	.pk-captcha-wrap { flex-direction: column; align-items: stretch; }
	.pk-captcha-wrap input { max-width: none; }
	.pk-contact-page { grid-template-columns: 1fr; }
	.pk-video-modal-content { aspect-ratio: 9 / 16; max-width: 100%; }
	.pk-video-modal-close { top: -45px; }
	.pk-hero-video { aspect-ratio: 4 / 5; }
}
