/*
Theme Name: Disability Answers
Theme URI: https://disabilityanswers.net
Description: "Steady Counsel" child theme of Twenty Twenty-Five for DisabilityAnswers.net (Ginsberg Law Offices long-term disability site). Navy and warm-white palette, Source Serif 4 headings, Source Sans 3 body.
Author: Ginsberg Law Offices, P.C.
Template: twentytwentyfive
Version: 1.0.1
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: disabilityanswers
*/

/* Most styling lives in theme.json. Only details theme.json cannot express go here. */

/* Situation cards: whole card is a link target, top rule in navy or brass. */
.da-card {
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.da-card:hover,
.da-card:focus-within {
	box-shadow: 0 6px 24px rgba(31, 46, 74, 0.12);
	transform: translateY(-2px);
}
.da-card a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.da-card {
	position: relative;
}

/* Visible keyboard focus everywhere. */
:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--wp--preset--color--brass);
	outline-offset: 2px;
}

/* Header navigation: keep the call-to-action link looking like a button. */
.da-nav-cta a {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--base) !important;
	padding: 0.7rem 1.1rem;
	border-radius: 4px;
	text-decoration: none;
}
.da-nav-cta a:hover {
	background: var(--wp--preset--color--navy-deep);
}

/* Video placeholder box until a Vimeo URL is pasted in. */
.da-video-placeholder {
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Article call-to-action box at the end of posts. */
.da-cta-box p:last-child {
	margin-bottom: 0;
}
