/*!
Theme Name: Cook Attorney
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cook-attorney
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Cook Attorney is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	/* color: inherit; */
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

/**
 * Blog archive cards: fixed-height media frame; global img rules break absolute/fill layouts.
 */
.blog-card-media img {
	display: block;
	height: 100%;
	max-height: none;
	max-width: none;
	width: 100%;
	object-fit: cover;
}

/* Blog index: WordPress paginate_links() (.page-numbers) */
.blog-pagination {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
}

.blog-pagination ul.page-numbers {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-pagination ul.page-numbers li {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-pagination ul.page-numbers > li > a {
	align-items: center;
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 0.75rem;
	color: rgba(11, 29, 51, 0.6);
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 0.5rem 1rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.blog-pagination ul.page-numbers > li > a:hover {
	border-color: rgba(184, 148, 63, 0.35);
	color: #0b1d33;
}

.blog-pagination span.page-numbers.current {
	background: #b8943f;
	border: 2px solid #b8943f;
	border-radius: 0.75rem;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 0.5rem 1rem;
	text-transform: uppercase;
}

.blog-pagination span.page-numbers.dots {
	background: transparent;
	border: 0;
	color: rgba(11, 29, 51, 0.4);
	padding: 0.5rem;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
/* a {
	color: #4169e1;
} */



a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/**
 * Contact Form 7 — contact page (scoped to .contact-form-wrap).
 */
.contact-form-wrap .wpcf7 {
	font-family: Poppins, system-ui, sans-serif;
	margin: 0;
}

.contact-form-wrap .wpcf7-form {
	display: block;
}

.contact-form-wrap .wpcf7-form > p,
.contact-form-wrap .wpcf7-form > div:not(.wpcf7-response-output) {
	margin: 0;
	width: 100%;
}

.contact-form-wrap .wpcf7-form > p:empty {
	display: none;
}

/* CF7 inserts <br> between fields — hides breaks so spacing is consistent */
.contact-form-wrap .wpcf7-form br {
	display: none;
}

/* Hide CF7 honeypot / spam fields */
.contact-form-wrap .wpcf7-form .hp-field,
.contact-form-wrap .wpcf7-form .akismet-fields-container,
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap:has(input.wpcf7-validates-as-honeypot),
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap:has([aria-hidden="true"]) {
	display: none !important;
	margin-bottom: 0 !important;
}

/* Equal gap between every visible field */
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap {
	margin-top: 0 !important;
	margin-bottom: 1.25rem !important;
}

.contact-form-wrap .wpcf7-form > p:has(.wpcf7-submit) {
	margin-top: 0.25rem;
}

/* Name + phone — side by side on tablet/desktop */
@media (min-width: 640px) {
	.contact-form-wrap .wpcf7-form > p:has(input[type="tel"]):has(input[type="text"]):not(:has(select)):not(:has(textarea)):not(:has(input[type="email"])) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
		align-items: end;
	}

	.contact-form-wrap .wpcf7-form > p:has(input[type="tel"]):has(input[type="text"]):not(:has(select)):not(:has(textarea)):not(:has(input[type="email"])) .wpcf7-form-control-wrap {
		margin-bottom: 0 !important;
	}
}

/* Dropdown, email, message — full width in grid rows */
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap:has(select),
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap:has(input[type="email"]),
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap:has(textarea) {
	width: 100%;
	grid-column: 1 / -1;
}

.contact-form-wrap .wpcf7-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(11, 29, 51, 0.5);
}

.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form input[type="url"],
.contact-form-wrap .wpcf7-form input[type="number"],
.contact-form-wrap .wpcf7-form select,
.contact-form-wrap .wpcf7-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.875rem 1rem;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: #0b1d33;
	background-color: #f9f8f5;
	border: 2px solid rgba(11, 29, 51, 0.1);
	border-radius: 0.75rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrap .wpcf7-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230B1D33' stroke-opacity='0.45' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1rem;
	cursor: pointer;
}

.contact-form-wrap .wpcf7-form textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form select:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
	outline: none;
	border-color: rgba(184, 148, 63, 0.55);
	box-shadow: 0 0 0 3px rgba(184, 148, 63, 0.15);
	color: #0b1d33;
}

.contact-form-wrap .wpcf7-form input::placeholder,
.contact-form-wrap .wpcf7-form textarea::placeholder {
	color: rgba(11, 29, 51, 0.35);
}

.contact-form-wrap .wpcf7-form .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0;
	padding: 1rem 2rem;
	min-width: 12rem;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #fff;
	background: #b8943f;
	border: none;
	border-radius: 0.75rem;
	cursor: pointer;
	transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.contact-form-wrap .wpcf7-form .wpcf7-submit:hover {
	background: #96782f;
	box-shadow: 0 4px 20px rgba(184, 148, 63, 0.3);
	transform: translateY(-1px);
}

.contact-form-wrap .wpcf7-form .wpcf7-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.contact-form-wrap .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.35rem;
	font-size: 13px;
	font-weight: 600;
	color: #b45309;
}

.contact-form-wrap .wpcf7-not-valid {
	border-color: rgba(180, 83, 9, 0.55) !important;
}

.contact-form-wrap .wpcf7-response-output {
	margin: 0;
	padding: 1rem 1.25rem;
	font-size: 14px;
	line-height: 1.5;
	border: 2px solid rgba(11, 29, 51, 0.1);
	border-radius: 0.75rem;
	background: #f9f8f5;
	color: rgba(11, 29, 51, 0.75);
}

.contact-form-wrap .wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(22, 101, 52, 0.35);
	background: rgba(22, 101, 52, 0.06);
	color: #166534;
}

.contact-form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-wrap .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form-wrap .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: rgba(180, 83, 9, 0.35);
	background: rgba(180, 83, 9, 0.06);
	color: #9a3412;
}

.contact-form-wrap .wpcf7 form.failed .wpcf7-response-output,
.contact-form-wrap .wpcf7 form.aborted .wpcf7-response-output {
	border-color: rgba(185, 28, 28, 0.35);
	background: rgba(185, 28, 28, 0.06);
	color: #b91c1c;
}

.contact-form-wrap .wpcf7-spinner {
	margin-inline-start: 0.75rem;
	vertical-align: middle;
}

.contact-form-wrap .wpcf7-list-item {
	margin: 0 0 0.5rem 0;
	margin-inline-end: 1rem;
}

.contact-form-wrap .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	color: rgba(11, 29, 51, 0.75);
}

.contact-form-wrap .wpcf7-acceptance .wpcf7-list-item label {
	align-items: flex-start;
}

/* Contact page — map embed height */
.ca-contact-map {
	position: relative;
	width: 100%;
	min-height: 320px;
	height: clamp(320px, 42vh, 520px);
}

.ca-contact-map iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 320px;
	border: 0;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Mobile menu — practice area icons (dark icons need a light tile on navy bg) */
#mobile-menu .ca-mobile-nav-icon {
	width: 2.25rem;
	height: 2.25rem;
	background-color: rgba(249, 248, 245, 0.95);
	border: 1px solid rgba(249, 248, 245, 0.2);
	color: #b8943f;
	transition: background-color 0.3s ease, color 0.3s ease;
}

#mobile-menu .ca-mobile-nav-link:hover .ca-mobile-nav-icon,
#mobile-menu .ca-mobile-nav-link:focus-visible .ca-mobile-nav-icon {
	background-color: #b8943f;
	color: #0b1d33;
}

#mobile-menu .ca-mobile-nav-icon-img {
	display: block;
	width: 1rem;
	height: 1rem;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

#mobile-menu .ca-mobile-nav-icon-fallback {
	width: 1rem;
	height: 1rem;
}

#mobile-menu .ca-mobile-nav-toggle {
	color: rgba(249, 248, 245, 0.85);
	border-color: rgba(249, 248, 245, 0.2);
}

#mobile-menu .ca-mobile-nav-toggle svg {
	color: inherit;
	stroke: currentColor;
}

/* Header logo */
#site-header .ca-header-logo,
#site-header img.ca-header-logo {
	display: block;
	height: 2rem;
	width: auto;
	max-width: none;
	max-height: 2rem;
	object-fit: contain;
}

#site-header .ca-header-logo-mark {
	height: 2rem;
	width: 2rem;
}

#site-header .ca-header-logo-icon {
	height: 1rem;
	width: 1rem;
}

#site-header .ca-header-logo-text > span:first-child {
	font-size: 1.125rem;
}

#site-header .ca-header-logo-text > span:last-child {
	font-size: 0.5rem;
}

@media (min-width: 1024px) {
	#site-header .ca-header-logo,
	#site-header img.ca-header-logo {
		height: 2.5rem;
		max-height: 2.5rem;
	}

	#site-header .ca-header-logo-mark {
		height: 2.5rem;
		width: 2.5rem;
	}

	#site-header .ca-header-logo-icon {
		height: 1.25rem;
		width: 1.25rem;
	}

	#site-header .ca-header-logo-text > span:first-child {
		font-size: 1.25rem;
	}

	#site-header .ca-header-nav {
		padding-left: clamp(2rem, 8vw, 6.5rem);
	}
}

#site-header .ca-header-cta.btn-primary,
#site-header a.ca-header-cta {
	padding: 0.5rem 1.05rem;
	font-size: 0.625rem;
	gap: 0.375rem;
	white-space: nowrap;
	flex-shrink: 0;
}

#site-header .ca-header-cta svg {
	width: 0.75rem;
	height: 0.75rem;
}

#site-header .ca-header-nav > a,
#site-header .ca-header-nav .nav-dropdown > a {
	white-space: nowrap;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
.ca-practice-single h2{
	font-size:28px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 16px;
	margin-top: 0;
	color: #0b1d33;
}
.ca-practice-single p,
.ca-practice-full-content p {
	font-size: 0.9375rem;
	line-height: 1.8;
	margin-bottom: 1rem;
	margin-top: 0;
	color: rgba(11, 29, 51, 0.6);
}

.ca-practice-single ul,
.ca-practice-single ol,
.ca-practice-full-content ul,
.ca-practice-full-content ol {
	list-style-position: outside;
	margin: 0 0 1rem;
	margin-left: 0;
	padding-left: 1.25rem;
}

.ca-practice-single ul,
.ca-practice-full-content ul {
	list-style-type: disc;
}

.ca-practice-single ol,
.ca-practice-full-content ol {
	list-style-type: decimal;
}

.ca-practice-single ul li,
.ca-practice-single ol li,
.ca-practice-full-content ul li,
.ca-practice-full-content ol li {
	font-size: 0.9375rem;
	line-height: 1.8;
	margin-bottom: 0.375rem;
	color: rgba(11, 29, 51, 0.6);
}

.ca-practice-single ul li::marker,
.ca-practice-full-content ul li::marker {
	font-size: 0.5rem;
	color: #B8943F;
}

.ca-practice-single ol li::marker,
.ca-practice-full-content ol li::marker {
	font-size: 0.75rem;
	color: rgba(11, 29, 51, 0.45);
}
/*--------------------------------------------------------------
# Standard page banner padding (consistent mobile + tablet)
--------------------------------------------------------------*/
:root {
	/* +50px top/bottom vs prior banner spacing */
	--ca-banner-pt: 9.875rem;
	--ca-banner-pb: 8.875rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
	:root {
		--ca-banner-pt: 10.375rem;
		--ca-banner-pb: 9.375rem;
	}
}

@media (min-width: 1024px) {
	:root {
		--ca-banner-pt: clamp(7rem, 10vw, 10rem);
		--ca-banner-pb: clamp(6rem, 8vw, 8.5rem);
	}
}

.ca-page-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	background-color: #0b1d33;
	min-height: clamp(20rem, 48vh, 36rem);
}

.ca-page-hero__inner,
.ca-home-hero-inner,
.single-practice-area-hero .ca-practice-hero-content,
.ca-practice-archive-hero .ca-practice-hero-content,
.ca-attorney-single-hero-inner {
	padding-top: var(--ca-banner-pt);
	padding-bottom: var(--ca-banner-pb);
}

/* Homepage hero — fixed 80px padding on mobile only */
@media (max-width: 639px) {
	.ca-home-hero-inner {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

/* Floor banner padding in px so mobile type scale cannot shrink it */
@media (max-width: 639px) {
	.ca-page-hero__inner,
	.single-practice-area-hero .ca-practice-hero-content,
	.ca-practice-archive-hero .ca-practice-hero-content,
	.ca-attorney-single-hero-inner {
		padding-top: max(var(--ca-banner-pt), 158px);
		padding-bottom: max(var(--ca-banner-pb), 142px);
	}
}

@media (min-width: 640px) and (max-width: 1023px) {
	.ca-page-hero__inner,
	.single-practice-area-hero .ca-practice-hero-content,
	.ca-practice-archive-hero .ca-practice-hero-content,
	.ca-attorney-single-hero-inner {
		padding-top: max(var(--ca-banner-pt), 166px);
		padding-bottom: max(var(--ca-banner-pb), 150px);
	}

	.ca-home-hero-inner {
		padding-top: var(--ca-banner-pt);
		padding-bottom: var(--ca-banner-pb);
	}
}

@media (min-width: 1024px) {
	/* Homepage cream hero — keep original desktop spacing (not navy banner scale) */
	.ca-home-hero-inner {
		padding-top: 6rem;
		padding-bottom: 4rem;
	}

	.ca-attorney-single-hero-inner {
		padding-bottom: clamp(1rem, 2vw, 1.5rem);
	}
}

.single-practice-area-hero,
.ca-practice-archive-hero {
	position: relative;
	min-height: clamp(24rem, 52vh, 36rem);
	overflow: hidden;
	background-color: #0b1d33;
}

/* Background photo (behind overlay) */
.single-practice-area-hero .ca-practice-hero-bg-image,
.ca-practice-archive-hero .ca-practice-hero-bg-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	opacity: 0.45;
}

/* Dark navy overlay so white text stays readable on light photos */
.single-practice-area-hero .ca-practice-hero-overlay,
.ca-practice-archive-hero .ca-practice-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(11, 29, 51, 0.92) 0%,
		rgba(11, 29, 51, 0.85) 50%,
		rgba(11, 29, 51, 0.94) 100%
	);
}

.single-practice-area-hero .ca-practice-hero-content,
.ca-practice-archive-hero .ca-practice-hero-content {
	position: relative;
	z-index: 4;
}

.single-practice-area-hero .ca-practice-hero-wave,
.ca-practice-archive-hero .ca-practice-hero-wave {
	z-index: 3;
	pointer-events: none;
}

/* Attorneys archive hero — stat labels must stay white (main.text-navy inherits otherwise) */
.ca-attorneys-archive-hero .ca-attorneys-hero-stat-label {
	color: #ffffff;
}

/* Our Firm + attorney single — about content (headings must not inherit body text styles) */
.ca-firm-about-content,
.ca-attorney-about-content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	color: rgba(11, 29, 51, 0.55);
}

.ca-firm-about-content h2,
.ca-firm-about-content h3,
.ca-attorney-about-content h2,
.ca-attorney-about-content h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 900 !important;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0b1d33 !important;
}

.ca-firm-about-content h2,
.ca-firm-about-content h2 span,
.ca-firm-about-content h2 strong,
.ca-attorney-about-content h2,
.ca-attorney-about-content h2 span,
.ca-attorney-about-content h2 strong {
	font-size: clamp(2rem, 4.5vw, 3rem) !important;
	font-weight: 900 !important;
	line-height: 1.1 !important;
	color: #0b1d33 !important;
}

.ca-firm-about-content h3,
.ca-firm-about-content h3 span,
.ca-firm-about-content h3 strong,
.ca-attorney-about-content h3,
.ca-attorney-about-content h3 span,
.ca-attorney-about-content h3 strong {
	font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
	font-weight: 900 !important;
	color: #0b1d33 !important;
}

.ca-firm-about-content p,
.ca-attorney-about-content p {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: rgba(11, 29, 51, 0.55);
}

@media (max-width: 1023px) {
	.ca-firm-about-content p,
	.ca-attorney-about-content p,
	.ca-attorneys-team-description p {
		font-size: 12px;
	}
}

.ca-firm-about-content p + p,
.ca-attorney-about-content p + p {
	margin-top: 1.25em;
}

/* Single blog post — article body, sidebar, CTA */
.ca-blog-single-content {
	color: rgba(11, 29, 51, 0.55);
	font-size: 1rem;
	line-height: 1.85;
}

.ca-blog-single-content > *:first-child {
	margin-top: 0;
}

.ca-blog-single-content p {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(11, 29, 51, 0.55);
}

.ca-blog-single-content h2,
.ca-blog-single-content h2 span,
.ca-blog-single-content h2 strong {
	margin: 2.5rem 0 1.5rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.375rem, 3vw, 1.75rem) !important;
	font-weight: 900 !important;
	line-height: 1.2;
	color: #0b1d33 !important;
}

.ca-blog-single-content h2:first-of-type {
	margin-top: 0;
}

.ca-blog-single-content h3,
.ca-blog-single-content h3 span,
.ca-blog-single-content h3 strong {
	margin: 2rem 0 1.25rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important;
	font-weight: 800 !important;
	line-height: 1.25;
	color: #0b1d33 !important;
}

.ca-blog-single-content h4,
.ca-blog-single-content h4 span,
.ca-blog-single-content h4 strong {
	margin: 1.5rem 0 1rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.3;
	color: #0b1d33 !important;
}

.ca-blog-single-content ul,
.ca-blog-single-content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.5rem;
	color: rgba(11, 29, 51, 0.55);
}

.ca-blog-single-content ul {
	list-style-type: disc;
}

.ca-blog-single-content ol {
	list-style-type: decimal;
}

.ca-blog-single-content li {
	margin-bottom: 0.375rem;
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(11, 29, 51, 0.55);
}

.ca-blog-single-content ul li::marker {
	color: #b8943f;
}

.ca-blog-single-content blockquote {
	margin: 2rem 0;
	padding-left: 1.25rem;
	border-left: 4px solid rgba(184, 148, 63, 0.4);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.6;
	color: rgba(11, 29, 51, 0.7);
}

.ca-blog-single-content a {
	color: #b8943f;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ca-blog-single-content a:hover {
	color: #96782f;
}

.ca-blog-single-content img,
.ca-blog-single-content figure {
	max-width: 100%;
	height: auto;
}

.ca-blog-single-content figure {
	margin: 1.5rem 0;
}

.ca-blog-single-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: rgba(11, 29, 51, 0.45);
}

.ca-blog-single-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	margin-bottom: 1.25rem;
}

@media (max-width: 1023px) {
	.ca-blog-single-content,
	.ca-blog-single-content p,
	.ca-blog-single-content li {
		font-size: 0.9375rem;
	}
}

.ca-blog-single-sidebar__label {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 900;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #96782f;
}

.ca-blog-single-sidebar__label:not(:first-child) {
	margin-top: 1.5rem;
}

.ca-blog-single-sidebar__value {
	margin: 0 0 0;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.5;
	color: rgba(11, 29, 51, 0.55);
}

.ca-blog-single-sidebar__link {
	margin-top: 1.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #96782f;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ca-blog-single-sidebar__link:hover {
	color: #b8943f;
}

.ca-blog-single-cta__title {
	margin: 0 0 1rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 900;
	line-height: 1.2;
	color: #0b1d33;
}

.ca-blog-single-cta__text {
	margin: 0 0 1.5rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgba(11, 29, 51, 0.55);
}

.ca-blog-single-cta__actions .ca-blog-single-cta__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 2px solid rgba(11, 29, 51, 0.1);
	border-radius: 0.75rem;
	padding: 1rem 2rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: rgba(11, 29, 51, 0.55);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.ca-blog-single-cta__actions .ca-blog-single-cta__phone:hover {
	border-color: rgba(184, 148, 63, 0.2);
	color: #b8943f;
}

@media (max-width: 1023px) {
	.ca-blog-single-sidebar {
		padding-top: 0.5rem;
		border-top: 1px solid rgba(11, 29, 51, 0.08);
	}
}

/* Our Firm page — stat boxes in 2 columns */
.ca-firm-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

@media (min-width: 640px) {
	.ca-firm-stats-grid {
		gap: 1.5rem;
	}
}

/* Attorneys archive — “Our Story” / team intro heading (not body text) */
.ca-attorneys-team-heading,
.ca-attorneys-team-description h2,
.ca-attorneys-team-description h3 {
	margin: 0 0 1.25rem;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0b1d33;
}

.ca-attorneys-team-heading,
.ca-attorneys-team-description h2 {
	font-size: clamp(2rem, 4.5vw, 3rem);
	line-height: 1.1;
}

.ca-attorneys-team-description h3 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.ca-attorneys-team-description {
	max-width: 100%;
	color: rgba(11, 29, 51, 0.55);
}

.ca-attorneys-team-description p {
	margin: 0 0 1.25em;
	font-size: 15px;
	line-height: 1.75;
	color: rgba(11, 29, 51, 0.55);
}

.ca-attorneys-team-description p:last-child {
	margin-bottom: 0;
}

.ca-attorneys-team-description .text-gradient-gold {
	background: none;
	-webkit-text-fill-color: #0b1d33;
	color: #0b1d33;
}

/* Hero headings — explicit white (parent .text-navy must not win) */
.single-practice-area-hero .ca-practice-hero-content h1,
.ca-practice-archive-hero .ca-practice-hero-content h1 {
	margin-top: 0;
	margin-bottom: 1.5rem;
	color: #ffffff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.single-practice-area-hero .ca-practice-hero-content p,
.ca-practice-archive-hero .ca-practice-hero-content p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.88);
}

.single-practice-area-hero .ca-practice-hero-content .text-gradient-gold,
.ca-practice-archive-hero .ca-practice-hero-content .text-gradient-gold {
	background: none;
	-webkit-text-fill-color: #d4af5c;
	color: #d4af5c;
}

/* Practice area page — section H3 headings: prominent, well-spaced */
.ca-section-h3 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.375rem;
	font-weight: 900;
	line-height: 1.25;
	color: #0B1D33;
	letter-spacing: -0.01em;
	padding-bottom: 0.625rem;
	border-bottom: 2px solid rgba(184, 148, 63, 0.35);
}

/* Full content area (SEO text below cards) */
.ca-practice-full-content h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.375rem;
	font-weight: 900;
	color: #0B1D33;
	margin-top: 2.5rem;
	margin-bottom: 0.875rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(184, 148, 63, 0.3);
}

.ca-practice-full-content h3 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.125rem;
	font-weight: 800;
	color: #0B1D33;
	margin-top: 2rem;
	margin-bottom: 0.625rem;
}

.ca-practice-full-content h4 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0B1D33;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

/* Service card accordions — cards stay top-aligned; only opened card grows */
.ca-services-accordion .ca-service-card {
	align-self: start;
	width: 100%;
}

/* Homepage practice cards — badge: exactly 2 lines, compact height */
.ca-practice-card-badge {
	position: absolute;
	right: 0.5rem;
	bottom: 0.75rem;
	left: 0.5rem;
	z-index: 2;
	padding: 0.35rem 0.5rem;
	border-radius: 0.75rem;
	background: rgba(249, 248, 245, 0.95);
	text-align: center;
	backdrop-filter: blur(4px);
}

.ca-practice-card-badge__text {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.2;
	color: #0b1d33;
}

/* CTA button row — stacked on mobile, side by side on desktop (home + practice areas) */
.ca-cta-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 100%;
}

.ca-cta-actions > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 20rem;
}

@media (min-width: 768px) {
	.ca-cta-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.ca-cta-actions > a {
		width: auto;
		max-width: none;
	}
}

/*--------------------------------------------------------------
# Site-wide responsive
--------------------------------------------------------------*/
@media (max-width: 1023px) {
	html {
		font-size: 80%;
	}
}

html {
	overflow-x: clip;
}

body {
	overflow-x: clip;
	max-width: 100%;
}

.site-main,
#primary {
	max-width: 100%;
	overflow-x: clip;
}

img,
video,
iframe,
embed {
	max-width: 100%;
	height: auto;
}

/* Hero / card media that must fill a frame */
.single-practice-area-hero .ca-practice-hero-bg-image,
.ca-practice-archive-hero .ca-practice-hero-bg-image {
	max-width: none;
	height: 100%;
}

.blog-card-media img,
#hero-parallax img,
#attorney-img {
	max-width: none;
	height: 100%;
}

/* Homepage hero image column — keep badge/corner accents visible */
.ca-hero-image-col {
	overflow: visible;
}

/* Gold years badge — top on mobile so it does not cover trust strip */
.ca-hero-years-badge {
	top: 1rem;
	right: 1rem;
	left: auto;
	bottom: auto;
}

@media (min-width: 1024px) {
	.ca-hero-years-badge {
		top: auto;
		right: auto;
		bottom: 6.75rem;
		left: 1rem;
	}
}

/* Homepage — Meet Our Attorneys section */
.ca-home-attorneys-section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
	.ca-home-attorneys-section {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}
}

@media (min-width: 1024px) {
	.ca-home-attorneys-section {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}

.ca-attorney-spotlight-photo {
	margin-bottom: 1.25rem;
}

.ca-attorney-exp-badge {
	bottom: -0.75rem;
	left: 50%;
	z-index: 2;
	transform: translateX(-50%);
	white-space: nowrap;
}

@media (min-width: 1024px) {
	.ca-attorney-spotlight-photo {
		margin-bottom: 0;
	}

	.ca-attorney-exp-badge {
		bottom: -1.25rem;
		left: auto;
		right: -1.25rem;
		transform: none;
	}
}

.ca-attorney-spotlight-nav {
	padding-bottom: 0.5rem;
}

@media (max-width: 1023px) {
	.ca-home-attorneys-section .mb-10 {
		margin-bottom: 2rem;
	}

	.ca-attorney-spotlight-nav {
		padding-bottom: 1rem;
	}
}

/* Hide scroll hint on mobile/tablet */
.ca-hero-scroll-hint {
	display: none !important;
}

@media (min-width: 1024px) {
	.ca-hero-scroll-hint {
		display: flex !important;
	}
}

/* Sticky sidebars — desktop only */
@media (max-width: 1023px) {
	.ca-sidebar-sticky {
		position: static !important;
		top: auto !important;
	}
}

/* Attorney single — awards / SuperLawyers cards */
.ca-attorney-recognition-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.875rem;
	justify-items: start;
}

@media (min-width: 640px) and (max-width: 1023px) {
	.ca-attorney-recognition-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ca-attorney-recognition {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.5rem;
	width: fit-content;
	max-width: 100%;
	padding: 0;
	margin-inline: 0;
	text-align: left;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ca-attorney-recognition:hover {
	border: 0;
	box-shadow: none;
}

.ca-attorney-recognition__mark {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	flex-shrink: 0;
	overflow: visible;
	padding: 0;
	border: 0;
	background: transparent;
}

.ca-attorney-recognition__logo {
	position: static;
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 12.5rem !important;
	max-height: 12.5rem !important;
	object-fit: contain !important;
	object-position: center;
}

.ca-attorney-recognition__label {
	display: block;
	max-width: 12.5rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.4;
	color: rgba(11, 29, 51, 0.55);
	text-align: left;
}

/* WordPress galleries — single column on small screens */
@media (max-width: 639px) {
	.gallery-columns-2,
	.gallery-columns-3,
	.gallery-columns-4,
	.gallery-columns-5,
	.gallery-columns-6,
	.gallery-columns-7,
	.gallery-columns-8,
	.gallery-columns-9 {
		grid-template-columns: 1fr;
	}

	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Wide tables scroll horizontally */
.entry-content table,
.ca-practice-full-content table,
.ca-practice-single table {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Homepage stats row — always 3 columns (one line) */
.ca-hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	align-items: start;
}

.ca-hero-stats > div {
	border-left: 1px solid rgba(11, 29, 51, 0.1);
	padding-left: 0.5rem;
	min-width: 0;
}

.ca-hero-stats > div:first-child {
	border-left: none;
	padding-left: 0;
}

.ca-hero-stats > div > div:first-child {
	font-size: clamp(1.35rem, 5.5vw, 1.875rem);
	line-height: 1.1;
}

.ca-hero-stats > div > div:last-child {
	margin-top: 0.35rem;
	font-size: 0.4375rem;
	line-height: 1.35;
	letter-spacing: 0.14em;
}

@media (min-width: 640px) {
	.ca-hero-stats {
		gap: 0;
	}

	.ca-hero-stats > div {
		padding-left: 1.5rem;
	}

	.ca-hero-stats > div > div:first-child {
		font-size: 1.875rem;
	}

	.ca-hero-stats > div > div:last-child {
		margin-top: 0.5rem;
		font-size: 0.5625rem;
		letter-spacing: 0.2em;
	}
}

@media (min-width: 1024px) {
	.ca-hero-stats > div {
		padding-left: 2rem;
	}

	.ca-hero-stats > div > div:first-child {
		font-size: 3rem;
	}
}

/* Practice area + contact two-column layouts */
@media (max-width: 1023px) {
	.ca-practice-single .lg\:col-span-2,
	.ca-practice-single .lg\:col-span-3 {
		width: 100%;
	}
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 639px) {
	.btn-primary,
	.btn-outline,
	.ca-cta-actions > a {
		min-height: 2.75rem;
	}

	.mx-auto.max-w-screen-2xl,
	.mx-auto.max-w-4xl,
	.mx-auto.max-w-5xl {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}