/*
Theme Name: Techtruthin
Theme URI: https://techtruthin.com/
Author: Techtruthin
Author URI: https://techtruthin.com/about-us/
Description: Custom theme for techtruthin.com: fast, accessible pages for free tools and guides.
Version: 1.0.7
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techtruthin
*/

/*
 * Contents
 *  1. Fonts
 *  2. Design tokens
 *  3. Base elements
 *  4. Layout
 *  5. Buttons
 *  6. Header and menu
 *  7. Footer
 *  8. Pages and articles
 *  9. Article listings
 * 10. Not found page
 * 11. Landing page sections
 * 12. Questions and answers
 * 13. Reduced motion
 *
 * Rule of thumb: text spacing applies only inside .tt-prose (reading text).
 * Components set their own spacing, so nothing leaks into menus or cards.
 */

/* 1. Fonts (self-hosted, SIL Open Font License) */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("assets/fonts/inter-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url("assets/fonts/plus-jakarta-sans-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Design tokens */

:root {
	/* Colours */
	--tt-navy: #0b1f42;
	--tt-blue: #1666d6; /* Buttons and links: 5.4:1 contrast on white. */
	--tt-blue-bright: #1e74eb; /* Logo blue, for focus rings and decoration. */
	--tt-blue-ink: #1452b8; /* Text on the light blue tint. */
	--tt-blue-tint: #e8f0fd;
	--tt-text: #3d4b66;
	--tt-muted: #5a6780;
	--tt-bg: #fff;
	--tt-bg-tint: #f5f7fb;
	--tt-border: #e1e7f0;
	--tt-border-strong: #c9d4e5;
	--tt-success: #0f7b4f;
	--tt-error: #b42318;

	/* Shape */
	--tt-radius: 14px;
	--tt-radius-sm: 10px;
	--tt-shadow: 0 10px 30px rgba(11, 31, 66, 0.07);

	/* Type */
	--tt-font: "Inter", system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
	--tt-font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

	/* Space */
	--tt-gutter: clamp(16px, 4vw, 40px);
	--tt-max: 1200px;
	--tt-read: 760px;
	--tt-header-h: 72px;
}

@media (max-width: 960px) {
	:root {
		--tt-header-h: 60px;
	}
}

/* 3. Base elements */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--tt-bg);
	color: var(--tt-text);
	font-family: var(--tt-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

@media (min-width: 768px) {
	body {
		font-size: 17px;
	}
}

:where(h1, h2, h3, h4) {
	margin: 0;
	font-family: var(--tt-font-head);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--tt-navy);
}

h1 {
	font-size: clamp(30px, 2.4vw + 18px, 50px);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

h2 {
	font-size: clamp(23px, 1.3vw + 16px, 32px);
}

h3 {
	font-size: clamp(18px, 0.5vw + 15px, 21px);
	font-weight: 700;
}

:where(p, ul, ol, figure) {
	margin: 0;
}

a {
	color: var(--tt-blue);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--tt-navy);
}

:focus-visible {
	outline: 3px solid var(--tt-blue-bright);
	outline-offset: 2px;
	border-radius: 4px;
}

strong {
	color: var(--tt-navy);
}

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

code {
	padding: 0.1em 0.35em;
	background: var(--tt-bg-tint);
	border: 1px solid var(--tt-border);
	border-radius: 6px;
	font-size: 0.9em;
}

/* Text for screen readers only (also used by WordPress core). */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* "Skip to content" link: hidden until a keyboard user tabs to it. */
.tt-skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--tt-navy);
	color: #fff;
	font-weight: 600;
	border-radius: var(--tt-radius-sm);
	transform: translateY(-200%);
}

.tt-skip-link:focus {
	color: #fff;
	transform: none;
}

/* 4. Layout */

.tt-container {
	width: 100%;
	max-width: calc(var(--tt-max) + 2 * var(--tt-gutter));
	margin-inline: auto;
	padding-inline: var(--tt-gutter);
}

.tt-narrow {
	max-width: calc(860px + 2 * var(--tt-gutter));
}

/* Block editor groups add an inner wrapper; let layout classes see the real children. */
[class*="tt-"] > .wp-block-group__inner-container {
	display: contents;
}

/* 5. Buttons (theme buttons and the core Buttons block) */

.tt-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	background: var(--tt-blue);
	color: #fff;
	font: 600 16px/1 var(--tt-font);
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid var(--tt-blue);
	border-radius: var(--tt-radius-sm);
	cursor: pointer;
	transition:
		background 0.15s,
		border-color 0.15s;
}

.tt-btn:hover,
.wp-block-button .wp-block-button__link:hover {
	background: var(--tt-navy);
	color: #fff;
	border-color: var(--tt-navy);
}

.tt-btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: #fff;
	color: var(--tt-navy);
	border-color: var(--tt-border-strong);
}

.tt-btn--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--tt-bg-tint);
	color: var(--tt-navy);
	border-color: var(--tt-navy);
}

.tt-btn--sm {
	min-height: 40px;
	padding: 0 16px;
	font-size: 15px;
}

.tt-btn--block {
	width: 100%;
}

.tt-btn svg {
	flex: 0 0 auto;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* 6. Header and menu */

.tt-header {
	position: relative;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--tt-border);
}

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

.tt-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.tt-logo__mark {
	display: block;
	width: auto;
	height: 32px;
}

.tt-logo__text {
	font-family: var(--tt-font-head);
	font-size: 22px;
	line-height: 1;
	letter-spacing: -0.015em;
	white-space: nowrap;
}

.tt-logo__tech {
	color: var(--tt-blue);
	font-weight: 600;
}

.tt-logo__truthin {
	color: var(--tt-navy);
	font-weight: 800;
}

.tt-nav {
	display: flex;
	align-items: center;
	gap: 20px;
}

.tt-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 0;
	list-style: none;
}

.tt-nav__list a {
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 14px;
	color: var(--tt-navy);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.15s;
}

.tt-nav__list a:hover,
.tt-nav__list a[aria-current="page"] {
	background: var(--tt-bg-tint);
	color: var(--tt-navy);
}

.tt-nav__cta {
	height: 40px;
}

.tt-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	background: #fff;
	color: var(--tt-navy);
	font: 600 15px/1 var(--tt-font);
	border: 1px solid var(--tt-border-strong);
	border-radius: var(--tt-radius-sm);
	cursor: pointer;
}

.tt-nav-toggle__close,
.tt-nav-toggle[aria-expanded="true"] .tt-nav-toggle__open {
	display: none;
}

.tt-nav-toggle[aria-expanded="true"] .tt-nav-toggle__close {
	display: block;
}

@media (max-width: 960px) {
	.tt-logo__mark {
		height: 28px;
	}

	.tt-logo__text {
		font-size: 20px;
	}

	.tt-nav-toggle {
		display: inline-flex;
	}

	.tt-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 8px var(--tt-gutter) 20px;
		background: #fff;
		border-bottom: 1px solid var(--tt-border);
		box-shadow: 0 16px 32px rgba(11, 31, 66, 0.1);
	}

	.tt-nav.is-open {
		display: flex;
	}

	.tt-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.tt-nav__list li + li {
		border-top: 1px solid var(--tt-border);
	}

	.tt-nav__list a {
		height: 52px;
		padding: 0 4px;
		font-size: 17px;
		border-radius: 0;
	}

	.tt-nav__list a:hover {
		background: none;
		color: var(--tt-blue);
	}

	.tt-nav__cta {
		width: 100%;
		height: 48px;
		font-size: 16px;
	}
}

@media (max-width: 360px) {
	.tt-logo__text {
		font-size: 18px;
	}

	.tt-nav-toggle {
		width: 40px;
		padding: 0;
	}

	/* Keep the word "Menu" for screen readers while only the icon shows. */
	.tt-nav-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* 7. Footer */

.tt-footer {
	background: var(--tt-bg-tint);
	color: var(--tt-text);
	font-size: 14px;
	line-height: 1.5;
	border-top: 1px solid var(--tt-border);
}

.tt-footer__top {
	display: grid;
	grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(120px, 1fr));
	gap: 24px 40px;
	padding: 40px 0 28px;
}

.tt-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 320px;
}

.tt-footer__brand .tt-logo__mark {
	height: 26px;
}

.tt-footer__brand .tt-logo__text {
	font-size: 18px;
}

.tt-footer__brand p {
	color: var(--tt-muted);
}

.tt-footer .tt-footer__heading {
	margin: 0 0 10px;
	color: var(--tt-navy);
	font-family: var(--tt-font);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tt-footer__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0;
	list-style: none;
}

.tt-footer__list a {
	display: inline-block;
	padding: 4px 0;
	color: var(--tt-text);
	text-decoration: none;
}

.tt-footer__list a:hover {
	color: var(--tt-blue);
	text-decoration: underline;
}

.tt-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 14px 0;
	color: var(--tt-muted);
	font-size: 13px;
	border-top: 1px solid var(--tt-border);
}

.tt-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
}

@media (max-width: 860px) {
	.tt-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 32px 0 20px;
	}

	.tt-footer__brand {
		grid-column: 1 / -1;
		max-width: none;
	}
}

@media (max-width: 560px) {
	/* Phones: Tools is already in the header menu, so show Company and Legal side by side. */
	.tt-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 16px;
		padding: 28px 0 16px;
	}

	.tt-footer__col--tools {
		display: none;
	}

	.tt-footer__brand {
		gap: 8px;
	}

	.tt-footer .tt-footer__heading {
		margin-bottom: 6px;
	}

	.tt-footer__list {
		gap: 0;
	}

	.tt-footer__list a {
		padding: 5px 0;
	}

	.tt-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 12px 0 16px;
	}
}

/* 8. Pages and articles */

.tt-article {
	max-width: calc(var(--tt-read) + 2 * var(--tt-gutter));
	margin-inline: auto;
	padding: clamp(32px, 5vw, 64px) var(--tt-gutter) clamp(40px, 6vw, 80px);
}

.tt-article__header {
	margin-bottom: clamp(20px, 3vw, 32px);
}

.tt-post-meta {
	margin-top: 10px;
	color: var(--tt-muted);
	font-size: 15px;
}

.tt-article__image {
	margin-bottom: clamp(20px, 3vw, 32px);
}

.tt-article__image img {
	display: block;
	width: 100%;
	border-radius: var(--tt-radius);
}

/* Reading text: legal pages, the contact page, guides and blog articles. */
.tt-prose > :first-child {
	margin-top: 0;
}

.tt-prose :where(p, ul, ol) {
	margin: 0 0 1.1em;
}

.tt-prose :where(h2) {
	margin: 1.8em 0 0.6em;
}

.tt-prose :where(h3) {
	margin: 1.5em 0 0.45em;
}

.tt-prose :where(ul, ol) {
	padding-left: 1.3em;
}

.tt-prose :where(li) {
	margin-bottom: 0.4em;
}

.tt-prose table {
	display: block;
	width: 100%;
	margin: 0 0 1.4em;
	overflow-x: auto;
	font-size: 15px;
	border-collapse: collapse;
}

.tt-prose th,
.tt-prose td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
	border: 1px solid var(--tt-border);
}

.tt-prose th {
	background: var(--tt-bg-tint);
	color: var(--tt-navy);
}

/* Small print, such as trademark notes and licence credits. */
:is(.tt-prose, .tt-tool-body) .tt-legal-note {
	margin-top: 28px;
	color: var(--tt-muted);
	font-size: 13px;
}

/* 9. Article listings */

.tt-listing {
	padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 80px);
}

.tt-listing__header {
	margin-bottom: clamp(24px, 3vw, 36px);
}

.tt-listing__intro {
	max-width: 65ch;
	margin-top: 10px;
	color: var(--tt-muted);
	font-size: 17px;
}

.tt-listing__empty {
	color: var(--tt-muted);
}

/* An author's introduction, above their guides. */
.tt-author {
	display: flex;
	gap: clamp(16px, 3vw, 28px);
	align-items: flex-start;
	padding: clamp(20px, 3vw, 32px);
	background: var(--tt-bg-tint);
	border: 1px solid var(--tt-border);
	border-radius: var(--tt-radius);
}

.tt-author__badge {
	display: grid;
	flex: none;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--tt-navy);
	color: #fff;
	font: 700 24px/1 var(--tt-font-head);
}

.tt-author__role {
	margin: 6px 0 14px;
	color: var(--tt-blue-ink);
	font-size: 15px;
	font-weight: 600;
}

.tt-author__bio {
	max-width: 65ch;
	margin: 0 0 14px;
}

.tt-author__links {
	margin: 0;
	font-size: 15px;
}

.tt-author__heading {
	margin: 0 0 18px;
	font-size: clamp(20px, 2.4vw, 24px);
}

@media (max-width: 560px) {
	.tt-author {
		flex-direction: column;
	}
}

.tt-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.tt-post-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--tt-border);
	border-radius: var(--tt-radius);
}

.tt-post-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--tt-radius-sm);
}

.tt-post-card .tt-post-card__title {
	font-size: 19px;
	line-height: 1.3;
}

.tt-post-card__title a {
	color: var(--tt-navy);
	text-decoration: none;
}

.tt-post-card__title a:hover {
	color: var(--tt-blue);
	text-decoration: underline;
}

.tt-post-card__summary {
	flex-grow: 1;
	color: var(--tt-muted);
	font-size: 15px;
}

.tt-post-card__date {
	color: var(--tt-muted);
	font-size: 14px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	color: var(--tt-navy);
	text-decoration: none;
	border: 1px solid var(--tt-border-strong);
	border-radius: var(--tt-radius-sm);
}

.pagination .page-numbers.current {
	background: var(--tt-navy);
	color: #fff;
	border-color: var(--tt-navy);
}

/* 10. Not found page */

.tt-not-found {
	max-width: calc(720px + 2 * var(--tt-gutter));
	padding-block: clamp(48px, 8vw, 112px);
	text-align: center;
}

.tt-not-found .tt-not-found__title {
	margin-bottom: 14px;
}

.tt-not-found__text {
	margin-bottom: 28px;
	font-size: 18px;
}

.tt-not-found__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* 11. Landing page sections */

.tt-section {
	padding: clamp(44px, 6vw, 80px) 0;
}

.tt-section--tint {
	background: var(--tt-bg-tint);
	border-block: 1px solid var(--tt-border);
}

.tt-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: clamp(20px, 3vw, 32px);
}

.tt-section__head p {
	max-width: 640px;
	margin-top: 8px;
	color: var(--tt-muted);
}

.tt-section .tt-container > h2 {
	margin-bottom: clamp(20px, 3vw, 28px);
}

.tt-section__head p a,
.tt-story__text p:last-child a {
	display: inline-block;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.tt-eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 12px;
	background: var(--tt-blue-tint);
	color: var(--tt-blue-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	border-radius: 999px;
}

.tt-kicker {
	margin-bottom: 10px;
	color: var(--tt-blue-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Hero */

.tt-hero {
	padding: clamp(40px, 6vw, 88px) 0;
	background: var(--tt-bg-tint);
	border-bottom: 1px solid var(--tt-border);
}

.tt-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 64px);
}

.tt-hero__text,
.tt-hero__visual {
	min-width: 0;
}

.tt-hero h1 {
	max-width: 14em;
	margin-bottom: 18px;
	font-size: clamp(32px, 3vw + 16px, 56px);
}

.tt-hero__lead {
	max-width: 34em;
	margin-bottom: 26px;
	font-size: clamp(16px, 0.5vw + 14px, 19px);
}

@media (max-width: 900px) {
	.tt-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tt-hero__visual {
		max-width: 520px;
	}
}

@media (max-width: 560px) {
	.tt-hero .wp-block-buttons {
		flex-direction: column;
	}

	.tt-hero .wp-block-button,
	.tt-hero .wp-block-button .wp-block-button__link {
		width: 100%;
	}
}

/* Numbered steps */

ol.tt-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 20px);
	padding: 0;
	list-style: none;
	counter-reset: tt-step;
}

ol.tt-steps > li {
	padding: 22px;
	background: #fff;
	color: var(--tt-muted);
	font-size: 15px;
	border: 1px solid var(--tt-border);
	border-radius: var(--tt-radius);
	counter-increment: tt-step;
}

ol.tt-steps > li::before {
	content: counter(tt-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 12px;
	background: var(--tt-navy);
	color: #fff;
	font: 700 16px/1 var(--tt-font-head);
	border-radius: 999px;
}

ol.tt-steps > li strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--tt-font-head);
	font-size: 18px;
}

@media (max-width: 860px) {
	ol.tt-steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Story with values */

.tt-story {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(28px, 5vw, 56px);
}

.tt-story__text {
	min-width: 0;
}

.tt-story__text h2 {
	margin-bottom: 16px;
}

.tt-story__text p {
	margin-bottom: 1em;
}

.tt-story__values {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.tt-value {
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--tt-border);
	border-radius: var(--tt-radius);
}

.tt-value .wp-block-heading {
	margin-bottom: 4px;
	font-size: 17px;
}

.tt-value p {
	color: var(--tt-muted);
	font-size: 15px;
}

@media (max-width: 900px) {
	.tt-story {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Call to action band */

.tt-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: clamp(28px, 4vw, 48px);
	background: var(--tt-navy);
	color: #c8d3e6;
	border-radius: 20px;
}

.tt-cta__text {
	flex: 1 1 380px;
	min-width: 0;
}

.tt-cta .wp-block-heading {
	margin-bottom: 8px;
	color: #fff;
}

.tt-cta .wp-block-button .wp-block-button__link {
	background: #fff;
	color: var(--tt-navy);
	border-color: #fff;
}

.tt-cta .wp-block-button .wp-block-button__link:hover {
	background: var(--tt-blue-tint);
	border-color: var(--tt-blue-tint);
}

@media (max-width: 560px) {
	.tt-cta .wp-block-buttons,
	.tt-cta .wp-block-button,
	.tt-cta .wp-block-button .wp-block-button__link {
		width: 100%;
	}
}

/* 12. Questions and answers (core Details block with the class "tt-faq") */

.tt-faq {
	border-bottom: 1px solid var(--tt-border);
}

.tt-faq:first-of-type {
	border-top: 1px solid var(--tt-border);
}

.tt-faq > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
	padding: 14px 0;
	color: var(--tt-navy);
	font-family: var(--tt-font-head);
	font-size: clamp(16px, 0.4vw + 14px, 18px);
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.tt-faq > summary::-webkit-details-marker {
	display: none;
}

.tt-faq > summary::after {
	content: "+";
	display: inline-flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	height: 30px;
	background: var(--tt-bg-tint);
	color: var(--tt-blue-ink);
	font-size: 19px;
	line-height: 1;
	border-radius: 999px;
}

.tt-faq[open] > summary::after {
	content: "\2212";
}

.tt-faq > :not(summary) {
	margin: 0 0 16px;
	padding-right: 46px;
}

/* 13. Reduced motion */

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
