/*
Theme Name: DSM Solutions
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for dentalsleepapneatraining.com. Brand colors, fonts, header and footer. Source: C:\Users\mail\dsat-website\site\theme\dsm-solutions
Version: 1.0.5
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: dsm-solutions
*/

/* Small refinements the block editor can't express. */
.dsm-topbar a { text-decoration: none; }
.dsm-topbar a:hover { text-decoration: underline; }

.wp-block-navigation .wp-block-navigation-item__content { text-decoration: none; }
.wp-block-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.dsm-card {
	height: 100%;
	box-shadow: 0 1px 2px rgba(49, 53, 56, 0.06), 0 8px 24px rgba(49, 53, 56, 0.06);
}

.dsm-eyebrow {
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.dsm-hero { position: relative; }

.dsm-quote {
	border-left: 3px solid var(--wp--preset--color--accent-1);
	padding-left: 1.25rem;
}

.dsm-site-footer a { color: inherit; }

/* Buttons on the dark call-to-action band: gold fill, white outline. */
.dsm-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast);
}
.dsm-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--base);
}
.dsm-cta .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--base);
}
.dsm-cta .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

/* No white strip between the last full-width section and the footer. */
.wp-site-blocks > footer,
.wp-site-blocks > .wp-block-template-part:last-child { margin-block-start: 0; }
main.wp-block-group > .entry-content > .alignfull:last-child { margin-block-end: 0; }

/* Phones: keep the header to one tidy row. The assessment button appears in page content instead. */
@media (max-width: 781px) {
	.dsm-topbar { justify-content: center !important; }
	.dsm-topbar p:first-child { display: none; }
	.wp-block-buttons.dsm-header-cta { display: none; }
}
.dsm-topbar a { white-space: nowrap; }

/* Developer credit: Maxth wordmark with spray dots (light version for the dark footer). */
.dsm-credit { color: #ffffffaa; margin: 0; display: flex; align-items: center; gap: 0.5em; }
.maxth-logo { height: 20px; width: auto; display: block; }
