/*
 * Drop Dive Maldives — global theme styles.
 *
 * Design tokens (colours, fonts, sizes, spacing) are defined in theme.json and
 * editable in Appearance → Editor → Styles. This file only uses those tokens.
 *
 * 1. Base          5. Block styles (variations)
 * 2. Typography    6. Sections & layout helpers
 * 3. Buttons       7. Footer
 * 4. Forms         8. Motion (reveal / parallax) & accessibility
 */

/* 1. Base ------------------------------------------------------------------ */

:root {
	--dd-header-h: var(--wp--custom--header--height-mobile, 68px);
	--dd-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dd-gutter: var(--wp--preset--spacing--gutter);
	--dd-stripes: url("../img/tiger-stripes.svg");
	--dd-divider: url("../img/tiger-divider.svg");
	--dd-edge: url("../img/tiger-edge.svg");
	--dd-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 18l6-6M13 6l6 6'/%3E%3C/svg%3E");
	--dd-check: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

@media (min-width: 1280px) {
	:root {
		--dd-header-h: var(--wp--custom--header--height, 88px);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--dd-header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--wp--preset--color--accent-bright);
	color: var(--wp--preset--color--bg-primary);
}

img,
video,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-bright);
	outline-offset: 3px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--white);
	clip: auto !important;
	clip-path: none;
	color: var(--wp--preset--color--bg-primary);
	height: auto;
	left: 8px;
	padding: 12px 18px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

/* Main content starts under the fixed header on pages without a hero. */
.dd-no-hero .dd-main:not(.dd-main--simple) {
	padding-top: var(--dd-header-h);
}

.dd-main {
	margin-block: 0;
}

/* Remove the default gap between template parts / main. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.dd-main > .wp-block-post-content > * + .alignfull,
.dd-main > .wp-block-post-content > .alignfull + * {
	margin-block-start: 0;
}

/* 2. Typography ------------------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

strong,
b {
	color: var(--wp--preset--color--text-primary);
	font-weight: 600;
}

/* Eyebrow: small tracked label above titles. */
.is-style-eyebrow {
	color: rgba(242, 246, 249, 0.82);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--eyebrow) !important;
	font-weight: 600;
	letter-spacing: var(--wp--custom--tracking--eyebrow, 0.28em);
	line-height: 1.4;
	text-transform: uppercase;
}

h1.is-style-eyebrow,
h2.is-style-eyebrow,
h3.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body);
}

/* Subtitle: light condensed line under a title. */
.is-style-subtitle {
	color: rgba(242, 246, 249, 0.92);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 300;
	letter-spacing: var(--wp--custom--tracking--subtitle, 0.06em);
	line-height: 1.25;
	text-transform: uppercase;
}

.is-style-lead {
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.55;
}

.is-style-caption {
	font-size: var(--wp--preset--font-size--caption);
	letter-spacing: 0.02em;
}

.wp-block-heading.is-style-display {
	font-size: var(--wp--preset--font-size--hero);
	line-height: 0.9;
}

/* 3. Buttons --------------------------------------------------------------- */

.wp-block-button__link,
.wp-element-button {
	align-items: center;
	display: inline-flex;
	gap: 0.6em;
	justify-content: center;
	min-height: 44px;
	transition: background-color 220ms var(--dd-ease), border-color 220ms var(--dd-ease), box-shadow 220ms var(--dd-ease), color 220ms var(--dd-ease);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible {
	box-shadow: 0 0 0 1px rgba(58, 171, 229, 0.35), 0 8px 28px -10px rgba(58, 171, 229, 0.55);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}

/* Arrow after every button, except the "Without arrow" style. */
.wp-block-button:not(.is-style-no-arrow) .wp-block-button__link::after {
	background: currentColor;
	content: "";
	flex: none;
	height: 1.15em;
	-webkit-mask: var(--dd-arrow) center / contain no-repeat;
	mask: var(--dd-arrow) center / contain no-repeat;
	transition: transform 220ms var(--dd-ease);
	width: 1.15em;
}

.wp-block-button:not(.is-style-no-arrow) .wp-block-button__link:hover::after,
.wp-block-button:not(.is-style-no-arrow) .wp-block-button__link:focus-visible::after {
	transform: translateX(4px);
}

/* Text-link button. */
.wp-block-button.is-style-text .wp-block-button__link {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--wp--preset--color--accent-bright);
	min-height: 0;
	padding: 0.25rem 0;
}

.wp-block-button.is-style-text .wp-block-button__link:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

/* Hero action row: primary button + play button. */
.dd-actions {
	align-items: center;
	column-gap: clamp(1.25rem, 2.5vw, 2.25rem) !important;
	row-gap: 1rem !important;
}

.dd-actions > .wp-block-buttons {
	margin: 0;
}

/* 4. Forms (base, used by contact/booking in later phases) ----------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
	background: var(--wp--preset--color--bg-secondary);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--button);
	color: var(--wp--preset--color--text-primary);
	font: inherit;
	min-height: 48px;
	padding: 0.75rem 1rem;
	width: 100%;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--wp--preset--color--accent-bright);
	outline: 2px solid transparent;
}

::placeholder {
	color: rgba(169, 184, 196, 0.75);
}

/* 5. Block styles ---------------------------------------------------------- */

/* Check list. */
.wp-block-list.is-style-check,
.wp-block-list.is-style-plain {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.is-style-check > li {
	padding-left: 2.1em;
	position: relative;
}

.wp-block-list.is-style-check > li + li {
	margin-top: 0.85em;
}

.wp-block-list.is-style-check > li::before,
.wp-block-list.is-style-check > li::after {
	content: "";
	height: 1.35em;
	left: 0;
	position: absolute;
	top: 0.12em;
	width: 1.35em;
}

.wp-block-list.is-style-check > li::before {
	background: var(--wp--preset--color--accent);
	border-radius: 50%;
}

.wp-block-list.is-style-check > li::after {
	background: var(--wp--preset--color--white);
	-webkit-mask: var(--dd-check) center / 62% no-repeat;
	mask: var(--dd-check) center / 62% no-repeat;
}

/* Tiger-stripe divider. */
.wp-block-separator.is-style-tiger {
	background: currentColor;
	border: 0 !important;
	color: var(--wp--preset--color--steel);
	height: 22px;
	margin-inline: 0;
	max-width: none !important;
	width: 100% !important;
	-webkit-mask: var(--dd-divider) center top / 100% 100% no-repeat;
	mask: var(--dd-divider) center top / 100% 100% no-repeat;
	opacity: 0.22;
	width: 100%;
}

/* Tiger texture background (very subtle). */
.is-style-tiger-texture {
	isolation: isolate;
	position: relative;
}

.is-style-tiger-texture::before {
	background: var(--wp--preset--color--white);
	content: "";
	inset: 0;
	-webkit-mask: var(--dd-stripes) right top / 900px 600px repeat-x;
	mask: var(--dd-stripes) right top / 900px 600px repeat-x;
	-webkit-mask-image: var(--dd-stripes), linear-gradient(180deg, #000, transparent 70%);
	-webkit-mask-composite: source-in;
	mask-image: var(--dd-stripes), linear-gradient(180deg, #000, transparent 70%);
	mask-composite: intersect;
	opacity: 0.035;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

/* Tiger-stripe bottom edge for photo sections (class set by the Section block). */
.has-stripe-edge::after,
.wp-block-cover.is-style-tiger-edge::after {
	background: var(--dd-edge-color, var(--wp--preset--color--bg-primary));
	bottom: -1px;
	content: "";
	height: clamp(28px, 3.5vw, 56px);
	left: 0;
	-webkit-mask: var(--dd-edge) center bottom / 100% 100% no-repeat;
	mask: var(--dd-edge) center bottom / 100% 100% no-repeat;
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 1;
}

/* Images. */
.wp-block-image.is-style-framed img {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
}

.wp-block-image img {
	border-radius: var(--wp--custom--radius--card);
}

.wp-block-image.is-style-stripe-reveal {
	overflow: hidden;
	position: relative;
}

.dd-js .wp-block-image.is-style-stripe-reveal img {
	clip-path: inset(0 0 0 100%);
	transition: clip-path 1100ms var(--dd-ease);
}

.dd-js .wp-block-image.is-style-stripe-reveal.is-revealed img {
	clip-path: inset(0 0 0 0);
}

/* Panel group. */
.wp-block-group.is-style-panel {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Columns with vertical dividers. */
.wp-block-columns.is-style-divided > .wp-block-column + .wp-block-column {
	border-left: 1px solid var(--wp--preset--color--border);
	padding-left: clamp(1rem, 2.5vw, 2.5rem);
}

@media (max-width: 781px) {
	.wp-block-columns.is-style-divided > .wp-block-column + .wp-block-column {
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--border);
		padding-left: 0;
		padding-top: 1.5rem;
	}
}

/* Details (native accordion, FAQ). */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-block: 0;
}

.wp-block-details summary {
	align-items: center;
	color: var(--wp--preset--color--text-primary);
	cursor: pointer;
	display: flex;
	font-weight: 500;
	gap: 1rem;
	justify-content: space-between;
	list-style: none;
	min-height: 44px;
	padding-block: 1.1rem;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	background: var(--wp--preset--color--accent-bright);
	content: "";
	flex: none;
	height: 1.1em;
	-webkit-mask: 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' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%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='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 220ms var(--dd-ease);
	width: 1.1em;
}

.wp-block-details[open] summary::after {
	transform: rotate(180deg);
}

.wp-block-details summary:hover {
	color: var(--wp--preset--color--white);
}

.wp-block-details > :not(summary) {
	margin-block: 0 1.25rem;
	max-width: 70ch;
}

/* 6. Sections & layout helpers --------------------------------------------- */

/* A plain section title block group (eyebrow + H2) used in many patterns. */
.dd-section-head > * {
	margin-block: 0;
}

.dd-section-head > * + * {
	margin-block-start: 1rem;
}

.dd-section-head {
	margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

/* Experience section: stats column. */
.dd-experience .wp-block-columns {
	align-items: center;
	gap: clamp(2rem, 6vw, 7rem);
}

.dd-experience .dd-stats {
	margin-left: auto;
	max-width: 22rem;
}

@media (max-width: 781px) {
	.dd-experience .dd-stats {
		margin-left: 0;
		max-width: none;
	}
}

/* 7. Footer ----------------------------------------------------------------- */

.dd-footer {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9375rem;
}

.dd-footer .is-style-eyebrow {
	color: var(--wp--preset--color--white);
	margin-bottom: 1.25rem;
}

.dd-footer__brand > * {
	margin-block: 0;
}

.dd-footer__brand > * + * {
	margin-block-start: 1.25rem;
}

.dd-footer .wp-block-site-logo img {
	height: auto;
	max-height: 76px;
	width: auto;
}

.dd-has-logo .dd-footer .dd-footer__title {
	display: none;
}

.dd-footer__title {
	font-size: 1.375rem;
}

.dd-footer__claim {
	max-width: 36ch;
}

.dd-footer__book {
	margin-top: 1.75rem;
}

.dd-footer__sep.wp-block-separator {
	margin-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
}

.dd-footer__bottom {
	gap: 1rem 2rem;
}

@media (min-width: 782px) and (max-width: 1100px) {
	.dd-footer__cols {
		flex-wrap: wrap !important;
	}

	.dd-footer__cols > .dd-footer__brand {
		flex-basis: 100% !important;
	}
}

/* Large phones / small tablets: two link columns side by side. */
@media (min-width: 480px) and (max-width: 781px) {
	.dd-footer__cols {
		display: grid !important;
		gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dd-footer__cols > .dd-footer__brand,
	.dd-footer__cols > :last-child {
		grid-column: 1 / -1;
	}
}

/* 8. Motion & accessibility ------------------------------------------------ */

.dd-js [data-dd-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 700ms var(--dd-ease), transform 700ms var(--dd-ease);
	transition-delay: var(--dd-delay, 0ms);
}

.dd-js [data-dd-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

[data-dd-parallax] > img,
[data-dd-parallax] picture img {
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.dd-js [data-dd-reveal] {
		opacity: 1;
		transform: none;
	}

	.dd-js .wp-block-image.is-style-stripe-reveal img {
		clip-path: none;
	}
}

@media (forced-colors: active) {
	.wp-block-button__link,
	.dd-btn {
		border: 1px solid ButtonText;
	}
}

@media print {
	.dd-header,
	.dd-mobile-bar,
	.dd-video__play {
		display: none !important;
	}

	body {
		background: #fff !important;
		color: #000 !important;
	}
}

/* 9. Phase 3 helpers -------------------------------------------------------- */

.dd-section-head__intro {
	max-width: 62ch;
}

.dd-note {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9375rem;
	margin-top: 2rem !important;
}

/* Item pages (dive site, species, package). */
.dd-entry__content > * + * {
	margin-block-start: 1.25rem;
}

.dd-entry__content > p:first-child {
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.55;
}

@media (min-width: 782px) {
	.dd-entry .wp-block-column:last-child > .dd-facts {
		position: sticky;
		top: calc(var(--dd-header-h) + 1.5rem);
	}
}

.dd-entry__label {
	margin-bottom: 1.25rem !important;
}


/* Long words in big headings: shrink only as much as needed to fit phones
 * (see inc/typography.php). 0.56em ≈ width of one uppercase Oswald letter. */
.dd-fit {
	--dd-fit: calc((100vw - 2 * var(--wp--preset--spacing--gutter, 1.25rem)) / (var(--dd-lw, 10) * 0.56));
}

h1.dd-fit {
	font-size: min(var(--wp--preset--font-size--hero), var(--dd-fit)) !important;
}

h1.dd-fit.has-title-font-size,
h2.dd-fit {
	font-size: min(var(--wp--preset--font-size--title), var(--dd-fit)) !important;
}

h2.dd-fit.has-hero-font-size {
	font-size: min(var(--wp--preset--font-size--hero), var(--dd-fit)) !important;
}

h2.dd-fit.has-heading-font-size,
h1.dd-fit.has-heading-font-size {
	font-size: min(var(--wp--preset--font-size--heading), var(--dd-fit)) !important;
}

/* On large screens a long word may be wider than the hero text column:
 * let that heading use the free space on its right instead of overflowing. */
@media (min-width: 782px) {
	.dd-section--hero .dd-section__inner > h1.dd-fit {
		max-width: calc(100vw - 2 * var(--wp--preset--spacing--gutter, 1.25rem)) !important;
		width: max-content;
	}
}

/* Phones in landscape (short screens): keep big headings readable at a glance. */
@media (max-height: 500px) and (orientation: landscape) {
	h1.wp-block-heading,
	h1.wp-block-heading.dd-fit,
	.wp-block-post-title {
		font-size: min(var(--wp--preset--font-size--hero), 17vh, var(--dd-fit, 100vw)) !important;
	}

	h2.wp-block-heading,
	h2.wp-block-heading.dd-fit {
		font-size: min(var(--wp--preset--font-size--title), 12vh, var(--dd-fit, 100vw)) !important;
	}
}

/* Links inside running text are underlined (not distinguished by colour only). */
:where(main) :where(p, .wp-block-list > li, dd, label, figcaption, .dd-note):not(.wp-block-site-title) > a:not([class]) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* Keyboard-scrollable areas (carousels on phones). */
[tabindex="0"]:is(.dd-steps, .dd-gallery__list):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-bright, #3aabe5);
	outline-offset: 4px;
}

/* Chinese: allow line breaks next to full-width punctuation in narrow boxes. */
:lang(zh) :where(p, li, dd, dt, h1, h2, h3, h4, span, a) {
	overflow-wrap: anywhere;
}

/* 9. In-depth guides (SEO content) ------------------------------------------- */

.dd-guide {
	margin-inline: auto;
	max-width: 46rem;
}

.dd-guide > * + * {
	margin-block-start: 1.1em;
}

.dd-guide > h2 {
	margin-block-start: 0.35em;
}

.dd-guide > h3 {
	margin-block-start: 2em;
}

.dd-guide p,
.dd-guide li {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--md, 1.0625rem);
	line-height: 1.7;
}

.dd-guide strong {
	color: var(--wp--preset--color--text-primary);
}

.dd-guide a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--accent-bright);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.dd-guide .wp-block-buttons {
	margin-block-start: 2em;
}

.dd-table {
	margin-inline: 0;
	overflow-x: auto;
}

.wp-block-table.dd-table thead {
	border-bottom: 1px solid var(--wp--preset--color--accent-bright);
}

.dd-table table {
	border-collapse: collapse;
	font-size: 0.95rem;
	min-width: 100%;
}

.wp-block-table.dd-table th,
.wp-block-table.dd-table td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0.75em 1em 0.75em 0;
	text-align: start;
	vertical-align: top;
}

.dd-table th {
	color: var(--wp--preset--color--text-primary);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dd-table td {
	color: var(--wp--preset--color--text-secondary);
}

.dd-table td:first-child {
	color: var(--wp--preset--color--text-primary);
	font-weight: 500;
}

.dd-table figcaption {
	text-align: start;
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.85rem;
	margin-block-start: 0.75em;
}

.dd-guide .wp-block-details + .wp-block-details {
	margin-block-start: 0;
}

/* 10. Prices ----------------------------------------------------------------- */

.dd-prices {
	gap: var(--wp--preset--spacing--50, 2rem);
	margin-inline: auto;
	max-width: 72rem;
}

.dd-prices > .wp-block-column > * + * {
	margin-block-start: var(--wp--preset--spacing--50, 2rem);
}

.dd-price-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
	overflow: hidden;
}

.dd-price-card .dd-price-card__title {
	background: linear-gradient(90deg, var(--wp--preset--color--accent) 0%, var(--wp--preset--color--ocean-blue) 100%);
	color: var(--wp--preset--color--white);
	font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
	letter-spacing: 0.06em;
	margin: 0;
	padding: 0.85rem 1.5rem;
	text-transform: uppercase;
}

.dd-price-table {
	margin: 0;
	overflow-x: auto;
	padding: 0.5rem 1.5rem 0.75rem;
}

.dd-price-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table.dd-price-table thead {
	border: 0;
}

.wp-block-table.dd-price-table th,
.wp-block-table.dd-price-table td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0.8em 0.75em 0.8em 0;
	text-align: start;
	vertical-align: middle;
}

.wp-block-table.dd-price-table th {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wp-block-table.dd-price-table td {
	color: var(--wp--preset--color--text-primary);
	font-size: 1rem;
}

.wp-block-table.dd-price-table tr:last-child td {
	border-bottom: 0;
}

.wp-block-table.dd-price-table th:not(:first-child),
.wp-block-table.dd-price-table td:not(:first-child) {
	padding-left: 0.75em;
	padding-right: 0;
	text-align: end;
}

.wp-block-table.dd-price-table td:not(:first-child) {
	white-space: nowrap;
}

.wp-block-table.dd-price-table td:not(:first-child) {
	color: var(--wp--preset--color--accent-bright);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.2rem;
	letter-spacing: 0.02em;
}

.dd-price-card .dd-price-card__note {
	border-top: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.875rem;
	margin: 0;
	padding: 0.85rem 1.5rem 1.1rem;
}

.dd-prices__more {
	color: var(--wp--preset--color--text-secondary);
	margin-block-start: var(--wp--preset--spacing--60, 3rem);
	text-align: center;
}

@media (max-width: 781px) {
	.dd-price-table,
	.dd-price-card .dd-price-card__title,
	.dd-price-card .dd-price-card__note {
		padding-inline: 1.1rem;
	}

	.wp-block-table.dd-price-table td:not(:first-child) {
		font-size: 1.05rem;
	}

	.wp-block-table.dd-price-table th {
		font-size: 0.66rem;
		letter-spacing: 0.06em;
	}
}

.dd-price-card h2.dd-price-card__title.dd-fit {
	font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem) !important;
}
