/*
Theme Name: DLD Lawyers
Theme URI: https://dldlawyers.com/
Author: ProteSure
Description: Custom theme for DLD Lawyers. Rebuilds the previous Beaver Builder design as a lightweight classic theme with no page builder. Requires the DLD Core plugin for attorneys, offices and practice areas.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dld
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--dld-orange: #ef4f1e;
	--dld-slate: #3a3e49;
	--dld-black: #000;
	--dld-white: #fff;
	--dld-grey-bg: rgba(58, 62, 73, 0.1);
	--dld-rule: rgba(239, 79, 30, 0.3);
	--dld-heading: "Quicksand", sans-serif;
	--dld-body: "Open Sans", sans-serif;
	--dld-width: 1100px;
	--dld-gutter: 20px;
	--dld-header-h: 182px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--dld-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.9;
	color: var(--dld-black);
	background: var(--dld-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--dld-orange); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover, a:focus { color: var(--dld-black); }
a.link { text-decoration: underline; }
p { margin: 0 0 10px; text-align: justify; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--dld-heading);
	font-weight: 400;
	color: var(--dld-orange);
	margin: 0 0 10px;
}
h1 { font-size: 44px; line-height: 1.1; }
h2 { font-size: 36px; line-height: 1.2; border-bottom: 1px solid; }
h3 { font-size: 30px; line-height: 1.2; }
h4 { font-size: 24px; line-height: 1.3; }
h5 { font-size: 18px; line-height: 1.3; }
h6 { font-size: 16px; line-height: 1.3; }
ul, ol { margin: 0 0 10px; padding-left: 24px; }
blockquote { margin: 0 0 20px; padding: 0 20px; border-left: 4px solid var(--dld-rule); }
table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
td, th { border: 1px solid #ddd; padding: 6px 10px; }
iframe { max-width: 100%; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 10px; top: 10px; z-index: 1000; padding: 10px 16px;
	background: var(--dld-white); color: var(--dld-black);
}

.dld-container {
	max-width: var(--dld-width);
	margin: 0 auto;
	padding-left: var(--dld-gutter);
	padding-right: var(--dld-gutter);
}

.dld-icon { display: inline-flex; line-height: 0; }
.dld-icon svg { width: 1em; height: 1em; }

/* ==========================================================================
   Header
   ========================================================================== */
.dld-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--dld-white);
	transition: box-shadow .3s ease;
}
.admin-bar .dld-header { top: 32px; }
.dld-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 5px;
	padding-bottom: 0;
	min-height: 146px;
	transition: min-height .3s ease;
}
.dld-header__brand { flex: 0 0 auto; padding: 20px 0 20px; transition: padding .3s ease; }
.dld-logo { display: block; line-height: 0; }
.dld-logo__img { width: 136px; height: auto; display: block; transition: width .3s ease; }
.dld-header__right { flex: 1 1 auto; text-align: right; }
.dld-topbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	line-height: 20px;
	margin-bottom: 18px;
	overflow: hidden;
	max-height: 40px;
	transition: max-height .3s ease, margin .3s ease, opacity .3s ease;
}
.dld-topbar__phone { color: var(--dld-black); }
.dld-topbar__phone:hover { color: var(--dld-orange); }
.dld-topbar__social { font-size: 20px; color: var(--dld-orange); }
.dld-topbar__social:hover { color: var(--dld-slate); }

.dld-nav { display: block; }
.dld-menu, .dld-menu ul { list-style: none; margin: 0; padding: 0; }
.dld-menu { display: flex; justify-content: flex-end; flex-wrap: wrap; }
.dld-menu > li { position: relative; margin: 5px 0; }
.dld-menu > li > a {
	display: block;
	padding: 10px;
	font-size: 16px;
	line-height: 16px;
	color: var(--dld-orange);
}
.dld-menu > li > a:hover,
.dld-menu > li:focus-within > a { color: var(--dld-slate); }
.dld-menu > li.current-menu-item > a,
.dld-menu > li.current_page_item > a,
.dld-menu > li.current-menu-ancestor > a { color: var(--dld-black); }
.dld-menu > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px; height: 7px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.dld-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 220px;
	text-align: left;
	border: 1px solid #000;
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s ease-in, visibility .3s ease-in;
}
.dld-menu > li:hover > .sub-menu,
.dld-menu > li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.dld-menu .sub-menu li { border-bottom: 1px solid var(--dld-white); }
.dld-menu .sub-menu li:last-child { border-bottom: 0; }
.dld-menu .sub-menu a {
	display: block;
	padding: 15px;
	font-size: 15px;
	line-height: 15px;
	color: var(--dld-white);
	background: var(--dld-orange);
}
.dld-menu .sub-menu a:hover,
.dld-menu .sub-menu .current-menu-item > a { background: var(--dld-slate); color: var(--dld-white); }

.dld-nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	font-size: 26px;
	color: var(--dld-orange);
	cursor: pointer;
}

/* Shrunk sticky header after scrolling (matches the old Themer "shrink" header). */
.dld-header.is-scrolled { box-shadow: 0 5px 10px 0 rgba(58, 62, 73, 0.38); }
.dld-header.is-scrolled .dld-header__inner { min-height: 0; }
.dld-header.is-scrolled .dld-header__brand { padding: 5px 0; }
.dld-header.is-scrolled .dld-logo__img { width: 46px; }
.dld-header.is-scrolled .dld-topbar { max-height: 0; margin: 0; opacity: 0; }
.dld-header.is-scrolled .dld-menu > li { margin: 0; }

/* ==========================================================================
   Page headers
   ========================================================================== */
.dld-photo-header {
	position: relative;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: var(--dld-white);
	padding: 120px 0;
	min-height: 357px;
	display: flex;
	align-items: center;
}
.dld-photo-header::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 0, 0, 0.3);
}
.dld-photo-header .dld-container { position: relative; z-index: 1; width: 100%; }
.dld-photo-header__title {
	margin: 0;
	font-size: 70px;
	font-weight: 300;
	line-height: 1.1;
	color: var(--dld-white);
	text-align: center;
	border: 0;
	animation: dld-fade-left 1s ease both;
}
@keyframes dld-fade-left {
	from { opacity: 0; transform: translateX(-60px); }
	to { opacity: 1; transform: none; }
}

.dld-title-band {
	background: var(--dld-slate);
	color: var(--dld-white);
	border-bottom: 5px solid var(--dld-orange);
	padding: 10px 0;
}
.dld-title-band__title {
	margin: 20px 0;
	font-size: 44px;
	font-weight: 300;
	line-height: 1.1;
	color: var(--dld-white);
	text-align: center;
	border: 0;
}

/* ==========================================================================
   Layout: content + sidebar
   ========================================================================== */
.dld-layout {
	display: grid;
	grid-template-columns: minmax(0, 70fr) minmax(0, 30fr);
	gap: 32px;
	padding-top: 40px;
	padding-bottom: 40px;
}
.dld-layout--post { grid-template-columns: minmax(0, 72.73fr) minmax(0, 27.27fr); }
.dld-layout--archive { grid-template-columns: minmax(0, 75.82fr) minmax(0, 24.18fr); }
.dld-layout--attorney { grid-template-columns: minmax(0, 73.09fr) minmax(0, 26.91fr); }
.dld-layout--practice { grid-template-columns: minmax(0, 69.09fr) minmax(0, 30.91fr); }
.dld-layout--full { grid-template-columns: minmax(0, 1fr); }
.page-template-page-full-width .dld-layout__main { padding-left: 16px; padding-right: 16px; }

.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 10px; }
.entry-content h4 { margin-top: 20px; }
.entry-content img.alignleft, .entry-content .alignleft { float: left; margin: 0 20px 10px 0; }
.entry-content img.alignright, .entry-content .alignright { float: right; margin: 0 0 10px 20px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-block-image { margin: 0 0 20px; }
.dld-embed iframe, .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.single-attorney .dld-embed { max-width: 500px; }

.dld-sidebar__block { margin-bottom: 30px; }
.dld-sidebar h2 { font-size: 36px; margin-bottom: 10px; }
.dld-sidebar__minor { font-size: 24px; margin-bottom: 0; }
.practice-list,
.dld-post-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.practice-list li,
.dld-post-links li {
	margin: 5px;
	border-bottom: 1px solid var(--dld-rule);
	line-height: 1.9;
}
.dld-post-links li { border-bottom: 0; margin: 0 0 15px; line-height: 1.55; }
.practice-list li a { display: block; padding: 0; color: var(--dld-orange); }
.practice-list li.current-menu-item a,
.practice-list li a:hover { color: var(--dld-black); }

/* ==========================================================================
   Home
   ========================================================================== */
.dld-hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	padding: 250px 0 200px;
	color: var(--dld-white);
	overflow: hidden;
	background: var(--dld-slate);
}
.dld-hero__slides, .dld-hero__slide { position: absolute; inset: 0; }
.dld-hero__slide {
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease;
}
.dld-hero__slide.is-active { opacity: 1; }
.dld-hero::after { content: ""; position: absolute; inset: 0; background: rgba(10, 0, 0, 0.3); }
.dld-hero__content { position: relative; z-index: 1; width: 100%; text-align: center; }
.dld-hero__title {
	margin: 0;
	font-size: 110px;
	font-weight: 300;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--dld-white);
	text-shadow: 0 0 6px var(--dld-slate);
	border: 0;
}
.dld-hero__separator {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0 20px;
	color: var(--dld-orange);
	font-size: 30px;
}
.dld-hero__separator span:not(.dld-icon) { flex: 1; border-top: 1px solid var(--dld-orange); }
.dld-hero__tagline {
	margin: 0;
	font-family: var(--dld-heading);
	font-size: 18px;
	letter-spacing: 5px;
	line-height: 1.3;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 0 6px var(--dld-slate);
}
.dld-hero__down {
	display: inline-block;
	margin-top: 250px;
	margin-bottom: -200px;
	font-size: 60px;
	color: var(--dld-orange);
	line-height: 0;
}
.dld-hero__down:hover { color: var(--dld-white); }

.dld-section { padding: 40px 0; }
.dld-home-intro__content p {
	font-size: 22px;
	font-weight: 300;
	line-height: 1.9;
}
.dld-home-feeds {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 40px;
}
.dld-feed-list { list-style: none; margin: 0; padding: 0; }
.dld-feed-list li { margin: 0 0 15px; line-height: 1.55; }
.dld-feed-list a { color: var(--dld-orange); }
.dld-feed-list a:hover { opacity: .8; color: var(--dld-orange); }
.dld-more { text-align: right; margin: 0; }
.dld-more a { display: inline-flex; align-items: center; gap: 2px; color: var(--dld-orange); }
.dld-more a:hover { color: var(--dld-black); }
.dld-more .dld-icon { font-size: 20px; }

.dld-band {
	background: var(--dld-orange);
	color: var(--dld-white);
	padding: 20px 0;
	text-align: center;
}
.dld-band__title {
	font-size: 50px;
	color: var(--dld-white);
	border-bottom-color: rgba(255, 255, 255, .5);
	margin-bottom: 0;
}
.dld-band__list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	text-align: center;
}
.dld-band__list li { display: inline-block; margin: 5px 15px; }
.dld-band__list a { display: block; padding: 10px; font-size: 24px; color: var(--dld-white); line-height: 1.1; }
.dld-band__list a:hover { color: var(--dld-black); }

.dld-available { padding: 40px 0; }
.dld-available__text {
	font-family: var(--dld-heading);
	font-size: 44px;
	font-weight: 300;
	color: var(--dld-orange);
	text-align: center;
	margin: 0;
}

/* ==========================================================================
   Badges strip
   ========================================================================== */
.dld-badges { padding: 20px 0 0; }
.dld-badges__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1058px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.dld-badges__item { padding: 5px; text-align: center; display: flex; align-items: center; justify-content: center; }
.dld-badges__img { max-height: 150px; width: auto; transition: filter .3s ease-in-out; }
.dld-badges__item:hover .dld-badges__img { filter: grayscale(100%); }

/* ==========================================================================
   Footer
   ========================================================================== */
.dld-footer {
	background: var(--dld-slate);
	color: var(--dld-white);
	padding: 20px 0 10px;
	font-size: 12px;
	line-height: 1.9;
	margin-top: 20px;
}
.dld-footer a { color: var(--dld-white); }
.dld-footer a:hover { color: var(--dld-orange); }
.dld-footer h3, .dld-footer h4 { color: var(--dld-white); }
.dld-footer h3 { font-size: 30px; margin-bottom: 10px; }
.dld-footer h4 { font-size: 20px; margin: 10px 0 0; }
.dld-footer p { text-align: left; margin: 0; }
.dld-footer__cols {
	display: grid;
	grid-template-columns: 69.73fr 30.27fr;
	gap: 40px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.dld-footer__links { list-style: none; margin: 0; padding: 0; }
.dld-footer__links li { margin: 0 0 6px; }
.dld-footer__legal {
	text-align: center;
	font-size: 11px;
	padding-top: 10px;
	padding-bottom: 10px;
}

/* ==========================================================================
   Posts
   ========================================================================== */
.dld-summary { margin-bottom: 30px; }
.dld-summary__title { font-size: 24px; line-height: 1.3; border: 0; margin: 0; }
.dld-summary__title a { color: var(--dld-orange); }
.dld-summary__title a:hover { opacity: .8; color: var(--dld-orange); }
.dld-summary__date { font-size: 12px; color: var(--dld-orange); margin: 2px 0 10px; }
.dld-summary__excerpt p { margin: 0; }

.dld-pagination ul { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dld-pagination a, .dld-pagination span {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--dld-rule);
	line-height: 1.5;
}
.dld-pagination .current { background: var(--dld-orange); color: var(--dld-white); border-color: var(--dld-orange); }

.dld-about-author { margin-top: 40px; }
.dld-about-author__item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.dld-about-author__photo { flex: 0 0 20%; }
.dld-about-author__photo img { display: block; width: 100%; }
.dld-about-author__name { font-family: var(--dld-heading); font-size: 20px; margin: 0 0 6px; text-align: left; }

/* ==========================================================================
   Attorneys
   ========================================================================== */
.dld-attorneys { padding-top: 40px; padding-bottom: 40px; }
.dld-filter {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px 0;
}
.dld-filter button {
	background: none;
	border: 0;
	padding: 4px 10px;
	font-family: var(--dld-body);
	font-size: 13px;
	color: var(--dld-slate);
	cursor: pointer;
}
.dld-filter button:hover { color: var(--dld-orange); }
.dld-filter button.is-active { background: var(--dld-orange); color: var(--dld-white); }

.dld-attorney-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
	gap: 30px 38px;
	justify-content: start;
	padding-left: 10px;
}
.dld-attorney-card[hidden] { display: none; }
.dld-attorney-card a { display: block; text-align: center; }
.dld-attorney-card__photo {
	display: block;
	overflow: hidden;
	border: 1px solid #ccc;
	line-height: 0;
}
.dld-attorney-card__photo img { width: 100%; height: auto; display: block; transition: transform 1s; }
.dld-attorney-card a:hover img { transform: scale(1.1); }
.dld-attorney-card__name { display: block; margin-top: 6px; font-size: 13px; color: var(--dld-orange); line-height: 1.4; }

.dld-attorney-intro {
	background: var(--dld-grey-bg);
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	padding: 20px 0 30px;
}
.dld-back { font-size: 12px; margin: 0 0 10px; text-align: left; }
.dld-back a { color: var(--dld-black); }
.dld-back a:hover { color: var(--dld-orange); }
.dld-attorney-intro__box { display: flex; gap: 20px; align-items: flex-start; }
.dld-attorney-intro__photo { flex: 0 0 150px; margin-top: 10px; line-height: 0; }
.dld-attorney-intro__photo img { width: 150px; height: auto; display: block; }
.dld-attorney-intro__details { flex: 1 1 auto; }
.dld-attorney-intro__name { font-size: 30px; margin: 0 0 5px; }
.dld-attorney-intro__job { margin: 0; font-weight: 600; text-align: left; }
.dld-attorney-intro__contact { margin: 5px 0 0; line-height: 1.55; text-align: left; }
.dld-attorney-intro__contact a { color: var(--dld-black); }
.dld-attorney-intro__contact a:hover { color: var(--dld-orange); }
.dld-attorney-section h4 { margin-top: 20px; }
.dld-attorney-section p { text-align: left; margin-bottom: 0; }

/* ==========================================================================
   Practice areas page
   ========================================================================== */
.dld-pa-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 30px;
}
.dld-pa-card a { display: block; color: var(--dld-black); }
.dld-pa-card__img { display: block; overflow: hidden; line-height: 0; border: 5px solid #f2f2f2; }
.dld-pa-card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1s; }
.dld-pa-card a:hover img { transform: scale(1.05); }
.dld-pa-card__title { display: block; margin-top: 10px; font-family: var(--dld-heading); font-size: 22px; color: var(--dld-orange); line-height: 1.3; }
.dld-pa-card__text { display: block; margin-top: 6px; font-size: 14px; line-height: 1.6; }
.dld-pa-card__more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--dld-orange); }

/* ==========================================================================
   Block editor content (contact page, results page)
   ========================================================================== */
.wp-block-columns { gap: 40px; margin-bottom: 30px; }
.wp-block-details {
	border: 1px solid #e5e5e5;
	padding: 10px 15px;
	margin: 20px 0;
}
.wp-block-details summary {
	cursor: pointer;
	color: var(--dld-orange);
	font-size: 13px;
	list-style: none;
	display: flex;
	justify-content: space-between;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 18px; line-height: 1; }
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details h5 { color: var(--dld-orange); margin-top: 15px; }
.dld-map iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ==========================================================================
   Notice bar (replaces the Convert Pro info bar)
   ========================================================================== */
.dld-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 8px 60px;
	background: #ff0000;
	color: var(--dld-white);
	text-align: center;
}
.dld-notice[hidden] { display: none; }
.dld-notice__body p { margin: 0; text-align: center; }
.dld-notice__title { font-weight: 700; font-size: 22px; line-height: 1.2; }
.dld-notice__text { font-size: 12px; line-height: 1.4; }
.dld-notice__button {
	display: inline-block;
	background: var(--dld-black);
	color: var(--dld-white);
	border-radius: 10px;
	padding: 10px 34px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	line-height: 1.2;
}
.dld-notice__button:hover { color: var(--dld-white); background: var(--dld-slate); }
.dld-notice__close {
	position: absolute;
	left: calc(50% - 320px);
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: var(--dld-white);
	font-size: 16px;
	cursor: pointer;
	padding: 4px;
}
body.has-notice { padding-bottom: 60px; }

/* ==========================================================================
   Responsive (breakpoints match the old site: 991px and 767px)
   ========================================================================== */
.dld-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 44px;
	height: 44px;
	border: 0;
	background: rgba(58, 62, 73, .4);
	color: var(--dld-white);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s, background .2s;
	z-index: 90;
}
.dld-to-top:hover, .dld-to-top:focus { background: var(--dld-slate); }
.dld-to-top.is-visible { opacity: 1; visibility: visible; }
.dld-to-top svg { width: 18px; height: 18px; vertical-align: middle; }
body.has-notice .dld-to-top { bottom: 80px; }

@media (max-width: 991px) {
	p { text-align: inherit; }
	.dld-hero { padding: 150px 0 50px; min-height: 70vh; }
	.dld-hero__title { font-size: 80px; }
	.dld-hero__tagline { letter-spacing: 4px; }
	.dld-hero__down { margin-top: 60px; margin-bottom: -30px; font-size: 50px; }
	.dld-home-intro__content p { font-size: 19px; }
	.dld-band__title { font-size: 38px; }
	.dld-band__list li { margin: 5px 0; }
	.dld-band__list a { font-size: 20px; }
	.dld-available__text { font-size: 36px; }
	.dld-photo-header__title { font-size: 54px; }
	.dld-notice__close { left: 12px; }
}

@media (max-width: 767px) {
	:root { --dld-gutter: 15px; }
	h1 { font-size: 36px; }
	h2 { font-size: 30px; }
	.dld-header__inner { min-height: 0; flex-wrap: wrap; }
	.dld-header__brand { padding: 10px 0; }
	.dld-logo__img { width: 80px; }
	.dld-topbar { display: none; }
	.dld-nav-toggle { display: inline-block; }
	.dld-nav { display: none; width: 100%; }
	.dld-nav.is-open { display: block; }
	.dld-header__right { display: flex; flex-direction: column; align-items: flex-end; }
	.dld-menu { flex-direction: column; text-align: left; padding: 10px 0; }
	.dld-menu > li { margin: 0; border-top: 1px solid #eee; }
	.dld-menu .sub-menu { position: static; visibility: visible; opacity: 1; border: 0; min-width: 0; }
	.dld-menu .sub-menu a { background: none; color: var(--dld-orange); padding: 8px 25px; }
	.dld-menu .sub-menu a:hover { background: none; color: var(--dld-slate); }
	.dld-menu .sub-menu li { border: 0; }
	.dld-hero { padding: 35px 0 20px; min-height: 65vh; }
	.dld-hero__title { font-size: 45px; }
	.dld-hero__tagline { font-size: 15px; letter-spacing: 2px; }
	.dld-hero__down { margin-top: 20px; margin-bottom: 0; }
	.dld-home-intro__content p { font-size: 18px; }
	.dld-home-feeds,
	.dld-layout,
	.dld-layout--post,
	.dld-layout--archive,
	.dld-layout--attorney,
	.dld-layout--practice,
	.dld-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.dld-footer__cols { text-align: center; }
	.dld-footer p { text-align: center; }
	.dld-photo-header { padding: 60px 0; min-height: 220px; }
	.dld-photo-header__title { font-size: 40px; }
	.dld-title-band__title { font-size: 32px; }
	.dld-badges__list { grid-template-columns: repeat(2, 1fr); }
	.dld-attorney-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding-left: 0; }
	.dld-attorney-intro__box { flex-direction: column; }
	.dld-notice { gap: 12px; padding: 8px 40px; flex-wrap: wrap; }
	.dld-notice__title { font-size: 17px; }
}

@media print {
	.dld-header .dld-nav, .dld-topbar, .dld-footer, .dld-notice, .dld-sidebar, .dld-badges, .dld-nav-toggle { display: none !important; }
	.dld-header { position: static; box-shadow: none; }
	.dld-layout { display: block; }
}
