/*
Theme Name: Andrew Smith Partners
Theme URI: https://www.srilankalawyer.com/
Author: Andrew Smith Partners
Description: Lightweight custom theme for the Andrew Smith Partners site. The homepage is coded in front-page.php. Practice Areas are a custom post type. Other pages use the block editor.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 7.1
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: srilanka-lawyer
Tags: custom-logo, featured-images, custom-menu, one-column, translation-ready
*/

/* Latin subsets, self-hosted. Variable files cover the weights used on the site. */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/roboto-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/playfair-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/playfair-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--brand: #387dcf;
	--line: #e6e6e6;
	--muted: #666;
	--text: #111;
	--primary-blue: #4a7ab6;
	--gold: #c5a065;
	--light-blue-header: #7daee0;
	--bg-overlay: #3e444c;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Roboto", "Segoe UI", sans-serif;
	color: #333;
	line-height: 1.6;
	background: #fff;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--primary-blue);
}

button,
input,
textarea {
	font-family: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 10000;
	background: #fff;
	color: #111;
	padding: 8px 14px;
	border: 2px solid var(--brand);
}

.skip-link:focus {
	top: 8px;
	color: #111;
}

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 80px 0;
}

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

.muted {
	color: var(--muted);
}

.heading-serif {
	font-family: "Playfair Display", Georgia, serif;
}

.heading-gold {
	color: var(--gold);
	font-weight: 700;
	margin: 0 0 10px;
}

.heading-upper {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
}

.kicker {
	font-size: 11px;
	letter-spacing: 2px;
	margin: 0;
}

.quote-header .kicker {
	font-size: 13px;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.stats-grid {
	gap: 0;
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 28px;
	border-radius: 0;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.9rem;
	cursor: pointer;
	border: none;
	background: transparent;
	text-align: center;
}

.btn-gold-outline {
	position: relative;
	overflow: hidden;
	z-index: 1;
	border: 2px solid var(--gold);
	color: var(--gold);
	padding: 12px 40px;
}

.btn-gold-outline::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	height: 0;
	background: var(--gold);
	transition: height 0.3s ease-out;
}

.btn-gold-outline:hover {
	color: #fff;
}

.btn-gold-outline:hover::before {
	height: 100%;
}

/* Header */
.top-bar {
	background: #fff;
	border-bottom: 1px solid #eee;
	padding: 8px 0;
	font-size: 13px;
	letter-spacing: 0.05em;
}

.top-bar-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.call-us,
.p-call {
	color: #999;
	text-transform: uppercase;
}

.phone-link {
	color: var(--brand);
	font-weight: 500;
	margin-left: 5px;
}

.top-right,
.search-wrap {
	display: flex;
	align-items: center;
	gap: 20px;
}

.search-wrap {
	position: relative;
	gap: 0;
}

.request-link {
	color: var(--brand);
	text-transform: uppercase;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.request-link:hover,
.phone-link:hover {
	opacity: 0.8;
	color: var(--brand);
}

.search-toggle,
.nav-toggle,
.hero-radio {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.search-icon {
	color: #ccc;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
}

.search-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 30;
	display: none;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--line);
	padding: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	width: min(320px, 80vw);
}

.search-toggle:checked ~ .search-panel,
.search-toggle:focus-visible ~ .search-panel {
	display: flex;
}

.search-panel input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 1px solid #ddd;
	padding: 10px 12px;
	font-size: 14px;
}

.search-panel button,
.content-search button {
	background: var(--gold);
	color: #fff;
	border: 0;
	padding: 10px 14px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	cursor: pointer;
}

.site-header {
	background: #fff;
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
	position: relative;
	z-index: 1000;
}

.logo {
	margin-left: 18%;
}

.logo img,
.custom-logo {
	height: 50px;
	width: auto;
}

.nav-menu {
	display: flex;
	gap: 55px;
	margin: 0 auto;
	align-items: center;
}

.nav-menu a {
	font-size: 15px;
	font-weight: 400;
	color: #333;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
	color: var(--primary-blue);
}

.hamburger-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	cursor: pointer;
	z-index: 2000;
}

.hamburger-btn span[aria-hidden="true"] {
	display: block;
	width: 25px;
	height: 3px;
	background: var(--text);
}

.nav-backdrop {
	display: none;
}

.mobile-overlay {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(300px, 80%);
	height: 100%;
	background: var(--bg-overlay);
	z-index: 1500;
	transition: right 0.4s ease;
	padding: 20px;
	visibility: hidden;
}

.nav-toggle:checked ~ .nav-backdrop {
	display: block;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1400;
	cursor: pointer;
}

.nav-toggle:checked ~ .mobile-overlay {
	right: 0;
	visibility: visible;
}

.nav-toggle:checked + .hamburger-btn {
	visibility: hidden;
}

.nav-toggle:focus-visible + .hamburger-btn {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

body:has(.nav-toggle:checked) {
	overflow: hidden;
}

.overlay-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 15px;
	margin-bottom: 20px;
	color: #fff;
	text-transform: uppercase;
}

.close-btn {
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mobile-link-item {
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link-item a {
	color: #fff;
	font-size: 18px;
	display: block;
}

.mobile-link-item a:hover,
.mobile-link-item a[aria-current="page"] {
	color: #fff;
	opacity: 0.75;
}

/* Hero */
.hero-parallax-slider {
	position: relative;
	height: 600px;
	overflow: hidden;
	background: #111;
	color: #fff;
}

.parallax-container,
.p-slide {
	height: 100%;
}

.p-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: opacity 1.2s ease-in-out, visibility 1.2s;
}

#sll-hero-1:checked ~ .parallax-container #slide-1,
#sll-hero-2:checked ~ .parallax-container #slide-2,
#sll-hero-3:checked ~ .parallax-container #slide-3 {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 10s linear;
}

#sll-hero-1:checked ~ .parallax-container #slide-1 .hero-photo,
#sll-hero-2:checked ~ .parallax-container #slide-2 .hero-photo,
#sll-hero-3:checked ~ .parallax-container #slide-3 .hero-photo {
	transform: scale(1);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.p-content {
	position: relative;
	z-index: 2;
	color: #fff;
}

.p-content h1,
.p-content h2 {
	color: #fff;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 25px;
	max-width: 900px;
}

.p-content h1 {
	font-size: 3.5rem;
}

.p-content h2 {
	font-size: 2.5rem;
}

.p-contact-info {
	margin-bottom: 22px;
}

.p-phone {
	color: #fff;
	font-weight: 500;
	font-size: 1.25rem;
	margin-left: 8px;
}

.p-phone:hover {
	color: #fff;
	opacity: 0.85;
}

.slider-nav-dots {
	position: absolute;
	z-index: 5;
	left: 0;
	right: 0;
	bottom: 84px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	cursor: pointer;
	display: inline-block;
}

#sll-hero-1:checked ~ .slider-nav-dots label[for="sll-hero-1"],
#sll-hero-2:checked ~ .slider-nav-dots label[for="sll-hero-2"],
#sll-hero-3:checked ~ .slider-nav-dots label[for="sll-hero-3"],
#sll-hero-1:focus-visible ~ .slider-nav-dots label[for="sll-hero-1"],
#sll-hero-2:focus-visible ~ .slider-nav-dots label[for="sll-hero-2"],
#sll-hero-3:focus-visible ~ .slider-nav-dots label[for="sll-hero-3"] {
	background: var(--gold);
	border-color: var(--gold);
}

/* Homepage sections */
.aps-stats {
	background: #fff;
	border: 1px solid #eee;
	padding: 25px 0;
	margin-top: -60px;
	position: relative;
	z-index: 10;
}

.aps-item {
	font-size: 12px;
	text-align: center;
	border-left: 1px solid #eee;
	padding: 10px 15px;
	line-height: 1.45;
}

.aps-item:first-child {
	border-left: none;
}

.aps-card-title {
	font-family: "Roboto", "Segoe UI", sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	margin: 8px 0 6px;
	color: #222;
	letter-spacing: 0;
	text-transform: none;
}

.aps-icon svg {
	width: 65px;
	height: 65px;
	fill: #e3c78a;
	transition: 0.3s;
}

.aps-card:hover .aps-icon svg {
	fill: var(--brand);
	transform: translateY(-5px);
}

.aps-link {
	color: #3267e3;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.aps-link:hover {
	color: var(--primary-blue);
	text-decoration: underline;
}

.quote-header {
	text-align: center;
	margin-bottom: 50px;
	border-bottom: 1px solid #eee;
	padding-bottom: 40px;
}

.main-quote {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 28px;
	font-style: italic;
	font-weight: 400;
	color: #444;
	max-width: 800px;
	margin: 12px auto 0;
	line-height: 1.3;
	border: 0;
	padding: 0;
}

.quote-cite {
	font-size: 12px;
	margin: 15px 0 0;
}

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 0 0;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.about-layout,
.services-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	margin-top: 20px;
}

.services-layout {
	gap: 50px;
}

.about-sidebar,
.about-content,
.services-text-content,
.services-card {
	flex: 1;
	min-width: 0;
}

.sidebar-img {
	height: 550px;
	overflow: hidden;
	background: #ccc;
}

.sidebar-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.sidebar-nav {
	background: var(--primary-blue);
	color: #fff;
	padding: 20px;
	font-size: 12px;
}

.sidebar-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-nav li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding: 10px 0;
}

.sidebar-nav a {
	color: #fff;
	display: block;
	text-transform: uppercase;
}

.sidebar-nav a:hover {
	color: #fff;
	opacity: 0.8;
}

.about-content p,
.services-text-content p {
	font-size: 14px;
	line-height: 1.7;
}

.about-content p {
	text-align: justify;
}

.about-content h3 {
	margin-top: 22px;
}

.about-content h3:first-child {
	margin-top: 0;
}

.expertise-list {
	font-size: 14px;
	margin: 15px 0 0;
	padding-left: 18px;
}

.story-link {
	font-size: 12px;
	margin-top: 20px;
}

.services-kicker {
	display: block;
	margin-bottom: 20px;
}

.help-heading {
	color: var(--light-blue-header);
	margin: 30px 0 8px;
	font-weight: 500;
	font-size: 1.35rem;
}

.services-text-content .help-heading:first-child {
	margin-top: 0;
}

.services-card {
	display: flex;
	flex-direction: column-reverse;
	min-height: 650px;
	background: #f4f4f4;
}

.services-list-panel {
	background: var(--bg-overlay);
	color: #fff;
	padding: 30px;
}

.services-mark {
	font-size: 30px;
	margin-bottom: 15px;
	color: #4a7ab6;
	line-height: 1;
}

.services-ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
}

.services-ul li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 10px 0;
}

.services-ul a {
	color: #fff;
}

.services-ul a:hover {
	color: #fff;
	opacity: 0.8;
}

.services-image-panel {
	position: relative;
	flex: 1;
	min-height: 240px;
	overflow: hidden;
}

.services-image-panel img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section-heading {
	font-size: 1.8rem;
	margin: 0 0 30px;
}

.heading-rule {
	width: 120px;
	height: 3px;
	background: var(--line);
	margin: 10px auto 40px;
}

.logo-scroller {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
	display: flex;
	align-items: center;
	gap: 40px;
	width: max-content;
	animation: logo-scroll 40s linear infinite;
}

.logo-scroller:hover .logo-track {
	animation-play-state: paused;
}

@keyframes logo-scroll {
	to {
		transform: translateX(-50%);
	}
}

.logo-br {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.logo-br img {
	height: 60px;
	width: auto;
}

.aps-recognition {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 20px;
}

.aps-recognition .heading {
	text-align: center;
	margin: 0 0 26px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 1.8rem;
	font-weight: 700;
	color: #111;
	font-family: "Roboto", "Segoe UI", sans-serif;
}

.rec-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-top: 26px;
}

.rec-card-link {
	color: inherit;
	display: block;
	height: 100%;
}

.rec-card-link:hover {
	color: inherit;
}

.rec-card {
	border: 1px solid #eee;
	padding: 20px 22px;
	background: #fff;
	height: 100%;
}

.rec-card h3 {
	margin: 0.25rem 0 0.5rem;
	font-size: 1.1rem;
	font-family: "Roboto", "Segoe UI", sans-serif;
	font-weight: 700;
	color: #222;
}

.aps-muted {
	color: #777;
	font-weight: 400;
}

.rec-card p {
	color: #444;
	line-height: 1.7;
	margin: 0;
}

.readmore {
	display: inline-block;
	margin-top: 12px;
	color: #3267e3;
	font-weight: 600;
}

.rec-card-link:hover .readmore {
	text-decoration: underline;
}

.awds {
	margin-top: 50px;
}

.awards-kicker {
	letter-spacing: 2px;
	display: block;
	text-align: center;
	margin: 0 0 24px;
}

.awd-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	align-items: stretch;
}

.awd-item {
	background: #fff;
	border: 1px solid #eee;
	text-align: center;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.awd-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px;
	color: inherit;
}

.awd-link:hover {
	color: inherit;
}

.awd-thumb {
	width: 120px;
	height: 100px;
	margin: 0 auto 15px;
}

.awd-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.awd-body .date {
	font-size: 0.9rem;
	color: #777;
	margin-bottom: 4px;
}

.awd-body .title {
	font-family: "Roboto", "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	color: #111;
	margin: 0 0 6px;
	letter-spacing: 0;
	text-transform: none;
}

.awd-body .subtitle {
	font-size: 0.95rem;
	color: #444;
	margin: 0 0 8px;
}

.awd-body .meta {
	font-size: 0.85rem;
	color: #888;
}

.partner-card {
	text-align: center;
	background: #fff;
	border: 1px solid var(--line);
	padding: 30px 20px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.partner-photo {
	width: 220px;
	height: 220px;
	margin: 0 auto 18px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.partner-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.partner-name {
	font-size: 1.2rem;
	line-height: 1.35;
	margin: 0 0 8px;
}

.partner-role {
	color: var(--muted);
	font-weight: 600;
	margin: 0 0 10px;
}

.partner-contact {
	display: block;
	color: #3267e3;
	font-size: 0.95rem;
	margin-bottom: 4px;
}

.partner-contact:hover {
	text-decoration: underline;
}

.partner-socials {
	margin-top: 15px;
}

.social-icon {
	width: 16px;
	height: 16px;
	opacity: 0.4;
	filter: grayscale(100%);
	display: inline-flex;
}

.social-icon img {
	width: 16px;
	height: 16px;
}

.social-icon:hover {
	opacity: 1;
	filter: none;
}

.work-header {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px;
}

.work-header::before,
.work-header::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #e5e5e5;
	margin: 0 30px;
}

.work-title {
	font-weight: 300;
	font-size: 26px;
	margin: 0;
}

.work-note {
	font-size: 13px;
	margin: 0 0 40px;
}

.intern-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border: 1px solid #d7b27b;
	color: #d7b27b;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.intern-btn:hover {
	background: #d7b27b;
	color: #fff;
}

/* Inner pages */
.hero-sub-section {
	position: relative;
	min-height: 300px;
	height: 35vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #333;
	color: #fff;
	overflow: hidden;
}

.hero-sub-section .hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hero-sub-section .hero-overlay {
	z-index: 1;
}

.hero-sub-section .hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero-sub-section .section-title {
	color: #fff;
	font-size: 30px;
	font-weight: 500;
	margin: 0;
	line-height: 1.3;
}

.entry-wrap {
	max-width: 920px;
	margin: 0 auto;
}

.entry-content {
	font-size: 16px;
	line-height: 1.8;
	color: #444;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-family: "Playfair Display", Georgia, serif;
	color: #3e3e3e;
	line-height: 1.3;
	font-weight: 600;
}

.entry-content h2 {
	font-size: 1.75rem;
	margin: 1.6em 0 0.5em;
}

.entry-content h3 {
	font-size: 1.4rem;
	margin: 1.4em 0 0.45em;
	color: var(--gold);
}

.entry-content h4 {
	font-size: 1.2rem;
	margin: 1.3em 0 0.4em;
}

.entry-content p,
.entry-content li {
	font-size: 16px;
}

.entry-content a {
	color: #3267e3;
}

.entry-content a:hover {
	text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25em;
}

.entry-content li {
	margin: 0.35em 0;
}

.entry-content blockquote {
	border-left: 4px solid var(--gold);
	margin: 1.5em 0;
	padding: 0.2em 0 0.2em 1.2em;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.35rem;
	line-height: 1.4;
	color: #3e3e3e;
}

.entry-content img,
.entry-content video {
	height: auto;
}

.entry-content figure {
	margin: 1.5em 0;
}

.entry-content figcaption {
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-gallery img {
	height: auto;
}

.entry-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
	margin: 1.5em 0;
}

.entry-content .gallery-item {
	margin: 0;
}

.entry-content .gallery img {
	width: 100%;
	height: auto;
}

.entry-content .wp-block-table {
	overflow-x: auto;
	margin: 1.5em 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: #f7f7f7;
	color: #222;
}

.entry-content .wp-block-button__link,
.entry-content .wp-element-button,
.entry-content input[type="submit"],
.entry-content button {
	background: transparent;
	color: var(--gold);
	border: 2px solid var(--gold);
	border-radius: 0;
	padding: 12px 28px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-element-button:hover,
.entry-content input[type="submit"]:hover,
.entry-content button:hover {
	background: var(--gold);
	color: #fff;
}

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content input[type="search"],
.entry-content textarea,
.entry-content select,
.consult-strip input[type="text"],
.consult-strip input[type="email"],
.consult-strip input[type="tel"],
.consult-strip textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	background: #fff;
	font-size: 15px;
	color: #222;
}

.entry-content textarea {
	min-height: 140px;
}

.entry-content .wp-block-embed,
.entry-content iframe {
	max-width: 100%;
}

.entry-meta {
	color: #888;
	font-size: 13px;
	margin: 0 0 18px;
}

.entry-empty {
	color: var(--muted);
}

.excerpt-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.practice-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin: 0 0 32px;
}

.practice-filter a {
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.practice-filter a[aria-current="page"],
.practice-filter a:hover {
	color: var(--gold);
}

.practice-cats {
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.practice-cats a {
	color: var(--gold);
}

.practice-cats a:hover {
	color: var(--primary-blue);
}

.entry-wrap > .practice-cats {
	margin-bottom: 22px;
}

.excerpt-card {
	border: 1px solid #eee;
	padding: 22px;
	background: #fff;
}

.excerpt-title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.45rem;
	margin: 0 0 6px;
	font-weight: 600;
}

.excerpt-title a {
	color: #222;
}

.excerpt-title a:hover {
	color: var(--primary-blue);
}

.excerpt-body p {
	margin: 0 0 12px;
	color: #444;
}

.content-search {
	display: flex;
	gap: 8px;
	margin: 0 0 28px;
	flex-wrap: wrap;
}

.content-search input[type="search"] {
	flex: 1;
	min-width: 180px;
	border: 1px solid #ddd;
	padding: 12px 14px;
	font-size: 15px;
}

.navigation.pagination,
.comments-area {
	margin-top: 32px;
}

.nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-flex;
	min-width: 40px;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	padding: 0 10px;
	color: #333;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.comment-list {
	padding-left: 0;
	list-style: none;
}

.comment-list li {
	border-top: 1px solid var(--line);
	padding: 16px 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
}

.comment-form .submit {
	background: var(--gold);
	color: #fff;
	border: 0;
	padding: 12px 22px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.consult-strip {
	background: #f7f7f7;
	padding: 40px 0 55px;
}

.consult-strip .consult-title {
	text-align: center;
	color: #9a9a9a;
	letter-spacing: 0.08em;
	font-size: 12px;
	margin: 0 0 22px;
	text-transform: uppercase;
}

/* Footer */
.site-footer {
	position: relative;
	background: #24303c;
	color: #e9edf3;
	overflow: hidden;
}

.footer-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(16, 22, 30, 0.84);
	z-index: 1;
}

.footer-top,
.footer-bottom {
	position: relative;
	z-index: 2;
}

.footer-top {
	padding: 70px 0;
}

.footer-backtop {
	text-align: center;
	margin-bottom: 30px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-backtop a {
	color: var(--light-blue-header);
}

.footer-backtop a:hover {
	color: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr;
	gap: 40px;
	align-items: start;
}

.footer-phone {
	margin-bottom: 26px;
}

.footer-phone .city {
	display: block;
	font-size: 13px;
	opacity: 0.85;
	margin-bottom: 6px;
}

.footer-phone a {
	font-size: 32px;
	color: var(--gold);
	font-weight: 500;
}

.footer-phone a:hover {
	color: #fff;
}

.footer-title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 26px;
	margin: 0 0 16px;
	color: #fff;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.footer-about {
	font-size: 14px;
	line-height: 1.85;
	opacity: 0.88;
	max-width: 420px;
}

.footer-left .btn-gold-outline {
	margin-top: 26px;
}

.footer-center {
	display: flex;
	justify-content: center;
	padding-top: 58px;
}

.cta-circle {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.footer-right-text {
	padding-left: 60px;
}

.footer-title-right {
	margin-bottom: 18px;
	font-size: 28px;
}

.footer-right-text p {
	margin: 0 0 10px;
	font-size: 14px;
}

.footer-email {
	margin-top: 14px;
}

.footer-email a,
.footer-maplink {
	color: var(--light-blue-header);
}

.footer-email a:hover,
.footer-maplink:hover {
	color: #fff;
}

.footer-maplink {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
}

.footer-bottom {
	background: #3a4048;
	padding: 18px 0;
}

.footer-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.footer-copy {
	font-size: 13px;
	opacity: 0.75;
}

.footer-brand img,
.footer-brand .custom-logo {
	height: 40px;
	width: auto;
}

.footer-nav {
	flex: 1;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.footer-menu a {
	color: #e9edf3;
	font-size: 13px;
	opacity: 0.85;
}

.footer-menu a:hover,
.footer-menu a[aria-current="page"] {
	color: #fff;
	opacity: 1;
}

.footer-social {
	display: flex;
	gap: 14px;
	align-items: center;
}

.footer-social img {
	width: 26px;
	height: 26px;
	filter: brightness(0) invert(1);
	opacity: 0.8;
}

.footer-social a:hover img {
	opacity: 1;
}

@media (min-width: 981px) {
	.nav-toggle {
		display: none;
	}
}

@media (max-width: 1200px) {
	.logo {
		margin-left: 0;
	}

	.nav-menu {
		gap: 28px;
	}

	.site-header {
		padding: 0 24px;
	}
}

@media (max-width: 980px) {
	.nav-menu {
		display: none;
	}

	.hamburger-btn {
		display: flex;
	}

	.p-content h1 {
		font-size: 2.4rem;
	}

	.p-content h2 {
		font-size: 2rem;
	}

	.grid-4 {
		grid-template-columns: 1fr 1fr;
	}

	.stats-grid .aps-item:nth-child(odd) {
		border-left: none;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-about,
	.footer-left .btn {
		margin-left: auto;
		margin-right: auto;
	}

	.footer-center {
		padding-top: 10px;
	}

	.footer-right-text {
		padding-left: 0;
	}

	.footer-bottom-row {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.top-bar-content {
		flex-direction: column;
		text-align: center;
	}

	.top-right {
		gap: 8px;
	}

	.hero-parallax-slider {
		height: 520px;
	}

	.section-padding,
	.footer-top {
		padding: 48px 0;
	}

	.about-layout,
	.services-layout,
	.services-card {
		flex-direction: column;
	}

	.services-card {
		min-height: 0;
	}

	.sidebar-img {
		height: 320px;
	}

	.grid-2,
	.rec-grid,
	.awd-row {
		grid-template-columns: 1fr;
	}

	.main-quote {
		font-size: 22px;
	}

	.footer-phone a {
		font-size: 26px;
	}

	.work-header::before,
	.work-header::after {
		margin: 0 12px;
	}

	.hero-sub-section {
		height: auto;
		min-height: 220px;
		padding: 48px 0;
	}

	.hero-sub-section .section-title {
		font-size: 26px;
	}
}

@media (max-width: 600px) {
	.site-header {
		padding: 0 16px;
	}

	.logo img,
	.custom-logo {
		height: 36px;
	}

	.grid-4 {
		grid-template-columns: 1fr;
	}

	.aps-item {
		border-left: none;
		border-top: 1px solid #eee;
	}

	.aps-item:first-child {
		border-top: none;
	}

	.p-content h1 {
		font-size: 1.85rem;
	}

	.p-content h2 {
		font-size: 1.55rem;
	}

	.hero-parallax-slider {
		height: 460px;
	}

	.request-link {
		font-size: 12px;
	}

	.btn-gold-outline,
	.footer-consult {
		padding: 12px 18px;
	}

	.top-bar {
		position: relative;
	}

	.search-wrap {
		position: static;
	}

	.search-panel {
		position: absolute;
		left: 16px;
		right: 16px;
		top: calc(100% + 4px);
		width: auto;
		z-index: 40;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.logo-track {
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
	}

	.logo-br.is-clone {
		display: none;
	}

	.hero-photo {
		transform: none;
	}
}
