/* Firm Profile Template Styles */

.main-firm-profile {
	background-color: #e4e4e4;
	background-image: url(../images/texture_waves.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.firm-intro-heading {
	margin-bottom: 40px;
}

.firm-intro-heading h2 {
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: 0;
	position: relative;
	padding-left: 30px;
	padding-bottom: 20px;
	text-transform: none;
}

.firm-intro-heading h2::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 200px;
	height: 100%;
	border-left: 5px solid var(--color-secondary);
	border-bottom: 5px solid var(--color-secondary);
}

.firm-intro-heading .highlight {
	color: var(--color-secondary);
}

.firm-intro-section {
}

.firm-intro-content {
	display: block;
}

.firm-intro-text {
	margin-bottom: 40px;
}

.firm-intro-image {
	position: relative;
}

.city-image {
	width: 100%;
	height: auto;
}

.connect-cta {
	margin-top: 20px;
	text-align: center;
}

.connect-button {
	display: inline-block;
	font-weight: 600;
}

.connect-button i {
	margin-left: 12px;
}

/* Tablet and Desktop Layout */
@media screen and (min-width: 1025px) {
	.firm-intro-section {
		margin-bottom: 0;
	}
	.firm-intro-heading h2 {
		font-size: 3.4rem;
	}

	.firm-intro-content {
		display: flex;
		align-items: flex-start;
		gap: 60px;
	}

	.firm-intro-text {
		flex: 1;
		margin-bottom: 0;
	}

	.firm-intro-image {
		flex: 1;
		max-width: 500px;
	}

	.connect-cta {
		position: absolute;
		bottom: 0;
		right: 0;
	}

	.connect-button {
		background-color: var(--color-secondary);
		color: white;
		padding: 15px 25px;
	}
}

@media screen and (min-width: 1480px) {
	.firm-intro-heading h2 {
		font-size: var(--font-size-banner);
	}
}

/* Common Section Padding */
.firm-profile-section {
	padding: 60px 0;
}

@media screen and (min-width: 1025px) {
	.firm-profile-section {
		padding: 80px 0;
	}
}

/* Firm Achievements Section */
.firm-achievements-section {
	background-color: var(--color-light-gray);
}

.firm-achievements-content {
	display: block;
	margin-bottom: 40px;
}

.firm-achievements-image {
	margin-bottom: 80px;
	position: relative;
	max-width: 400px;
}

.interior-image {
	width: 100%;
	height: auto;
	max-width: 400px;
	position: relative;
	z-index: 1;
}

.firm-achievements-image::after {
	content: "";
	position: absolute;
	bottom: -50px;
	right: 0;
	width: calc(100% + (var(--gutter-size) * 2));
	height: 100%;
	background-image: url(../images/background_orange.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 0;
}

.firm-achievements-text p {
	font-size: 1rem;
	line-height: 1.6;
}

.firm-badges {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.badge-image {
	height: 80px;
	width: auto;
}

/* Tablet and Desktop Layout */
@media screen and (min-width: 1025px) {
	.firm-achievements-image::after {
		bottom: -60px;
		left: -60px;
		right: auto;
		width: 400px;
		height: 400px;
	}
	.firm-achievements-content {
		display: flex;
		align-items: flex-start;
		gap: 60px;
		margin-bottom: 0;
	}

	.firm-achievements-image {
		flex: 1;
		margin-bottom: 0;
	}

	.firm-achievements-text {
		flex: 1;
	}

	.firm-badges {
		justify-content: flex-start;
		max-width: 600px;
		margin: 0;
		gap: 50px;
	}

	.badge-image {
		height: auto;
		max-width: 150px;
	}
}

/* Firm Team Section */

.firm-team-content {
	display: block;
}

.firm-team-text {
	margin-bottom: 40px;
}

.firm-team-text h2 {
	font-size: 2rem;
	margin-bottom: 30px;
}

.firm-team-text p {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 30px;
}

.firm-team-cta {
	margin-bottom: 40px;
}

.firm-team-attorneys {
	width: 100%;
}

/* Desktop Layout */
@media screen and (min-width: 1025px) {
	.firm-team-content {
		display: flex;
		align-items: flex-start;
		gap: 30px;
	}

	.firm-team-cta {
		margin-bottom: 0;
	}

	.firm-team-text {
		flex: 1;
		margin-bottom: 0;
	}

	.firm-team-text h2 {
		font-size: 2.5rem;
	}

	.firm-team-attorneys {
		flex: 1;
		min-width: 0;
	}
}
