/* Subpage styling goes here. Excluded on homepage */

/*
SUBPAGE STRUCTURE
BLOG
TEMPLATES
*/

/*******************************************************************************************
SUBPAGE STRUCTURE - Non-critical page features
*******************************************************************************************/
.search-form {
	position: relative;
	display: flex;
}

.search-form input {
	height: 45px;
	padding: 20px;
	color: var(--color-body-text);
	border: 1px solid var(--color-primary);
}

.search-form input::placeholder {
	color: var(--color-body-text);
}

.search-form button {
	padding: 0 12px;
	width: 45px;
	height: 45px;
	font-size: 1.1rem;
	border-radius: 0;
}


/*******************************************************************************************
BLOG - Posts, search results, and pagination
*******************************************************************************************/
.post {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--color-gray-200);
}

.post:last-child {
	padding-bottom: 0;
	border: none;
}

.post-head h1,
.post-head h2 {
	margin-bottom: 20px;
	padding: 0;
	font-size: 2.125rem;
	border: 0;
	color: var(--color-black);
}

.post-head h1 a,
.post-head h2 a {
	color: inherit;
	text-decoration: none;
}

.post-head {
	margin-bottom: 30px;
}

.post-body {
	display: block;
}

.post-head-info {
	margin-bottom: 0;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.938rem;
	font-weight: 500;
	line-height: 1.6;
}

.post-head-info a:hover,
.post-head-info a:focus {
	color: var(--color-near-black);
}

.post-head-info>div:not(:last-of-type):after {
	margin: 0 6px;
	position: relative;
	display: inline-block;
	content: '|';
}

.post-body-image img {
	max-width: 100%;
	display: block;
	border-radius: 20px;
}

/* Archive featured image link (BugHerd #127) */
.post-body-image a {
	display: block;
}

.post-body-image {
	margin-bottom: 15px;
}

.post-body-excerpt p:last-of-type {
	margin-bottom: 0;
}

.post-bottom {
	display: flex;
	margin-top: 30px;
	align-items: center;
	justify-content: space-between;
}

.post-bottom-share:after {
	display: none;
}

.post-bottom .button:after {
	background-image: url("../images/arrow-right.svg");
}

@media screen and (min-width: 1025px) {
	.post-body {
		display: flex;
		flex-direction: row-reverse;
	}

	.post-body-image {
		margin: 0 0 0 30px;
		flex-basis: 33%;
		width: 33%;
	}

	.post-body-content {
		flex: 1;
	}

	.single .post-body {
		display: block;
	}

	.single .post-body-image {
		margin: 0 0 30px;
		width: 100%;
	}

	.post-body-image~.post-body-excerpt {
		margin-left: 40px;
		width: 75%;
	}
}

/* BLOG > Blog Grid Style */
.blog-grid .post {
	padding-bottom: 0;
	border: 1px solid var(--color-primary);
}

.blog-grid .post-inner {
	padding: 30px;
}

.post-thumbnail-link {
	transition: opacity 200ms ease-out;
}

.post-thumbnail-link:focus,
.post-thumbnail-link:hover {
	opacity: 0.9;
}

.post-thumbnail-image {
	height: 175px;
	background-repeat: no-repeat;
	background-position-x: 50%;
	background-position-y: 100%;
	background-size: cover;
}

.blog-filters {
	margin-bottom: 40px;
}

.blog-filters-block:not(:last-of-type) {
	margin-bottom: 20px;
}

#blog-grid-pagination {
	margin-top: 50px;
}

.blog-grid .post,
.blog-filters-block {
	max-width: 380px;
}

@media screen and (min-width: 760px) {
	.blog-filters {
		margin-bottom: 60px;
		display: flex;
		justify-content: space-between;
	}

	.blog-filters-block {
		margin-bottom: 0 !important;
		width: 48%;
	}

	.blog-grid .post-inner {
		padding: 40px;
	}

	.blog-grid .post-head-info-authors {
		display: none;
	}

	.blog-grid .post {
		margin-bottom: 30px;
	}
}

@media screen and (min-width: 1025px) {
	.post-thumbnail-image {
		height: 250px;
	}

	.blog-filters {
		justify-content: flex-start;
	}

	.blog-filters-block:not(:last-of-type) {
		margin-right: 30px;
	}
}

/* BLOG > Page Navigation */
.wp-pagenavi {
	display: flex;
}

.wp-pagenavi a,
.wp-pagenavi span {
	margin: 0;
	margin-right: 20px;
	display: block;
	font-size: 1.063rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	color: var(--color-black);
}

.wp-pagenavi span.current {
	text-decoration: underline;
	color: var(--color-primary);
}

.wp-pagenavi a:hover,
.wp-pagenavi a:focus {
	color: var(--color-primary);
}

.wp-pagenavi span.pages,
.wp-pagenavi span.extend {
	display: none;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
	display: inline-flex;
	align-items: center;
	width: auto;
	border-radius: 0;
	background: none;
}

/*******************************************************************************************
TEMPLATES - Pre-built subpages
*******************************************************************************************/

/* TEMPLATES > Attorney Bios */
.content-tabs-anchor-links .content-tabs-row {
	margin: 0;
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	z-index: 1;
	background: rgba(15, 133, 119, 0.8);
}

.content-tabs-anchor-links .content-tabs-row button {
	margin: 0;
	position: relative;
	flex: 1;
	min-height: 60px;
	color: var(--color-white);
	background: none;
}

.content-tabs-anchor-links .content-tabs-row button:hover,
.content-tabs-anchor-links .content-tabs-row button:focus {
	background: var(--color-primary);
}

.content-tabs-anchor-links .content-tabs-row button:after {
	position: absolute;
	top: calc(50% - 7px);
	right: 0;
	width: 1px;
	height: 14px;
	background: var(--color-white);
	content: '';
}

.content-tabs-anchor-links .content-tabs-row button i {
	display: none;
}

.content-tabs-anchor-links .content-tabs-row button.active {
	color: var(--color-secondary);
	background: var(--color-white);
}

.content-tabs-anchor-links .content-tabs-row button:hover:after,
.content-tabs-anchor-links .content-tabs-row button:focus:after,
.content-tabs-anchor-links .content-tabs-row button.active:after {
	display: none;
}

/* TEMPLATES > Attorneys Landing */

/* Attorney Boxes */
.main-attorney-search {
	background: var(--color-light-gray);
}

.attorney-search-inner {
	display: block;
	outline: none;
	transition: filter 300ms ease-out, opacity 100ms ease-out;
}

.attorney-search-inner.search-running {
	filter: blur(12px);
	opacity: 0;
}

.attorney-single-box {
	margin-bottom: 30px;
	padding: 0;
	position: relative;
	text-decoration: none;
}

.attorney-results .attorney-single-box {
	width: 100%;
}

.attorney-result-image-container {
	margin-bottom: 10px;
	position: relative;
	transition: all 200ms ease-out;
}

.attorney-result-image-container img {
	display: block;
	width: 100%;
}

.attorney-result-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	width: 100%;
	height: 100%;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-white);
	background: rgba(101, 24, 31, 0.7);
	transition: all 200ms ease-out;
}

.attorney-single-box:hover,
.attorney-single-box:focus {
	text-decoration: none;
}

.attorney-single-box:hover .attorney-result-overlay,
.attorney-single-box:focus .attorney-result-overlay {
	opacity: 1;
}

.attorney-single-box .attorney-single-box-info {
	padding: 12px 0;
	text-align: center;
}

.attorney-single-box-info h2,
.attorney-single-box-info p {
	margin: 0;
}

.attorney-single-box h2 {
	font-size: 2.188rem;
	color: var(--color-primary);
}

.attorney-single-box-info p {
	font-size: 1.125rem;
	color: var(--color-black);
}

@media screen and (min-width: 650px) {
	.attorney-results {
		display: grid;
		grid-row-gap: 20px;
		grid-column-gap: 20px;
		grid-template-columns: repeat(2, 1fr);
	}

	.attorney-single-box {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 900px) {
	.attorney-results {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Attorney Rows */
.attorney-single-row {
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.attorney-row-link {
	margin: 0 auto;
	justify-content: center;
	max-width: 280px;
	transition: opacity 200ms ease-out;
}

.attorney-row-link:focus,
.attorney-row-link:hover {
	opacity: 0.9;
}

.attorney-row-info-main {
	padding-top: 20px;
	border-top: 2px solid var(--color-gray);
}

.attorney-row-additional span,
.attorney-row-info-main-contact span {
	display: block;
}

.attorney-single-row i {
	color: var(--color-primary);
}

.attorney-row-additional {
	margin-top: 6px;
}

.attorney-row-info-main-position {
	margin-bottom: 20px;
	font-size: 1.2rem;
}

@media screen and (min-width: 790px) {
	.attorney-results-type-row {
		display: grid;
		grid-row-gap: 20px;
		grid-column-gap: 20px;
		grid-template-columns: repeat(2, 1fr);
	}

	.attorney-single-row {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 900px) {
	.attorney-results.attorney-results-type-row {
		display: block;
	}

	.attorney-single-row {
		margin-bottom: 30px;
		flex-direction: row;
		text-align: left;
		border-bottom: 2px solid var(--color-gray);
	}

	.attorney-row-info-main-position,
	.attorney-single-row:last-of-type,
	.attorney-row-additional,
	.attorney-row-link {
		margin: 0;
	}

	.attorney-row-info {
		padding: 0 0 40px 5vw;
		display: flex;
		flex: 1;
	}

	.attorney-row-info-main {
		padding: 0;
		display: flex;
		flex: 1;
		flex-direction: column;
		justify-content: flex-end;
		border: none;
	}

	.attorney-row-info-main-contact {
		margin-top: 40px;
	}

	.attorney-row-additional {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		width: 50%;
	}
}

/* Attorney Pops */
.attorney-results.attorney-results-type-pop {
	display: block;
}

.attorney-result-pop {
	display: none;
}

.attorney-result-pop-row {
	font-size: 1.1rem;
	padding: 20px 0;
	border-bottom: 1px solid var(--color-gray);
}

.attorney-result-pop-cell {
	flex: 1;
	margin-bottom: 5px;
}

.attorney-result-pop-name {
	flex-basis: 30%;
	width: 30%;
	position: relative;
}

.attorney-result-pop-info {
	margin-left: 40px;
}

.attorney-result-pop-info p {
	margin-bottom: 0;
}

.attorney-result-pop-row i {
	color: var(--color-secondary);
	transition: color 200ms ease-out;
}

.attorney-result-pop-cell a {
	text-decoration: none;
}

.attorney-result-pop-cell>a {
	color: var(--color-primary);
}

.attorney-result-pop-name:hover>a,
.attorney-result-pop-cell a:hover,
.attorney-result-pop-cell a:focus {
	text-decoration: underline;
	color: var(--color-alternate);
}

.attorney-result-pop-info>a {
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.attorney-result-pop-info a {
	color: white;
}

.attorney-result-pop-inner {
	display: flex;
	align-items: center;
}

.attorney-result-pop .attorney-result-pop-image img {
	max-width: 130px;
}

.attorney-result-pop {
	position: absolute;
	top: calc(100% - 115px);
	right: 0;
	padding: 30px;
	z-index: 1;
	background: var(--color-primary);
	height: 200px;
}

.attorney-result-pop-image {
	background: var(--color-gray);
	display: flex;
	flex-direction: column;
}

.attorney-result-pop::before {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 14px 15px 0;
	border-color: transparent var(--color-primary) transparent transparent;
	content: "";
	right: calc(100% - 1px);
	top: calc(50% - 15px);
	position: absolute;
}

.attorney-result-pop-vcard {
	margin-left: auto;
	flex-grow: 0;
}

.attorney-result-pop-vcard a:hover i,
.attorney-result-pop-vcard a:focus i {
	color: var(--color-alternate);
}

.attorney-result-pop-name-link {
	font-size: 1.3rem;
	display: block;
	margin-bottom: 8px;
}

@media screen and (min-width: 900px) {
	.attorney-result-pop-cell {
		margin-bottom: 0;
	}

	.attorney-result-pop-name-link {
		margin-bottom: 0;
		font-size: inherit;
	}

	.attorney-result-pop-row {
		display: flex;
		width: 100%;
	}

	.attorney-result-pop-name:focus-within .attorney-result-pop,
	.attorney-result-pop-name:hover .attorney-result-pop {
		display: block;
		-webkit-animation: fadeinleftslight 200ms ease-out;
		animation: fadeInLeftSlight 200ms ease-out;
	}
}

/* TEMPLATES > Attorney Search */
.attorney-search-bar {
	margin-bottom: 40px;
	text-align: center;
	border-top: 1px solid var(--color-light-gray);
	border-bottom: 1px solid var(--color-light-gray);
}

.attorney-search-container-inner {
	padding-top: 40px;
	padding-bottom: 40px;
}

.attorney-search-bar-string span {
	font-weight: 600;
}

.attorney-search-bar-string span:not(:last-of-type):after {
	margin-right: 5px;
	content: ',';
}

.attorney-search-letters {
	margin-bottom: 40px;
}

.attorney-search-letters-single {
	padding: 0;
	display: inline-block;
	width: 30px;
	height: 30px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	color: var(--color-secondary);
	background: none;
}

#attorney-search-clear {
	display: none;
}

.search-results-displayed #attorney-search-clear {
	display: inline-block;
}

span.attorney-search-letters-single {
	color: var(--color-gray);
}

@media screen and (min-width: 700px) {
	.attorney-search-form .form-input-row {
		display: flex;
	}

	.form-input-group:first-of-type {
		margin-right: 15px;
	}
}

@media screen and (min-width: 1025px) {
	.attorney-search-letters {
		display: flex;
		justify-content: space-between;
	}
}

/* TEMPLATES > Practices Landing */
.practice-box {
	padding: 20px;
	font-weight: 600;
	font-size: 1.25rem;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	color: var(--color-primary);
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	transition: background 200ms ease-out;
}

.practice-box:after {
	width: 44px;
	height: 16px;
	content: '';
	margin-left: 12px;
	opacity: 0;
	background-image: url('../images/arrow-right.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transition: opacity 200ms ease-out;
}

.practice-box:hover,
.practice-box:focus {
	color: var(--color-primary);
	background: var(--color-gray-500);
}

.practice-box:hover:after,
.practice-box:focus:after {
	opacity: 1;
}

@media screen and (min-width: 768px) {
	.practice-box-list {
		display: grid;
		grid-column-gap: 20px;
		grid-template-columns: repeat(2, 1fr);
	}
}

/* TEMPLATES > Video Gallery */
.videos-filter {
	margin-bottom: 50px;
}

@media screen and (min-width: 1025px) {
	.videos-filter {
		max-width: 450px;
	}
}

/* INCLUDES > Top Videos grid (ACF "Top Videos" repeater) */
.top-videos {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px 20px;
	margin-bottom: 50px;
}

.top-videos .youtube-player {
	margin: 0;
}

/* Column layout so the title bar fills the rest of the grid cell - title bars in the same row match height (BugHerd #125) */
.top-videos-single {
	display: flex;
	flex-direction: column;
	/* Rounded corners on the video card (thumbnail + title bar), same 20px radius as blog featured images (BugHerd #122) */
	overflow: hidden;
	border-radius: 20px;
}

.top-videos-single .top-videos-title {
	flex: 1 0 auto;
}

/* A single video (e.g. Testimonials page) spans the full grid row instead of one column */
.top-videos-single:only-child {
	grid-column: 1 / -1;
}

.top-videos-title {
	min-height: 75px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 20px;
	background-color: var(--color-primary);
	color: white;
	font-size: 1.1rem;
	text-align: center;
	transition: background-color 200ms ease-out;
}

.top-videos-single:hover .top-videos-title,
.top-videos-single:focus-within .top-videos-title {
	background-color: var(--color-primary-dark);
}

@media screen and (min-width: 640px) {
	.top-videos {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1025px) {
	.top-videos {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* SHORTCODES > [mission_band] - large quote band placed anywhere in the content (BugHerd #123) */
.mission-band {
	position: relative;
	margin: 50px 0;
	padding: 60px 30px 45px;
	overflow: hidden;
	background-color: var(--color-primary);
	border-radius: 20px;
	text-align: center;
}

/* Oversized gold quote mark behind the top of the text */
.mission-band:before {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--color-secondary);
	font-family: var(--font-family-heading), serif;
	font-size: 9rem;
	line-height: 1;
	opacity: 0.35;
	content: '\201C';
	pointer-events: none;
}

.mission-band-text {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	color: var(--color-white);
	font-family: var(--font-family-heading), serif;
	font-size: 1.5rem;
	line-height: 1.35;
}

/* Short gold rule under the statement */
.mission-band-text:after {
	width: 70px;
	height: 3px;
	margin: 25px auto 0;
	display: block;
	background-color: var(--color-secondary);
	content: '';
}

@media screen and (min-width: 640px) {
	.mission-band {
		padding: 70px 60px 55px;
	}

	.mission-band-text {
		font-size: 1.875rem;
	}
}

/* INCLUDES > Accolades row - Theme Options "Sidebar Awards" logos shown in the page content (page toggle "Show Accolades", BugHerd #123) */
.accolades-row {
	margin: 0 0 50px;
}

/* Equal cells: 4 per row on phones/tablets (4 + 3, centered), all 7 on one row from 1025px */
.accolades-row-logos {
	--accolades-per-row: 4;
	--accolades-gap: 15px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px var(--accolades-gap);
}

.accolades-row-logo {
	height: 70px;
	flex: 0 0 calc((100% - (var(--accolades-per-row) - 1) * var(--accolades-gap)) / var(--accolades-per-row));
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Each logo fits inside the same box, keeping its proportions */
.accolades-row-logo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

/* Optical balance: these badge files have empty padding baked in, so scale them up to match the edge-to-edge logos.
   Remove a rule if its file is replaced with a trimmed version. */
.accolades-row-logo img[src*="million-dollar-advocates-forum"] {
	transform: scale(1.35);
}

.accolades-row-logo img[src*="florida-justice-association"] {
	transform: scale(1.12);
}

.accolades-row-logo img[src*="facdl"] {
	transform: scale(0.92);
}

@media screen and (min-width: 640px) {
	.accolades-row-logo {
		height: 90px;
	}
}

@media screen and (min-width: 1025px) {
	.accolades-row-logos {
		--accolades-per-row: 7;
		--accolades-gap: 20px;
	}

	.accolades-row-logo {
		height: 100px;
	}
}

/* TEMPLATES > Contact: highlighted "Available 24/7" box with office hours */
.contact-highlight {
	margin-bottom: 30px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.12);
}

.contact-highlight-top {
	padding: 22px 25px;
	color: var(--color-white);
	background-color: var(--color-primary);
}

.contact-highlight-title {
	display: block;
	margin-bottom: 5px;
	font-family: var(--font-family-heading), serif;
	font-size: 1.625rem;
	font-weight: 400;
	line-height: 1.2;
}

.contact-highlight-title span {
	margin: 0 6px;
	color: var(--color-secondary);
}

.contact-highlight-top p {
	margin: 0;
	color: var(--color-white);
}

.contact-highlight-hours {
	padding: 22px 25px;
	background-color: var(--color-white);
	container-type: inline-size;
}

.contact-highlight-hours>strong {
	display: block;
	margin-bottom: 10px;
	color: var(--color-primary);
	font-size: 1.125rem;
}

.contact-highlight-hours dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 20px;
	margin: 0 0 12px;
}

.contact-highlight-hours dt {
	font-weight: 700;
}

.contact-highlight-hours dd {
	margin: 0;
}

.contact-highlight-hours p {
	margin: 0;
	font-size: 0.9375rem;
	font-style: italic;
}

/* Narrow box (phones, tablet two-column): stack each day above its hours so the times don't wrap word by word */
@container (max-width: 400px) {
	.contact-highlight-hours dl {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.contact-highlight-hours dd {
		margin-bottom: 10px;
	}

	.contact-highlight-hours dd:last-of-type {
		margin-bottom: 0;
	}
}

/* TEMPLATES > Contact */
.office-block {
	margin-bottom: 30px;
}

.office-block-image {
	width: 100%;
	height: 300px;
	display: block;
	background-repeat: no-repeat;
	background-position-x: 50%;
	background-size: cover;
}

.office-block-info {
	padding: 20px;
	position: relative;
	background: var(--color-light-gray);
}

.office-block-info p {
	margin: 0;
}

.office-contact {
	margin-top: 30px;
}

.office-contact p {
	font-weight: 700;
}

.office-block-info-inner {
	width: 100%;
}

.office-contact-map {
	margin-top: 20px;
}

@media screen and (min-width: 1025px) {
	.office-block {
		display: flex;
	}

	.office-block-image {
		display: flex;
		flex-basis: 200px;
		width: 200px;
		height: 220px;
	}

	.office-block-info {
		display: flex;
		flex: 1;
		flex-wrap: wrap;
		align-items: center;
	}
}

/* TEMPLATES > Contact Full */
.page-template-template-contact-full main {
	padding: 160px 0 80px;
	position: relative;
	background-image: url('../images/_contact-bg.webp');
	background-repeat: no-repeat;
	background-size: cover;
}

.page-template-template-contact-full main:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(4.43deg, rgba(255, 255, 255, 0) 75.9%, rgba(255, 255, 255, 0.58) 90.19%), radial-gradient(115% 63.87% at 56.95% 20.1%, rgba(255, 255, 255, 0) 37.09%, rgba(255, 255, 255, 0.56) 55.31%, #FFFFFF 73.21%);
}

.page-template-template-contact-full .footer {
	margin-top: 0;
	padding-top: 30px;
	padding-bottom: 30px;
}

.contact-full-container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
}

.contact-full-inner {
	width: 100%;
	background: var(--color-white);
	border-radius: 25px;
}

.contact-full-content {
	padding: var(--gutter-size);
	margin-bottom: 0;
}

/* Keep the "Contact Us" heading on one line in the narrow mobile/tablet column */
@media screen and (max-width: 1024px) {
	.contact-full-content h1 {
		font-size: 2.5rem;
	}
}

.contact-full-content iframe {
	width: 100%;
	height: 100%;
	display: block;
	aspect-ratio: 11/6;
}

.contact-full-map {
	width: 100%;
	height: 220px;
}

@media screen and (min-width: 768px) {
	.contact-full-inner {
		padding: 40px;
		display: flex;
	}

	.contact-full-content {
		width: auto;
		padding: 0;
		flex: 1;
	}

	.contact-full-sidebar {
		/* 		width: 55%; */
		width: 47%;
		margin-left: var(--gutter-size);
	}
}

@media screen and (min-width: 1025px) {
	.page-template-template-contact-full main {
		padding: 0;
		min-height: 100vh;
	}

	.contact-full-container {
		padding-top: 100px;
		align-items: center;
		min-height: 100vh;
	}

	.contact-full-sidebar {
		margin-left: calc(var(--gutter-size) * 2);
	}
}

@media screen and (max-height: 750px) and (min-width: 1025px) {

	.page-template-template-contact-full main,
	.contact-full-container {
		height: 100%;
	}

	.contact-full-container {
		padding: 0;
	}

	.page-template-template-contact-full main {
		padding: 160px 0 100px;
	}
}

/* TEMPLATES > Attorney Bios */
.content-tabs-row {
	margin-bottom: 30px;
	display: none;
	flex-wrap: wrap;
}

.content-tabs-row-inner {
	display: flex;
}

.content-tabs-row .content-tab-activate {
	margin-right: 10px;
}

.content-tab-activate {
	flex: 1;
	border-radius: 0;
}

.content-tab-activate.active {
	background: var(--color-primary);
	pointer-events: none;
}

.content-tab {
	margin-bottom: 50px;
	display: none;
}

.content-tab.active {
	-webkit-animation: fadein 200ms ease-out;
	animation: fadeIn 200ms ease-out;
}

.content-tab.active,
.content-tabs-anchor-links .content-tab {
	display: block;
}

.content-tabs-anchor-links .mobile-tab {
	display: none;
}

.content-tabs-select {
	margin: 0 auto 30px;
	display: none;
}

.content-tabs-anchor-links .content-tabs-select {
	display: block;
}

.mobile-tab {
	margin-bottom: 20px;
	padding: 20px 30px;
	position: relative;
	width: 100%;
	text-align: left;
}

.mobile-tab:after {
	position: absolute;
	right: 15px;
	font-family: var(--font-family-icon);
	content: '\f0d7';
}

@media screen and (min-width: 1025px) {
	.content-tabs {
		display: flex;
		flex-wrap: wrap;
	}

	.content-tabs-row {
		display: block;
	}

	.mobile-tab,
	.content-tabs-anchor-links .content-tabs-select {
		display: none;
	}
}

/* TEMPLATES > Long-Form */
.banner-xl {
	padding: 50px 0;
	background-color: rgb(20, 23, 47);
	background-image: linear-gradient(180deg, rgba(20, 23, 47, 1) 46%, rgba(36, 42, 88, 1) 100%);
}

.banner-xl-content p:last-child {
	margin: 0;
}

.banner-xl-image {
	text-align: center;
}

.banner-xl-title {
	font-size: 3.5rem;
	line-height: 1.4;
}

.banner-xl-image img {
	margin: 0 auto;
	max-width: 70%;
}

@media screen and (min-width: 1100px) {
	.banner-xl-inner {
		display: flex;
		align-items: center;
	}

	.banner-xl-image img {
		max-width: 100%;
	}

	.banner-xl-content {
		padding-left: 60px;
		flex: 1;
	}
}

.top-table-contents {
	padding: 50px 0;
	background: #e5e8f6;
}

.top-table-contents-button {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 1.2rem;
	text-align: center;
	text-decoration: none !important;
}

.top-table-contents-icon-container {
	margin-bottom: 15px;
}

.top-table-contents-inner {
	display: grid;
	grid-row-gap: 20px;
	grid-column-gap: 20px;
	grid-template-columns: repeat(2, 1fr);
}

.top-table-contents-button-icon {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: var(--color-secondary);
	transition: all 200ms ease-out;
}

.top-table-contents-button i {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: var(--color-white);
}

.top-table-contents-button-icon:hover,
.top-table-contents-button-icon:focus {
	background: var(--color-alternate);
	transform: scale(1.03);
}

.is-sticky .top-table-contents {
	padding: 20px 0;
}

.is-sticky .top-table-contents-button-icon {
	width: 30px;
	height: 30px;
}

.is-sticky .top-table-contents-button i {
	font-size: 1rem;
}

.is-sticky .top-table-contents-icon-container {
	margin: 0 12px 0 0;
}

.is-sticky .top-table-contents-title {
	display: none;
}

.is-sticky .top-table-contents-button {
	margin: 0 auto 0 0;
	flex-direction: row;
}

.single-chapter-banner-title h2 {
	margin: 0;
	font-size: 2.4rem;
}

.single-chapter-banner-image {
	margin-bottom: 20px;
}

.single-chapter:nth-child(2n) {
	background: var(--color-light-gray);
}

.single-chapter-banner {
	background: var(--color-primary);
}

.single-chapter-content,
.single-chapter-banner {
	padding: 30px 0;
}

@media screen and (min-width: 900px) {
	.single-chapter-banner-inner {
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: center;
	}

	.single-chapter-banner-image {
		margin-bottom: 0;
		padding-left: 5vw;
	}

	.single-chapter-banner-title h2 {
		margin: 0;
		font-size: 3.2rem;
	}
}

@media screen and (min-width: 1025px) {
	.top-table-contents-inner {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* TEMPLATES > Confirmation */
.confirm-contact {
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
}

.confirm-contact a:not(:last-child) {
	margin-right: 20px;
}

.confirm-social {
	margin-bottom: 60px;
}

/* TEMPLATES > Reviews */
.review-social {
	margin: 40px 0;
}

.review-social .social-links {
	justify-content: flex-start;
	max-width: none;
}

.review-social .social-links a {
	margin: 0 15px 0 0;
	width: 50px;
	height: 50px;
	font-size: 1.7rem;
	border: 1px solid var(--color-primary);
	background: var(--color-white);
	transition: all 200ms ease-out;
}

.review-social .social-links a:focus,
.review-social .social-links a:hover {
	opacity: 0.85;
	background: var(--color-light-gray);
}

.review-stars i {
	font-size: 2rem;
	color: var(--color-secondary);
}

/* TEMPLATES > Testimonials */
.content-testimonial-single {
	padding: 30px 20px 30px 60px;
	position: relative;
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-white);
	border-radius: 20px;
	background-image: url('../images/testimonial-bg.jpg');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

.content-testimonial-single:before {
	position: absolute;
	top: 30px;
	left: 30px;
	width: 4px;
	height: calc(100% - 60px);
	background-color: var(--color-secondary);
	pointer-events: none;
	content: '';
}

.content-testimonial-single:not(:last-child) {
	margin-bottom: 30px;
}

.content-testimonial-stars {
	font-size: 1.25rem;
	color: var(--color-secondary);
}

.content-testimonial-stars i {
	margin-right: 3px;
}

.content-testimonial-stars i:last-of-type {
	margin-right: 0;
}

.content-testimonial-single p {
	margin-bottom: 21px;
}

.content-testimonial-row {
	display: flex;
	align-items: center;
}

.content-testimonial-image {
	width: 50px;
	height: 50px;
	flex: 0 0 auto;
}

.content-testimonial-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.content-testimonial-source {
	margin-left: 11px;
	line-height: 1.25;
}

/* No client photo: name sits flush left */
.content-testimonial-source:first-child {
	margin-left: 0;
}

.content-testimonial-source strong {
	display: block;
	font-weight: 600;
}

.content-testimonial-source span {
	display: block;
	font-weight: 400;
}

@media screen and (min-width: 1025px) {
	.content-testimonial-single {
		padding: 86px 80px 91px 137px;
	}

	.content-testimonial-single:before {
		top: 67px;
		left: 78px;
		width: 4px;
		height: calc(100% - 133px);
	}
}

/* BLOCK-RELATED */
.block-related {
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	color: var(--color-black);
	text-decoration: none;
}

.block-related-image {
	width: 88px;
	height: 88px;
	flex: 0 0 auto;
	border-radius: 20px;
	overflow: hidden;
}

.block-related-image img {
	width: 100%;
}

.block-related-text {
	margin-left: 18px;
	font-size: 0.875rem;
	line-height: 1.25;
	width: 100%;
}

.block-related-text strong {
	margin-bottom: 3px;
	display: block;
	font-size: 1rem;
	font-weight: 600;
}

.block-related-text p {
	color: rgba(0, 0, 0, 0.7);
}

.block-related-text p:last-of-type {
	margin-bottom: 0;
}

.block-related:focus,
.block-related:hover {
	color: var(--color-black);
	text-decoration: underline;
}

/* BLOCK-SIDEBAR-NEWS */
.block-sidebar-news {
	margin-bottom: 15px;
	padding-bottom: 16px;
	display: block;
	width: 100%;
	font-size: 1.063rem;
	font-weight: 600;
	color: var(--color-black);
	border-bottom: 1px solid var(--color-gray-200);
	text-decoration: none;
}

.block-sidebar-news-info {
	margin-bottom: 5px;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.656rem;
	text-transform: uppercase;
	color: var(--color-olive);
}

.block-sidebar-news-info i {
	margin-right: 5px;
	font-size: 0.531rem;
}

.block-sidebar-news-info>div:after {
	margin: 0 5px;
	content: '|';
}

.block-sidebar-news-info>div:last-of-type:after {
	display: none;
}

.block-sidebar-news p:last-of-type {
	margin-bottom: 0;
}

.block-sidebar-news:focus,
.block-sidebar-news:hover {
	color: var(--color-black);
}

.block-sidebar-news:focus p,
.block-sidebar-news:hover p {
	text-decoration: underline;
}

/* PAGES > Case Results (page ID 2148): dollar amount in each result heading in brand red (BugHerd #76) */
.case-result-amount {
	color: var(--color-primary);
}