/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://yourwebsite.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/


/* =========================================================
   GENERAL
   ========================================================= */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
}


/* =========================================================
   SERVICES - GENERAL
   ========================================================= */

.bp-services-single {
	background: #ffffff;
}


/* Main service container */
.bp-services-single .site-content {
	width: 100%;
}

.bp-services-single .entry-content {
	font-size: 17px;
	line-height: 1.8;
	color: #444;
}


/* =========================================================
   SERVICES - TITLE
   ========================================================= */

.bp-services-single .entry-header {
	margin-bottom: 35px;
	text-align: center;
}

.bp-services-single .entry-title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	color: #222;
}


/* =========================================================
   SERVICES - CONTENT
   ========================================================= */

.bp-services-single .entry-content h2 {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 45px;
	margin-bottom: 20px;
	color: #222;
}

.bp-services-single .entry-content h3 {
	font-size: 26px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 35px;
	margin-bottom: 15px;
	color: #222;
}

.bp-services-single .entry-content p {
	margin-bottom: 20px;
}

.bp-services-single .entry-content ul {
	margin: 20px 0 30px 25px;
	padding: 0;
}

.bp-services-single .entry-content li {
	margin-bottom: 10px;
}


/* =========================================================
   SERVICES - LINKS
   ========================================================= */

.bp-services-single .entry-content a {
	color: #e31e24;
	text-decoration: none;
}

.bp-services-single .entry-content a:hover {
	color: #b9161b;
	text-decoration: underline;
}


/* =========================================================
   SERVICES - IMAGES
   ========================================================= */

.bp-services-single .entry-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 25px auto;
}

.bp-services-single .wp-block-image {
	margin-top: 30px;
	margin-bottom: 30px;
}


/* =========================================================
   SERVICES - BUTTONS
   ========================================================= */

.bp-services-single .wp-block-button__link,
.bp-services-single .wp-element-button {
	background: #e31e24;
	color: #ffffff !important;
	border-radius: 3px;
	padding: 14px 28px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.3s ease;
}

.bp-services-single .wp-block-button__link:hover,
.bp-services-single .wp-element-button:hover {
	background: #b9161b;
	color: #ffffff !important;
}


/* =========================================================
   SERVICES - BLOCKQUOTE
   ========================================================= */

.bp-services-single blockquote {
	border-left: 4px solid #e31e24;
	padding: 15px 25px;
	margin: 30px 0;
	background: #f7f7f7;
	font-style: italic;
}


/* =========================================================
   SERVICES - RESPONSIVE
   ========================================================= */

@media (max-width: 921px) {

	.bp-services-single .entry-title {
		font-size: 40px;
	}

	.bp-services-single .entry-content h2 {
		font-size: 30px;
	}

	.bp-services-single .entry-content h3 {
		font-size: 24px;
	}

}


@media (max-width: 767px) {

	.bp-services-single .entry-header {
		margin-bottom: 25px;
	}

	.bp-services-single .entry-title {
		font-size: 32px;
	}

	.bp-services-single .entry-content {
		font-size: 16px;
		line-height: 1.7;
	}

	.bp-services-single .entry-content h2 {
		font-size: 26px;
		margin-top: 35px;
	}

	.bp-services-single .entry-content h3 {
		font-size: 22px;
	}

	.bp-services-single .entry-content ul {
		margin-left: 20px;
	}

}







/* Services Grid */
/* Services Grid */
.custom-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Image */
.custom-service-image {
    display: block;
    overflow: hidden;
}

.custom-service-featured-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

/* Image hover */
.custom-service-image:hover .custom-service-featured-image {
    transform: scale(1.03);
}

/* Title */
.custom-service-title {
    margin: 22px 0 18px;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.custom-service-title a {
    color: #142f55;
    text-decoration: none;
}

.custom-service-title a:hover {
    color: #142f55;
}

/* Description */
.custom-service-description {
    color: #304b6d;
    font-size: 17px;
    line-height: 1.6;
     display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Tablet */
@media (max-width: 991px) {

    .custom-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .custom-service-featured-image {
        height: 280px;
    }

    .custom-service-title {
        font-size: 26px;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .custom-services-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .custom-service-featured-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .custom-service-title {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 25px;
    }

    .custom-service-description {
        font-size: 17px;
    }

}