/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

.custom-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	align-items: stretch;
}

.custom-post-card {
	min-width: 0;
	background: #f3f3f3;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.custom-post-image {
	display: block;
	width: 100%;
	aspect-ratio: 1.8 / 1;
	overflow: hidden;
	background: #3f60a0;
}

.custom-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.custom-post-no-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-post-image-placeholder {
	width: 45%;
	aspect-ratio: 1;
	border: 4px solid rgba(255,255,255,.13);
	position: relative;
}

.custom-post-image-placeholder:before {
	content: "";
	position: absolute;
	width: 14%;
	aspect-ratio: 1;
	border: 3px solid rgba(255,255,255,.13);
	border-radius: 50%;
	top: 15%;
	left: 15%;
}

.custom-post-content {
	padding: 10px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.custom-post-title {
	font-size: 17px;
	line-height: 1.4;
	margin: 0 0 30px;
	font-weight: 600;
}

.custom-post-title a {
	color: #171717;
	text-decoration: none;
}

.custom-post-excerpt {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 16px;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.custom-post-read-more {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	background: #ff5252;
	color: #fff !important;
	text-decoration: underline;
	padding: 13px 22px;
	border-radius: 5px;
	font-size: 14px;
	line-height: 1.3;
	transition: background .2s ease;
}

.custom-post-read-more:hover {
	background: #e83e3e;
	color: #fff !important;
}

.custom-post-pagination {
	margin-top: 30px;
	text-align: center;
}

.custom-post-pagination ul {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.custom-post-pagination li {
	margin: 0;
	padding: 0;
}

.custom-post-pagination a,
.custom-post-pagination span {
	border: 1px solid #ddd !important;
	text-decoration: none !important;
	border-radius: 4px !important;
	border-radius: 4px !important;
	transition: all .2s ease;
	padding: 0 10px;
	box-sizing: border-box !important;
}

.custom-post-pagination .current {
	background: #ff5252 !important;
	border-color: #ff5252 !important;
	color: #fff !important;
}

.elementor-widget-html:has(marquee) {
    display: flex;
    font-size: 13px;
    font-weight: 700;
}
.elementor-widget-html:has(marquee) a {
    color: #fff;
}
header.page-header.centered-page-header {
    background-image: url(https://iso-saudi.net/blog/wp-content/uploads/2026/10/inside_banner_bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
header.page-header.centered-page-header nav.site-breadcrumbs {
    position: absolute;
    bottom: 0;
    top: 100%;
    border-bottom: 1px solid #e5e5e5;
    padding: 7px 0;
    z-index: 99;
    background-color: #fff;
    width: 100%;
    left: 0;
}
header.page-header.centered-page-header .container {
    position: static;
}
header.page-header.centered-page-header nav.site-breadcrumbs ol {
    width: 1180px;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
}

a.gqs-sidebar-recent-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none!important;
    margin-bottom: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #ff7200
}

.gqs-sidebar-recent-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #000;
    text-decoration: none;
    border: 0;
    transition: .3s;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden
}

a.gqs-sidebar-recent-box:hover .gqs-sidebar-recent-title {
    color: #ff7200
}

.related-post-title a {
    color: #000!important;
    text-decoration: none!important
}

.gqs-sidebar-recent h2.gqs-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #000;
    color: #fff;
    padding: 20px;
    background: #ff7200;
    margin: 0
}

.gqs-sidebar-recent-image img {
    height: 70px;
    width: 70px;
    min-width: 70px;
    object-fit: cover
}

.gqs-sidebar-recent {
    border-radius: 11px;
    border: 1px solid #ff7200;
    overflow: hidden
}

a.gqs-sidebar-recent-box:last-child {
    border: 0
}
aside#right-sidebar {
    position: sticky;
    top: 20px
}
.sidebar-box p {
    margin: 0;
}
.right_form_con {
    background-color: #45ba17;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 11px;
}
.right_form_con .form_con {
    font-size: 18px;
    font-weight: 700;
}

.right_form_con h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: #45ba17;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.right_form_con .form_con a {
    text-decoration: none !important;
}
.right_form_con i {
    font-size: 20px;
}
.testi-icon .elementor-icon-wrapper {
    display: flex;
}
.slick-next.slick-arrow {
    left: initial;
    right: 0;
    transform: rotate(180deg) translateY(50%);
}

.slick-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(https://iso-saudi.net/blog/wp-content/uploads/2026/10/left_s_arrow.webp);
    font-size: 0;
    width: 60px;
    height: 120px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: none;
}

.why-number {
    display: flex;
    aspect-ratio: 1;
    width: 34px;
    align-items: center !important;
    justify-content: center !important;
}
ul.slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    list-style: none;
    font-size: 0;
}

ul.slick-dots .slick-active button {
    background-color: #ff7200;
    border-color: #ff7200;
}

ul.slick-dots button {
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 0;
    margin: 0 3px;
}
@media (min-width: 768px) {
.testimonials-slider {
    padding: 0 80px !important;
}
}
@media (max-width: 767px) {
	.custom-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.custom-post-title {
		font-size: 15px;
		margin-bottom: 18px;
	}

	.custom-post-content {
		padding: 8px;
	}

	.custom-post-excerpt {
		font-size: 13px;
		-webkit-line-clamp: 4;
	}

	.custom-post-read-more {
		padding: 10px 14px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.custom-posts-grid {
		grid-template-columns: 1fr;
	}

	.custom-post-image {
		aspect-ratio: 1.8 / 1;
	}
}
