/*
Theme Name: DAparaIES
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daparaies
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts margin-block-start: var(--wp--style--block-gap) between the
   template's top-level sections (header part, main, footer part) — a gap that
   exists even when no markup asks for it. Zero it so sections butt edge-to-edge
   and own their vertical rhythm via padding; this does not affect block gaps
   inside nested layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

:root {
	--da-blue: var( --wp--preset--color--primary );
	--da-navy: var( --wp--preset--color--primary-dark );
	--da-gold: var( --wp--preset--color--accent );
	--da-cream: var( --wp--preset--color--accent-soft );
	--da-soft: var( --wp--preset--color--primary-soft );
	--da-surface: var( --wp--preset--color--surface );
	--da-border: var( --wp--preset--color--border );
	--da-text: var( --wp--preset--color--contrast );
	--da-radius: 14px;
	--da-shadow: 0 2px 18px rgba( 18, 41, 107, 0.07 );
	--da-shadow-lg: 0 10px 40px rgba( 18, 41, 107, 0.12 );
}

/* === base === */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks {
	overflow-x: clip;
}

p {
	margin-block: 0;
}

.da-eyebrow {
	color: var( --da-blue );
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-block-end: 0.9rem;
}

.da-eyebrow.has-text-align-center::after {
	content: "";
	display: block;
	width: 46px;
	height: 3px;
	border-radius: 2px;
	background: var( --da-blue );
	margin: 0.9rem auto 0;
}

.da-rule::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	border-radius: 2px;
	background: var( --da-blue );
	margin-block-start: 1.1rem;
}

.da-rule.has-text-align-center::after {
	margin-inline: auto;
}

.da-lead {
	font-size: 1.0625rem;
	color: #5a6070;
	line-height: 1.8;
}

.da-muted {
	color: #6b7180;
}

.da-gold {
	color: var( --da-gold );
}

.da-arrow .wp-element-button::after {
	content: "\2192";
	margin-inline-start: 0.75rem;
	font-weight: 400;
}

.da-btn-ghost .wp-element-button {
	background: transparent;
	color: var( --da-blue );
	border: 1.5px solid var( --da-blue );
}

.da-btn-ghost .wp-element-button:hover {
	background: var( --da-blue );
	color: #fff;
}

.da-btn-sq .wp-element-button {
	border-radius: 8px;
}

.wp-element-button {
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wp-element-button:hover {
	transform: translateY( -2px );
	box-shadow: 0 8px 22px rgba( 26, 76, 216, 0.25 );
}
/* === header === */
.da-header {
	background: #fff;
	border-bottom: 1px solid var( --da-border );
	position: sticky;
	top: 0;
	z-index: 90;
}

.da-header__inner {
	padding-block: 1.4rem 1.1rem;
	gap: 2rem;
	align-items: flex-start;
}

.da-logo {
	font-size: 2rem;
	line-height: 1;
	letter-spacing: -0.01em;
	margin: 0;
	flex: 0 0 auto;
}

.da-logo a {
	color: inherit;
	text-decoration: none;
}

.da-logo strong {
	color: var( --da-navy );
	font-weight: 800;
}

.da-logo span {
	color: #9aa0ac;
	font-weight: 600;
}

.da-header__right {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1rem;
}

.da-nav {
	font-size: 0.8125rem;
	font-weight: 500;
}

.da-nav .wp-block-navigation__container {
	gap: 1.6rem;
	row-gap: 0.6rem;
}

.da-nav a {
	color: #4c5261;
	position: relative;
	padding-block-end: 0.45rem;
	transition: color 0.2s ease;
}

.da-nav a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var( --da-blue );
	transform: scaleX( 0 );
	transform-origin: left;
	transition: transform 0.25s ease;
}

.da-nav a:hover,
.da-nav .current-menu-item > a {
	color: var( --da-blue );
}

.da-nav a:hover::after,
.da-nav .current-menu-item > a::after {
	transform: scaleX( 1 );
}

.da-search {
	margin: 0;
	max-width: 260px;
}

.da-search .wp-block-search__inside-wrapper {
	background: #f1f2f5;
	border: 1px solid #e7e9ee;
	border-radius: 999px;
	padding: 0.15rem 0.15rem 0.15rem 1rem;
}

.da-search .wp-block-search__input {
	background: transparent;
	border: 0;
	font-size: 0.8125rem;
	color: var( --da-text );
	padding: 0.45rem 0;
}

.da-search .wp-block-search__input:focus {
	outline: none;
}

.da-search .wp-block-search__button {
	background: transparent;
	border: 0;
	color: #8a90a0;
	padding: 0.35rem 0.7rem;
	box-shadow: none;
}

.da-search .wp-block-search__button:hover {
	color: var( --da-blue );
	transform: none;
	box-shadow: none;
}

.da-search .wp-block-search__button svg {
	width: 20px;
	height: 20px;
}

body.home .da-search .wp-block-search__inside-wrapper {
	background: #fff;
	border-color: #dfe4ef;
	border-radius: 5px;
	padding-block: 0.3rem;
}
/* === hero === */
.da-home {
	margin: 0;
}

.da-home-hero {
	min-height: 385px;
	display: flex;
	align-items: center;
	background: #fff url( "assets/images/home-waves.png" ) center bottom / cover no-repeat;
}

.da-home-hero__content {
	width: 100%;
	padding-block: 3rem 4rem;
}

.da-home-hero__title {
	max-width: 620px;
	margin: 0;
	font-size: clamp( 1.75rem, 2.55vw, 2.5rem );
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.025em;
}

.da-home-hero__title.da-rule::after {
	margin-block-start: 1.5rem;
}

.da-home-hero__actions {
	margin-block-start: 1.9rem;
}

.da-home-hero__actions .wp-element-button {
	min-width: 215px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.95rem 1.5rem;
}

/* === sections === */
.da-page {
	margin: 0;
}

.da-page-hero {
	min-height: 430px;
	display: flex;
	align-items: center;
	background-color: #f9fbff;
	background-image: linear-gradient( 90deg, rgba( 255, 255, 255, 0.98 ) 0%, rgba( 255, 255, 255, 0.9 ) 43%, rgba( 255, 255, 255, 0.08 ) 76% ), url( "assets/images/home-waves.png" );
	background-position: center, center bottom;
	background-size: cover;
	background-repeat: no-repeat;
}

.da-page--gold .da-page-hero {
	background-color: #fffaf4;
	background-image: linear-gradient( 90deg, rgba( 255, 255, 255, 0.98 ) 0%, rgba( 255, 250, 244, 0.88 ) 48%, rgba( 255, 255, 255, 0.05 ) 82% ), url( "assets/images/home-waves.png" );
}

.da-page-hero__copy {
	width: 100%;
	padding-block: 4rem;
}

.da-page-hero__title {
	max-width: 760px;
	margin: 0;
	font-size: clamp( 2.6rem, 5.5vw, 4.8rem );
	line-height: 1.06;
	letter-spacing: -0.035em;
	text-transform: none;
}

.da-page--implantacion .da-page-hero__title,
.da-page--evolucion .da-page-hero__title,
.da-page--reporteria .da-page-hero__title,
.da-page--integracion .da-page-hero__title,
.da-page--ecosistema-acreditacion .da-page-hero__title,
.da-page--representados .da-page-hero__title,
.da-page--imprenta-universal .da-page-hero__title {
	text-transform: uppercase;
}

.da-page--gold .da-page-hero__title,
.da-page--gold .da-page-hero__title::after {
	color: var( --da-gold );
}

.da-page--gold .da-page-hero__title::after {
	background: var( --da-gold );
}

.da-page-hero__subtitle {
	max-width: 720px;
	margin-block: 1.75rem 0;
	font-size: clamp( 1.35rem, 2.5vw, 2rem );
	line-height: 1.35;
}

.da-page-hero__intro {
	max-width: 640px;
	margin-block-start: 1.5rem;
	font-size: 1.05rem;
	line-height: 1.8;
	color: #4f5668;
}

.da-page-section {
	padding-block: 3.7rem;
}

.da-page-section:nth-child( odd ) {
	background: #f7f9fe;
}

.da-page--gold .da-page-section:nth-child( odd ) {
	background: #fffaf4;
}

.da-page-section__title {
	margin: 0 auto;
	max-width: 930px;
	font-size: clamp( 1.7rem, 3vw, 2.35rem );
}

.da-page-section__title.da-rule::after {
	margin-inline: auto;
}

.da-page--gold .da-page-section__title.da-rule::after,
.da-page--gold .da-page-card__title.da-rule::after {
	background: var( --da-gold );
}

.da-page-section__lead {
	max-width: 840px;
	margin: 1.35rem auto 0;
	font-size: 1rem;
	line-height: 1.8;
	color: #5a6070;
}

.da-page-cards {
	display: grid !important;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 1.25rem;
	margin-block: 2.5rem 0;
}

/* Centre incomplete card rows instead of leaving them anchored to the left. */
.da-page-cards:has( > .da-page-card:only-child ) {
	grid-template-columns: minmax( 0, 420px );
	justify-content: center;
}

.da-page-cards:has( > .da-page-card:nth-child( 2 ):last-child ) {
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	max-width: 860px;
	margin-inline: auto;
}

.da-page-card {
	min-width: 0;
	padding: 2rem;
	background: rgba( 255, 255, 255, 0.94 );
	border: 1px solid var( --da-border );
	border-radius: 12px;
	box-shadow: var( --da-shadow );
}

.da-page-card__icon {
	width: 42px;
	margin-block-end: 1rem;
	border-radius: 50%;
	background: #edf2ff;
	position: relative;
}

.da-page-card__icon::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 2px solid var( --da-blue );
	border-radius: 4px;
}

.da-page--gold .da-page-card__icon {
	background: #fff4e6;
}

.da-page--gold .da-page-card__icon::before {
	border-color: var( --da-gold );
}

/* Alcance: compact 27-module catalogue with contextual line-style symbols. */
.da-page--alcance .da-page-card {
	min-height: 112px;
	display: grid;
	grid-template-columns: 54px minmax( 0, 1fr );
	align-items: center;
	column-gap: 1rem;
	padding: 1.15rem 1.25rem;
}

.da-page--alcance .da-page-card__icon {
	grid-column: 1;
	grid-row: 1;
	width: 54px;
	height: 54px !important;
	margin: 0;
	background: transparent;
}

.da-page--alcance .da-page-card__icon::before {
	inset: 0;
	content: "";
	border: 0;
	border-radius: 0;
	background-image: url( "assets/images/alcance-module-icons-reference.png" );
	background-repeat: no-repeat;
	background-size: 740px 900px;
	background-position: var( --da-module-icon-x ) var( --da-module-icon-y );
}

.da-page--alcance .da-page-card__title {
	grid-column: 2;
	grid-row: 1;
	font-size: 0.98rem;
	line-height: 1.35;
}

.da-page--alcance .da-page-card__title::after,
.da-page--alcance .da-page-card__text {
	display: none;
}

.da-module-icon--planes { --da-module-icon-x: -74px; --da-module-icon-y: -36px; }
.da-module-icon--universidad { --da-module-icon-x: -276px; --da-module-icon-y: -36px; }
.da-module-icon--matricula { --da-module-icon-x: -482px; --da-module-icon-y: -36px; }
.da-module-icon--actas { --da-module-icon-x: -74px; --da-module-icon-y: -136px; }
.da-module-icon--calendario { --da-module-icon-x: -276px; --da-module-icon-y: -136px; }
.da-module-icon--economica { --da-module-icon-x: -482px; --da-module-icon-y: -136px; }
.da-module-icon--normativa { --da-module-icon-x: -74px; --da-module-icon-y: -235px; }
.da-module-icon--estudios { --da-module-icon-x: -276px; --da-module-icon-y: -235px; }
.da-module-icon--graduacion { --da-module-icon-x: -482px; --da-module-icon-y: -235px; }
.da-module-icon--formacion { --da-module-icon-x: -74px; --da-module-icon-y: -334px; }
.da-module-icon--empleo { --da-module-icon-x: -276px; --da-module-icon-y: -334px; }
.da-module-icon--admisiones { --da-module-icon-x: -74px; --da-module-icon-y: -432px; }
.da-module-icon--estadisticas { --da-module-icon-x: -276px; --da-module-icon-y: -432px; }
.da-module-icon--informes { --da-module-icon-x: -482px; --da-module-icon-y: -432px; }
.da-module-icon--elearning { --da-module-icon-x: -74px; --da-module-icon-y: -531px; }
.da-module-icon--evaluacion { --da-module-icon-x: -276px; --da-module-icon-y: -531px; }
.da-module-icon--egresados { --da-module-icon-x: -482px; --da-module-icon-y: -531px; }
.da-module-icon--internacional { --da-module-icon-x: -74px; --da-module-icon-y: -630px; }
.da-module-icon--analitica { --da-module-icon-x: -276px; --da-module-icon-y: -630px; }
.da-module-icon--tramitacion { --da-module-icon-x: -482px; --da-module-icon-y: -630px; }
.da-module-icon--portal { --da-module-icon-x: -74px; --da-module-icon-y: -727px; }
.da-module-icon--app { --da-module-icon-x: -276px; --da-module-icon-y: -727px; }
.da-module-icon--seguridad { --da-module-icon-x: -482px; --da-module-icon-y: -727px; }
.da-module-icon--carne { --da-module-icon-x: -74px; --da-module-icon-y: -825px; }
.da-module-icon--asistencia { --da-module-icon-x: -276px; --da-module-icon-y: -825px; }
.da-module-icon--bases { --da-module-icon-x: -482px; --da-module-icon-y: -825px; }

.da-page-card__title {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.3;
}

.da-page-card__title.da-rule::after {
	width: 34px;
	height: 2px;
	margin-block-start: 0.75rem;
}

.da-page-card__text {
	margin-block-start: 1.15rem;
	font-size: 0.94rem;
	line-height: 1.75;
	color: #555d70;
}

.da-page-list {
	margin-block: 1rem 0;
	padding-inline-start: 1.2rem;
	font-size: 0.9rem;
	line-height: 1.75;
}

.da-page-card .wp-block-buttons {
	margin-block-start: 1.5rem;
}

.da-page-card .wp-element-button {
	padding: 0.7rem 1.1rem;
	font-size: 0.82rem;
}

.da-faq {
	padding-block: 2rem 4rem;
}

.da-faq details {
	border-bottom: 1px solid var( --da-border );
	padding: 1.5rem 0;
}

.da-faq summary {
	color: var( --da-navy );
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
}

.da-faq details[open] {
	padding-inline: 1.5rem;
	background: #fffaf5;
	border-left: 3px solid var( --da-blue );
}

.da-faq details p {
	padding-block-start: 1rem;
	line-height: 1.8;
}

.da-contact-fields .da-page-card {
	box-shadow: none;
}

.da-contact-fields .da-page-card__icon,
.da-contact-fields .da-page-card__title::after {
	display: none;
}

.da-contact-fields .da-page-card__text {
	padding: 0.9rem 1rem;
	border: 1px solid var( --da-border );
	border-radius: 6px;
	background: #fff;
	color: #9298a7;
}

body.page-id-29 .da-cta,
body.page-id-30 .da-cta,
body.page-id-31 .da-cta {
	display: none;
}

.da-home-proposal {
	padding-block: 3.4rem 2.8rem;
}

.da-home-proposal__eyebrow {
	font-size: 0.875rem;
	letter-spacing: 0;
	margin-block-end: 2.8rem;
}

.da-home-proposal__cards {
	gap: 2rem;
	margin: 0;
}

.da-home-card {
	min-height: 355px;
	padding: 2.5rem 2.6rem 2.3rem;
	display: flex;
	flex-direction: column;
	background: linear-gradient( 135deg, #f7f9ff 0%, #f1f5ff 100% );
}

.da-home-card--accreditation {
	background: linear-gradient( 135deg, #fffaf5 0%, #fbf2e9 100% );
}

.da-home-card__icon {
	width: 46px;
	height: 46px;
	position: relative;
	margin-block-end: 1.45rem;
}

.da-home-card--digital .da-home-card__icon::before,
.da-home-card--digital .da-home-card__icon::after {
	content: "";
	position: absolute;
	width: 27px;
	height: 27px;
	border: 2px solid var( --da-blue );
	border-radius: 5px;
}

.da-home-card--digital .da-home-card__icon::before {
	top: 1px;
	left: 1px;
}

.da-home-card--digital .da-home-card__icon::after {
	right: 1px;
	bottom: 1px;
}

.da-home-card--accreditation .da-home-card__icon::before {
	content: "✓";
	display: grid;
	place-items: center;
	width: 42px;
	height: 46px;
	color: var( --da-gold );
	font-size: 1.25rem;
	font-weight: 700;
	border: 2px solid var( --da-gold );
	border-radius: 46% 46% 55% 55% / 24% 24% 70% 70%;
}

.da-home-card__title {
	font-size: 1.55rem;
	margin: 0;
}

.da-home-card__title.da-rule::after {
	width: 34px;
	height: 2px;
	margin-block-start: 0.85rem;
}

.da-home-card--accreditation .da-home-card__title.da-rule::after {
	background: var( --da-gold );
}

.da-home-card__text {
	font-size: 0.98rem;
	line-height: 1.9;
	margin-block-start: 1.6rem;
	max-width: 52ch;
}

.da-home-card__link {
	margin-block-start: auto;
	padding-block-start: 1.5rem;
	font-size: 0.9375rem;
	font-weight: 700;
}

.da-home-card__link a::after {
	content: "→";
	margin-inline-start: 1rem;
	font-size: 1.25rem;
}

.da-home-card--accreditation .da-home-card__link a {
	color: var( --da-gold );
}

.da-home-institutional {
	padding-block: 1.5rem 3.2rem;
}

.da-home-institutional__row {
	max-width: 980px;
	margin: 0 auto;
	gap: 1.8rem;
	display: grid !important;
	grid-template-columns: minmax( 90px, 16% ) minmax( 0, 1fr );
	align-items: center;
}

/* Do not rely on the inline flex-basis values serialized by WordPress. Some
   production migrations escape the percent sign and collapse the text column. */
.da-home-institutional__row > .wp-block-column {
	width: auto !important;
	min-width: 0;
	flex-basis: auto !important;
}

.da-home-institutional__icon {
	width: 70px;
	height: 68px;
	margin: 0 auto;
	position: relative;
	border-bottom: 4px solid var( --da-blue );
}

.da-home-institutional__icon::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 18px;
	width: 54px;
	height: 42px;
	background: repeating-linear-gradient( 90deg, var( --da-blue ) 0 3px, transparent 3px 13px );
	border-block: 3px solid var( --da-blue );
}

.da-home-institutional__icon::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 0;
	width: 62px;
	height: 22px;
	background: var( --da-blue );
	clip-path: polygon( 50% 0, 100% 75%, 100% 100%, 0 100%, 0 75% );
}

.da-home-institutional__text {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #30384a;
}

/* === cards === */
/* === lists === */
/* === accordion === */
/* === forms === */
/* === footer === */
.da-cta {
	background: var( --da-soft );
	padding-block: 2.6rem;
}

.da-cta__row {
	margin: 0;
	gap: 2rem;
}

.da-cta__title {
	font-size: clamp( 1.75rem, 3vw, 2.25rem );
	font-weight: 700;
	color: var( --da-navy );
	letter-spacing: -0.02em;
	margin: 0;
}

.da-cta__text {
	font-size: 0.9375rem;
	color: #4c5261;
	line-height: 1.9;
}

.da-cta__btn .wp-element-button {
	padding: 1.05rem 1.9rem;
	font-size: 0.9375rem;
	font-weight: 600;
	min-width: 280px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.da-footer__main {
	background: #fbfbfc;
	border-top: 1px solid var( --da-border );
	padding-block: 3.2rem 2.6rem;
}

.da-footer__cols {
	margin: 0;
	gap: 0;
}

.da-footer__cols .da-footer__col {
	border-left: 1px solid var( --da-border );
	padding-inline-start: 2rem;
}

.da-logo--footer {
	font-size: 1.6rem;
	margin-block-end: 1.2rem;
}

.da-footer__about {
	font-size: 0.875rem;
	line-height: 2;
	color: #5a6070;
	max-width: 30ch;
	margin-block-end: 1.6rem;
}

.da-footer__head {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var( --da-navy );
	margin-block-end: 1.35rem;
}

.da-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
}

.da-footer__list li {
	margin-block-end: 0.85rem;
}

.da-footer__list a {
	color: #4c5261;
	transition: color 0.2s ease;
}

.da-footer__list a:hover {
	color: var( --da-blue );
}

.da-footer__contact li {
	color: #4c5261;
	padding-inline-start: 1.9rem;
	position: relative;
}

.da-footer__contact li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.15rem;
	width: 1.05rem;
	height: 1.05rem;
	background: var( --da-blue );
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0116 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E" );
	mask-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0116 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E" );
}

.da-footer__contact li:nth-child( 2 )::before {
	-webkit-mask-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012.1 4.2 2 2 0 014.1 2h3a2 2 0 012 1.7c.1 1 .4 1.9.7 2.8a2 2 0 01-.5 2.1L8.1 9.9a16 16 0 006 6l1.3-1.2a2 2 0 012.1-.5c.9.3 1.8.6 2.8.7a2 2 0 011.7 2z'/%3E%3C/svg%3E" );
	mask-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012.1 4.2 2 2 0 014.1 2h3a2 2 0 012 1.7c.1 1 .4 1.9.7 2.8a2 2 0 01-.5 2.1L8.1 9.9a16 16 0 006 6l1.3-1.2a2 2 0 012.1-.5c.9.3 1.8.6 2.8.7a2 2 0 011.7 2z'/%3E%3C/svg%3E" );
}

.da-footer__contact li:nth-child( 3 )::before {
	-webkit-mask-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 7l10 6 10-6'/%3E%3C/svg%3E" );
	mask-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 7l10 6 10-6'/%3E%3C/svg%3E" );
}

.da-footer__col .wp-block-buttons {
	margin-block-start: 1.6rem;
}

.da-footer__col .da-btn-ghost .wp-element-button {
	padding: 0.7rem 1.2rem;
	font-size: 0.8125rem;
	font-weight: 600;
	min-width: 190px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.da-social {
	gap: 0.6rem;
}

.da-social .wp-social-link {
	background: #fff;
	border: 1px solid var( --da-border );
	border-radius: 10px;
	padding: 0.55rem;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.da-social .wp-social-link:hover {
	border-color: var( --da-blue );
	transform: translateY( -2px );
}

.da-footer__sub {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --da-blue );
	line-height: 1.9;
	margin-block: 1.5rem 1rem;
}

.da-newsletter {
	margin: 0;
}

.da-newsletter .wp-block-search__inside-wrapper {
	background: #fff;
	border: 1px solid var( --da-border );
	border-radius: 8px;
	padding: 0.1rem 0.1rem 0.1rem 0.9rem;
}

.da-newsletter .wp-block-search__input {
	background: transparent;
	border: 0;
	font-size: 0.8125rem;
	padding: 0.55rem 0;
}

.da-newsletter .wp-block-search__input:focus {
	outline: none;
}

.da-newsletter .wp-block-search__button {
	background: transparent;
	border: 0;
	color: var( --da-blue );
	box-shadow: none;
	padding: 0.3rem 0.6rem;
}

.da-newsletter .wp-block-search__button:hover {
	transform: none;
	box-shadow: none;
}

.da-footer__bottom {
	background: #fbfbfc;
	padding-block: 1.6rem 2.2rem;
}

.da-footer__bottom > * {
	border-top: 1px solid var( --da-border );
	padding-block-start: 1.6rem;
}

.da-footer__bottom > * + * {
	border-top: 0;
	padding-block-start: 0.9rem;
}

.da-footer__legal {
	font-size: 0.8125rem;
}

.da-footer__legal a {
	color: #4c5261;
}

.da-footer__legal a:hover {
	color: var( --da-blue );
}

.da-footer__legal span {
	color: #c9cdd8;
	margin-inline: 1.1rem;
}

.da-footer__copy {
	font-size: 0.8125rem;
	color: #5a6070;
}
/* === motion === */
/* === responsive === */
@media ( max-width: 1100px ) {
	.da-header__inner {
		align-items: center;
		flex-wrap: nowrap !important;
	}

	.da-header__right {
		min-width: 0;
	}

	/* WordPress keeps the full navigation visible above its phone breakpoint.
	   Switch to the overlay menu earlier so iPad portrait never crushes labels. */
	.da-nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.da-nav .wp-block-navigation__responsive-container:not( .is-menu-open ) {
		display: none !important;
	}

	.da-nav .wp-block-navigation__responsive-container.is-menu-open {
		display: flex !important;
	}

	.da-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: flex-start;
		width: 100%;
		gap: 0.6rem;
	}

	.da-nav .wp-block-navigation-item,
	.da-nav .wp-block-navigation-item__content {
		width: auto;
		max-width: none;
		word-break: normal;
		overflow-wrap: normal;
		white-space: normal;
	}

	.wp-block-column,
	.da-page-card,
	.da-home-card,
	.da-cta__row > .wp-block-column,
	.da-footer__cols > .wp-block-column {
		min-width: 0;
		word-break: normal;
		overflow-wrap: normal;
		hyphens: none;
	}

	/* Core keeps Columns on one unbreakable row above 781px. That makes the
	   five-column footer (present on every page) collapse on iPad Safari. */
	.da-footer__cols {
		flex-wrap: wrap !important;
		gap: 2rem 0;
	}

	.da-footer__cols > .wp-block-column {
		flex: 1 1 33.333% !important;
		width: auto;
	}

	.da-footer__cols > .wp-block-column:nth-child( 4 ),
	.da-footer__cols > .wp-block-column:nth-child( 5 ) {
		flex-basis: 50% !important;
	}
}

@media ( max-width: 900px ) {
	/* The institutional and call-to-action rows also need an earlier tablet
	   wrap than WordPress' default phone-only breakpoint. */
	.da-home-institutional__row,
	.da-cta__row {
		flex-wrap: wrap !important;
	}

	.da-home-institutional__row {
		grid-template-columns: 1fr;
	}

	.da-home-institutional__row > .wp-block-column,
	.da-cta__row > .wp-block-column {
		flex: 1 1 100% !important;
		width: 100%;
	}

	.da-cta__btn .wp-element-button {
		min-width: 0;
		width: 100%;
	}
}

@media ( max-width: 1100px ) {
	body.home .da-header__inner {
		gap: 1.25rem;
	}

	body.home .da-nav .wp-block-navigation__container {
		gap: 0.85rem;
	}

	body.home .da-nav {
		font-size: 0.72rem;
	}
}

@media ( max-width: 781px ) {
	.da-footer__cols > .wp-block-column,
	.da-footer__cols > .wp-block-column:nth-child( 4 ),
	.da-footer__cols > .wp-block-column:nth-child( 5 ) {
		flex: 1 1 100% !important;
	}

	.da-page-hero {
		min-height: 430px;
		align-items: flex-start;
		background-position: center, 62% bottom;
		background-size: cover, auto 66%;
	}

	.da-page-hero__copy {
		padding-block: 2.6rem 11rem;
	}

	.da-page-hero__title {
		font-size: clamp( 2.15rem, 11vw, 3.25rem );
	}

	.da-page-hero__subtitle {
		font-size: 1.25rem;
	}

	.da-page-hero__intro {
		font-size: 0.95rem;
	}

	.da-page-section {
		padding-block: 2.7rem;
	}

	.da-page-cards {
		grid-template-columns: 1fr;
	}

	.da-page-cards:has( > .da-page-card:only-child ),
	.da-page-cards:has( > .da-page-card:nth-child( 2 ):last-child ) {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.da-page-card {
		padding: 1.5rem;
	}

	.da-home-hero {
		min-height: 470px;
		align-items: flex-start;
		background-position: 58% bottom;
		background-size: auto 72%;
	}

	.da-home-hero__content {
		padding-block: 2.8rem 12rem;
	}

	.da-home-hero__title {
		font-size: clamp( 1.55rem, 6vw, 2rem );
		line-height: 1.35;
	}

	.da-home-proposal {
		padding-block: 2.8rem 2rem;
	}

	.da-home-proposal__cards {
		gap: 1.25rem;
	}

	.da-home-card {
		min-height: 330px;
		padding: 2rem 1.5rem;
	}

	.da-home-institutional {
		padding-block: 1.5rem 2.7rem;
	}

	.da-home-institutional__row {
		gap: 1rem;
		text-align: center;
	}

	.da-home-institutional__text {
		font-size: 0.98rem;
	}

	.da-cta__row {
		gap: 1.5rem;
	}

	.da-cta__btn .wp-element-button {
		min-width: 100%;
	}

	.da-footer__cols .da-footer__col {
		border-left: 0;
		padding-inline-start: 0;
		margin-block-start: 2rem;
	}
}

@media ( max-width: 520px ) {
	.da-header__inner {
		justify-content: space-between;
		gap: 1rem;
	}

	.da-header__right {
		flex: 0 0 auto;
	}

	/* Keep the compact phone header clear: search remains available from
	   the navigation overlay and the site content never gets squeezed. */
	.da-header .da-search {
		display: none;
	}

	.da-home-hero {
		min-height: 500px;
	}

	.da-home-hero__actions,
	.da-home-hero__actions .wp-block-button,
	.da-home-hero__actions .wp-element-button {
		width: 100%;
	}

	.da-home-card__title {
		font-size: 1.35rem;
	}
}
