/*!
Theme Name:   Onesys custom theme for 1st YPE
Template:     polyclinic
Theme URI:    https://github.com/webmandesign/child-theme/
Author:       WebMan Design
Author URI:   https://www.webmandesign.eu/
Version:      1.0.0
Description:  You can change this description text in your child theme's "style.css" file.
License:      GNU General Public License v3
License URI:  http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

IMPORTANT:
Read the instructions in https://github.com/webmandesign/child-theme/blob/master/readme.md
and rename Child Theme Test and michelle in this file appropriately!
*/

/* Put your custom CSS styles below... */

:root {
	/* Polyclinic variables */
	--typography_fonts_text: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--typography_fonts_headings: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--typography_fonts_logo: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;

	/* Cindy variables */
	--typography_font_global: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--typography_font_headings: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--typography_font_site_title: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Always-visible top strip + main header */
:root {
	--fixed-light-strip-h: 40px;
	--fixed-main-header-h: 52px;
	--header-brand-900: #0b2f5b;
	--header-brand-800: #103d71;
	--header-accent: #d11f2e;
	--header-ink: #21364d;
	--header-border: #d8e2ed;
}

body {
	padding-top: calc(var(--fixed-light-strip-h) + var(--fixed-main-header-h));
	background: #fff !important;
}

body.custom-background,
.site {
	background: #fff !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
}



.site-content,
.content-container,
.breadcrumbs-container {
	border: 0 !important;
	box-shadow: none !important;
}

.header-light-strip {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10001;
}

.app-header {
	position: fixed;
	top: var(--fixed-light-strip-h);
	left: 0;
	right: 0;
	z-index: 10000;
}

body.admin-bar {
	padding-top: calc(32px + var(--fixed-light-strip-h) + var(--fixed-main-header-h));
}

.admin-bar .header-light-strip {
	top: 32px;
}

.admin-bar .app-header {
	top: calc(32px + var(--fixed-light-strip-h));
}

@media (max-width: 782px) {
	body.admin-bar {
		padding-top: calc(46px + var(--fixed-light-strip-h) + var(--fixed-main-header-h));
	}

	.admin-bar .header-light-strip {
		top: 46px;
	}

	.admin-bar .app-header {
		top: calc(46px + var(--fixed-light-strip-h));
	}
}

/* Light strip above header for logo + contact */
.header-light-strip {
	background: var(--header-brand-900);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	height: var(--fixed-light-strip-h);
	margin: 0;
	padding: 0;
	transition: transform 180ms ease, opacity 180ms ease;
}

.header-light-strip-inner {
	margin: 0 auto;
	min-height: var(--fixed-light-strip-h);
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 0.9rem;
}

.header-light-brand,
.header-light-links {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.header-light-brand {
	min-width: 0;
}

.header-light-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--header-accent);
	flex: 0 0 auto;
}

.header-light-title {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.header-light-links {
	margin-left: auto;
	font-size: 0.88rem;
}

.header-light-links a {
	color: rgba(255, 255, 255, 0.95);
	text-decoration: none;
}

.header-light-links a:hover,
.header-light-links a:focus {
	color: #fff;
	text-decoration: underline;
}

.header-light-separator {
	opacity: 0.5;
}

@media (max-width: 880px) {
	.header-light-strip-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.45rem;
	}

	.header-light-brand,
	.header-light-links {
		width: 100%;
	}

	.header-light-links {
		margin-left: 0;
		justify-content: flex-start;
	}
}

/* Child header */
.app-branding,
.app-branding .custom-logo-link,
.app-logo-link {
	display: inline-flex;
	align-items: center;
}

.app-branding .custom-logo {
	display: block;
	width: auto;
	max-height: 36px;
}

.app-header {
	background: rgba(255, 255, 255, 0.96) !important;
	color: var(--header-ink) !important;
	border-bottom: 1px solid var(--header-border);
	box-shadow: 0 12px 30px rgba(10, 31, 58, 0.08);
	backdrop-filter: blur(14px);
	top: var(--fixed-light-strip-h) !important;
}

.app-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--layout_width_content);
	min-height: var(--fixed-main-header-h);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.app-branding {
	margin-right: 0.85rem;
	flex: 0 0 auto;
}

.app-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.app-header-contact {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex: 0 0 auto;
	height: 2.25rem;
	padding: 0 0.95rem;
	border-radius: 999px;
	background: var(--header-brand-900);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.app-header-contact:hover,
.app-header-contact:focus {
	background: var(--header-brand-800);
	color: #fff;
}

.app-header-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	font-size: 0.72rem;
	line-height: 1;
}

.app-nav-menu,
.app-nav-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.app-nav-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.2rem;
	white-space: nowrap;
}

.app-nav-menu > li {
	position: relative;
}

.app-nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: var(--fixed-main-header-h);
	color: #55697d;
	font-size: 0.82rem;
	font-weight: 600;
	padding: 0 0.42rem;
	text-decoration: none;
}

.app-nav-menu > li.menu-item-has-children > a::after {
	content: "+";
	margin-left: 0.32rem;
	color: #9aa9b9;
	font-size: 1rem;
	line-height: 1;
}

.app-nav-menu > li:hover > a,
.app-nav-menu > li.current-menu-item > a,
.app-nav-menu > li.current-menu-ancestor > a,
.app-nav-menu > li > a:hover,
.app-nav-menu > li > a:focus {
	color: var(--header-brand-800);
}

.app-nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	display: none;
	min-width: 14rem;
	padding: 0.4rem 0;
	background: #fff;
	border: 1px solid var(--header-border);
	box-shadow: 0 16px 36px rgba(10, 31, 58, 0.12);
}

.app-nav-menu > li:hover > .sub-menu,
.app-nav-menu > li:focus-within > .sub-menu {
	display: block;
}

.app-nav-menu .sub-menu li + li {
	border-top: 1px solid rgba(16, 61, 113, 0.12);
}

.app-nav-menu .sub-menu a {
	display: block;
	padding: 0.75rem 1rem;
	color: var(--header-ink);
	text-decoration: none;
}

#site-header-placeholder {
	display: none !important;
	height: 0 !important;
}

body.has-scrolled .app-header,
body.scrolling-up .app-header,
body.scrolling-down .app-header,
body.child-header-condensed .app-header {
	position: fixed !important;
	top: 0 !important;
	transform: none !important;
}

body.admin-bar.has-scrolled .app-header,
body.admin-bar.scrolling-up .app-header,
body.admin-bar.scrolling-down .app-header,
body.admin-bar.child-header-condensed .app-header {
	top: 32px !important;
}

body.has-scrolled .header-light-strip,
body.scrolling-up .header-light-strip,
body.scrolling-down .header-light-strip,
body.child-header-condensed .header-light-strip {
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
}

@media (min-width: 880px) {

	body.has-two-sidebars {
		--sidebar_width: .25;
	}

	body.has-two-sidebars .content-area {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		max-width: var(--layout_width_content);
		padding: var(--content_padding) 0;
	}
	body.has-two-sidebars .content-area::after {
		display: none;
	}

	body.has-two-sidebars .site-main {
		width: calc(100% - 100% * var(--sidebar_width) * 2);
		max-width: none;
		margin: 0;
	}

	body.has-two-sidebars .sidebar {
		width: calc(100% * var(--sidebar_width));
	}

	.has-main-sidebar-sidebar.has-two-sidebars .sidebar {
		padding-left: 2em;
	}
	.has-main-sidebar-sidebar.has-widgets-in-sidebar .page-media,
	.has-main-sidebar-sidebar.has-widgets-in-sidebar .page-header:before {
		margin-left: calc(1 / (1 - var(--sidebar_width) * 2) / 2 * 100% - 50vw + var(--scrollbar_width) / 2);
	}

	.has-sidebar-sidebar-main.has-two-sidebars .sidebar {
		order: -1;
		padding-right: 2em;
	}
	.has-sidebar-sidebar-main.has-widgets-in-sidebar .page-media,
	.has-sidebar-sidebar-main.has-widgets-in-sidebar .page-header:before {
		margin-left: calc(100% - 1 / (1 - var(--sidebar_width) * 2) / 2 * 100% - 50vw + var(--scrollbar_width) / 2);
	}

	.has-sidebar-main-sidebar.has-two-sidebars .sidebar {
		order: -1;
		padding-right: 2em;
	}
	.has-sidebar-main-sidebar.has-two-sidebars .sidebar-2 {
		order: 1;
		padding-left: 2em;
		padding-right: 0;
	}
	.has-sidebar-main-sidebar.has-widgets-in-sidebar .page-media,
	.has-sidebar-main-sidebar.has-widgets-in-sidebar .page-header:before {
		margin-left: calc(50% - 50vw + var(--scrollbar_width) / 2);
	}

}

@media (max-width: 782px) {
	body.admin-bar.has-scrolled .app-header,
	body.admin-bar.scrolling-up .app-header,
	body.admin-bar.scrolling-down .app-header,
	body.admin-bar.child-header-condensed .app-header {
		top: 46px !important;
	}
}

/* Landing page polish (homepage only) */
body.home .site-content {
	background: #fff;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.home .site-main > .fl-builder-content {
	padding-top: 1.25rem;
}

body.home .fl-builder-content > .fl-row {
	margin-bottom: 1rem;
}

/* Temporary fix for imported demo hero layout:
 * keep first homepage row readable even when paired media column is empty/missing.
 */
body.home .fl-builder-content > .fl-row:first-child .fl-col {
	width: 100% !important;
	max-width: 100% !important;
	flex-basis: 100% !important;
}

body.home .fl-builder-content > .fl-row:first-child .fl-col > .fl-col-content {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
}

body.home .fl-builder-content > .fl-row > .fl-row-content-wrap {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(10, 26, 50, 0.1);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

body.home .fl-builder-content > .fl-row:hover > .fl-row-content-wrap {
	transform: translateY(-2px);
	box-shadow: 0 16px 42px rgba(10, 26, 50, 0.14);
}

body.home .fl-builder-content h1,
body.home .fl-builder-content h2,
body.home .fl-builder-content h3 {
	letter-spacing: 0.01em;
}

body.home .fl-builder-content .button,
body.home .fl-builder-content .wm-button,
body.home .fl-builder-content [type="submit"] {
	border-radius: 999px;
	padding-left: 1.2em;
	padding-right: 1.2em;
	font-weight: 700;
	box-shadow: 0 8px 22px rgba(7, 89, 155, 0.28);
	transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

body.home .fl-builder-content .button:hover,
body.home .fl-builder-content .wm-button:hover,
body.home .fl-builder-content [type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(7, 89, 155, 0.34);
	filter: saturate(1.08);
}

body.home .fl-builder-content .fl-col > .fl-col-content {
	border-radius: 10px;
}

body.home .fl-builder-content .wm-iconbox-module,
body.home .fl-builder-content .wm-testimonials-item,
body.home .fl-builder-content .wm-posts-item {
	border-radius: 10px;
}

@media (max-width: 879px) {
	body.home .site-main > .fl-builder-content {
		padding-top: 0.5rem;
	}

	body.home .fl-builder-content > .fl-row > .fl-row-content-wrap {
		border-radius: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .fl-builder-content > .fl-row > .fl-row-content-wrap,
	body.home .fl-builder-content .button,
	body.home .fl-builder-content .wm-button,
	body.home .fl-builder-content [type="submit"] {
		transition: none;
	}
}

/* Clean front page template */
body.home .site-main {
	max-width: none;
}

body.home .intro-container {
	display: none !important;
}

.cfp-top-slider-full {
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	line-height: 0;
	overflow: hidden;
	border-radius: 1.6rem;
}

.cfp-hero-empty {
	margin: 0;
	padding: 1rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	line-height: 1.45;
}

/* Smart Slider 3: keep it inside parent width (prevent force-full overflow). */
.cfp-top-slider-full ss3-force-full-width,
.cfp-top-slider-full .n2-section-smartslider,
.cfp-top-slider-full .n2-ss-align,
.cfp-top-slider-full .n2-padding,
.cfp-top-slider-full .n2-ss-slider {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	left: auto !important;
	right: auto !important;
}

.cfp-top-slider-full ss3-force-full-width {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	left: 0 !important;
	right: 0 !important;
	transform: none !important;
}

.cfp-top-slider-full ss3-force-full-width > .n2-section-smartslider {
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	left: 0 !important;
	right: 0 !important;
	transform: none !important;
}

.cfp-top-slider-full .n2-ss-slide-limiter,
.cfp-top-slider-full .n2-ss-layer[data-sstype="content"],
.cfp-top-slider-full .n2-ss-section-main-content {
	width: 100% !important;
	max-width: 100% !important;
}

.cfp-top-slider-full .wppsac-wrap,
.cfp-top-slider-full .wppsac-post-slider,
.cfp-top-slider-full .slick-list,
.cfp-top-slider-full .slick-track {
	width: 100%;
	max-width: none;
}

.cfp-top-slider-full .wppsac-wrap {
	margin: 0;
	padding: 0;
}

.cfp-top-slider-full .wppsac-post-slides,
.cfp-top-slider-full .wppsac-post-content-position,
.cfp-top-slider-full .wppsac-post-image-bg {
	margin: 0;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .wppsac-post-list-content {
	background: transparent;
	border: 0;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .wppsac-post-image-bg {
	height: min(42vw, 460px);
	min-height: 220px;
	border-radius: 1.25rem;
	overflow: hidden;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .wppsac-post-image-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .wppsac-post-list-content .wp-medium-7 {
	padding: 1rem 2.2rem 1rem 1rem;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .wppsac-post-title a {
	font-size: clamp(1.05rem, 1.8vw, 1.45rem);
	line-height: 1.3;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .slick-arrow {
	top: 50% !important;
	bottom: auto !important;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	width: 38px;
	height: 56px;
	background: rgba(8, 24, 41, 0.7);
	border-radius: 0.95rem;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .slick-prev {
	left: 0 !important;
	right: auto !important;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .slick-next {
	right: 0 !important;
}

.cfp-top-slider-full .wppsac-post-slider.design-4 .slick-dots {
	left: 0 !important;
	right: 0 !important;
	bottom: 8px !important;
	text-align: center;
}

.clean-front-page .cfp-hero-shortcuts {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1rem;
}

.clean-front-page .cfp-shortcut-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 4.9rem;
	padding: 0.8rem;
	border-radius: 1.2rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-align: center;
	text-decoration: none;
}

.clean-front-page .cfp-shortcut-card:hover,
.clean-front-page .cfp-shortcut-card:focus {
	background: rgba(255, 255, 255, 0.16);
	text-decoration: none;
}

.clean-front-page .cfp-shortcut-icon {
	font-size: 1.2rem;
	line-height: 1;
}

.clean-front-page .cfp-shortcut-label {
	margin-top: 0.55rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.clean-front-page .cfp-hero-side {
	padding: 1.55rem;
	border-radius: 1.8rem;
	background: #f4f1f1;
	box-shadow: 0 20px 40px rgba(8, 24, 41, 0.16);
}

.clean-front-page .cfp-side-kicker {
	margin-bottom: 0.45rem;
	color: #27508c;
	font-size: 0.92rem;
	font-weight: 700;
}

.clean-front-page .cfp-side-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.clean-front-page .cfp-side-head h2 {
	margin: 0;
	color: #133a6d;
	font-size: clamp(1.55rem, 2vw, 2rem);
}

.clean-front-page .cfp-side-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 1rem;
	background: #1c5494;
	color: #fff;
	font-weight: 700;
}

.clean-front-page .cfp-side-links {
	display: grid;
	gap: 0.72rem;
}

.clean-front-page .cfp-side-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.1rem;
	border-radius: 1rem;
	border: 1px solid #d5dce4;
	background: #eceef1;
	color: #243046;
	font-weight: 600;
	text-decoration: none;
}

.clean-front-page .cfp-side-links a::after {
	content: "→";
	color: #8ea0b7;
}

.clean-front-page .cfp-side-contact {
	margin-top: 1.45rem;
	padding: 1rem 1.1rem;
	border-radius: 1rem;
	background: #123d72;
	color: #fff;
}

.clean-front-page .cfp-side-contact-label {
	font-size: 0.9rem;
	opacity: 0.82;
}

.clean-front-page .cfp-side-contact a {
	display: inline-block;
	margin-top: 0.3rem;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	text-decoration: none;
}

.clean-front-page .cfp-side-contact p {
	margin: 0.45rem 0 0;
	color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
	.clean-front-page .cfp-hero-shell {
		grid-template-columns: 1fr;
	}

	.clean-front-page .cfp-hero-shortcuts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cfp-top-slider-full .wppsac-post-slider.design-4 .wppsac-post-image-bg {
		height: 58vw;
		min-height: 220px;
	}

	.cfp-top-slider-full .wppsac-post-slider.design-4 .wppsac-post-list-content .wp-medium-7 {
		padding: 1rem;
	}
}

.clean-front-page {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
}

body.home .site-main > .content-container.clean-front-page {
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background: transparent !important;
}

.clean-front-page .cfp-hero-stage {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2.5vw, 2rem);
	background:
		radial-gradient(circle at top left, rgba(64, 110, 171, 0.45), transparent 32%),
		radial-gradient(circle at top right, rgba(108, 85, 152, 0.32), transparent 28%),
		linear-gradient(135deg, #163f74 0%, #123766 58%, #173f78 100%);
}

.clean-front-page .cfp-hero-shell {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(320px, 1fr);
	gap: 1.8rem;
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	align-items: start;
}

.clean-front-page .cfp-hero-main {
	min-width: 0;
}

.clean-front-page .cfp-hero-slider-frame {
	padding: clamp(0.9rem, 1.8vw, 1.2rem);
	border-radius: 1.9rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.clean-front-page .cfp-hero {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 16px;
	background: linear-gradient(140deg, #0a7cc0 0%, #06558f 100%);
	color: #f6fbff;
	box-shadow: 0 16px 40px rgba(6, 41, 72, 0.25);
}

.clean-front-page .cfp-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	opacity: 0.88;
}

.clean-front-page .cfp-title {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	line-height: 1.15;
	color: inherit;
}

.clean-front-page .cfp-subtitle {
	margin: 0.8rem 0 0;
	max-width: 52ch;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	opacity: 0.92;
}

.clean-front-page .cfp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.2rem;
}

.clean-front-page .cfp-actions .button {
	margin: 0;
}

.clean-front-page .cfp-section {
	margin-top: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 2rem);
	border-top: 1px solid rgba(18, 55, 90, 0.08);
}

.clean-front-page .cfp-section > * {
	width: 100%;
	max-width: var(--layout_width_content);
	margin-left: auto;
	margin-right: auto;
}

.clean-front-page .cfp-section:nth-of-type(1) {
	background: #f3f5f7;
}

.clean-front-page .cfp-section:nth-of-type(2) {
	background: #eceff2;
}

.clean-front-page .cfp-section:nth-of-type(3) {
	background: #f6f7f9;
}

.clean-front-page .cfp-section:nth-of-type(4) {
	background: #e8ecef;
}

.clean-front-page .cfp-section-head {
	margin-bottom: 0.8rem;
}

.clean-front-page .cfp-section-head h2 {
	margin: 0;
}

.clean-front-page .cfp-filters {
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	align-items: flex-end;
	margin-bottom: 1rem;
	padding: 0.9rem;
	border: 1px solid var(--color_content_border);
	border-radius: 10px;
	background: #fff;
	overflow-x: auto;
}

.clean-front-page .cfp-filter-item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 180px;
	flex: 0 0 auto;
}

.clean-front-page .cfp-filter-item label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #2a3f59;
}

.clean-front-page .cfp-filter-item select {
	height: 40px;
	border-radius: 8px;
	padding: 0 0.65rem;
	border: 1px solid #cfd9e6;
	background: #fff;
}

.clean-front-page .cfp-filter-actions {
	display: flex;
	gap: 0.5rem;
	margin-left: auto;
	flex: 0 0 auto;
}

.clean-front-page .cfp-filter-actions .button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.clean-front-page .cfp-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clean-front-page .cfp-card {
	padding: 1rem 1.1rem;
	border: 1px solid var(--color_content_border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(20, 32, 51, 0.06);
}

.clean-front-page .cfp-card h2,
.clean-front-page .cfp-card h3 {
	margin-top: 0;
	margin-bottom: 0.45rem;
}

.clean-front-page .cfp-card p:last-child {
	margin-bottom: 0;
}

.clean-front-page .cfp-post .cfp-meta {
	margin-bottom: 0.6rem;
	font-size: 0.86rem;
	opacity: 0.8;
}

.clean-front-page .cfp-posts {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clean-front-page .cfp-post {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.clean-front-page .cfp-post-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.25;
}

.clean-front-page .cfp-source {
	display: inline-flex;
	margin: 0;
	padding: 0.12rem 0.45rem;
	width: fit-content;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: rgba(6, 85, 143, 0.12);
	color: #06558f;
}

.clean-front-page .cfp-post-title a {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.clean-front-page .cfp-excerpt {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.55;
	color: #3d4e62;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.clean-front-page .cfp-read-more-wrap {
	margin-top: auto;
	padding-top: 0.35rem;
}

.clean-front-page .cfp-read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.65rem;
	border-radius: 7px;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	background: rgba(7, 89, 155, 0.12);
	color: #055998;
}

.clean-front-page .cfp-read-more .dashicons {
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
}

.clean-front-page .cfp-read-more:hover {
	background: rgba(7, 89, 155, 0.2);
	text-decoration: none;
}

.clean-front-page .cfp-debug {
	margin-top: 0.75rem;
	font-size: 0.78rem;
}

.clean-front-page .cfp-debug summary {
	cursor: pointer;
	color: #5b6a7e;
}

.clean-front-page .cfp-debug pre {
	margin-top: 0.5rem;
	padding: 0.6rem;
	max-height: 180px;
	overflow: auto;
	background: #f6f8fb;
	border: 1px solid #dbe1ea;
	border-radius: 8px;
	white-space: pre-wrap;
	word-break: break-word;
}

.clean-front-page .cfp-post a {
	text-decoration: none;
}

.clean-front-page .cfp-post-title a:hover,
.clean-front-page .cfp-post-title a:focus {
	text-decoration: underline;
}

.clean-front-page .cfp-posts-info {
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid #cfe0f2;
	border-left: 4px solid #0b67a3;
	border-radius: 12px;
	background: linear-gradient(90deg, #f2f8ff 0%, #f8fbff 55%, #ffffff 100%);
	box-shadow: 0 8px 18px rgba(10, 35, 64, 0.06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem;
}

.clean-front-page .cfp-posts-info p {
	margin: 0;
	color: #1f4467;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.clean-front-page .cfp-posts-info .button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
	padding-left: 0.9rem;
	padding-right: 1rem;
}

.clean-front-page .cfp-page-content {
	padding: 1rem 1.1rem;
	border: 1px solid var(--color_content_border);
	border-radius: 12px;
	background: #fff;
}

.clean-front-page .cfp-tools-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clean-front-page .cfp-tool-card {
	padding: 0;
	border: 1px solid var(--color_content_border);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(20, 32, 51, 0.06);
}

.clean-front-page .cfp-tool-link {
	display: block;
	aspect-ratio: 16 / 10;
	background: #f4f7fb;
}

.clean-front-page .cfp-tool-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.clean-front-page .cfp-tool-link:hover img,
.clean-front-page .cfp-tool-link:focus img {
	transform: scale(1.03);
}

.clean-front-page .cfp-tool-card.no-image .cfp-tool-link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem;
	background: linear-gradient(145deg, #f6f9fd 0%, #edf3f9 100%);
}

.clean-front-page .cfp-tool-title {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.28;
	color: #173b5f;
}

@media (max-width: 879px) {
	.clean-front-page .cfp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.clean-front-page .cfp-post-title {
		font-size: 1.3rem;
	}

	.clean-front-page .cfp-filters {
		gap: 0.75rem;
	}

	.clean-front-page .cfp-posts-info {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 639px) {
	.clean-front-page .cfp-grid {
		grid-template-columns: 1fr;
	}
}

/* Keep original header-info row hidden (tools are in light strip) */
.header-info-widgets-container {
	display: none;
}

.footer-minimal-bar {
	background: var(--header-brand-900);
	color: #fff;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	min-height: var(--fixed-light-strip-h);
}

.footer-minimal-inner {
	max-width: none;
	min-height: var(--fixed-light-strip-h);
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	box-sizing: border-box;
}

.footer-area-site-info.footer-minimal-bar .site-info-inner,
.footer-area-site-info.footer-minimal-bar {
	border: 0;
	box-shadow: none;
}

.footer-area-site-info.footer-minimal-bar,
.footer-area-site-info.footer-minimal-bar .site-info-inner,
.footer-area-site-info.footer-minimal-bar .footer-minimal-inner {
	display: block;
	width: 100%;
}

.footer-area-site-info.footer-minimal-bar .site-info-inner {
	background: transparent;
	padding-top: 0;
	padding-bottom: 0;
}

.footer-minimal-brand,
.footer-minimal-links {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.footer-minimal-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--header-accent);
	flex: 0 0 auto;
}

.footer-minimal-title {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.2;
}

.footer-minimal-links {
	margin-left: auto;
	font-size: 0.88rem;
	line-height: 1.2;
}

.footer-minimal-links a {
	color: rgba(255, 255, 255, 0.95);
	text-decoration: none;
}

.footer-minimal-links a:hover,
.footer-minimal-links a:focus {
	color: #fff;
	text-decoration: underline;
}

.footer-minimal-separator {
	opacity: 0.5;
}

@media (max-width: 900px) {
	.footer-minimal-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-minimal-links {
		margin-left: 0;
	}
}

@media (max-width: 782px) {
	.header-light-strip-inner,
	.app-header-inner,
	.footer-minimal-inner {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* Contact Page: Group + Supervisor Formatting */
.contact-page-layout {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.contact-page-layout .entry-content .contact-page-map {
	margin: 0 0 1rem;
}

.contact-page-layout .entry-content .contact-page-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

.contact-page-layout .entry-content > ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-page-layout .entry-content > ul > li.contact-group-header {
	margin: 0 0 1rem;
	padding: 0.75rem 0;
	list-style: none;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.contact-page-layout .entry-content > ul > li.contact-group-header > strong {
	display: inline;
	margin-bottom: 0;
	color: #123c62;
	font-size: 1.15rem;
	line-height: 1.35;
}

.contact-page-layout .entry-content > ul > li.contact-group-header > ul {
	margin: 0.3rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #d5deea;
}

.contact-page-layout .entry-content > ul > li.contact-group-header > ul > li {
	margin: 0.35rem 0 0;
	padding: 0.3rem 0 0.05rem 1rem;
	list-style: none;
}

.contact-page-layout .entry-content > ul > li.contact-group-header > ul > li > strong {
	display: inline;
	margin-bottom: 0;
	color: #1f4569;
}

.contact-page-layout .entry-content > ul > li.contact-group-header > ul > li > ul {
	margin: 0.25rem 0 0 1.4rem;
	padding: 0;
	list-style: none;
}

.contact-page-layout .entry-content > ul > li.contact-group-header > ul > li > ul > li {
	margin: 0.2rem 0 0;
	padding: 0;
	list-style: none;
}

.contact-page-layout .entry-content .contact-meta {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 0.35rem;
	row-gap: 0;
	margin: 0.15rem 0;
	font-size: 0.9rem;
	line-height: 1.3;
}

.contact-page-layout .entry-content .contact-meta dt {
	margin: 0;
	font-weight: 700;
}

.contact-page-layout .entry-content .contact-meta dd {
	margin: 0;
}

.contact-page-layout .entry-content p:empty {
	display: none;
	margin: 0;
}





.page-footer{
	background-color: #0b2f5b;
	padding: 3rem 0 2.5rem;
}
.page-copyright{
	background-color: #09284d;
	padding: 1rem 0;
}

.content {
	width: 100%;
	max-width: var(--layout_width_content);
	margin-left: auto;
	margin-right: auto;
}

.page-footer>.content, .page-copyright>.content {
	width: 100%;
	max-width: var(--layout_width_content);
	margin-left: auto;
	margin-right: auto;
	color: rgb(255 255 255 / 0.75);
}

.footer-demo-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr .9fr 1.15fr;
	gap: 2rem 3rem;
}

.footer-demo-brand h3,
.footer-demo-column h4 {
	margin: 0;
	color: #fff;
}

.footer-demo-brand {
	color: rgba(255, 255, 255, 0.78);
}

.footer-demo-heading {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.footer-demo-heading p,
.footer-demo-copy,
.footer-demo-column ul,
.footer-demo-column li {
	margin: 0;
}

.footer-demo-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.7rem;
	height: 2.7rem;
	margin-bottom: 1rem;
	border-radius: 0.95rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	font-weight: 700;
}

.footer-demo-copy {
	margin-top: 1rem;
	max-width: 26rem;
	line-height: 1.45;
}

.footer-demo-column ul {
	list-style: none;
	padding: 0;
	margin-top: 1rem;
}

.footer-demo-column li + li {
	margin-top: 0.7rem;
}

.footer-demo-column a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.footer-demo-column a:hover,
.footer-demo-column a:focus {
	color: #fff;
	text-decoration: underline;
}

.footer-demo-social {
	display: flex;
	gap: 0.45rem;
	margin-top: 1.2rem;
}

.footer-demo-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 0.85rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	text-decoration: none;
}

.page-copyright > .content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.copyright-links {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
	color: rgb(255 255 255 / 0.75)
}

.copyright-links a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.copyright-links a:hover,
.copyright-links a:focus {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 900px) {
	.footer-demo-grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.page-copyright > .content {
		flex-direction: column;
		align-items: flex-start;
	}

	.copyright-links {
		margin-left: 0;
		flex-wrap: wrap;
	}
}
