/*
Theme Name: DeepDialogue
Theme URI: https://www.deepdialogue.eu/
Author: Hanno Langfelder
Description: Slim block theme for deepdialogue.eu – facilitation and dialogue design. Warm and conversational look (petrol, terracotta, mist). Fonts are bundled locally, no external requests.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deepdialogue
*/

/* ---------- Basics ---------- */
html { scroll-behavior: smooth; }
:where(section[id], .wp-block-group[id]) { scroll-margin-top: 24px; }
img { max-width: 100%; height: auto; }

/* ---------- Logo (two overlapping circles) ---------- */
.dd-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1;
}
.dd-logo:hover { color: var(--wp--preset--color--ink); }
.dd-logo svg { flex: none; }

/* ---------- Navigation: last item as button ---------- */
.wp-block-navigation .is-cta > a,
.wp-block-navigation .is-cta .wp-block-navigation-item__content {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white) !important;
	padding: 12px 22px !important;
	border-radius: 14px;
}
.wp-block-navigation .is-cta > a:hover,
.wp-block-navigation .is-cta .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--accent);
}
.wp-block-navigation .wp-block-navigation-item__content { padding-block: 10px; }

/* ---------- Hero: speech bubbles ---------- */
.dd-bubbles { width: 100%; max-width: 380px; margin-inline: auto; }
.dd-bubble {
	margin: 0 !important;
	padding: 12px 18px;
	font-weight: 600;
	width: fit-content;
	max-width: 100%;
	background: var(--wp--preset--color--white);
	border-radius: 18px 18px 18px 4px;
}
.dd-bubble.is-right {
	margin-left: auto !important;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--white);
	border-radius: 18px 18px 4px 18px;
}

/* ---------- Round portrait ---------- */
.dd-portrait { max-width: 340px; margin-inline: auto; }
.dd-portrait img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	border: 8px solid var(--wp--preset--color--white);
}

/* ---------- Rounded section tops ---------- */
.dd-round-top { border-radius: 40px 40px 0 0; }

/* ---------- Service cards ---------- */
.dd-card { height: 100%; }
.dd-card .dd-icon { display: block; color: var(--wp--preset--color--accent); }

/* ---------- Steps with round numbers ---------- */
.dd-steps { list-style: none; padding: 0; margin: 0; }
.dd-step { display: flex; gap: 16px; align-items: flex-start; }
.dd-step-num {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin: 0 !important;
}
.dd-step p { margin: 0; }

/* ---------- Client pills ---------- */
ul.dd-pills {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
ul.dd-pills li {
	background: var(--wp--preset--color--mist);
	border-radius: 999px;
	padding: 10px 20px;
	margin: 0;
}

/* ---------- Contact section on dark ---------- */
.dd-dark a:not(.wp-block-button__link) { color: var(--wp--preset--color--white); }
.dd-dark a:not(.wp-block-button__link):hover { color: var(--wp--preset--color--on-dark); }
.dd-footer a { color: var(--wp--preset--color--on-dark-muted); }
.dd-footer a:hover { color: var(--wp--preset--color--white); }

/* ---------- Focus visible ---------- */
a:focus-visible, button:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}
