/* ==========================================================================
   BRAS Editorial — finishing styles
   Colours, fonts, sizes and spacing come from theme.json. This file only
   adds the editorial details: labels, fine lines, numbers, links, FAQs.
   ========================================================================== */

/* Links: thin rose underline, offset for an editorial feel */
.wp-site-blocks a:where(:not(.wp-element-button)) {
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
	text-decoration-color: var(--wp--preset--color--rose);
}
.wp-site-blocks a:where(:not(.wp-element-button)):hover {
	text-decoration-color: currentColor;
}

/* Small spaced capital label, e.g. "OUR PURPOSE" */
.is-style-label {
	font-size: 13px !important;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	line-height: 1.5;
	color: var(--wp--preset--color--rose-deep);
}

/* Large serif opening statement */
.is-style-statement {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--statement);
	font-weight: 400;
	line-height: 1.32;
	color: var(--wp--preset--color--ink);
}

/* "01", "02" numbers in lists */
.is-style-number {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 20px;
	line-height: 1.6;
	color: var(--wp--preset--color--rose-deep);
	min-width: 56px;
	margin: 0;
}

/* Fine lines */
.is-style-rule-top {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: 24px;
	padding-bottom: 24px;
}
.is-style-rule-top-ink {
	border-top: 1px solid var(--wp--preset--color--rose);
	padding-top: 22px;
}
.is-style-rule-both {
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 24px;
	padding-bottom: 24px;
}
.is-style-rule-top + .is-style-rule-top,
.is-style-rule-top + .is-style-rule-both {
	margin-block-start: 0 !important;
}
.bras-list > * {
	margin-block-start: 0 !important;
}

/* Text-link style for buttons ("Read our story") */
.wp-block-button.is-style-text-link .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	padding: 0;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
	text-decoration-color: var(--wp--preset--color--rose);
}
.wp-block-button.is-style-text-link .wp-block-button__link:hover {
	color: var(--wp--preset--color--rose-deep);
	background: transparent;
}
.has-ink-background-color .wp-block-button.is-style-text-link .wp-block-button__link,
.wp-block-cover .wp-block-button.is-style-text-link .wp-block-button__link {
	color: #ffffff;
}

/* Header */
.bras-header {
	border-bottom: 1px solid #efe2df;
}
.bras-header .wp-block-navigation a {
	text-decoration: none;
}
.bras-header .wp-block-navigation .current-menu-item > a,
.bras-header .wp-block-navigation a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--rose);
	text-underline-offset: 8px;
}
.bras-header .wp-block-button__link {
	padding: 11px 22px;
}

/* Footer */
.bras-footer a {
	text-decoration: none;
}
.bras-footer-bottom {
	border-top: 1px solid #efe2df;
}

/* Hero cover: keep text white and readable */
.bras-hero .wp-block-cover__inner-container,
.bras-hero .wp-block-cover__inner-container :where(h1, h2, p, a) {
	color: #ffffff;
}
.bras-hero .is-style-label {
	color: #f6e1dd;
}

/* Split sections (text panel + full-height photo) */
.bras-split.wp-block-media-text {
	padding: var(--wp--preset--spacing--80) max(clamp(20px, 4vw, 48px), calc((100% - 1224px) / 2));
	column-gap: 32px;
	align-items: center;
}
.bras-split .wp-block-media-text__content {
	padding: 0 0 0 calc(100% / 6);
}
.bras-split.has-media-on-the-right .wp-block-media-text__content {
	padding: 0 calc(100% / 6) 0 0;
}
.bras-split .wp-block-media-text__media {
	aspect-ratio: 4 / 5;
	height: auto !important;
	min-height: 0 !important;
	align-self: center;
}

/* FAQs */
.wp-block-details.is-style-faq {
	border-top: 1px solid var(--wp--preset--color--line);
	padding: 24px 0;
	margin: 0 !important;
}
.wp-block-details.is-style-faq:last-child {
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.wp-block-details.is-style-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 19px;
	font-weight: 500;
}
.wp-block-details.is-style-faq summary::-webkit-details-marker {
	display: none;
}
.wp-block-details.is-style-faq summary::after {
	content: "+";
	color: var(--wp--preset--color--rose-deep);
	font-size: 22px;
	line-height: 1;
}
.wp-block-details.is-style-faq[open] summary::after {
	content: "\2212";
}
.wp-block-details.is-style-faq > :not(summary) {
	max-width: 640px;
	color: var(--wp--preset--color--body);
	margin-top: 14px;
}

/* Square-cornered form fields (Gravity Forms / WPForms) */
.bras-form input[type="text"],
.bras-form input[type="email"],
.bras-form input[type="tel"],
.bras-form input[type="date"],
.bras-form select,
.bras-form textarea {
	border: 1px solid #cdb9b4 !important;
	border-radius: 0 !important;
	padding: 14px 16px !important;
	font-family: inherit;
	font-size: 16px;
}
.bras-form input[type="radio"],
.bras-form input[type="checkbox"] {
	accent-color: var(--wp--preset--color--rose-deep);
}
.bras-form .gform_button,
.bras-form button[type="submit"] {
	background: var(--wp--preset--color--rose) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 40px !important;
	padding: 16px 32px !important;
	font-weight: 700 !important;
	font-size: 19px !important;
}

/* Placeholder boxes (maps, etc.) */
.bras-placeholder {
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Keyboard focus */
.wp-site-blocks :focus-visible {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}

/* Small screens */
@media (max-width: 781px) {
	.bras-split.wp-block-media-text {
		padding: 56px 20px 64px;
	}
	.bras-split .wp-block-media-text__content,
	.bras-split.has-media-on-the-right .wp-block-media-text__content {
		padding: 32px 0 0;
	}
	.bras-header .wp-block-buttons {
		display: none;
	}
}

/* Header: button on desktop, menu item on mobile */
.bras-header .bras-nav-book {
	display: none;
}
@media (max-width: 781px) {
	.bras-header .bras-nav-book {
		display: block;
	}
}

/* Cut-out portraits sit on blush */
.bras-on-blush img {
	background: var(--wp--preset--color--blush);
}
.bras-on-white img {
	background: #ffffff;
}

/* Ribbon divider spans the content width */
.bras-ribbon img {
	width: 100%;
	height: 60px;
	object-fit: fill;
}

/* Hero text lines up with the content column below */
.bras-hero.wp-block-cover {
	padding-left: max(clamp(20px, 4vw, 48px), calc((100% - 1224px) / 2)) !important;
	padding-right: max(clamp(20px, 4vw, 48px), calc((100% - 1224px) / 2)) !important;
}
.bras-hero .wp-block-cover__inner-container {
	max-width: 680px;
}
.bras-hero .has-large-font-size {
	max-width: 460px;
}
@media (max-width: 781px) {
	.bras-hero.wp-block-cover {
		min-height: 640px !important;
		padding-bottom: 40px !important;
	}
	.bras-hero .wp-block-cover__background {
		background: linear-gradient(0deg, rgba(46,38,36,0.88) 0%, rgba(46,38,36,0.62) 55%, rgba(46,38,36,0.15) 90%) !important;
	}
}

/* ---------- Editorial pieces (Our team, Why BRAS, promise, announcement bar) ---------- */
.bras-announce p { margin: 0; letter-spacing: 0.03em; color: var(--wp--preset--color--body); }
.bras-announce strong { font-weight: 600; color: var(--wp--preset--color--rose-deep); }
.bras-announce a { margin-left: 14px; text-underline-offset: 5px; text-decoration-color: var(--wp--preset--color--rose); }

.bras-masthead { border-bottom: 1px solid var(--wp--preset--color--rose); padding-bottom: 18px; margin-bottom: 40px; }
.bras-masthead p { margin: 0; }
.bras-display { font-size: clamp(46px, 7.5vw, 108px) !important; line-height: 1 !important; letter-spacing: -0.01em; font-weight: 400; }
.bras-display-md { font-size: clamp(44px, 5.8vw, 84px) !important; line-height: 1 !important; font-weight: 400; }
.bras-h-lg { font-size: clamp(36px, 4vw, 56px) !important; line-height: 1.08 !important; font-weight: 400; }
.bras-rose { color: var(--wp--preset--color--rose); }
.bras-lead { max-width: 620px; margin-top: 28px !important; }

.bras-full-photo { margin-bottom: 0 !important; }
.bras-full-photo img { width: 100%; height: auto; display: block; }
.bras-full-photo .wp-element-caption { max-width: 1224px; margin: 14px auto 0; padding: 0 clamp(20px, 4vw, 48px); text-align: left; }
.wp-block-image .wp-element-caption { font-size: 13px; color: var(--wp--preset--color--muted); text-align: left; margin-top: 14px; }
.wp-block-image img { height: auto; }

.bras-centred { text-align: center; }
.bras-centred .is-style-statement { max-width: 980px; margin-left: auto !important; margin-right: auto !important; }
.bras-quote-mark { font-family: var(--wp--preset--font-family--serif); font-size: 120px; line-height: 0.6; color: var(--wp--preset--color--rose); text-align: center; margin: 0 0 24px !important; }
.bras-border-top { border-top: 1px solid #efe2df; }
.bras-section-head { margin-bottom: 48px !important; }
.bras-section-head > * { margin: 0 !important; }

.bras-numeral { font-family: var(--wp--preset--font-family--serif); font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--wp--preset--color--rose); margin: 0 0 12px !important; }
.bras-roman { font-family: var(--wp--preset--font-family--serif); font-size: 22px; color: var(--wp--preset--color--rose); margin: 0 !important; }
.bras-term { font-size: clamp(26px, 2.6vw, 34px) !important; font-weight: 400 !important; margin: 0 !important; }
.bras-glossary { margin-top: 80px !important; }
.bras-glossary .wp-block-columns { margin: 0; align-items: baseline !important; }

.bras-promise-title { font-family: var(--wp--preset--font-family--serif); font-size: 26px; color: var(--wp--preset--color--rose-deep); margin: 0 0 6px !important; }
.bras-card { padding: 28px 28px 36px !important; }
.bras-map img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #efd6d0; }
.has-x-large-font-size a[href^="mailto"] { font-size: 0.8em; overflow-wrap: anywhere; text-decoration: none; }

@media (max-width: 781px) {
	.bras-spacer-col { display: none; }
	.bras-announce a { display: inline-block; margin: 4px 0 0 0; }
	.bras-quote-mark { font-size: 88px; }
	.bras-glossary .wp-block-columns { gap: 4px; }
}
.is-layout-constrained > .bras-lead { margin-left: 0 !important; margin-right: auto !important; }
