@charset "UTF-8";

/*
 * Brand and information pages (docs/superpowers/specs/2026-10-11-brand-pages-design.md).
 * Loaded on pages only; the markup lives in dadsoo-core/src/Content/pages/<slug>.html.
 * Components are listed in design/tokens.md § Components.
 */

/* Designed pages (content wrapped in .dadsoo-brand) use the wide column, not the 840px reading width. */
.dadsoo-page:has(.dadsoo-brand) {
	max-inline-size: var(--wp--style--global--wide-size);
}

.entry-content .dadsoo-brand {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--70);
}

.entry-content .dadsoo-brand > *,
.entry-content :is(.dadsoo-team, .dadsoo-stats, .dadsoo-card-list, .dadsoo-support-list, .dadsoo-faq) > * {
	margin-block: 0;
}

/* A text section: heading and paragraphs keep a reading rhythm. */
.entry-content .dadsoo-section {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-section > * {
	margin-block: 0;
}

.entry-content .dadsoo-section h1 {
	color: var(--wp--preset--color--heading);
	font-size: var(--wp--preset--font-size--xl);
}

/* Logo band at the top of «داستان دادسو» (the page's featured image on the old site). */
.entry-content .dadsoo-banner {
	padding: var(--wp--preset--spacing--70);
	border-radius: var(--wp--custom--radius--lg);
	background: linear-gradient(110deg, var(--wp--preset--color--surface-alt) 0%, var(--wp--preset--color--white) 45%, var(--wp--preset--color--white) 60%, var(--wp--preset--color--surface-alt) 100%);
	box-shadow: var(--wp--preset--shadow--sm);
}

/* The logo is decoration (the page title follows), drawn from the theme. */
.entry-content .dadsoo-banner::before {
	display: block;
	block-size: 90px;
	background: url("../img/logo.svg") no-repeat center / contain;
	content: "";
}

.entry-content .dadsoo-brand h2 {
	margin: 0;
	color: var(--wp--preset--color--heading);
	font-size: var(--wp--preset--font-size--lg);
}

.entry-content .dadsoo-brand:has(.dadsoo-stats) h2 {
	font-size: 30px;
}

/* Long article pages (courts, Iranians abroad): 40px title on every screen, as on the old pages. */
.entry-content .dadsoo-brand:has(.dadsoo-article) h1 {
	font-size: 40px;
}

.entry-content .dadsoo-brand:has(.dadsoo-form-card) h1 {
	font-size: 32px;
}

/* Phones: 14px text, 16px on «داستان دادسو» and jobs, as on the old pages. */
@media (max-width: 767px) {
	.entry-content .dadsoo-brand {
		font-size: var(--wp--preset--font-size--sm);
	}

	.entry-content .dadsoo-brand:has(.dadsoo-stats, .dadsoo-form-card) {
		font-size: 16px;
	}

	.entry-content .dadsoo-brand:has(.dadsoo-stats) h2 {
		font-size: 18px;
	}

	.entry-content .dadsoo-brand:has(.dadsoo-form-card) h1 {
		font-size: 18px;
	}
}

/* Header band: full-bleed cover with the title in a dark box. */
.entry-content .dadsoo-page-hero {
	min-block-size: 280px;
	margin-inline: calc(50% - 50vw);
	padding-block-end: calc(var(--wp--preset--spacing--80) + var(--wp--preset--spacing--40));
	text-align: center;
}

.entry-content .dadsoo-page-hero h1 {
	display: inline-block;
	margin: 0;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--60);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--custom--overlay);
	color: var(--wp--preset--color--white);
	font-size: 40px;
	line-height: 1.5;
}

.entry-content .dadsoo-page-hero :is(.wp-block-post-date, .wp-block-post-author-name) {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--sm);
}

/* White sheet that rises over the header band. */
.entry-content .dadsoo-page-sheet {
	position: relative;
	margin-block-start: calc(-1 * (var(--wp--preset--spacing--80) + var(--wp--preset--spacing--70)));
	padding: var(--wp--preset--spacing--60);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
}

/* People: photo, name and role. */
.entry-content .dadsoo-team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.entry-content .dadsoo-team > .wp-block-group {
	display: grid;
	grid-template-columns: 107px minmax(0, 1fr);
	align-content: center;
	column-gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-team .wp-block-image {
	grid-row: 1 / span 2;
	margin: 0;
}

.entry-content .dadsoo-team .wp-block-image img {
	inline-size: 107px;
	block-size: 107px;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--md);
}

.entry-content .dadsoo-team__name {
	align-self: end;
	margin: 0;
	color: var(--wp--preset--color--heading);
	font-size: calc(var(--wp--preset--font-size--base) * 1.125);
	font-weight: 400;
}

.entry-content .dadsoo-team > .wp-block-group > * {
	margin-block: 0;
}

.entry-content .dadsoo-team__role {
	align-self: start;
	color: var(--wp--preset--color--text-muted);
	font-size: calc(var(--wp--preset--font-size--base) * 1.125);
}

/* People as cards: photo rising over the card's start edge, name and bio beside it. */
.entry-content .dadsoo-team--cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	row-gap: var(--wp--preset--spacing--80);
	padding-block-start: var(--wp--preset--spacing--70);
}

.entry-content .dadsoo-team--cards > .wp-block-group {
	grid-template-columns: minmax(0, 1fr) 140px;
	align-content: start;
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: radial-gradient(circle at 0 100%, var(--wp--preset--color--surface-brand) 0 120px, transparent 121px) var(--wp--preset--color--white);
}

.entry-content .dadsoo-team--cards .wp-block-image {
	grid-column: 2;
	grid-row: 1 / span 2;
	margin-block-start: calc(-1 * var(--wp--preset--spacing--70) - var(--wp--preset--spacing--50));
}

.entry-content .dadsoo-team--cards .wp-block-image img {
	inline-size: 140px;
	block-size: 140px;
}

.entry-content .dadsoo-team--cards .dadsoo-team__name {
	grid-column: 1;
	grid-row: 1;
	font-size: 18px;
	font-weight: 700;
}

@media (max-width: 767px) {
	.entry-content .dadsoo-team--cards .dadsoo-team__name {
		font-size: 16px;
	}
}

.entry-content .dadsoo-team--cards .dadsoo-team__bio {
	grid-column: 1 / -1;
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.9;
}

/* Stats boxes. */
.entry-content .dadsoo-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-stats > .wp-block-group {
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
	text-align: center;
}

.entry-content .dadsoo-stats__number {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
}

.entry-content .dadsoo-stats__label {
	color: var(--wp--preset--color--heading);
	font-size: 20px;
	font-weight: 700;
}

@media (max-width: 767px) {
	.entry-content .dadsoo-stats__label {
		font-size: var(--wp--preset--font-size--sm);
	}
}

/* Numbered questions: one counter across every topic, the first question open. */
.entry-content .dadsoo-faq {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	counter-reset: dadsoo-faq;
}

.entry-content .dadsoo-faq h2:not(:first-child) {
	margin-block-start: var(--wp--preset--spacing--50);
}

.entry-content .dadsoo-faq details {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
	counter-increment: dadsoo-faq;
}

.entry-content .dadsoo-faq summary {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 16px;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--heading);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.entry-content .dadsoo-faq summary::-webkit-details-marker {
	display: none;
}

.entry-content .dadsoo-faq details {
	margin: 0;
	padding: 0;
}

.entry-content .dadsoo-faq details[open] summary {
	margin-block-end: 0;
	color: var(--wp--preset--color--heading);
}

/* Badge look from main.css (details blocks); only the counter runs across every topic here. */
.entry-content .dadsoo-faq summary::before {
	inline-size: 40px;
	block-size: 40px;
	content: counter(dadsoo-faq, persian);
}

.entry-content .dadsoo-faq summary::after {
	inline-size: 8px;
	block-size: 8px;
	margin-block-start: -4px;
	border: 0;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	content: "";
}

.entry-content .dadsoo-faq details[open] summary::after {
	margin-block-start: 4px;
	transform: rotate(-135deg);
}

.entry-content .dadsoo-faq details > :not(summary) {
	margin: 0;
	padding: 0 var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
	font-size: 18px;
	line-height: 2;
}

@media (max-width: 767px) {
	.entry-content .dadsoo-faq details > :not(summary) {
		font-size: var(--wp--preset--font-size--sm);
	}
}

/* Sections in cards. */
.entry-content .dadsoo-card-list {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-card-list > .wp-block-group {
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
}

.entry-content .dadsoo-card-list h2 {
	margin-block-end: var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--base);
}

/* Invitation box: image beside text and a button. */
.entry-content .dadsoo-cta-box p {
	font-size: var(--wp--preset--font-size--sm);
}

.entry-content .dadsoo-cta-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	align-items: center;
	gap: var(--wp--preset--spacing--60);
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--surface-brand);
}

.entry-content .dadsoo-cta-box .wp-block-image img {
	border-radius: var(--wp--custom--radius--lg);
}

/* Contact box: striped background; the form card stands in an envelope whose back and front pocket share its
   edges (front 633:267 artwork from the old page, 9% wider than the card); the paper plane points at the heading. */
.entry-content .dadsoo-contact-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--60);
	margin-block-end: 210px;
	padding: var(--wp--preset--spacing--80) var(--wp--preset--spacing--70) 0;
	border-radius: var(--wp--custom--radius--lg);
	background:
		radial-gradient(ellipse at 50% 20%, var(--wp--preset--color--white) 0, transparent 60%),
		repeating-linear-gradient(135deg, var(--wp--preset--color--surface-alt) 0 14px, var(--wp--preset--color--surface) 14px 28px);
}

.entry-content .dadsoo-contact-box__form {
	position: relative;
	align-self: end;
	padding-inline: 4.2%;
}

.entry-content .dadsoo-contact-box__form::before,
.entry-content .dadsoo-contact-box__form::after {
	position: absolute;
	inset-inline: 0;
	pointer-events: none;
	content: "";
}

/* Back panel behind the card. */
.entry-content .dadsoo-contact-box__form::before {
	inset-block: auto 0;
	block-size: 290px;
	border-radius: 28px 28px 0 0;
	background: var(--wp--preset--color--surface-alt);
}

/* Front pocket over the card's lower part, hanging below the box. */
.entry-content .dadsoo-contact-box__form::after {
	z-index: 2;
	inset-block-start: calc(100% - 118px);
	aspect-ratio: 633 / 267;
	background: url("../img/contact/envelope-front.svg") no-repeat center top / 100% 100%;
}

.entry-content .dadsoo-contact-box__card {
	position: relative;
	z-index: 1;
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) 140px;
	border-radius: var(--wp--custom--radius--lg) var(--wp--custom--radius--lg) 0 0;
	background: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.entry-content h2.dadsoo-contact-box__title {
	position: relative;
	align-self: center;
	max-inline-size: 7em;
	margin-inline: auto;
	color: var(--wp--preset--color--heading);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.6;
}

/* The old page's paper plane (228×111, tip at its bottom-left corner) above the heading's start side. */
.entry-content .dadsoo-contact-box__title::before {
	position: absolute;
	inset-block-end: calc(100% - 4px);
	inset-inline-start: -60px;
	inline-size: 280px;
	block-size: 136px;
	background: url("../img/contact/paper-plane.svg") no-repeat center / contain;
	content: "";
}

/* Heading with a small primary triangle (as on the old contact page). */
.entry-content .dadsoo-heading-mark::after {
	display: inline-block;
	margin-inline-start: var(--wp--preset--spacing--20);
	border-block: 6px solid transparent;
	border-inline-end: 8px solid var(--wp--preset--color--primary);
	vertical-align: middle;
	content: "";
}

.entry-content .dadsoo-contact-card {
	justify-self: start;
	inline-size: min(100%, 420px);
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
}

/* Contact details card beside the office map. */
.entry-content .dadsoo-contact-row {
	display: grid;
	grid-template-columns: 420px minmax(0, 1fr);
	align-items: stretch;
	gap: var(--wp--preset--spacing--50);
}

.entry-content .dadsoo-contact-row > * {
	margin-block: 0;
}

.entry-content .dadsoo-contact-row .dadsoo-contact-card {
	inline-size: auto;
}

.dadsoo-contact-map {
	position: relative;
	min-block-size: 360px;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--surface-alt);
}

/* Grey, and a picture rather than a widget: the Dadsoo marker sits on the centre, which is the office. */
.dadsoo-contact-map iframe {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
	filter: grayscale(1);
	pointer-events: none;
}

.dadsoo-contact-map__link {
	position: absolute;
	inset: 0;
}

/* The pin's tip is at 50% / 90% of the artwork (182, 191 of 364 × 212). */
.dadsoo-contact-map__marker {
	position: absolute;
	inset-block-start: 50%;
	left: 50%;
	inline-size: 260px;
	block-size: auto;
	transform: translate(-50%, -90%);
}

/* Careers: picture column and the form in a card with two-column fields. */
.entry-content .dadsoo-jobs__image img {
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--sm);
}

.entry-content .dadsoo-form-card {
	justify-self: center;
	inline-size: min(100%, 560px);
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
}

.entry-content .dadsoo-form-card .dadsoo-form--jobs {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-content .dadsoo-form-card .dadsoo-form--jobs > :not(.dadsoo-form__field--text, .dadsoo-form__field--mobile, .dadsoo-form__field--email) {
	grid-column: 1 / -1;
}

/* FAQ: questions beside a side box that stays in view; support links with brand badges. */
.entry-content .dadsoo-page-sheet > .wp-block-columns {
	gap: var(--wp--preset--spacing--70);
	margin: 0;
}

.entry-content .dadsoo-faq-aside {
	position: sticky;
	inset-block-start: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header-height) + var(--wp--preset--spacing--50));
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-faq-aside > * {
	margin-block: 0;
}

.entry-content .dadsoo-faq-aside__media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-faq-aside__image {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
}

.entry-content .dadsoo-support-list {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.entry-content .dadsoo-support {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
}

.entry-content .dadsoo-support::before {
	grid-row: 1 / span 2;
	align-self: center;
	block-size: 36px;
	border-radius: 50%;
	background: var(--dadsoo-support-icon) no-repeat center / 18px, var(--dadsoo-support-color);
	content: "";
}

.entry-content .dadsoo-support--telegram {
	--dadsoo-support-icon: url("../img/brands/telegram.svg");
	--dadsoo-support-color: var(--wp--preset--color--telegram);
}

.entry-content .dadsoo-support--whatsapp {
	--dadsoo-support-icon: url("../img/brands/whatsapp.svg");
	--dadsoo-support-color: var(--wp--preset--color--whatsapp);
}

.entry-content .dadsoo-support > * {
	margin: 0;
}

.entry-content .dadsoo-support__title a {
	color: var(--wp--preset--color--heading);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	text-decoration: none;
}

.entry-content .dadsoo-support__title a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.entry-content .dadsoo-support {
	position: relative;
}

.entry-content .dadsoo-support__note {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--xs);
}

/* Date and author under the title in a header band. */
.entry-content .dadsoo-page-hero__meta {
	display: flex;
	justify-content: center;
	gap: var(--wp--preset--spacing--40);
	margin-block-start: var(--wp--preset--spacing--30);
}

/* Services and utility pages (spec §8). */

/* Text beside a picture. */
.entry-content .dadsoo-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	align-items: start;
	gap: var(--wp--preset--spacing--60);
}

.entry-content .dadsoo-intro > * {
	margin-block: 0;
}

.entry-content .dadsoo-intro img {
	border-radius: var(--wp--custom--radius--lg);
}

/* Long article text on a designed page: sub-headings sized as on the old pages. */
.entry-content .dadsoo-article h2 {
	margin-block-start: var(--wp--preset--spacing--40);
	font-size: 32px;
}

.entry-content .dadsoo-article h3 {
	margin: var(--wp--preset--spacing--20) 0 0;
	color: var(--wp--preset--color--heading);
	font-size: 28px;
}

/* Court cards: picture at the end, name, details list and the map button. */
.entry-content .dadsoo-court-list {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-court-list > * {
	margin-block: 0;
}

.entry-content .dadsoo-court {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	align-items: center;
	gap: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.entry-content .dadsoo-court__image {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
}

.entry-content .dadsoo-court__image img {
	inline-size: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--md);
}

.entry-content .dadsoo-court__body {
	display: grid;
	gap: var(--wp--preset--spacing--20);
}

.entry-content .dadsoo-court__body > * {
	margin-block: 0;
}

.entry-content .dadsoo-court__body h2 {
	font-size: 25px;
	font-weight: 500;
}

.entry-content .dadsoo-court__body ul {
	padding-inline-start: var(--wp--preset--spacing--40);
	font-size: 18px;
	line-height: 2;
}

@media (max-width: 767px) {
	.entry-content .dadsoo-court__body h2 {
		font-size: 20px;
	}

	.entry-content .dadsoo-court__body ul {
		font-size: var(--wp--preset--font-size--sm);
	}
}

.entry-content .dadsoo-court__body li::marker {
	color: var(--wp--preset--color--orange);
}

.entry-content .dadsoo-court__map .wp-block-button__link {
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--orange);
	font-size: var(--wp--preset--font-size--base);
}

.entry-content .dadsoo-court__map .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--wp--preset--color--orange) 85%, var(--wp--preset--color--heading));
}

/* Payment: form beside the large logo. */
.entry-content .dadsoo-pay {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--70);
}

.entry-content .dadsoo-pay > *,
.entry-content .dadsoo-pay__form > * {
	margin-block: 0;
}

.entry-content .dadsoo-pay__form {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

.entry-content .dadsoo-pay__form h2 {
	font-size: 40px;
}

@media (max-width: 767px) {
	.entry-content .dadsoo-pay__form h2 {
		font-size: 30px;
	}
}

.entry-content .dadsoo-pay__form h1 {
	color: var(--wp--preset--color--heading);
	font-size: var(--wp--preset--font-size--xl);
}

.entry-content .dadsoo-pay__logo {
	justify-self: center;
	margin: 0;
}

.entry-content .dadsoo-pay__logo img {
	inline-size: 170px;
}

/* Client information: wide form card, two-column fields. */
.entry-content .dadsoo-form-card--wide {
	inline-size: min(100%, 760px);
}

.entry-content .dadsoo-form-card__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
}

.entry-content .dadsoo-form-card__note {
	margin-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

/* Client information: two-column fields inside each step. */
.entry-content .dadsoo-form-card .dadsoo-form--client-info .dadsoo-form__step {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-content .dadsoo-form-card .dadsoo-form--client-info .dadsoo-form__step > :is(.dadsoo-form__step-title, .dadsoo-form__field--textarea) {
	grid-column: 1 / -1;
}

/* Dowry calculator: fields side by side, the button under them. */
.entry-content .dadsoo-brand .dadsoo-dowry {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	align-items: end;
}

.entry-content .dadsoo-brand .dadsoo-dowry > :not(.dadsoo-form__field) {
	grid-column: 1 / -1;
}

.entry-content .dadsoo-brand .dadsoo-dowry button {
	justify-self: start;
	min-inline-size: 140px;
}

/* Confirmation box at the old page's width. */
.entry-content .dadsoo-brand .dadsoo-alert {
	max-inline-size: 640px;
}

.entry-content .dadsoo-alert > * {
	margin-block: 0;
}

.entry-content .dadsoo-alert__title {
	font-weight: 700;
}

/* Contact details card (dadsoo/contact-info). */
.dadsoo-contact {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	margin: 0;
	padding: 0;
	list-style: none;
}

.dadsoo-contact__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	column-gap: var(--wp--preset--spacing--40);
}

.dadsoo-contact__badge {
	display: grid;
	grid-row: 1 / span 2;
	place-items: center;
	block-size: 48px;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--white);
}

.dadsoo-contact__label {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--base);
}

.dadsoo-contact__value {
	color: var(--wp--preset--color--heading);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 700;
}

.dadsoo-contact__value a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.entry-content .dadsoo-team {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.entry-content .dadsoo-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.entry-content .dadsoo-team,
	.entry-content .dadsoo-team--cards,
	.entry-content .dadsoo-contact-row,
	.entry-content .dadsoo-intro,
	.entry-content .dadsoo-court,
	.entry-content .dadsoo-pay,
	.entry-content .dadsoo-form-card .dadsoo-form--client-info .dadsoo-form__step,
	.entry-content .dadsoo-cta-box,
	.entry-content .dadsoo-contact-box {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-content .dadsoo-page-sheet,
	.entry-content .dadsoo-contact-box {
		padding: var(--wp--preset--spacing--40);
	}

	/* Phones: heading first, plain card (no envelope), single-column job fields. */
	.entry-content .dadsoo-contact-box {
		margin-block-end: 0;
	}

	.entry-content h2.dadsoo-contact-box__title {
		order: -1;
		padding-block-start: 110px;
		font-size: 18px;
	}

	.entry-content .dadsoo-contact-box__title::before {
		inset-block: 0 auto;
		inset-inline-start: 0;
		inline-size: 200px;
		block-size: 97px;
	}

	.entry-content .dadsoo-team:not(.dadsoo-team--cards) > .wp-block-group {
		grid-template-columns: 104px minmax(0, 1fr);
	}

	.entry-content .dadsoo-team:not(.dadsoo-team--cards) .wp-block-image img {
		inline-size: 104px;
		block-size: 104px;
	}

	.entry-content .dadsoo-team:not(.dadsoo-team--cards) :is(.dadsoo-team__name, .dadsoo-team__role) {
		font-size: var(--wp--preset--font-size--sm);
	}

	.entry-content .dadsoo-contact-box__form {
		padding-inline: 0;
	}

	.entry-content .dadsoo-contact-box__form::before,
	.entry-content .dadsoo-contact-box__form::after {
		display: none;
	}

	.entry-content .dadsoo-contact-box__card {
		padding-block-end: var(--wp--preset--spacing--50);
		border-radius: var(--wp--custom--radius--lg);
	}

	.entry-content .dadsoo-form-card .dadsoo-form--jobs {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-content .dadsoo-page-hero h1 {
		font-size: 20px;
	}

	.entry-content .dadsoo-faq-aside {
		position: static;
	}

	.entry-content .dadsoo-court__image {
		grid-column: auto;
	}

	/* Phones: the form only, no logo (owner, 2026-11-14). */
	.entry-content .dadsoo-pay__logo {
		display: none;
	}
}
