/* WebAshes — Contact page (templates/page-contact.html) and general
   Page typography (Privacy Policy, Terms and Conditions, About/History —
   these use Twenty Twenty-Four's own default page template, so this file
   just brings their typography on-brand). Loaded on every Page. */

/* ---- Contact page hero ---- */
.wa-page-header {
	background: #111111;
}

/* ---- Contact body ---- */
.wa-contact-form-col .wp-block-shortcode,
.wa-contact-form-col form {
	width: 100%;
}

.wa-contact-card {
	display: flex;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid #C4C0B8;
}
.wa-contact-card:first-child {
	padding-top: 0;
}
.wa-contact-card-icon {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #F2F0EC;
	color: #D4380D;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}
.wa-contact-card-muted .wa-contact-card-icon {
	background: #F2F0EC;
	color: #6B6B6B;
}
.wa-contact-card-accent {
	background: #FFF8F6;
	border: 1px solid #D4380D;
	border-radius: 10px;
	padding: 18px;
	border-bottom: none;
}
.wa-contact-card-accent .wa-contact-card-icon {
	background: #D4380D;
	color: #FFFFFF;
}
.wa-contact-card-content {
	flex: 1 1 auto;
	min-width: 0;
}
.wa-contact-card-title {
	display: block;
	font-family: var(--wp--preset--font-family--heading, "Space Grotesk", sans-serif);
	font-size: 14.5px;
	font-weight: 700;
	color: #111111;
	margin-bottom: 4px;
}
.wa-contact-card-text {
	font-size: 13.5px;
	line-height: 1.6;
	color: #6B6B6B;
	margin: 0;
}
.wa-contact-card-list {
	margin: 4px 0 0;
	padding-left: 18px;
	font-size: 13.5px;
	line-height: 1.7;
	color: #6B6B6B;
}
.wa-contact-card-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #D4380D;
	text-decoration: none;
}
.wa-contact-card-link:hover {
	color: #B8300B;
}

/* ---- "Browse our topics" strip — scoped so it never collides with the
        homepage's own .wa-topic-card (image-card) styling. ---- */
.wa-contact-topics .wa-topic-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px;
	border: 1px solid #C4C0B8;
	border-radius: 10px;
	text-decoration: none;
	height: 100%;
	box-sizing: border-box;
}
.wa-contact-topics .wa-topic-card:hover {
	border-color: #D4380D;
}
.wa-contact-topics .wa-topic-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	background: #F2F0EC;
}
.wa-contact-topics .wa-topic-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wa-contact-topics .wa-topic-name {
	font-family: var(--wp--preset--font-family--heading, "Space Grotesk", sans-serif);
	font-size: 14px;
	font-weight: 700;
	color: #111111;
}
.wa-contact-topics .wa-topic-desc {
	font-size: 12.5px;
	color: #6B6B6B;
}

@media (max-width: 780px) {
	.wa-contact-info-col {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}
}

/* ================= GENERAL PAGE TYPOGRAPHY =================
   Applies to Privacy Policy, Terms and Conditions, About/History —
   plain content pages using Twenty Twenty-Four's default page template. */

body.page:not(.page-contact) .entry-content,
body.page:not(.page-contact) .wp-block-post-content {
	font-size: 16px;
	line-height: 1.75;
	color: #2B2B2B;
	max-width: 760px;
}
body.page:not(.page-contact) .entry-content h1,
body.page:not(.page-contact) .wp-block-post-content h1 {
	font-family: var(--wp--preset--font-family--heading, "Space Grotesk", sans-serif);
	font-weight: 700;
	color: #111111;
}
body.page:not(.page-contact) .entry-content h2,
body.page:not(.page-contact) .wp-block-post-content h2 {
	font-family: var(--wp--preset--font-family--heading, "Space Grotesk", sans-serif);
	font-weight: 700;
	font-size: 24px;
	color: #111111;
	margin-top: 2em;
}
body.page:not(.page-contact) .entry-content h3,
body.page:not(.page-contact) .wp-block-post-content h3 {
	font-family: var(--wp--preset--font-family--heading, "Space Grotesk", sans-serif);
	font-weight: 700;
	font-size: 18px;
	color: #111111;
	margin-top: 1.6em;
}
body.page:not(.page-contact) .entry-content a,
body.page:not(.page-contact) .wp-block-post-content a {
	color: #D4380D;
}
body.page:not(.page-contact) .entry-content ul,
body.page:not(.page-contact) .wp-block-post-content ul {
	padding-left: 22px;
}
body.page:not(.page-contact) .entry-content li,
body.page:not(.page-contact) .wp-block-post-content li {
	margin-bottom: 6px;
}
body.page:not(.page-contact) .entry-content table,
body.page:not(.page-contact) .wp-block-post-content table {
	border-collapse: collapse;
	width: 100%;
	font-size: 14px;
}
body.page:not(.page-contact) .entry-content table th,
body.page:not(.page-contact) .entry-content table td,
body.page:not(.page-contact) .wp-block-post-content table th,
body.page:not(.page-contact) .wp-block-post-content table td {
	border: 1px solid #C4C0B8;
	padding: 10px 12px;
	text-align: left;
}
body.page:not(.page-contact) .entry-content table th,
body.page:not(.page-contact) .wp-block-post-content table th {
	background: #F2F0EC;
	font-weight: 600;
}
body.page:not(.page-contact) .entry-content hr,
body.page:not(.page-contact) .wp-block-post-content hr {
	border: none;
	border-top: 1px solid #C4C0B8;
	margin: 2.5em 0;
}
