/* DCPCSB Schools - public styles */

.dcpcsb-directory {
	--dcpcsb-blue: #0b3d63;
	--dcpcsb-blue-light: #1e78c8;
	--dcpcsb-border: #d7dee5;
	max-width: 1100px;
	margin: 0 auto;
	font-family: inherit;
}

.dcpcsb-input {
	border: 1px solid #03132340;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 16px;
    background: #fff;
    height: 56px;
    color: #031323;
}
.dcpcsb-input::placeholder {
    color: #031323 !important;
}
.dcpcsb-directory__header {
	margin-bottom: 18px;
	text-align: center;
}
.dcpcsb-directory__title {
	margin: 0 0 6px;
	font-size: 28px;
}
.dcpcsb-directory__subtitle {
	margin: 0;
	color: #66727d;
	font-size: 14px;
}

.dcpcsb-directory__filters {
	display: grid;
    grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-bottom: 50px;
}
.dcpcsb-directory__filters .dcpcsb-input,
.dcpcsb-directory__filters .dcpcsb-input-icon {
	flex: 1 1 180px;
}

.dcpcsb-directory__active-filters {
	display: flex;
	justify-content: flex-end;
	margin: -10px 0 20px;
}
.dcpcsb-clear-all {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1e2937;
	cursor: pointer;
}
.dcpcsb-clear-all:hover {
	color: var(--dcpcsb-blue-light, #1e78c8);
}
.dcpcsb-clear-all span {
	font-size: 17px;
	line-height: 1;
}

.dcpcsb-input-icon {
	position: relative;
}
.dcpcsb-input-icon__icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	color: #0f172a;
	pointer-events: none;
}
.dcpcsb-input--icon {
	width: 100%;
	box-sizing: border-box;
	padding-right: 36px;
}

.dcpcsb-btn {
	border: none;
	border-radius: 6px;
	padding: 11px 24px;
	font-size: 14px;
	cursor: pointer;
}
body .dcpcsb-btn--primary {
	background: #0077cc;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
}
.dcpcsb-btn--primary:hover {
    background: #0e5c92;
}
select.dcpcsb-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url(/wp-content/uploads/2026/07/Vector.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 10px;
}
.dcpcsb-directory__results {
	position: relative;
	min-height: 160px;
}
.dcpcsb-directory__results.is-loading .dcpcsb-directory__table {
	filter: blur(3px);
	pointer-events: none;
	user-select: none;
}
.dcpcsb-directory__loader {
	display: none;
	position: absolute;
	inset: 0;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.4);
	z-index: 2;
}
.dcpcsb-directory__results.is-loading .dcpcsb-directory__loader {
	display: flex;
}
.dcpcsb-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid var(--dcpcsb-border, #d7dee5);
	border-top-color: var(--dcpcsb-blue-light, #1e78c8);
	border-radius: 50%;
	animation: dcpcsb-spin 0.7s linear infinite;
}
@keyframes dcpcsb-spin {
	to {
		transform: rotate(360deg);
	}
}

.dcpcsb-directory__table {
	width: 100%;
	border-collapse: collapse;
}
.dcpcsb-directory__table thead th {
	background: #005588;
    color: #fff;
    text-align: left;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}
.dcpcsb-directory__table tbody td {
	padding: 16px 16px;
	border-bottom: 1px solid var(--dcpcsb-border);
	color: #0a0a0a;
	width: 33.33%;
}
.dcpcsb-directory__table tbody tr:nth-child(even) {
	background: #0055881A;
}
.dcpcsb-directory__table a {
	color: #0077cc;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}
.dcpcsb-directory__table a:hover {
	text-decoration: underline;
}

.dcpcsb-directory__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 20px;
}

/* Single school page */
.dcpcsb-school {
	max-width: 1100px;
	margin: 0 auto;
	padding: 64px 0px;
}
.dcpcsb-single-banner {
    background: #005588;
    padding: 96px 0px;
}
.dcpcsb-school__hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
.dcpcsb-school__title {
	margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: #031323;
    line-height: 1;
}

.dcpcsb-share-btn {
	display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #0077cc;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.dcpcsb-share-btn:hover {
	text-decoration: underline;
}
.dcpcsb-share-btn__icon {
	width: 16px;
	height: 16px;
}

.dcpcsb-school__features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.dcpcsb-pill {
	border: 1px solid #EC672E;
    color: #0a0a0a;
    border-radius: 4px;
    padding: 4px 14px;
    font-size: 16px;
    background: #FDF0EA;
}

.dcpcsb-school__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.dcpcsb-badge {
	display: inline-block;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}
.dcpcsb-badge--ward {
	background: #4c8c3f;
}
.dcpcsb-badge--muted {
	background: #fff;
    color: #518129;
}

.dcpcsb-school__layout {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: start;
}
@media (max-width: 992px) {
.dcpcsb-school {
    padding-left: 20px;
    padding-right: 20px;
}
}
@media (max-width: 782px) {
	.dcpcsb-school__layout {
		grid-template-columns: 1fr;
	}
}

.dcpcsb-school__section {
	margin-bottom: 24px;
}
.dcpcsb-school__mission {
	font-size: 16px;
	line-height: 1.6;
}

.dcpcsb-info-block {
	margin-bottom: 20px;
}
.dcpcsb-info-block h3 {
	font-size: 16px;
	line-height: 1.5;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 6px;
    font-family: 'Montserrat';
}
.dcpcsb-info-block p {
	margin: 0;
    color: #1e2937;
    font-size: 16px;
    font-weight: 400;
}
.dcpcsb-link {
	color: #0077cc;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}
.dcpcsb-link:hover {
	text-decoration: underline;
}

.dcpcsb-social-icons {
	display: flex;
	gap: 14px;
	margin-top: 12px;
}
.dcpcsb-social-icons__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #1e2937;
}
.dcpcsb-social-icons__link svg {
	width: 100%;
	height: 100%;
}
.dcpcsb-social-icons__link:hover {
	color: var(--dcpcsb-blue-light, #1e78c8);
}

/* .dcpcsb-contacts-card {
	border: 1px solid var(--dcpcsb-border, #d7dee5);
	border-radius: 6px;
	overflow: hidden;
} */
.dcpcsb-contacts-card__header {
	background: var(--dcpcsb-blue-light, #1e78c8);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 14px 18px;
	display: none;
}
.dcpcsb-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dcpcsb-contact {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 0;
}
.dcpcsb-contact:first-child {
	padding-top: 0;
}
.dcpcsb-contact:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.dcpcsb-contact__name {
	font-weight: 700;
}
/* .dcpcsb-contact__role {
	color: #555;
	font-size: 14px;
} */
.dcpcsb-contact__email {
	color: #0077cc;
    text-decoration: none;
    font-weight: 600;
}
.dcpcsb-contact__email:hover {
	text-decoration: underline;
}

.dcpcsb-share-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background: #1e2937;
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px;
	font-size: 14px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
	z-index: 9999;
}
.dcpcsb-share-toast--visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
ul.dcpcsb-link-list {
	list-style: none;
	padding: 0;
	margin: 0;
}