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

/*
SUBPAGE STRUCTURE
BLOG
TEMPLATES
*/

/*******************************************************************************************
SUBPAGE STRUCTURE - Non-critical page features
*******************************************************************************************/

.search-form {
	display: flex;
	position: relative;
}

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

/*******************************************************************************************
BLOG - Posts, search results, and pagination
*******************************************************************************************/

.post {
	margin-bottom: 50px;
}

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

.post-head h1,
.post-head h2 {
	font-size: 2rem;
	margin-bottom: 12px;
	padding: 0;
	border: 0;
}

.post-head h2 {
	color: var(--color-primary-alt);
}

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

.post-head,
.post-body {
	margin-bottom: 20px;
}

.post-body {
	display: block;
}

.post-head-info {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.6;
	text-transform: uppercase;
	margin-bottom: 0;
}

.post-head-info i {
	margin-right: 5px;
}

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

.post-head-info > div:not(:last-of-type)::after {
	width: 1px;
	height: 12px;
	background: var(--color-secondary);
	content: "";
	display: inline-block;
	margin: 0 14px;
	position: relative;
	top: 2px;
}

.post-head-info-authors span:not(:last-child)::after,
.post-head-info-authors a:not(:last-child)::after {
	content: ", ";
}

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

img.alignright {
	float: right;
	margin: 0 0 30px 30px;
}

img.alignleft {
	float: left;
	margin: 0 30px 30px 0;
}

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

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

.post-bottom-share {
	color: var(--color-alternate);
	font-weight: 600;
}

.post-blog-title {
	font-size: 35px;
	color: var(--color-primary-alt);
}

@media screen and (min-width: 768px) {
	.post {
		margin-left: 40%;
	}

	.post-body {
		display: flex;
	}

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

	.post-body-image:only-child {
		margin: 0;
		flex-basis: 100%;
		max-width: 100%;
	}

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

	.post-blog-title {
		font-size: 50px;
	}

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

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

	.single .post {
		margin-left: 0;
	}

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

/* BLOG > Page Navigation */
@media screen and (min-width: 768px) {
	.pagination {
		margin-left: 40%;
	}
}


/*******************************************************************************************
TEMPLATES - Community
*******************************************************************************************/
.community {
	padding-top: var(--py-section-small);
	padding-bottom: var(--py-section);
	width: 100%;
	background-color: var(--color-gray-200);
}

.community-top {
	max-width: 900px;
	margin: 0 auto var(--py-section-small);
}

.community-top h1 {
	font-size: 26px;
}

.community-left {
	display: grid;
	row-gap: 30px;
	margin-bottom: 30px;
}

.community-right h3 {
	color: var(--color-black);
}

.community-right ul {
	display: grid;
	row-gap: 20px;
}

@media screen and (min-width: 768px) {
	.community-inner {
		display: flex;
	}

	.community-left {
		margin-bottom: 0;
		width: 59.5%;
	}

	.community-right {
		width: 40.5%;
		padding-left: 30px;
	}
}

@media screen and (min-width: 1025px) {
	.community-top h1 {
		font-size: 48px;
	}

	.community-right {
		padding-left: 60px;
	}
}

/* Block Community */
.block-community {
	width: 100%;
	background-color: var(--color-white);
}

.block-community-image picture,
.block-community-image img,
.block-community-image {
	width: 100%;
	display: block;
}

.block-community-text {
	padding: 20px;
}

/*******************************************************************************************
TEMPLATES - Reviews
*******************************************************************************************/
/* Banner - Reviews */
.banner-reviews {
	width: 100%;
	color: var(--color-white);
	padding-top: var(--py-section-small);
	padding-bottom: var(--py-section-small);
	background: linear-gradient(90deg, rgba(7, 26, 47, .96), rgba(6, 21, 42, .88)), url('https://www.damoreinjurylaw.com/wp-content/uploads/2023/05/inner-banner.jpg') center/cover no-repeat;
}

.banner-reviews-inner {
	display: grid;
	gap: 30px;
}

.banner-reviews-trust {
	display: grid;
	gap: 22px;
}

.banner-reviews-trust strong {
	display: block;
}

.banner-reviews-button {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.banner-reviews-left h1 {
	font-size: 40px;
}

.banner-reviews-right h4 {
	font-family: var(--font-family-body), sans-serif;
	color: var(--color-blue);
	font-size: 24px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.banner-reviews-right small {
	display: block;
	margin-top: 10px;
}

.banner-reviews-right {
	background: var(--color-white);
	color: var(--color-blue);
	border-radius: 10px;
	padding: 32px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.banner-reviews-trust {
	margin-top: 30px;
}

.banner-reviews-trust div {
	border-left: 1px solid rgba(255, 255, 255, .35);
	padding-left: 18px;
	font-size: 15px;
}

.damore-stars-inline {
	color: var(--color-yellow);
	letter-spacing: 1px;
}

@media screen and (min-width: 640px) {
	.banner-reviews-trust {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (min-width: 1025px) {
	.banner-reviews-inner {
		grid-template-columns: 1.25fr .85fr;
		gap: 56px;
	}

	.banner-reviews-trust {
		margin-top: 40px;
	}

	.banner-reviews-left h1 {
		font-size: 64px;
	}
}

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

/* TEMPLATES > Attorney Bios */
.banner-attorney {
	margin-top: var(--py-section);
	margin-bottom: var(--py-section-small);
}

.banner-attorney h3 {
	font-size: 36px;
}

.banner-attorney h4 {
	font-size: 30px;
}

.banner-attorney h6 {
	font-size: 18px;
	color: var(--color-primary-alt);
	font-family: var(--font-family-body), sans-serif;
	margin-bottom: 10px;
}

.banner-attorney-inner {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	row-gap: 30px;
}

.banner-attorney-right,
.banner-attorney-left {
	width: 100%;
}

.banner-attorney-center {
	width: 100%;
	font-size: 16px;
}

.banner-attorney-list {
	display: grid;
	row-gap: 20px;
	grid-template-columns: repeat(2, 1fr);
}

.banner-attorney-list li a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--color-secondary);
	text-decoration: none;
	font-weight: 500;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	transition: color 0.3s;
}

.banner-attorney-row {
	display: flex;
	gap: 20px;
}

.banner-attorney-col {
	width: 50%;
}

.banner-attorney-col ul {
	display: grid;
	grid-row-gap: 15px;
}

@media screen and (min-width: 768px) {
	.banner-attorney-center {
		width: calc(100% - 300px);
		padding-right: 20px;
	}

	.banner-attorney-right {
		width: 300px;
	}
}

@media screen and (min-width: 1025px) {
	.banner-attorney-left,
	.banner-attorney-center {
		width: calc(50% - 120px);
	}

	.banner-attorney-left {
		padding-right: 50px;
	}

	.banner-attorney-right {
		width: 240px;
	}
}

@media screen and (min-width: 1280px) {
	.banner-attorney-left {
		width: calc(53% - 150px);
	}

	.banner-attorney-center {
		width: calc(47% - 150px);
	}

	.banner-attorney-right {
		width: 300px;
	}
}

/* TEMPLATES > Attorneys Landing */

/* Attorney Boxes */
.attorney-info {
	width: 100%;
	background-color: var(--color-white);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.attorney-info-img {
	width: 100%;
	position: relative;
}

.attorney-info-img img {
	width: 100%;
	display: block;
}

.attorney-info-text {
	padding: 20px;
}

.attorney-info-subtitle {
	color: var(--color-gray-800);
	margin-bottom: 30px;
}

.attorney-info-text h2 {
	font-size: 36px;
	margin-bottom: 0;
}

.attorney-info-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 20px;
}

.attorney-info-icon {
	width: 75px;
	min-width: 75px;
	color: var(--color-secondary);
	font-size: 42px;
	line-height: 1;
}

.attorney-info-name {
	flex: 1;
	color: var(--color-black);
}

.attorney-info-name span {
	display: block;
	font-size: 16px;
}

.attorney-info-name strong {
	display: block;
	font-size: 18px;
	text-transform: uppercase;
}

.attorney-info-bottom {
	display: flex;
	align-items: flex-start;
	width: 100%;
	align-content: flex-start;
}

.attorney-info-bottom .button {
	width: 100%;
	margin-right: 20px;
}

.attorney-info-linkedin a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	font-size: 42px;
	text-decoration: none;
}

@media screen and (min-width: 1280px) {
	.attorney-info-text {
		padding: 45px 35px;
	}

	.attorney-info-text h2 {
		font-size: 48px;
	}
}

/* BLOCK-VIDEO */
.block-video {
	display: block;
	text-decoration: none;
	background-color: var(--color-white);
	margin-bottom: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.block-video-img {
	width: 100%;
	position: relative;
}

.block-video-img video,
.block-video-img img {
	width: 100%;
	display: block;
}

.block-video-name {
	padding: 10px 15px;
	display: block;
	width: 100%;
	font-weight: 500;
	color: var(--color-primary);
}

/* TEMPLATES > Practices Landing */
.practice-box {
	display: block;
	padding: 25px;
	background: var(--color-primary);
	color: white;
	text-align: center;
	margin-bottom: 20px;
	text-decoration: none;
	transition: background 200ms ease-out;
}

.practice-box:last-of-type {
	margin-bottom: 0;
}

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

.practice-box span {
	margin: 0;
	font-size: 1.3rem;
	-ms-align-self: center;
	align-self: center;
	width: 100%;
}

.practice-box:focus span,
.practice-box:hover span {
	color: white;
}

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

	.practice-box {
		margin-bottom: 0;
	}
}

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

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

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

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

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

.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 {
	position: absolute;
	right: 0;
	bottom: 0;
}

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

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

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

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

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

.contact-full-inner {
	width: 100%;
	background: var(--color-white);
	padding: var(--gutter-size);
}

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

	.contact-full-inner {
		padding: 40px;
		display: flex;
	}

	.contact-full-content {
		padding-right: 15%;
	}

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

@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 {
	display: none;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

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

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

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

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

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

.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 {
	width: 100%;
	text-align: left;
	padding: 20px 30px;
	margin-bottom: 20px;
	position: relative;
}

.mobile-tab::after {
	content: "\f0d7";
	font-family: "Font Awesome 6 Pro";
	right: 15px;
	position: absolute;
}

@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 {
	background: rgb(20, 23, 47);
	background: linear-gradient(180deg, rgba(20, 23, 47, 1) 46%, rgba(36, 42, 88, 1) 100%);
	padding: 40px 0;
}

.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 {
	max-width: 70%;
	margin: 0 auto;
}

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

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

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

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

.top-table-contents-button {
	font-size: 1.2rem;
}

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

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

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

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

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

.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 {
	flex-direction: row;
	margin: 0 auto 0 0;
}

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

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

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

.banner-xl {
	padding: 50px 0;
}

.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;
		align-items: center;
		justify-content: center;
		flex-direction: row-reverse;
	}

	.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 {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.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 {
	max-width: none;
	justify-content: flex-start;
}

.review-social .social-links a {
	font-size: 1.7rem;
	border: 1px solid var(--color-primary);
	background: var(--color-white);
	width: 50px;
	height: 50px;
	margin: 0 15px 0 0;
	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:not(:last-child) {
	border-bottom: 1px solid var(--color-gray);
	padding-bottom: 30px;
	margin-bottom: 30px;
}

.content-testimonial-stars {
	font-size: 1.5rem;
}

.content-testimonial-source {
	display: block;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.content-testimonial-source::before {
	content: "-";
	margin-right: 6px;
	display: inline-block;
}
