/* ==========================================================================
   Día sin Deudas 2026 — homepage, header and result pages
   Plain CSS (no build step). Loaded by inc/edition-2026.php.
   ========================================================================== */

:root {
	--dsd26-blue: #007dfa;
	--dsd26-blue-dark: #003282;
	--dsd26-blue-light: #e8f4ff;
	--dsd26-green: #19be37;
	--dsd26-text: #000;
	--dsd26-radius: 999px;
	--dsd26-header-h: 120px;
}

.dsd26 [id] {
	scroll-margin-top: 24px;
}

body.dsd26 {
	background-color: #fff;
}

.dsd26 .visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Buttons ---------- */
.dsd26-btn {
	display: inline-block;
	min-width: 240px;
	padding: 14px 40px;
	border: 2px solid var(--dsd26-blue);
	border-radius: var(--dsd26-radius);
	background: var(--dsd26-blue);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(0, 125, 250, 0.25);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dsd26-btn:hover,
.dsd26-btn:focus-visible {
	background: #fff;
	color: var(--dsd26-blue);
	transform: translateY(-1px);
}

.dsd26-btn--outline {
	background: #fff;
	color: var(--dsd26-blue);
	box-shadow: 0 8px 18px rgba(0, 50, 130, 0.12);
}

.dsd26-btn--outline:hover,
.dsd26-btn--outline:focus-visible {
	background: var(--dsd26-blue);
	color: #fff;
}

.dsd26-btn:focus-visible,
.dsd26-header a:focus-visible,
.dsd26-header__toggle:focus-visible,
.dsd26-channel__preview:focus-visible {
	outline: 3px solid var(--dsd26-blue-dark);
	outline-offset: 3px;
}

/* ---------- Header ---------- */
.dsd26-header {
	position: relative;
	z-index: 50;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.dsd26-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--dsd26-header-h);
}

.dsd26-header__logo img {
	display: block;
	width: 280px;
	max-width: 100%;
	height: auto;
}

.dsd26-header__nav ul {
	display: flex;
	gap: 56px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dsd26-header__nav a {
	color: #1a1a1a;
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}

.dsd26-header__nav a:hover {
	color: var(--dsd26-blue);
}

.dsd26-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 48px;
	height: 48px;
	padding: 10px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.dsd26-header__bar {
	display: block;
	height: 3px;
	border-radius: 2px;
	background: var(--dsd26-blue-dark);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1199.98px) {
	.dsd26-header__nav ul {
		gap: 32px;
	}
}

@media (max-width: 991.98px) {
	:root {
		--dsd26-header-h: 84px;
	}

	.dsd26-header__logo img {
		width: 200px;
	}

	.dsd26-header__toggle {
		display: flex;
	}

	.dsd26-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		background: #fff;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
	}

	.dsd26-header.is-open .dsd26-header__nav {
		display: block;
	}

	.dsd26-header__nav ul {
		flex-direction: column;
		gap: 0;
		padding: 8px 0 16px;
	}

	.dsd26-header__nav a {
		display: block;
		padding: 14px 24px;
		font-size: 18px;
	}

	.dsd26-header.is-open .dsd26-header__bar:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.dsd26-header.is-open .dsd26-header__bar:nth-child(2) {
		opacity: 0;
	}

	.dsd26-header.is-open .dsd26-header__bar:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}
}

/* ---------- Shared text ---------- */
.dsd26-landing h2 {
	font-size: 40px;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.dsd26-text p {
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 1.5;
}

.dsd26-text p:last-child {
	margin-bottom: 0;
}

.dsd26-highlight {
	color: var(--dsd26-blue);
}

/* ---------- 1. Hero ---------- */
.dsd26-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 560px;
	overflow: hidden;
	background: #cfe6fb;
}

.dsd26-hero__bg {
	position: absolute;
	inset: 0;
	display: block;
}

.dsd26-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
}

.dsd26-hero .container {
	position: relative;
	z-index: 1;
}

.dsd26-hero__content {
	max-width: 470px;
	padding: 60px 0;
}

.dsd26-hero h1 {
	margin-bottom: 24px;
	font-size: 46px;
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.dsd26-hero p {
	margin-bottom: 32px;
	font-size: 20px;
	line-height: 1.45;
}

/* ---------- 2. Intro ---------- */
.dsd26-intro {
	padding: 64px 0;
	text-align: center;
}

.dsd26-intro h2 {
	margin-bottom: 32px;
	font-size: 28px;
	font-weight: 700;
}

.dsd26-intro .dsd26-text {
	max-width: 900px;
	margin: 0 auto;
}

/* ---------- 3. Profiles ---------- */
.dsd26-profiles {
	padding: 64px 0 72px;
	background: var(--dsd26-blue-light);
	text-align: center;
}

.dsd26-profiles h2 {
	margin-bottom: 16px;
}

.dsd26-profiles__sub {
	margin-bottom: 40px;
	font-size: 20px;
}

.dsd26-profiles__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.dsd26-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dsd26-profile__icon {
	width: 52px;
	height: 52px;
	margin-bottom: 10px;
}

.dsd26-profile__name {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	max-width: 190px;
	min-height: 40px;
	margin-bottom: 12px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
}

.dsd26-profile__img {
	width: 100%;
	max-width: 260px;
	height: auto;
}

/* ---------- 4. YouTube channel ---------- */
.dsd26-channel {
	padding: 72px 0;
}

.dsd26-channel__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr 1.2fr;
	align-items: center;
	gap: 40px;
}

.dsd26-channel__logo img {
	width: 100%;
	max-width: 340px;
	height: auto;
}

.dsd26-channel h2 {
	margin-bottom: 16px;
	font-size: 34px;
}

.dsd26-channel .dsd26-text p {
	margin-bottom: 16px;
	font-size: 16px;
}

.dsd26-channel .dsd26-text {
	margin-bottom: 28px;
}

.dsd26-channel__preview {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dsd26-channel__preview:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.dsd26-channel__preview img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- 5. About ---------- */
.dsd26-about {
	padding: 64px 0 72px;
	background: var(--dsd26-blue-light);
	text-align: center;
}

.dsd26-about h2 {
	margin-bottom: 28px;
}

.dsd26-about .dsd26-text {
	max-width: 1000px;
	margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
	.dsd26-channel__grid {
		grid-template-columns: 1fr 1fr;
	}

	.dsd26-channel__logo {
		grid-column: 1 / -1;
		text-align: center;
	}
}

@media (max-width: 991.98px) {
	.dsd26-landing h2 {
		font-size: 30px;
	}

	.dsd26-hero {
		align-items: flex-start;
		min-height: 0;
	}

	.dsd26-hero__bg {
		position: relative;
		order: 2;
	}

	.dsd26-hero {
		flex-direction: column;
		background: linear-gradient(180deg, #fff 0%, #e3f1fe 100%);
	}

	/* Mobile: dedicated image (hero-mobile.webp) shown in full. */
	.dsd26-hero__bg {
		width: 100%;
		height: auto;
	}

	.dsd26-hero__bg img {
		height: auto;
		object-fit: contain;
	}

	.dsd26-hero__content {
		max-width: none;
		padding: 40px 0 8px;
		text-align: center;
	}

	.dsd26-hero h1 {
		font-size: 32px;
	}

	.dsd26-hero p {
		font-size: 18px;
		margin-bottom: 24px;
	}

	.dsd26-profiles__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 16px;
	}

	.dsd26-channel__grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.dsd26-channel__logo img {
		max-width: 260px;
	}
}

@media (max-width: 575.98px) {
	.dsd26-btn {
		min-width: 0;
		width: 100%;
		max-width: 320px;
		font-size: 20px;
	}

	.dsd26-hero h1 {
		font-size: 28px;
	}

	.dsd26-intro,
	.dsd26-profiles,
	.dsd26-channel,
	.dsd26-about {
		padding: 48px 0;
	}

	.dsd26-intro h2 {
		font-size: 22px;
	}

	.dsd26-landing h2 {
		font-size: 26px;
	}

	.dsd26-text p {
		font-size: 16px;
	}

	.dsd26-profile__name {
		font-size: 14px;
	}
}

/* ---------- Result pages (2026 quiz) ---------- */
.dsd26-result__heading {
	margin-bottom: 40px !important;
	text-align: center;
}

.dsd26-result__kicker {
	display: block;
	color: var(--dsd26-text);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
}

.dsd26-result__title {
	display: block;
	color: var(--dsd26-green);
	font-size: 64px;
	font-weight: 900;
	line-height: 1.1;
}

.dsd26-result__img {
	display: block;
	width: 100%;
	max-width: 440px;
	height: auto !important;
	margin: 0 auto;
}

.dsd26-result.thankyou .thankyou-content.dsd26-result__content h4 {
	margin: 0 0 12px;
	color: #1474cb;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.3;
}

.dsd26-result.thankyou .thankyou-content.dsd26-result__content h5 {
	margin: 16px 0 8px;
	color: #000;
	font-size: 18px;
	font-weight: 700;
}

.dsd26-result.thankyou .thankyou-content.dsd26-result__content p {
	margin: 0 0 14px !important;
	font-size: 18px !important;
	line-height: 1.5 !important;
	text-align: left !important;
}

.dsd26-result.thankyou .dsd26-result__content p + h4,
.dsd26-result.thankyou .dsd26-result__content ul + h4 {
	margin-top: 24px;
}

.dsd26-result.thankyou .thankyou-content.dsd26-result__content ul {
	margin: 0 0 14px !important;
	padding-left: 24px !important;
	list-style: disc;
}

.dsd26-result.thankyou .thankyou-content.dsd26-result__content li {
	margin-bottom: 6px;
	font-size: 17px;
	line-height: 1.45;
}

/* Hide the "equal keywords" text and any extra result if Quiz Maker shows more than one. */
.dsd26-result ~ .dsd26-result,
.ays-quiz-interval-equal-keywords-text-box:has(+ .ays-quiz-interval-message-box .dsd26-result) {
	display: none !important;
}

@media (max-width: 991.98px) {
	.dsd26-result__kicker {
		font-size: 26px;
	}

	.dsd26-result__title {
		font-size: 36px;
	}

	.dsd26-result__img {
		max-width: 320px;
		margin-bottom: 24px;
	}
}
