/* Service Single Page Styles */

.service-hero-section {
	padding: 2rem 0;
}

.service-content-section {
	padding: 2rem 0;
}

.service-hero-section h1 {
	font-size: 3.75rem;
	max-width: 672px;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

@media (max-width: 768px) {
    .service-hero-section h1 {
        font-size: 2.25rem;
    }
}

/* Service Header Styles */
.service-header {
	max-width: 672px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.service-excerpt {
	margin-top: 2rem;
	line-height: 1.625;
	max-width: 672px;
	font-weight: 300;
	letter-spacing: -0.025em;
	opacity: 0.9;
	font-size: 1.125rem;
}

/* Service Tags Styles */
.service-tags {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;

	@media (max-width: 768px) {
		gap: 0.5rem;
	}
}

.service-tag {
	font-size: 0.875rem;
	border-radius: 2rem;
	background-color: var(--color-foreground);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	height: 32px;
	padding: 0 1rem;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
	letter-spacing: 0.025em;

	@media (max-width: 768px) {
		font-size: 0.75rem;
		height: 28px;
		padding: 0 0.75rem;
	}
}

/* Service Content Styles */
.service-content {
	margin: 0 auto;
	padding: 2rem 0;
}

.service-content ul {
	list-style: inside;
}

.service-content svg {
	height: 40px;
	width: 40px;
}

.service-content p {
	margin-bottom: 1.5rem;
	color: var(--color-muted-foreground);
	letter-spacing: -0.025em;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.625;
	text-wrap: pretty;

	@media (max-width: 768px) {
		text-align: left;
	}
}

.service-content p:last-child {
	margin-bottom: 0;
}

.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content h5,
.service-content h6 {
	margin-bottom: 1rem;
	margin-top: 2rem;
	color: var(--color-foreground);
	letter-spacing: -0.025em;
}

.service-content h1:first-child,
.service-content h2:first-child,
.service-content h3:first-child,
.service-content h4:first-child,
.service-content h5:first-child,
.service-content h6:first-child {
	margin-top: 0;
}

.service-content h2 {
	font-size: 1.5rem;
	font-weight: 500;
}

.service-content h3 {
	font-size: 1.25rem;
	font-weight: 500;
}

.service-content h4 {
	font-size: 1.125rem;
	font-weight: 500;
}

.service-content ul,
.service-content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
}

.service-content ul li,
.service-content ol li {
	margin-bottom: 0.5rem;
	color: var(--color-muted-foreground);
	letter-spacing: -0.025em;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.625;
}

.service-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	background-color: var(--color-muted);
	border-left: 4px solid var(--color-accent);
	border-radius: 0.5rem;
	font-style: italic;
	color: var(--color-muted-foreground);
}

.service-content strong {
	font-weight: 500;
	color: var(--color-foreground);
}

.service-content em {
	font-style: italic;
	font-family: 'Instrument Serif', serif;
}

.service-content a {
	color: var(--color-accent);
	text-decoration: underline;
	transition: opacity 0.3s ease;
}

.service-content a:hover {
	opacity: 0.8;
}

.service-content img {
	width: 100%;
	height: auto;
	margin: 2rem 0;
	border-radius: 1rem;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

/* WordPress Block Editor Support */
.service-content .wp-block-image {
	margin: 2rem 0;
}

.service-content .wp-block-quote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	background-color: var(--color-muted);
	border-left: 4px solid var(--color-accent);
	border-radius: 0.5rem;
}

.service-content .wp-block-button .wp-block-button__link {
	background-color: var(--color-accent);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 2rem;
	text-decoration: none;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.service-content .wp-block-button .wp-block-button__link:hover {
	background-color: var(--color-foreground);
}

.service-card {
	display: flex;
	flex-direction: column;
	align-items: center !important;
	text-align: center;
	padding: 2rem;
	border-radius: 1rem;
	background-color: white;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
		rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

@media (max-width: 768px) {
	.service-card p {
		text-align: center;
	}
}
.service-card p {

}

.service-card p {
	text-wrap: balance !important;
}

.service-card h2 {
	margin: 0.5rem 0;
}

.service-card ul {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: start;
	margin-top: auto;
}

.service-card ul li {
    font-size: 1rem;
    letter-spacing: -0.025em;
}

.service-card-icon {
	height: 48px;
	width: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	margin: 0 auto !important;
}

.services-grid {
	gap: 1rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
}
