/*
Theme Name: Pinlight
Theme URI: https://pinlight.co.uk/
Author: Anirudha Talmale
Description: Custom block theme for Pinlight – hands-on STEAM workshops, camps and mentoring. White, yellow and black design with editable homepage sections (Appearance > Editor).
Version: 1.2.7
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pinlight
*/

/* =========================================================
   Base
   ========================================================= */
:root {
	--pl-yellow: #ffd21f;
	--pl-black: #111111;
	--pl-white: #ffffff;
	--pl-grey: #444444;
	--pl-cream: #fff6cc;
	--pl-wrap: 1184px;
	--pl-radius: 28px;
}
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.pl-main { margin: 0; }
.pl-main > *,
.pl-main .wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0; }
.pl-wrap,
.pl-hero-inner,
.pl-header-inner,
.pl-steam-grid {
	max-width: var(--pl-wrap);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: content-box;
}
.pl-main img { display: block; }

/* Buttons */
.wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 5px 0 #c9a200; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.pl-btn-white .wp-block-button__link { background: var(--pl-white); color: var(--pl-black); box-shadow: 0 5px 0 #d6d6d6; }
.wp-block-button.pl-btn-black .wp-block-button__link { background: var(--pl-black); color: var(--pl-yellow); box-shadow: 0 5px 0 #000; }
.wp-block-buttons.pl-center { justify-content: center; margin-top: 44px !important; }

/* =========================================================
   Header (white bar, logo + menu)
   ========================================================= */
.wp-block-template-part:has(> .pl-header),
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part { top: 32px; }
.pl-header { background: var(--pl-white); box-shadow: 0 6px 24px rgba(0, 0, 0, .10); }
.pl-header-inner { min-height: 132px; gap: 24px; }
.pl-header .wp-block-site-logo { flex: none; margin: 0; }
.pl-header .wp-block-site-logo img { width: 132px; height: auto; }

.pl-nav { font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; font-size: 16.5px; gap: 6px; }
.pl-nav .wp-block-navigation__container { gap: 6px; align-items: center; }
.pl-nav .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 11px 16px; border-radius: 40px; color: var(--pl-black); text-decoration: none; transition: background .15s; }
.pl-nav .wp-block-navigation-item > .wp-block-navigation-item__content:hover { background: var(--pl-cream); }
.pl-nav .current-menu-item > .wp-block-navigation-item__content,
body.home .pl-nav .wp-block-navigation__container > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content { background: var(--pl-black); color: var(--pl-yellow); }
.pl-nav .pl-nav-cta > .wp-block-navigation-item__content { background: var(--pl-yellow); color: var(--pl-black); box-shadow: 0 4px 0 var(--pl-black); }
.pl-nav .wp-block-navigation-submenu__toggle { margin-left: -12px; padding-right: 10px; }
.pl-nav .wp-block-navigation__submenu-container {
	border: 0 !important; border-top: 5px solid var(--pl-yellow) !important; border-radius: 18px; padding: 10px !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .18); min-width: 270px !important; background: var(--pl-white) !important; margin-top: 6px;
}
.pl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { border-radius: 12px; padding: 12px 14px !important; font-size: 16px; }

/* Mobile menu overlay */
.pl-nav .wp-block-navigation__responsive-container-open { background: var(--pl-yellow); border-radius: 12px; padding: 10px; }
.pl-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--pl-yellow) !important; padding: 80px 28px 28px; }
.pl-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.pl-nav .is-menu-open .wp-block-navigation__container,
.pl-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; justify-content: flex-start !important; text-align: left; }
.pl-nav .is-menu-open .wp-block-navigation__container { gap: 8px; }
.pl-nav .is-menu-open .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: 22px; padding: 10px 18px !important; }
.pl-nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; border-top: 0 !important; background: transparent !important; padding: 0 0 0 18px !important; min-width: 0 !important; margin-top: 0; }
.pl-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 18px !important; padding: 6px 18px !important; }
.pl-nav .is-menu-open .pl-nav-cta { margin-top: 10px; }
.pl-nav .is-menu-open .pl-nav-cta > .wp-block-navigation-item__content { background: var(--pl-black); color: var(--pl-yellow); box-shadow: none; }

/* =========================================================
   Hero
   ========================================================= */
.pl-hero { background: var(--pl-yellow); padding: 34px 0 0; position: relative; overflow: hidden; }
.pl-hero-inner { position: relative; height: 600px; }
.pl-hero-inner::before {
	content: ""; position: absolute; left: -10px; bottom: 30px; width: 170px; height: 170px; z-index: 1;
	background: url(assets/images/splash-white.svg) no-repeat center / contain; pointer-events: none;
}
.pl-hero .pl-hero-photo { position: absolute; right: 24px; top: 0; width: calc(100% - 384px); height: 600px; margin: 0; border-radius: 0 36px 36px 0; overflow: hidden; box-shadow: 0 0 0 6px var(--pl-black); }
.pl-hero .pl-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 35%; }
.pl-panel {
	position: absolute; left: 40px; top: 34px; width: 520px; box-sizing: border-box; z-index: 2;
	padding: 50px 50px 48px 56px; color: var(--pl-white);
	background: url(assets/images/brush-black.svg) no-repeat center / 100% 100%;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25));
}
.pl-panel > * { margin-block-start: 0; margin-block-end: 0; }
.pl-panel .pl-panel-pre { font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; font-size: 34px; line-height: 1.1; }
.pl-panel .pl-panel-title { font-size: 88px; color: var(--pl-yellow); letter-spacing: 1px; margin-top: 2px; line-height: 1.02; }
.pl-panel .pl-panel-title mark { font-size: 70px; display: block; line-height: 1; margin-top: 2px; }
.pl-panel .pl-panel-script { font-family: var(--wp--preset--font-family--kalam); font-size: 27px; margin-top: 12px; display: inline-block; position: relative; line-height: 1.3; }
.pl-panel .pl-panel-script::after { content: ""; position: absolute; left: 0; right: 30%; bottom: -6px; height: 6px; border-radius: 6px; background: var(--pl-yellow); }
.pl-panel .pl-panel-text { font-weight: 700; font-size: 17px; margin-top: 24px; max-width: 400px; }
.pl-panel .wp-block-buttons { margin-top: 26px; gap: 12px; }

/* STEAM boxes */
.pl-steam { background: var(--pl-yellow); padding: 44px 0 90px; }
.pl-steam-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pl-steam-grid > * { margin: 0 !important; }
.pl-box { border-radius: 24px; padding: 28px 16px 26px; text-align: center; border: 3px solid var(--pl-black); box-shadow: 0 14px 28px rgba(0, 0, 0, .18); position: relative; overflow: hidden; transition: transform .2s; }
.pl-box:hover { transform: translateY(-6px); }
.pl-box::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; top: -60px; right: -50px; }
.pl-box > * { margin: 0 !important; position: relative; }
.pl-box.is-dark { background: linear-gradient(160deg, #2a2a2a, #0b0b0b); color: var(--pl-yellow); }
.pl-box.is-dark::before { background: rgba(255, 210, 31, .12); }
.pl-box.is-light { background: var(--pl-white); color: var(--pl-black); }
.pl-box.is-light::before { background: rgba(255, 210, 31, .35); }
.pl-box .pl-box-icon img { width: 58px; height: 58px; margin: 0 auto; }
.pl-box h3 { font-size: 27px; font-weight: 600; margin-top: 10px !important; color: inherit; }
.pl-box p { font-weight: 700; font-size: 15px; margin-top: 4px !important; }

/* =========================================================
   Sections
   ========================================================= */
.pl-section { padding: 100px 0; }
.pl-section.is-white { background: var(--pl-white); }
.pl-section.is-yellow { background: var(--pl-yellow); }
.pl-section.is-black { background: var(--pl-black); color: var(--pl-white); }
.pl-head { text-align: center; max-width: 900px; margin: 0 auto 48px !important; }
.pl-head > * { margin: 0; }
.pl-head .pl-kicker { display: inline-block; font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; background: var(--pl-yellow); color: var(--pl-black); padding: 7px 18px; border-radius: 30px; font-size: 15px; letter-spacing: .6px; }
.pl-head .pl-kicker.is-inverse { background: var(--pl-black); color: var(--pl-yellow); }
.pl-head h2 { font-size: clamp(34px, 4.2vw, 50px); margin-top: 14px; }
.pl-head .pl-sub { color: #333; font-size: 18px; font-weight: 600; margin: 12px auto 0; max-width: 740px; }
.pl-grid-4, .pl-grid-3, .pl-grid-6, .pl-grid-stats { display: grid; gap: 24px; }
.pl-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pl-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pl-grid-6 { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pl-grid-4 > *, .pl-grid-3 > *, .pl-grid-6 > *, .pl-grid-stats > * { margin: 0 !important; }

/* Where to next cards */
.pl-card { border-radius: var(--pl-radius); overflow: hidden; background: var(--pl-white); border: 3px solid var(--pl-black); box-shadow: 8px 8px 0 var(--pl-yellow); display: flex; flex-direction: column; }
.pl-card > * { margin: 0 !important; }
.pl-card .pl-card-img, .pl-card .pl-card-ph { height: 190px; border-bottom: 3px solid var(--pl-black); }
.pl-card .pl-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pl-card .pl-card-ph { display: grid; place-items: center; }
.pl-card .pl-card-ph.is-dark { background: var(--pl-black); }
.pl-card .pl-card-ph.is-yellow { background: var(--pl-yellow); }
.pl-card .pl-card-icon { margin: 0; }
.pl-card .pl-card-icon img { width: 72px; height: 72px; }
.pl-card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pl-card-body > * { margin: 0; }
.pl-card-body h3 { font-size: 25px; }
.pl-card-body p { color: var(--pl-grey); font-weight: 600; font-size: 15.5px; margin: 8px 0 16px; flex: 1; }
.pl-card-body .pl-more { flex: 0; margin: 0; font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; }
.pl-card-body .pl-more a { color: var(--pl-black); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.pl-card-body .pl-more a::after { content: "→"; width: 30px; height: 30px; border-radius: 50%; background: var(--pl-yellow); border: 2px solid var(--pl-black); display: inline-grid; place-items: center; font-size: 15px; box-sizing: border-box; }

/* About */
.pl-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pl-about-grid > * { margin: 0 !important; }
.pl-about .pl-about-pic { height: 460px; border-radius: 36px; overflow: hidden; box-shadow: 16px 16px 0 var(--pl-yellow); }
.pl-about .pl-about-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.pl-about-text > * { margin-block: 0; }
.pl-about .pl-script { color: var(--pl-yellow); font-family: var(--wp--preset--font-family--kalam); font-size: 27px; }
.pl-about h2 { font-size: clamp(36px, 4.4vw, 52px); color: var(--pl-white); margin: 6px 0 18px; }
.pl-about-text p { font-size: 18px; font-weight: 600; opacity: .92; }
.pl-ticks { list-style: none; padding: 0; margin: 24px 0 32px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pl-ticks li { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.pl-ticks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--pl-yellow); color: var(--pl-black); display: grid; place-items: center; font-size: 14px; flex: none; }

/* Mentoring */
.pl-prog { border-radius: 30px; padding: 36px 32px; background: var(--pl-white); border: 3px solid var(--pl-black); box-shadow: 8px 8px 0 var(--pl-black); display: flex; flex-direction: column; }
.pl-prog > * { margin: 0; }
.pl-prog .pl-age { align-self: flex-start; background: var(--pl-yellow); color: var(--pl-black); border: 2px solid var(--pl-black); font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; padding: 4px 14px; border-radius: 30px; font-size: 15px; }
.pl-prog h3 { font-size: 33px; margin: 16px 0 10px; }
.pl-prog p { color: var(--pl-grey); font-weight: 600; font-size: 16px; }
.pl-stars { list-style: none; padding: 0; margin: 18px 0 28px !important; flex: 1; }
.pl-stars li { padding: 6px 0; font-weight: 700; display: flex; gap: 10px; }
.pl-stars li::before { content: "★"; }
.pl-prog.is-featured { background: var(--pl-black); color: var(--pl-white); }
.pl-prog.is-featured h3 { color: var(--pl-yellow); }
.pl-prog.is-featured p:not(.pl-age) { color: #dddddd; }
.pl-prog.is-featured .pl-stars li::before { color: var(--pl-yellow); }

/* Numbers bar */
.pl-stats { background: var(--pl-black); padding: 70px 0; }
.pl-grid-stats { grid-template-columns: repeat(4, 1fr); text-align: center; }
.pl-stat > * { margin: 0; }
.pl-stat .pl-stat-num { font-family: var(--wp--preset--font-family--fredoka); font-weight: 700; font-size: 66px; line-height: 1.1; color: var(--pl-yellow); }
.pl-stat .pl-stat-label { color: var(--pl-white); font-weight: 800; font-size: 17px; }

/* Activities */
.pl-act { height: 250px; border-radius: var(--pl-radius); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; border: 3px solid var(--pl-black); box-sizing: border-box; }
.pl-act > * { margin: 0 !important; }
.pl-act.is-dark { background: var(--pl-black); color: var(--pl-yellow); }
.pl-act.is-yellow { background: var(--pl-yellow); color: var(--pl-black); }
.pl-act.is-photo { color: var(--pl-white); }
.pl-act .pl-act-img { position: absolute !important; inset: 0; }
.pl-act .pl-act-img img { width: 100%; height: 100%; object-fit: cover; }
.pl-act.is-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .8)); }
.pl-act .pl-act-icon { position: absolute !important; top: 22px; right: 22px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; }
.pl-act.is-dark .pl-act-icon { background: rgba(255, 210, 31, .14); }
.pl-act.is-yellow .pl-act-icon { background: rgba(0, 0, 0, .08); }
.pl-act .pl-act-icon img { width: 34px; height: 34px; }
.pl-act-text { position: relative; z-index: 1; }
.pl-act-text > * { margin: 0; }
.pl-act-text h3 { font-size: 28px; color: inherit; }
.pl-act-text p { font-weight: 700; font-size: 14px; opacity: .85; }

/* Reviews */
.pl-review { background: var(--pl-white); border-radius: var(--pl-radius); padding: 32px; border: 3px solid var(--pl-black); box-shadow: 8px 8px 0 var(--pl-black); }
.pl-review > * { margin: 0; }
.pl-review .pl-review-stars { font-size: 22px; letter-spacing: 2px; }
.pl-review .pl-review-text { font-weight: 600; margin: 14px 0 22px; font-size: 16.5px; }
.pl-review-who { display: flex; align-items: center; gap: 12px; }
.pl-review-who > * { margin: 0 !important; }
.pl-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--pl-black); color: var(--pl-yellow); display: grid; place-items: center; font-family: var(--wp--preset--font-family--fredoka); font-weight: 700; flex: none; }
.pl-review-name > * { margin: 0; line-height: 1.35; }
.pl-review-meta { color: #555555; font-weight: 700; font-size: 14px; }

/* Social */
.pl-social-tile { aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 3px solid var(--pl-black); display: grid; place-items: center; margin: 0; box-sizing: border-box; }
.pl-social-tile img { width: 100%; height: 100%; object-fit: cover; }
.pl-social-tile.pos-right img { object-position: 75% 40%; }
.pl-social-tile.pos-left img { object-position: 20% 30%; }
.pl-social-tile.is-dark { background: var(--pl-black); color: rgba(255, 210, 31, .7); }
.pl-social-tile.is-yellow { background: var(--pl-yellow); color: rgba(0, 0, 0, .5); }
.pl-social-tile p { font-weight: 800; font-size: 12px; margin: 0; }
.pl-section .wp-block-buttons.pl-center { gap: 16px; }

/* Newsletter */
.pl-news { background: var(--pl-white); padding: 0 0 100px; }
.pl-news-inner { background: var(--pl-black); border-radius: 40px; padding: 54px 60px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; color: var(--pl-white); box-shadow: 12px 12px 0 var(--pl-yellow); }
.pl-news-inner > * { margin: 0 !important; }
.pl-news-text > * { margin: 0; }
.pl-news-text h2 { font-size: 40px; color: var(--pl-white); }
.pl-news-text p { opacity: .85; font-weight: 600; margin-top: 8px; }
.pl-news-form { display: flex; background: var(--pl-white); border-radius: 50px; padding: 7px; }
.pl-news-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 20px; font: 600 16px var(--wp--preset--font-family--nunito); color: var(--pl-black); background: transparent; }
.pl-news-form button { border: 0; cursor: pointer; background: var(--pl-yellow); color: var(--pl-black); font: 600 18px var(--wp--preset--font-family--fredoka); padding: 14px 26px; border-radius: 40px; box-shadow: 0 5px 0 #c9a200; }

/* Footer */
.pl-footer { background: var(--pl-black); color: #dddddd; padding: 70px 0 0; }
.pl-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.pl-footer-cols > * { margin: 0 !important; }
.pl-footer-cols > * > * { margin-block: 0; }
.pl-footer .wp-block-site-logo img { width: 132px; filter: brightness(0) invert(1); }
.pl-footer-brand p { margin-top: 18px !important; font-weight: 600; font-size: 15px; max-width: 300px; }
.pl-footer h4 { color: var(--pl-yellow); font-size: 20px; margin-bottom: 16px !important; }
.pl-footer-links { list-style: none; padding: 0; }
.pl-footer-links li { padding: 5px 0; font-weight: 600; }
.pl-footer a { color: #dddddd; text-decoration: none; }
.pl-footer a:hover { color: var(--pl-yellow); }
.pl-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 50px !important; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.pl-footer-bottom > * { margin: 0 !important; }

/* Inner pages */
.pl-page { padding: 70px 24px 90px; }
.pl-page-title { font-size: clamp(36px, 5vw, 56px); }
/* Keep theme fonts and logo intact on pages still built with Elementor */
.pl-page .pl-page-title { font-family: var(--wp--preset--font-family--fredoka); font-weight: 700; line-height: 1.1; }
.pl-header .wp-block-site-logo img, .pl-footer .wp-block-site-logo img { border-radius: 0 !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
	.pl-nav { font-size: 15px; }
	.pl-nav .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 10px 11px; }
	.pl-panel { width: 470px; padding: 44px 40px 44px 46px; }
	.pl-panel .pl-panel-title { font-size: 76px; }
	.pl-panel .pl-panel-title mark { font-size: 60px; }
}
@media (max-width: 1100px) {
	.pl-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.pl-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1024px) {
	.pl-steam-grid { grid-template-columns: repeat(3, 1fr); }
	.pl-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.pl-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.pl-grid-6 { grid-template-columns: repeat(3, 1fr); }
	.pl-about-grid { gap: 44px; }
	.pl-news-inner { grid-template-columns: 1fr; padding: 44px; }
	.pl-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.pl-header-inner { min-height: 96px; }
	.pl-header .wp-block-site-logo img { width: 100px; }
	.pl-hero { padding-top: 20px; }
	.pl-hero-inner { height: auto; display: flex; flex-direction: column; }
	.pl-hero-inner::before { display: none; }
	.pl-hero .pl-hero-photo { position: relative; right: auto; width: 100%; height: 360px; border-radius: 30px; order: 1; }
	.pl-panel { position: relative; left: auto; top: auto; width: auto; order: 2; margin: -60px 6px 0 !important; padding: 44px 34px 40px; }
	.pl-about-grid { grid-template-columns: 1fr; }
	.pl-about .pl-about-pic { height: 340px; }
	.pl-grid-stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
}
@media (max-width: 600px) {
	.pl-section { padding: 70px 0; }
	.pl-panel .pl-panel-pre { font-size: 26px; }
	.pl-panel .pl-panel-title { font-size: 60px; }
	.pl-panel .pl-panel-title mark { font-size: 48px; }
	.pl-panel .pl-panel-script { font-size: 22px; }
	.pl-steam-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.pl-steam-grid > :last-child { grid-column: 1 / -1; }
	.pl-box h3 { font-size: 22px; }
	.pl-grid-4, .pl-grid-3 { grid-template-columns: 1fr; }
	.pl-grid-6 { grid-template-columns: repeat(2, 1fr); }
	.pl-ticks { grid-template-columns: 1fr; }
	.pl-stat .pl-stat-num { font-size: 48px; }
	.pl-news-inner { padding: 36px 24px; border-radius: 30px; }
	.pl-news-text h2 { font-size: 32px; }
	.pl-news-form { flex-direction: column; background: transparent; padding: 0; gap: 10px; }
	.pl-news-form input { background: var(--pl-white); border-radius: 40px; padding: 16px 20px; }
	.pl-footer-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   Inner pages (Pinlight Full-Width Page template)
   ========================================================= */
.pl-page-hero { background: var(--pl-yellow); padding: 70px 0 90px; }
.pl-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.pl-split.is-reversed { grid-template-columns: 1fr 1.05fr; }
.pl-split > * { margin: 0 !important; }
.pl-split-text > * { margin-block: 0; }
.pl-tag { display: inline-block; font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; font-size: 15px; letter-spacing: .6px; padding: 7px 18px; border-radius: 30px; background: var(--pl-black); color: var(--pl-yellow); }
.pl-section.is-black .pl-tag, .pl-tag.is-yellow { background: var(--pl-yellow); color: var(--pl-black); }
.pl-page-hero h1 { font-size: clamp(48px, 7vw, 92px); margin: 16px 0 14px !important; line-height: 1; }
.pl-lead { font-size: 21px; font-weight: 700; max-width: 560px; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px !important; }
.pl-chips > * { margin: 0 !important; background: var(--pl-white); border: 3px solid var(--pl-black); border-radius: 30px; padding: 6px 16px; font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; }
.pl-frame { margin: 0; border-radius: 36px; overflow: hidden; border: 4px solid var(--pl-black); box-shadow: 14px 14px 0 var(--pl-black); background: var(--pl-white); }
.pl-section.is-white .pl-frame, .pl-frame.is-yellow-shadow { box-shadow: 14px 14px 0 var(--pl-yellow); }
.pl-frame img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.pl-split-text h2 { font-size: clamp(34px, 4.2vw, 50px); margin: 14px 0 18px; }
.pl-split-text p:not(.pl-tag) { font-size: 18px; font-weight: 600; color: #333; margin-top: 14px; }
.pl-section.is-black .pl-head h2 { color: var(--pl-white); }
.pl-section.is-black .pl-head .pl-sub { color: #cccccc; }
.pl-feature { background: #1c1c1c; border: 2px solid rgba(255, 210, 31, .5); border-radius: 26px; padding: 30px 28px; transition: transform .2s, border-color .2s; }
.pl-feature:hover { transform: translateY(-5px); border-color: var(--pl-yellow); }
.pl-feature > * { margin: 0; }
.pl-feature .pl-feature-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 210, 31, .14); display: grid; place-items: center; margin-bottom: 18px !important; }
.pl-feature .pl-feature-icon img { width: 36px; height: 36px; }
.pl-feature h3 { color: var(--pl-yellow); font-size: 24px; }
.pl-feature p { color: #dddddd; font-weight: 600; font-size: 16px; margin-top: 8px; }
.pl-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.pl-grid-2 > * { margin: 0 !important; }
.pl-photo-card { background: var(--pl-white); border: 3px solid var(--pl-black); border-radius: var(--pl-radius); overflow: hidden; box-shadow: 8px 8px 0 var(--pl-black); }
.pl-photo-card > * { margin: 0 !important; }
.pl-photo-card .pl-photo-card-img img { width: 100%; height: 340px; object-fit: cover; }
.pl-photo-card .pl-photo-card-body { padding: 24px 26px 28px; border-top: 3px solid var(--pl-black); }
.pl-photo-card-body > * { margin: 0; }
.pl-photo-card-body h3 { font-size: 26px; }
.pl-photo-card-body p { color: var(--pl-grey); font-weight: 600; margin-top: 6px; }
.pl-cta { background: var(--pl-white); padding: 90px 0 100px; }
.pl-cta .pl-cta-inner { background: var(--pl-black); color: var(--pl-white); border-radius: 40px; padding: 60px; text-align: center; box-shadow: 12px 12px 0 var(--pl-yellow); }
.pl-cta-inner > * { margin-block: 0; }
.pl-cta-inner h2 { color: var(--pl-white); font-size: clamp(30px, 3.6vw, 44px); max-width: 820px; margin: 0 auto !important; }
.pl-cta-inner p { color: #dddddd; font-weight: 600; font-size: 18px; max-width: 680px; margin: 14px auto 0 !important; }
.pl-cta-inner .wp-block-buttons { justify-content: center; margin-top: 28px !important; }
.pl-section.is-white + .pl-cta { padding-top: 0; }
@media (max-width: 1024px) {
	.pl-split, .pl-split.is-reversed { gap: 44px; }
}
@media (max-width: 860px) {
	.pl-split, .pl-split.is-reversed { grid-template-columns: 1fr; }
	.pl-split.is-reversed .pl-frame { order: -1; }
	.pl-grid-2 { grid-template-columns: 1fr; }
	.pl-page-hero { padding: 50px 0 70px; }
	.pl-cta .pl-cta-inner { padding: 44px 26px; }
}
@media (max-width: 600px) {
	.pl-photo-card .pl-photo-card-img img { height: 240px; }
	.pl-lead { font-size: 18px; }
}

/* Compact page header + intro text + captioned gallery */
.pl-page-hero.is-compact { padding: 64px 0 70px; }
.pl-page-hero-center { text-align: center; }
.pl-page-hero-center > * { margin-block: 0; }
.pl-page-hero-center .pl-chips, .pl-page-hero-center .wp-block-buttons { justify-content: center; }
.pl-page-hero-center .pl-chips { margin: 18px 0 26px !important; }
.pl-intro .pl-intro-text { font-size: 20px; line-height: 1.75; font-weight: 600; color: #222; max-width: 920px; margin: 0 auto 60px !important; text-align: center; }
.pl-gallery .pl-photo-card .pl-photo-card-img img { height: 380px; }
.pl-gallery .pl-photo-card-body { padding: 18px 24px 20px; }
.pl-gallery .pl-photo-card-body h3 { font-size: 24px; }
@media (max-width: 600px) {
	.pl-intro .pl-intro-text { font-size: 18px; text-align: left; }
	.pl-gallery .pl-photo-card .pl-photo-card-img img { height: 260px; }
}

/* Simple document-style page (follows the client's Word layout) */
.pl-doc { padding: 70px 0 90px; }
.pl-doc-wrap { max-width: 980px; }
.pl-doc-wrap > * { margin-block: 0; }
.pl-doc .pl-doc-title { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.1; }
.pl-doc .pl-doc-title mark { display: inline-block; background: var(--pl-yellow) !important; padding: 2px 16px; border-radius: 14px; margin-left: 6px; font-size: .62em; vertical-align: middle; }
.pl-doc .pl-doc-text { font-size: 19px; line-height: 1.75; font-weight: 600; color: #222; margin: 26px 0 50px !important; }
.pl-doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 26px; background: #fafafa; border-radius: 28px; padding: 26px; }
.pl-doc-grid > * { margin: 0 !important; }
.pl-doc-item > * { margin: 0; }
.pl-doc-item .pl-doc-img { border-radius: 20px; overflow: hidden; border: 3px solid var(--pl-black); }
.pl-doc-item .pl-doc-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pl-doc-item .pl-doc-caption { font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; font-size: 19px; margin-top: 12px !important; }
@media (max-width: 600px) {
	.pl-doc-grid { grid-template-columns: 1fr; padding: 16px; }
	.pl-doc .pl-doc-text { font-size: 17px; }
	.pl-doc .pl-doc-title mark { margin: 8px 0 0; }
}

/* Client tweaks 2026-12-03: smaller picture grid (footer kept in original layout) */
.pl-doc-grid { max-width: 660px; margin-left: auto !important; margin-right: auto !important; gap: 20px 18px; padding: 20px; }
.pl-doc-item .pl-doc-caption { font-size: 17px; margin-top: 10px !important; }

/* Bright Beginnings (client's chosen version): smaller picture cards */
.pl-intro .pl-gallery { max-width: 780px; margin-left: auto !important; margin-right: auto !important; gap: 24px; }
.pl-intro .pl-gallery .pl-photo-card .pl-photo-card-img img { height: 250px; }
.pl-intro .pl-gallery .pl-photo-card-body { padding: 14px 20px 16px; }
.pl-intro .pl-gallery .pl-photo-card-body h3 { font-size: 21px; }
@media (max-width: 600px) { .pl-intro .pl-gallery .pl-photo-card .pl-photo-card-img img { height: 220px; } }
/* Client: plain black outline on the Bright Beginnings picture cards (no thick offset shadow) */
.pl-intro .pl-gallery .pl-photo-card { box-shadow: none; border: 2px solid var(--pl-black); }
.pl-intro .pl-gallery .pl-photo-card .pl-photo-card-body { border-top: 2px solid var(--pl-black); }

/* About Us page */
.pl-page-hero-center .pl-hero-sub { font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); max-width: 760px; margin: 12px auto 26px !important; line-height: 1.3; }
.pl-frame-thin { margin: 0; border-radius: 28px; overflow: hidden; border: 2px solid var(--pl-black); background: var(--pl-white); }
.pl-frame-thin img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pl-photo-pair { max-width: 900px; margin: 0 auto !important; gap: 24px; }
.pl-about-block { padding-top: 40px; }
.pl-about-block + .pl-about-block { padding-top: 20px; }
.pl-split-text .pl-highlight { font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; font-size: 22px !important; line-height: 1.4; color: var(--pl-black) !important; background: var(--pl-yellow); border-radius: 18px; padding: 18px 22px; margin-top: 22px !important; }
@media (max-width: 860px) { .pl-photo-pair { grid-template-columns: 1fr; } }

/* Mentoring overview: three programme cards */
.pl-intro .pl-gallery.pl-gallery-3 { max-width: 1100px; grid-template-columns: repeat(3, 1fr); }
.pl-gallery-3 .pl-photo-card { display: flex; flex-direction: column; }
.pl-gallery-3 .pl-photo-card-body { flex: 1; display: flex; flex-direction: column; }
.pl-gallery-3 .pl-photo-card-body p:not(.pl-more) { font-size: 15.5px; margin: 6px 0 14px; flex: 1; }
.pl-gallery-3 .pl-more { margin: 0; font-family: var(--wp--preset--font-family--fredoka); font-weight: 600; }
.pl-gallery-3 .pl-more a { color: var(--pl-black); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.pl-gallery-3 .pl-more a::after { content: "→"; width: 28px; height: 28px; border-radius: 50%; background: var(--pl-yellow); border: 2px solid var(--pl-black); display: inline-grid; place-items: center; font-size: 14px; box-sizing: border-box; }
@media (max-width: 1024px) { .pl-intro .pl-gallery.pl-gallery-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pl-intro .pl-gallery.pl-gallery-3 { grid-template-columns: 1fr; } }

/* Large feature picture on mentoring pages */
.pl-intro .pl-feature-pic { max-width: 900px; margin: 0 auto 44px !important; border: 2px solid var(--pl-black); border-radius: 24px; overflow: hidden; }
.pl-intro .pl-feature-pic img { width: 100%; height: auto; }
/* Square picture cards (illustrations with text in them must not be cropped) */
.pl-intro .pl-gallery.is-square .pl-photo-card .pl-photo-card-img img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

/* Dropdown fix: keep the Mentoring menu open while the mouse moves down to it */
.pl-nav .wp-block-navigation-submenu > .wp-block-navigation__submenu-container::before {
	content: ""; position: absolute; left: -10px; right: -10px; top: -20px; height: 22px; background: transparent;
}
.pl-nav .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
	transition: opacity .15s ease, visibility 0s linear .3s !important;
}
.pl-nav .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container,
.pl-nav .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-container {
	transition: opacity .15s ease, visibility 0s linear 0s !important;
}

/* Client: footer logo centred (not on the left) */
.pl-footer-brand { text-align: center; }
.pl-footer-brand .wp-block-site-logo { display: flex; justify-content: center; }
.pl-footer-brand p { margin-left: auto !important; margin-right: auto !important; }
