/* PricedRight theme styles. Colours and type come from theme.json; this file adds the shapes theme.json can't. */

:root {
	--pr-purple: var(--wp--preset--color--purple, #3B2666);
	--pr-yellow: var(--wp--preset--color--yellow, #FBF167);
	--pr-pink: var(--wp--preset--color--pink, #DD6096);
	--pr-midnight: var(--wp--preset--color--midnight, #080605);
	--pr-lilac: var(--wp--preset--color--lilac, #F4F0F9);
	--pr-slate: var(--wp--preset--color--slate, #4A4458);
	--pr-lavender: var(--wp--preset--color--lavender, #E9E3F3);
	--pr-rule: var(--wp--preset--color--rule, #D9D2E6);
	--pr-heading: var(--wp--preset--font-family--system);
	--pr-section: var(--wp--preset--spacing--70, clamp(64px, 9vw, 112px));
}

/* ---------- Page structure ---------- */
.pr-main { margin-block-start: 0 !important; }
.wp-site-blocks > * + *, .pr-main > * + * { margin-block-start: 0; }
.pr-section { padding-block: var(--pr-section); }
.pr-section-short { padding-block: clamp(56px, 7vw, 88px); }
.pr-section-flush-top { padding-block-start: 0; }
.pr-section-flush-bottom { padding-block-end: 0; }
.pr-measure { max-width: 36em; }
.pr-measure-heading { max-width: 15em; }
.pr-donors h2 { max-width: 16em; }
.pr-donors .pr-lead { max-width: 34em; margin-top: 24px; }
.pr-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.6; max-width: 32em; }
.pr-small { font-size: var(--wp--preset--font-size--caption); }
.pr-link-strong a { font-weight: 700; }
.pr-gap-lg.wp-block-columns { gap: clamp(40px, 5vw, 64px); }
:where(.pr-section) h2.wp-block-heading { margin-block-end: 0; }
:where(.pr-section) h2.wp-block-heading + p { margin-block-start: 16px; }
.wp-block-image img { border-radius: inherit; }
.pr-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

/* ---------- Header and footer ---------- */
.pr-header { padding-block: 16px; }
.pr-header-inner { gap: 16px 24px; }
.pr-logo { margin: 0; }
.pr-logo img { width: 180px; height: auto; display: block; }
.pr-header-actions { gap: 8px 28px; }
.pr-nav a { text-decoration: none; padding-block: 10px; }
.pr-nav a:hover { text-decoration: underline; color: inherit; }
.pr-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--pr-purple); color: #fff; }
.pr-header .wp-block-navigation__responsive-container-open svg,
.pr-header .wp-block-navigation__responsive-container-close svg { width: 32px; height: 32px; }
.pr-header-cta .wp-block-button__link { padding: 12px 22px; font-size: 17px; }
@media (max-width: 599px) {
	.pr-logo img { width: 150px; }
	.pr-header-cta { display: none !important; }
}
.pr-footer { padding-block: 72px 40px; }
.pr-footer .pr-logo img { width: 160px; }
.pr-footer-brand { max-width: 24em; }
.pr-footer a { color: inherit; }
.pr-footer-nav { gap: 8px 32px; }
.pr-footer-nav a { padding-block: 8px; }
.pr-footer-small { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(233, 227, 243, 0.25); font-size: var(--wp--preset--font-size--caption); }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-yellow .wp-block-button__link { background: var(--pr-yellow); color: var(--pr-midnight); }
.wp-block-button.is-style-yellow .wp-block-button__link:hover { background: #fff; color: var(--pr-midnight); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: #fff; padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: transparent; color: var(--pr-yellow); }

/* ---------- Hero ---------- */
.pr-hero { padding-block: clamp(32px, 5vw, 56px) clamp(72px, 9vw, 104px); }
.pr-hero-columns.wp-block-columns { gap: clamp(32px, 5vw, 56px); }
.pr-hero h1 { margin: 0; }
.pr-hero .pr-lead { margin-block: 28px 0; }
.pr-hero-buttons { margin-top: 40px; gap: 16px 24px; }
.pr-hero-photo { position: relative; container-type: inline-size; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #2A1B49; }
.pr-hero-photo > * { margin: 0 !important; }
.pr-hero-image, .pr-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pr-hero-image img { object-fit: cover; border-radius: 0; }
.pr-hero-string { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pr-hero-tag {
	position: absolute; left: 3%; top: 56%; width: 36%;
	background: var(--pr-yellow); color: var(--pr-midnight);
	clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
	padding: 5cqw 9cqw 5cqw 4.5cqw; box-sizing: border-box;
	transform: rotate(-7deg); transform-origin: 92% 50%;
	filter: drop-shadow(0 10px 18px rgba(8, 6, 5, 0.35));
	animation: pr-swing 1.6s cubic-bezier(0.3, 1.6, 0.5, 1) 0.4s both;
}
.pr-hero-tag::after { content: ""; position: absolute; right: 7%; top: 50%; width: 3cqw; height: 3cqw; margin-top: -1.5cqw; border-radius: 50%; background: var(--pr-purple); }
.pr-hero-tag p { margin: 0; }
.pr-hero-tag-label { font-size: 2.3cqw; font-weight: 700; line-height: 1.2; }
.pr-hero-tag-price { font-family: var(--pr-heading); font-size: 12cqw; font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pr-photo-note { position: absolute; right: 16px; bottom: 12px; font-size: 14px; color: #fff; background: rgba(8, 6, 5, 0.55); padding: 4px 10px; border-radius: 6px; }
@keyframes pr-swing { from { transform: rotate(-24deg); } to { transform: rotate(-7deg); } }
@media (prefers-reduced-motion: reduce) { .pr-hero-tag { animation: none; } }

/* ---------- Price tag, chips, badge, card ---------- */
p.is-style-price-tag {
	display: inline-block; flex: none; margin: 0;
	background: var(--pr-yellow); color: var(--pr-midnight);
	clip-path: polygon(22% 0, 100% 0, 100% 100%, 22% 100%, 0 50%);
	padding: 8px 16px 8px 30px;
	font-family: var(--pr-heading); font-size: 26px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums;
}
p.is-style-chip { margin: 0; background: #fff; border-radius: 8px; padding: 6px 12px; font-variant-numeric: tabular-nums; }
p.is-style-chip.pr-chip-middle { background: var(--pr-purple); color: #fff; font-weight: 700; }
p.is-style-badge {
	display: flex; align-items: center; gap: 10px; margin: 12px 0 0;
	background: var(--pr-lilac); color: var(--pr-purple); border-radius: 10px; padding: 10px 14px;
	font-size: 15px; font-weight: 700; line-height: 1.35;
}
p.is-style-badge::before {
	content: ""; flex: none; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.2-7 10-4-1.8-7-5.5-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.2-7 10-4-1.8-7-5.5-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-group.is-style-card { background: var(--pr-lilac); border-radius: 20px; padding: clamp(24px, 3vw, 32px); }
.is-style-card > * + * { margin-block-start: 16px; }

/* ---------- Lists ---------- */
ul.is-style-ruled, ol.is-style-ruled { list-style: none; padding: 0; margin-block: 32px 0; display: flex; flex-direction: column; gap: 20px; counter-reset: pr; }
.is-style-ruled > li { border-top: 2px solid var(--pr-purple); padding-top: 14px; }
ol.is-style-ruled > li { counter-increment: pr; }
ol.is-style-ruled > li::before { content: counter(pr) ". "; font-weight: 900; color: var(--pr-purple); }

/* ---------- Slider ---------- */
.pr-slider-head { gap: 24px; align-items: flex-end; }
.pr-slider-head h2 { margin: 0; }
.pr-slider-head p { margin: 12px 0 0; }
.pr-slider-buttons { display: flex; gap: 12px; }
.pr-slider-buttons button {
	width: 52px; height: 52px; border-radius: 50%; padding: 0; cursor: pointer;
	border: 2px solid var(--pr-purple); background: #fff; color: var(--pr-purple);
	display: flex; align-items: center; justify-content: center;
}
.pr-slider-buttons button:hover:not(:disabled) { background: var(--pr-purple); color: #fff; }
.pr-slider-buttons button:disabled { opacity: 0.35; cursor: default; }
.pr-slider-buttons button:focus-visible { outline: 3px solid var(--pr-pink); outline-offset: 3px; }
.pr-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
	margin-top: 40px; padding-bottom: 0;
}
.pr-track::-webkit-scrollbar { display: none; }
.pr-track:focus-visible { outline: 3px solid var(--pr-pink); outline-offset: 6px; border-radius: 8px; }
.pr-track > * { margin: 0 !important; }
.pr-slide { scroll-snap-align: start; min-width: 0; }
.pr-slide .wp-block-image { margin: 0; }
.pr-slide .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.pr-slide-caption { margin-top: 16px !important; gap: 16px; }
.pr-slide-caption h3 { margin: 0; font-size: 22px; }
@media (max-width: 900px) { .pr-track { grid-auto-columns: calc((100% - 32px) / 2); } }
@media (max-width: 600px) { .pr-track { grid-auto-columns: 82%; gap: 20px; } }
.editor-styles-wrapper .pr-track { overflow-x: visible; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- How a price is made ---------- */
.pr-steps { display: flex; flex-direction: column; gap: 36px; margin-top: 48px; }
.pr-steps > * { margin: 0 !important; }
.pr-step { gap: 24px; }
.pr-step h3 { margin: 0 0 6px; }
.pr-step p { margin: 0; }
p.pr-step-num { flex: none; width: 36px; margin: 0; font-family: var(--pr-heading); font-size: 34px; font-weight: 900; line-height: 1.1; color: var(--pr-purple); }
.pr-worked h3 { margin: 0; font-size: 21px; }
.pr-worked-title p { margin: 0; }
.pr-worked-label { margin-block-start: 24px !important; }
.pr-chips { gap: 8px; margin-block-start: 10px !important; }
.pr-row { border-top: 1px solid var(--pr-rule); padding-top: 16px; gap: 16px; font-variant-numeric: tabular-nums; }
.pr-row p { margin: 0; }
.pr-shelf { background: var(--pr-yellow); border-radius: 14px; padding: 16px 20px; gap: 16px; margin-block-start: 20px !important; }
.pr-shelf p { margin: 0; }
p.pr-shelf-price { font-family: var(--pr-heading); font-size: 52px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Comparison and feature columns ---------- */
.pr-compare.wp-block-columns { gap: 0; margin-top: 48px; border-top: 3px solid var(--pr-midnight); }
.pr-compare > .wp-block-column { padding: 28px; }
.pr-compare > .wp-block-column:first-child { padding-left: 0; }
.pr-compare > .wp-block-column + .wp-block-column:not(.pr-compare-us) { border-left: 1px solid var(--pr-rule); }
.pr-compare-us { background: var(--pr-lilac); border-radius: 0 0 16px 16px; }
.pr-compare-us h3 { color: var(--pr-purple); }
.pr-compare h3, .pr-features h3 { margin: 0 0 8px; }
.pr-compare p, .pr-features p { margin: 0; }
@media (max-width: 781px) {
	.pr-compare > .wp-block-column { padding: 24px 0; }
	.pr-compare > .wp-block-column + .wp-block-column:not(.pr-compare-us) { border-left: 0; border-top: 1px solid var(--pr-rule); }
	.pr-compare-us { padding: 24px !important; border-radius: 16px; }
}
.pr-features.wp-block-columns { gap: 40px 48px; margin-top: 56px; }

/* ---------- Pricing call to action ---------- */
.pr-cta-text { flex: 1 1 520px; }
.pr-cta-text h2 { margin: 0; }

/* ---------- Blog lists ---------- */
.pr-latest-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; margin-top: 40px; list-style: none; padding: 0; }
.pr-latest-grid > li { margin: 0 !important; }
.pr-latest .pr-latest-grid > li:first-child { grid-column: span 2; grid-row: span 2; }
.pr-latest .pr-latest-grid > li:first-child h3 { font-size: var(--wp--preset--font-size--h-2-small); }
.pr-latest-grid .wp-block-post-featured-image { margin: 0 0 16px; }
.pr-latest-grid .wp-block-post-featured-image img { border-radius: 16px; }
.pr-latest-grid h2, .pr-latest-grid h3 { margin: 8px 0; font-size: 22px; line-height: 1.3; }
.pr-latest-excerpt { color: var(--pr-slate); margin: 0; }
.pr-latest-excerpt .wp-block-post-excerpt__more-link { display: none; }
@media (max-width: 900px) {
	.pr-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pr-latest .pr-latest-grid > li:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
	.pr-latest-grid { grid-template-columns: 1fr; }
	.pr-latest .pr-latest-grid > li:first-child { grid-column: auto; }
}
.wp-block-query-pagination { margin-top: 48px; font-weight: 700; }

/* ---------- Pages and posts ---------- */
.pr-page-head { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.pr-page-head h1, .pr-page-head .wp-block-post-title, .pr-page-head .wp-block-query-title { margin: 0; color: #fff; font-size: clamp(40px, 6vw, 64px); }
.pr-page-head .pr-lead { margin-block: 20px 0; }
.pr-page-content:not(.pr-page-content-wide) { padding-block: var(--pr-section); }
.pr-page-content > .pr-page-head:first-child { margin-block-start: 0; }
.pr-article { padding-block: clamp(40px, 6vw, 72px) var(--pr-section); }
.pr-article-head .wp-block-post-date { margin: 0; }
.pr-article-title { margin-block: 8px 32px; font-size: clamp(36px, 5vw, 56px); }
.pr-article .wp-block-post-featured-image img { border-radius: 20px; }
.pr-article-body { font-size: 19px; line-height: 1.65; }
.pr-article-body h2 { font-size: var(--wp--preset--font-size--h-2-small); margin-block-start: 48px; }
.pr-list-title { margin: 4px 0 8px; }
.wp-block-details.pr-faq { border-top: 1px solid var(--pr-rule); padding-block: 18px; }
.wp-block-details.pr-faq:last-of-type { border-bottom: 1px solid var(--pr-rule); }
.wp-block-details.pr-faq summary { font-family: var(--pr-heading); font-weight: 700; font-size: 21px; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.wp-block-details.pr-faq p { margin: 12px 0 0; }

/* ---------- Search and forms ---------- */
.wp-block-search__input { border: 2px solid var(--pr-rule); border-radius: 12px; padding: 12px 16px; font-size: 18px; min-height: 52px; }
.wp-block-search__button { border-radius: 999px; padding-inline: 24px; min-height: 52px; }
.is-style-card .fluentform .ff-el-form-control { border-radius: 10px; border: 2px solid var(--pr-rule); min-height: 52px; font-size: 18px; }
.is-style-card .fluentform .ff-btn-submit { background: var(--pr-purple) !important; color: #fff !important; border-radius: 999px; padding: 16px 32px; font-weight: 900; font-size: 18px; }

/* Keep prices on one line */
.pr-row > p:last-child, p.pr-shelf-price, p.is-style-price-tag, p.is-style-chip { white-space: nowrap; flex: none; }
.pr-row > p:first-child, .pr-shelf > p:first-child { flex: 1 1 auto; min-width: 0; }

/* Single post spacing */
.pr-article > * + * { margin-block-start: 32px; }
.pr-article > .wp-block-separator { margin-block: 64px 24px; border-top-width: 1px; }
.pr-article .post-navigation-link-previous, .pr-article .post-navigation-link-next { margin-block-start: 8px; font-weight: 700; }
.pr-article-title { margin-block: 8px 0; }

/* Pink focus ring only for keyboard users, not on mouse or tap (Neil, 11 Nov) */
a:focus:not(:focus-visible), button:focus:not(:focus-visible), .wp-element-button:focus:not(:focus-visible), .wp-block-navigation-item__content:focus:not(:focus-visible), .wp-block-navigation button:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
* { -webkit-tap-highlight-color: transparent; }

/* Hero price tag: keep the price on one line whatever the system font (Neil, 11 Nov) */
.pr-hero-tag { width: auto; min-width: 36%; }
.pr-hero-tag-price { white-space: nowrap; }

/* ---------- Gentle loading animations (Neil, 11 Nov) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.pr-main { animation: pr-fade-in 0.5s ease-out both; }
	.pr-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
	.pr-reveal.pr-in { opacity: 1; transform: none; }
}
@keyframes pr-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Softer lines, comparison cards, FAQ icons (Neil, 11 Nov) ---------- */
.pr-compare.wp-block-columns { gap: 24px; border-top: 0; }
.pr-compare > .wp-block-column,
.pr-compare > .wp-block-column:first-child { padding: 28px; border: 1px solid #ECE7F3; border-radius: 16px; background: #fff; }
.pr-compare > .wp-block-column + .wp-block-column:not(.pr-compare-us) { border-left: 1px solid #ECE7F3; }
.pr-compare > .wp-block-column.pr-compare-us { background: var(--pr-lilac); border-color: var(--pr-lilac); }
@media (max-width: 781px) {
	.pr-compare > .wp-block-column, .pr-compare > .wp-block-column:first-child { padding: 24px !important; }
	.pr-compare > .wp-block-column + .wp-block-column:not(.pr-compare-us) { border-top: 1px solid #ECE7F3; }
}
.is-style-ruled > li { border-top: 1px solid #ECE7F3; }
.wp-block-details.pr-faq { border-top-color: #ECE7F3; }
.wp-block-details.pr-faq:last-of-type { border-bottom-color: #ECE7F3; }
.wp-block-details.pr-faq summary { list-style: none; justify-content: space-between; gap: 16px; }
.wp-block-details.pr-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.pr-faq summary::after {
	content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
	background: var(--pr-lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%233B2666' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform 0.25s ease, background-color 0.25s ease;
}
.wp-block-details.pr-faq summary:hover::after { background-color: #E9E1F4; }
.wp-block-details.pr-faq[open] summary::after { transform: rotate(45deg); }
.wp-block-details.pr-faq .wp-block-separator, .pr-article > .wp-block-separator { border-color: #ECE7F3; }

/* FAQ spacing: no gap between items, so space above and below each question matches (Neil, 11 Nov) */
.wp-block-details.pr-faq { margin-block: 0 !important; padding-block: 16px; }
.wp-block-details.pr-faq > p:last-child { margin-bottom: 8px; }
.wp-block-details.pr-faq.is-closing summary::after { transform: rotate(0deg); }
.wp-block-details.pr-faq:first-of-type { margin-top: 28px !important; }

/* ---------- AI section (Neil, 11 Nov) ---------- */
.pr-ai .pr-lead { color: #E9E3F3; margin-top: 20px; }
.pr-ai-cards.wp-block-columns { gap: 20px; margin-top: 48px; }
.pr-ai-cards > .wp-block-column { background: rgba(255, 255, 255, 0.07); border-radius: 16px; padding: 28px; }
.pr-ai-cards > .wp-block-column::before {
	content: ""; display: block; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px;
	background: var(--pr-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.6L18.5 9l-4.7 1.6L12 15l-1.8-4.4L5.5 9l4.7-1.4z'/%3E%3Cpath d='M19 15l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.pr-ai-cards h3 { margin: 0 0 8px; font-size: 21px; }
.pr-ai-cards p { margin: 0; color: #E9E3F3; }
body .pr-ai-cards.wp-block-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { body .pr-ai-cards.wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body .pr-ai-cards.wp-block-columns { grid-template-columns: 1fr; } }
h1, h2 { text-wrap: balance; }

/* ---------- Navigation: pink underline on hover, yellow underline for the page you're on (Neil, 11 Nov) ---------- */
.pr-nav a { text-decoration: none; text-underline-offset: 8px; text-decoration-thickness: 2px; transition: color 0.15s ease; }
.pr-nav a:hover { color: #fff !important; text-decoration: underline; text-decoration-color: var(--pr-pink) !important; }
.pr-nav a[aria-current="page"] { color: #fff !important; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--pr-yellow) !important; }
.pr-nav a[aria-current="page"]:hover { color: #fff !important; text-decoration-color: var(--pr-yellow) !important; }

/* ---------- Expert panel (About page) ---------- */
.pr-expert-cards.wp-block-columns { gap: 32px; margin-top: 48px; }
.pr-expert .pr-expert-photo { margin: 0 0 20px; }
.pr-expert .pr-expert-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; display: block; }
.pr-expert h3 { margin: 0; }
.pr-expert p { margin: 8px 0 0; }
.pr-expert p.pr-expert-role { margin-top: 4px; color: var(--pr-pink); font-weight: 700; }

/* ---------- Section rhythm (Neil, 11 Nov) ---------- */
.pr-main .pr-section, .pr-main .pr-page-head, .pr-main .pr-hero { margin-block: 0; }
.pr-section.pr-section-flush-bottom { padding-block-end: var(--pr-section); }
.pr-section:not(.has-background) + .pr-section:not(.has-background) { padding-block-start: 0; }
.pr-section.pr-section-flush-top { padding-block-start: var(--pr-section); }
.pr-section:not(.has-background) + .pr-section.pr-section-flush-top:not(.has-background) { padding-block-start: 0; }

/* ---------- Founder sign-off (About page) ---------- */
.pr-signoff { gap: 16px; margin-top: 32px; }
.pr-signoff .pr-signoff-photo { margin: 0; flex: none; }
.pr-signoff .pr-signoff-photo img { border-radius: 50%; }
.pr-signoff p.pr-signoff-name { margin: 0; line-height: 1.4; }
.pr-signoff p.pr-signoff-name strong { color: var(--pr-purple); }

/* ---------- Log in link (header) ---------- */
@media (min-width: 600px) {
	.pr-nav .pr-nav-login { margin-left: 8px; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.25); }
}
.pr-nav .pr-nav-login a::before {
	content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-7 8-7s8 3 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-7 8-7s8 3 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Mobile menu: current page label must be dark on the white overlay */
.pr-nav .wp-block-navigation__responsive-container.is-menu-open a[aria-current="page"],
.pr-nav .wp-block-navigation__responsive-container.is-menu-open a[aria-current="page"]:hover { color: var(--pr-purple, #3B2667) !important; }
