@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 300;
	src: url("../fonts/poppins/Poppins-Light.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/poppins/Poppins-Regular.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: italic;
	font-weight: 400;
	src: url("../fonts/poppins/Poppins-Italic.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/poppins/Poppins-Medium.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	src: url("../fonts/poppins/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/poppins/Poppins-Bold.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: italic;
	font-weight: 700;
	src: url("../fonts/poppins/Poppins-BoldItalic.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 800;
	src: url("../fonts/poppins/Poppins-ExtraBold.ttf") format("truetype");
}

:root {
	--phdma-blue: #005ea8;
	--phdma-blue-dark: #073763;
	--phdma-teal: #008b9a;
	--phdma-green: #277947;
	--phdma-saffron: #d98200;
	--phdma-red: #b42318;
	--phdma-ink: #172033;
	--phdma-muted: #5c667a;
	--phdma-line: #d8dee8;
	--phdma-soft: #f4f7fb;
	--phdma-white: #ffffff;
	--phdma-radius: 8px;
	--phdma-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--phdma-white);
	color: var(--phdma-ink);
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--phdma-blue);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--phdma-blue-dark);
}

img {
	height: auto;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-size: inherit;
	line-height: inherit;
}

.site-container {
	margin-inline: auto;
	max-width: 1180px;
	padding-inline: 20px;
	width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.screen-reader-text:focus {
	background: var(--phdma-white);
	border: 2px solid var(--phdma-blue);
	clip: auto;
	color: var(--phdma-ink);
	display: block;
	height: auto;
	left: 16px;
	padding: 12px 16px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.button,
button,
input[type="submit"] {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--phdma-radius);
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 10px 16px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary,
input[type="submit"],
.search-submit {
	background: var(--phdma-blue);
	color: var(--phdma-white);
}

.button-primary:hover,
.button-primary:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.search-submit:hover,
.search-submit:focus {
	background: var(--phdma-blue-dark);
	color: var(--phdma-white);
}

.button-secondary {
	background: var(--phdma-white);
	border-color: var(--phdma-blue);
	color: var(--phdma-blue);
}

.button-secondary:hover,
.button-secondary:focus {
	background: #edf6ff;
	color: var(--phdma-blue-dark);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.site-branding {
	align-items: center;
	display: flex;
	gap: 16px;
	min-width: 0;
}

.site-branding__logo {
	align-items: center;
	display: flex;
	flex: 0 1 auto;
	max-width: min(392px, 42vw);
}

.site-branding__logo img {
	display: block;
	max-height: 92px;
	object-fit: contain;
	width: auto;
}

.site-branding__text {
	min-width: 180px;
}

.site-title {
	color: var(--phdma-blue-dark);
	font-size: clamp(1.45rem, 2vw, 2rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
}

.site-description {
	color: var(--phdma-muted);
	font-size: 0.95rem;
	line-height: 1.35;
	margin: 6px 0 0;
	max-width: 520px;
}

.search-form {
	align-items: stretch;
	display: flex;
	gap: 8px;
	max-width: 360px;
	width: 100%;
}

.search-field {
	border: 1px solid var(--phdma-line);
	border-radius: var(--phdma-radius);
	color: var(--phdma-ink);
	min-height: 42px;
	min-width: 0;
	padding: 10px 12px;
	width: 100%;
}

.site-main {
	min-height: 52vh;
}

.home-hero {
	background:
		linear-gradient(90deg, rgba(7, 55, 99, 0.96), rgba(0, 94, 168, 0.88)),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 16px);
	color: var(--phdma-white);
	padding-block: 58px;
}

.home-hero__grid {
	align-items: center;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.home-hero h1 {
	font-size: clamp(2.25rem, 5vw, 4.25rem);
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0;
	max-width: 820px;
}

.home-hero p {
	font-size: 1.12rem;
	margin: 18px 0 0;
	max-width: 720px;
}

.section-kicker {
	color: var(--phdma-saffron);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.home-hero .section-kicker {
	color: #ffd17a;
}

.home-hero__panel {
	background: var(--phdma-white);
	border-radius: var(--phdma-radius);
	box-shadow: var(--phdma-shadow);
	color: var(--phdma-ink);
	display: grid;
	gap: 12px;
	padding: 18px;
}

.snapshot-item {
	border: 1px solid var(--phdma-line);
	border-left: 5px solid var(--phdma-teal);
	border-radius: var(--phdma-radius);
	padding: 14px;
}

.snapshot-item__value {
	color: var(--phdma-blue-dark);
	display: block;
	font-size: 1.8rem;
	font-weight: 800;
	line-height: 1;
}

.snapshot-item__label {
	color: var(--phdma-muted);
	display: block;
	margin-top: 5px;
}

.home-section {
	padding-block: 54px;
}

.home-section--muted {
	background: var(--phdma-soft);
	border-block: 1px solid var(--phdma-line);
}

.section-heading {
	margin-bottom: 22px;
}

.section-heading h2,
.contact-panel h2,
.page-title,
.entry-title,
.comments-title {
	color: var(--phdma-blue-dark);
	font-size: clamp(1.6rem, 3vw, 2.35rem);
	line-height: 1.12;
	margin: 0;
}

.quick-link-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link-card {
	background: var(--phdma-white);
	border: 1px solid var(--phdma-line);
	border-radius: var(--phdma-radius);
	box-shadow: 0 3px 10px rgba(23, 32, 51, 0.04);
	color: var(--phdma-ink);
	display: flex;
	flex-direction: column;
	min-height: 184px;
	padding: 20px;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quick-link-card:hover,
.quick-link-card:focus {
	border-color: var(--phdma-blue);
	box-shadow: var(--phdma-shadow);
	color: var(--phdma-ink);
	transform: translateY(-2px);
}

.quick-link-card__icon {
	background: var(--phdma-green);
	border-radius: 50%;
	display: block;
	height: 34px;
	margin-bottom: 16px;
	position: relative;
	width: 34px;
}

.quick-link-card__icon::after {
	background: var(--phdma-white);
	content: "";
	height: 12px;
	left: 15px;
	position: absolute;
	top: 8px;
	width: 4px;
}

.quick-link-card__title {
	color: var(--phdma-blue-dark);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
}

.quick-link-card__text {
	color: var(--phdma-muted);
	margin-top: 8px;
}

.content-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) 340px;
}

.notice-list {
	display: grid;
	gap: 10px;
}

.notice-list__item {
	align-items: center;
	background: var(--phdma-white);
	border: 1px solid var(--phdma-line);
	border-radius: var(--phdma-radius);
	display: grid;
	gap: 12px;
	grid-template-columns: 110px minmax(0, 1fr);
	padding: 14px 16px;
}

.notice-list__date {
	color: var(--phdma-red);
	font-weight: 800;
}

.contact-panel {
	align-self: start;
	background: var(--phdma-white);
	border: 1px solid var(--phdma-line);
	border-top: 5px solid var(--phdma-saffron);
	border-radius: var(--phdma-radius);
	box-shadow: var(--phdma-shadow);
	padding: 22px;
}

.layout-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) 320px;
	padding-block: 42px;
}

.page-layout,
.error-404 {
	padding-block: 42px;
}

.content-area {
	min-width: 0;
}

.content-card,
.page-content,
.comments-area,
.widget {
	background: var(--phdma-white);
	border: 1px solid var(--phdma-line);
	border-radius: var(--phdma-radius);
	margin-bottom: 24px;
	padding: 24px;
}

.page-content {
	border: 0;
	padding-inline: 0;
}

.content-card__media {
	display: block;
	margin: -24px -24px 20px;
}

.content-card__media img {
	aspect-ratio: 16 / 8;
	border-radius: var(--phdma-radius) var(--phdma-radius) 0 0;
	display: block;
	object-fit: cover;
	width: 100%;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-meta,
.entry-footer {
	color: var(--phdma-muted);
	font-size: 0.92rem;
}

.entry-meta {
	display: flex;
	gap: 14px;
	margin-top: 8px;
}

.entry-content {
	margin-top: 18px;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-footer {
	border-top: 1px solid var(--phdma-line);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
	padding-top: 14px;
}

.widget-title,
.footer-widget__title {
	color: var(--phdma-blue-dark);
	font-size: 1.1rem;
	line-height: 1.2;
	margin: 0 0 12px;
}

.widget ul,
.footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li,
.footer-widget li {
	border-bottom: 1px solid var(--phdma-line);
	padding-block: 8px;
}

.nav-links,
.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.blank-canvas-main {
	min-height: 100vh;
}

.elementor-full-width-page {
	overflow-x: clip;
}

@media (max-width: 920px) {
	.search-form {
		max-width: none;
	}

	.home-hero__grid,
	.content-grid,
	.layout-grid {
		grid-template-columns: 1fr;
	}

	.quick-link-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.site-container {
		padding-inline: 16px;
	}

	.site-branding {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-branding__logo {
		max-width: min(100%, 360px);
	}

	.site-title {
		font-size: 1.45rem;
	}

	.home-hero {
		padding-block: 42px;
	}

	.home-hero h1 {
		font-size: 2.25rem;
	}

	.quick-link-grid {
		grid-template-columns: 1fr;
	}

	.notice-list__item {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.search-form {
		flex-direction: column;
	}
}
