/*
 * Contact Us (/contact-us/) only — typography, colours, buttons and alignment brought in line with the
 * About Us page (2026-10-23). Layout is unchanged on purpose (client: "don't make changes in layout").
 * Loaded only on the Contact Us template (see functions.php). Everything is scoped to the page's own
 * contact-* sections, so the header and the footer (incl. its CTA banner <section>) are untouched.
 */
.page-template-contact-us {
	--ct-ink: #14215c;
	--ct-text: #3b3f63;
	--ct-navy: #1b2f55;
	--ct-purple: #6d28d9;
	--ct-orange: #f26a1b;
	--ct-line: #e7e8f2;
}
.page-template-contact-us :where(section[class*="contact-"]) h2,
.page-template-contact-us :where(section[class*="contact-"]) h3 { color: var(--ct-ink); font-weight: 800; letter-spacing: -0.01em; }
/* Rectangular buttons (About Us style) instead of pills */
.page-template-contact-us :where(section[class*="contact-"]) .btn { border-radius: 8px; font-weight: 700; }
.page-template-contact-us :where(section[class*="contact-"]) .btn--dark { background: var(--ct-navy); }
.page-template-contact-us :where(section[class*="contact-"]) .btn--outline { background: #fff; border: 1.5px solid #8b7fd0; color: var(--ct-ink); }

/* ---------- Breadcrumb + hero ---------- */
.page-template-contact-us .contact-breadcrumb { font-size: 13px; color: var(--ct-text); }
.page-template-contact-us .contact-breadcrumb span:last-child { color: var(--ct-ink); }
.page-template-contact-us .contact-hero__copy h1 { color: var(--ct-ink); font-size: clamp(32px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.page-template-contact-us .contact-hero__copy h1 .text-orange { color: var(--ct-orange); }
.page-template-contact-us .contact-hero__copy p { color: var(--ct-ink); font-size: 16.5px; line-height: 1.8; max-width: 480px; margin-bottom: 26px; }
.page-template-contact-us .contact-hero__traits { gap: 12px 20px; }
.page-template-contact-us .contact-hero__traits li { font-size: 13.5px; color: var(--ct-ink); white-space: nowrap; }
.page-template-contact-us .contact-hero__traits-icon { width: 36px; height: 36px; background: #efecfa; color: #4c1d95; }
.page-template-contact-us .contact-hero__traits-icon svg { width: 18px; height: 18px; }
.page-template-contact-us .contact-hero__photo { border-radius: 18px; box-shadow: 0 16px 36px rgba(20, 33, 92, 0.12); }

/* ---------- Choose How You'd Like to Connect ---------- */
.page-template-contact-us .contact-connect { background: #fafafc; border-top: 1px solid var(--ct-line); border-bottom: 1px solid var(--ct-line); }
.page-template-contact-us .contact-connect h2 { font-size: clamp(22px, 2vw, 29px); }
.page-template-contact-us .contact-method-card { display: flex; flex-direction: column; align-items: center; border-color: var(--ct-line); border-radius: 12px; padding: 22px 16px 20px; box-shadow: 0 4px 14px rgba(20, 33, 92, 0.04); min-width: 0; }
.page-template-contact-us .contact-method-card__icon { width: 54px; height: 54px; background: #efecfa; color: #4c1d95; margin-bottom: 14px; }
.page-template-contact-us .contact-method-card__icon svg { width: 24px; height: 24px; }
.page-template-contact-us .contact-method-card strong { font-size: 15px; color: var(--ct-ink); margin-bottom: 8px; }
.page-template-contact-us .contact-method-card p { color: var(--ct-text); font-size: 13.5px; line-height: 1.55; margin-bottom: 12px; }
/* phone / email details: keep inside the card (the long email address used to spill over the edge) */
.page-template-contact-us .contact-method-card__detail { margin-top: auto; max-width: 100%; color: var(--ct-ink); font-size: 14.5px; overflow-wrap: anywhere; }
.page-template-contact-us .contact-method-card__sub { color: var(--ct-text); font-size: 12px; margin-top: 4px; }
.page-template-contact-us .contact-method-card__link { margin-top: auto; color: var(--ct-purple); font-size: 13.5px; }

/* ---------- Send Us a Message + sidebar ---------- */
.page-template-contact-us .contact-form-card { border-color: var(--ct-line); border-radius: 14px; box-shadow: 0 8px 26px rgba(20, 33, 92, 0.05); }
.page-template-contact-us .contact-form-card h2 { font-size: clamp(21px, 1.8vw, 26px); }
.page-template-contact-us .contact-form-card > p { color: var(--ct-text); font-size: 14.5px; }
.page-template-contact-us .contact-form-card .hero__field-label { color: var(--ct-ink); font-size: 13.5px; font-weight: 600; }
.page-template-contact-us .contact-form-card input:not([type="checkbox"]),
.page-template-contact-us .contact-form-card select,
.page-template-contact-us .contact-form-card textarea { border: 1px solid #dcdeeb; border-radius: 8px; background: #fff; color: var(--ct-ink); font-size: 14px; }
.page-template-contact-us .contact-form-card input:focus,
.page-template-contact-us .contact-form-card select:focus,
.page-template-contact-us .contact-form-card textarea:focus { outline: none; border-color: #8b7fd0; box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12); }
.page-template-contact-us .contact-form-card__consent { color: var(--ct-text); font-size: 13px; }
.page-template-contact-us .contact-form-card .btn--orange { padding: 13px 26px; font-size: 15px; }
.page-template-contact-us .contact-form-card__note { color: var(--ct-text); font-size: 12.5px; }
.page-template-contact-us .contact-help-card { background: #fafafc; border: 1px solid var(--ct-line); border-radius: 14px; }
.page-template-contact-us .contact-help-card h3 { font-size: 17px; }
.page-template-contact-us .contact-help-list li { border: 1px solid var(--ct-line); border-radius: 10px; }
.page-template-contact-us .contact-help-list__icon { background: #efecfa; color: #4c1d95; }
.page-template-contact-us .contact-help-list__body strong { font-size: 14px; color: var(--ct-ink); }
.page-template-contact-us .contact-help-list__body span { font-size: 12.5px; color: var(--ct-text); }
.page-template-contact-us .contact-specific-card { border-radius: 14px; }
.page-template-contact-us .contact-specific-card__copy strong { font-size: 17px; color: var(--ct-ink); }
.page-template-contact-us .contact-specific-card__copy p { font-size: 13.5px; color: var(--ct-text); line-height: 1.55; max-width: 260px; }

/* ---------- Find an Edify School Near You ---------- */
.page-template-contact-us .contact-find__inner { background: #fafafc; border: 1px solid var(--ct-line); border-radius: 14px; }
.page-template-contact-us .contact-find__icon { width: 46px; height: 46px; background: #efecfa; color: #4c1d95; }
.page-template-contact-us .contact-find__copy h3 { font-size: 17px; }
.page-template-contact-us .contact-find__copy p { font-size: 13.5px; color: var(--ct-text); }
.page-template-contact-us .contact-find__form { align-items: center; }
.page-template-contact-us .contact-find__form select { border-color: #dcdeeb; border-radius: 8px; color: var(--ct-ink); height: 46px; }
.page-template-contact-us .contact-find__form .btn { height: 46px; display: inline-flex; align-items: center; }

/* ---------- FAQ / Commitment / Stay Connected ---------- */
.page-template-contact-us .contact-bottom { padding-bottom: 40px; }
.page-template-contact-us .contact-bottom__grid > div { border-color: var(--ct-line); border-radius: 14px; box-shadow: 0 4px 14px rgba(20, 33, 92, 0.04); }
.page-template-contact-us .contact-bottom__grid h3 { font-size: 17px; }
.page-template-contact-us .contact-faq__item summary { font-size: 14.5px; color: var(--ct-ink); }
.page-template-contact-us .contact-faq__item p { font-size: 13.5px; color: var(--ct-text); line-height: 1.6; }
.page-template-contact-us .contact-faq__view-all { color: var(--ct-purple); font-size: 13.5px; }
.page-template-contact-us .contact-commitment > p,
.page-template-contact-us .contact-connected > p { font-size: 13.5px; color: var(--ct-text); line-height: 1.6; }
.page-template-contact-us .contact-commitment__list li { font-size: 14.5px; color: var(--ct-ink); }
.page-template-contact-us .contact-connected__form input[type="email"] { border-color: #dcdeeb; border-radius: 8px; height: 46px; }
.page-template-contact-us .contact-connected__form .btn { height: 46px; }
.page-template-contact-us .contact-connected__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #efecfa; color: #4c1d95; font-size: 13px; font-weight: 700; text-decoration: none; }

/* ==== Contact Us UI pass (2026-10-27): homepage-style panels, card shadows,
   coloured icon glows, orange pill buttons, small visual bug fixes ==== */
.page-template-contact-us {
	--ct-panel-border: 1px solid rgba(79, 91, 234, 0.12);
	--ct-panel-bg:
		radial-gradient(420px 260px at 0% 0%, rgba(124, 58, 237, 0.06), transparent 70%),
		radial-gradient(360px 240px at 100% 100%, rgba(242, 112, 27, 0.05), transparent 70%),
		linear-gradient(135deg, #f7f6fc 0%, #fafbfd 55%, #f4f6fb 100%);
	--ct-panel-shadow: 0 2px 6px rgba(16, 31, 77, 0.05), 0 22px 48px -14px rgba(79, 91, 234, 0.32);
	--ct-card-shadow: 0 2px 6px rgba(16, 31, 77, 0.04), 0 14px 30px -16px rgba(16, 31, 77, 0.28);
	--ct-card-hover: 0 4px 10px rgba(16, 31, 77, 0.05), 0 24px 44px -16px rgba(79, 91, 234, 0.48);
	--ct-pill: linear-gradient(100deg, #fd7a1f, #f0566b);
}

/* 4. Method cards: shadow, hover lift, glowing icon, pill links */
.page-template-contact-us .contact-method-card {
	border-color: rgba(79, 91, 234, 0.10);
	border-radius: 16px;
	box-shadow: var(--ct-card-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.page-template-contact-us .contact-method-card:hover { transform: translateY(-5px); box-shadow: var(--ct-card-hover); }
.page-template-contact-us .contact-method-card__icon { box-shadow: 0 0 0 4px #fff, 0 12px 22px -8px rgba(109, 40, 217, 0.55); }
.page-template-contact-us .contact-method-card__link {
	display: inline-flex;
	padding: 7px 16px;
	border-radius: 999px;
	background: #f1ecfe;
	font-weight: 700;
	transition: background .2s ease, color .2s ease;
}
.page-template-contact-us .contact-method-card:hover .contact-method-card__link { background: var(--ct-purple); color: #fff; }

/* 5. Message form panel + orange pill submit */
.page-template-contact-us .contact-form-card { border: var(--ct-panel-border); border-radius: 20px; box-shadow: var(--ct-panel-shadow); }
.page-template-contact-us .contact-form-card .btn--orange,
.page-template-contact-us .contact-find__form .btn,
.page-template-contact-us .contact-connected__form .btn,
.page-template-contact-us .contact-specific-card .btn {
	background: var(--ct-pill);
	border: none;
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 10px 22px -8px rgba(240, 86, 107, 0.6);
	transition: transform .2s ease, box-shadow .2s ease;
}
.page-template-contact-us :is(.contact-form-card .btn--orange, .contact-find__form .btn, .contact-connected__form .btn, .contact-specific-card .btn):hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgba(240, 86, 107, 0.7); }

/* 6. Help With list: panel, rows tint + chevron slides on hover */
.page-template-contact-us .contact-help-card { border: var(--ct-panel-border); border-radius: 20px; background: var(--ct-panel-bg); box-shadow: var(--ct-panel-shadow); }
.page-template-contact-us .contact-help-list li { border-color: rgba(79, 91, 234, 0.10); box-shadow: 0 8px 18px -14px rgba(16, 31, 77, 0.35); transition: background .2s ease, border-color .2s ease; }
.page-template-contact-us .contact-help-list li:hover { background: #f6f3ff; border-color: rgba(109, 40, 217, 0.25); }
.page-template-contact-us .contact-help-list__icon { box-shadow: 0 8px 16px -8px rgba(109, 40, 217, 0.5); }
.page-template-contact-us .contact-help-list__chevron { transition: transform .2s ease; }
.page-template-contact-us .contact-help-list li:hover .contact-help-list__chevron { transform: translateX(4px); color: var(--ct-purple); }

/* 1 + 7. Specific school card: shadow; building icon moved to the top-right, off the button */
.page-template-contact-us .contact-specific-card { box-shadow: var(--ct-panel-shadow); border: var(--ct-panel-border); border-radius: 20px; }
.page-template-contact-us .contact-specific-card__icon { top: 16px; bottom: auto; right: 16px; }
.page-template-contact-us .contact-specific-card__icon svg { width: 52px; height: 52px; }

/* 8. Find a school strip: normal content width + panel style */
.page-template-contact-us .contact-find__inner {
	width: calc(100% - 48px);
	max-width: calc(var(--container) - 48px);
	border: var(--ct-panel-border);
	border-radius: 20px;
	background: var(--ct-panel-bg);
	box-shadow: var(--ct-panel-shadow);
}
.page-template-contact-us .contact-find__icon { box-shadow: 0 0 0 4px #fff, 0 10px 20px -8px rgba(109, 40, 217, 0.5); }

/* 9. Bottom three boxes: shadow, equal heights */
.page-template-contact-us .contact-bottom__grid { align-items: stretch; }
.page-template-contact-us .contact-bottom__grid > div { border-color: rgba(79, 91, 234, 0.10); border-radius: 18px; box-shadow: var(--ct-card-shadow); }

/* 2. Social circles: real brand icons (same files as the footer) instead of text */
.page-template-contact-us .contact-connected__social a { font-size: 0; background: #fff center / 22px no-repeat; box-shadow: 0 6px 14px -6px rgba(16, 31, 77, 0.35); transition: transform .2s ease; }
.page-template-contact-us .contact-connected__social a:hover { transform: translateY(-2px); }
.page-template-contact-us .contact-connected__social a[aria-label="Facebook"] { background-image: url("../images/icon-social-facebook.png"); }
.page-template-contact-us .contact-connected__social a[aria-label="Instagram"] { background-image: url("../images/icon-social-instagram.png"); }
.page-template-contact-us .contact-connected__social a[aria-label="YouTube"] { background-image: url("../images/icon-social-youtube.png"); }
.page-template-contact-us .contact-connected__social a[aria-label="LinkedIn"] { background-image: url("../images/icon-social-linkedin.png"); }

@media (max-width: 720px) {
	/* 3. Method cards 2 per row (last one full width) */
	.page-template-contact-us .contact-connect__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.page-template-contact-us .contact-method-card { padding: 18px 12px 16px; }
	.page-template-contact-us .contact-method-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.page-template-contact-us .contact-method-card p { font-size: 12.5px; }
	.page-template-contact-us .contact-method-card__detail { font-size: 13px; }
	.page-template-contact-us .contact-find__inner { width: calc(100% - 24px); }
	/* 10. Hero photo: full width and taller */
	.page-template-contact-us .contact-hero__photo { aspect-ratio: 4 / 3; }
	.page-template-contact-us .contact-specific-card__icon { display: none; }
}

/* Breadcrumb removed (2026-10-30): give the hero its own top space on tablets/phones (desktop banner already has it) */
@media (max-width: 1080px) {
	.page-template-contact-us .contact-hero { padding-top: 28px; }
}
