/**
 * Featured Resources -- match Virtual CISO / original service-page section.
 */

 .pps-featured-resources {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 6% 0 0;
	clear: both;
	box-sizing: border-box;
}

.pps-featured-resources *,
.pps-featured-resources *::before,
.pps-featured-resources *::after {
	box-sizing: border-box;
}

/* Title -- exact sizes from Virtual CISO Featured Resources (#wd-698276ff81129) */
.pps-featured-resources__title {
	text-align: center;
	margin: 0 0 20px;
}

.pps-featured-resources__title-text,
.pps-featured-resources .woodmart-title-container {
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-size: 60px !important;
	font-weight: 700;
	line-height: 70px !important;
	color: #001a30 !important;
}

/* Pill tab bar -- match .fx-tabbed-layout + wd-fontsize-l (22px) */
.pps-featured-resources__tabs-header {
	text-align: center;
	margin: 0 0 8px;
}

.pps-featured-resources__nav {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 6px;
	background: #f1f1f1;
	border-radius: 50px;
	border: 1px solid #e4e4e4;
}

.pps-featured-resources__nav-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pps-featured-resources__nav-btn {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	margin: 0;
	padding: 11px 15px;
	border: 1px solid transparent;
	border-radius: 50px;
	background: transparent;
	cursor: pointer;
	font-family: "Roboto", sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
	color: #666666;
	text-transform: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pps-featured-resources__nav-btn:hover,
.pps-featured-resources__nav-btn:focus {
	outline: none;
	color: #2674b4;
	background: #fff;
	border: 1px solid #e4e4e4;
	border-radius: 50px;
}

/* Active: round white pill + site blue text */
.pps-featured-resources__nav-item.is-active .pps-featured-resources__nav-btn,
.pps-featured-resources__nav-item.wd-active .pps-featured-resources__nav-btn {
	color: #2674b4 !important;
	background: #ffffff !important;
	border: 1px solid #e4e4e4 !important;
	border-radius: 50px !important;
}

.pps-featured-resources__panels {
	width: 100%;
}

.pps-featured-resources__panel {
	display: none;
	width: 100%;
}

.pps-featured-resources__panel.is-active {
	display: block;
}

/* Slider: clip so only 3 cards show (no side peek) */
.pps-featured-resources .custom-post-slider-wrapper {
	position: relative;
	padding: 20px 0 50px;
	overflow: hidden;
	width: 100%;
}

.pps-featured-resources .custom-post-owl {
	width: 100%;
	overflow: hidden;
}

/* Fallback when Owl JS is not on the page yet (or never loads). */
.pps-featured-resources .custom-post-owl:not(.owl-loaded) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

@media (max-width: 999px) {
	.pps-featured-resources .custom-post-owl:not(.owl-loaded) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 599px) {
	.pps-featured-resources .custom-post-owl:not(.owl-loaded) {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.pps-featured-resources .custom-post-owl.owl-loaded {
	display: block;
}

.pps-featured-resources .custom-post-owl .owl-stage-outer {
	overflow: hidden !important;
	width: 100%;
}

.pps-featured-resources .custom-post-owl .owl-stage {
	display: flex;
}

.pps-featured-resources .custom-post-owl .owl-item {
	display: flex;
	height: auto;
}

/* Hide any prev/next text controls */
.pps-featured-resources .owl-nav {
	display: none !important;
}

.pps-featured-resources .custom-post-item {
	background-color: #f1f1f1;
	border: 0;
	border-radius: 25px;
	padding: 10px;
	width: 100%;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	overflow: hidden;
	box-shadow: none;
}

.pps-featured-resources .custom-post-image {
	width: 100%;
	height: 209px;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	background: #e8e8e8;
}

.pps-featured-resources .custom-post-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.pps-featured-resources .custom-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.pps-featured-resources .custom-post-content {
	padding: 20px 20px 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
	text-align: left;
}

.pps-featured-resources .custom-post-date {
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	color: #676767;
	text-transform: uppercase;
	font-weight: 400;
	margin: 0 0 8px;
	line-height: 1.4;
}

.pps-featured-resources .custom-post-title {
	font-family: "Roboto", sans-serif;
	font-size: 24px;
	color: #001a30;
	font-weight: 700;
	margin: 0 0 20px;
	line-height: 1.2;
}

.pps-featured-resources .custom-post-title a {
	color: #001a30;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.pps-featured-resources .custom-post-title a:hover {
	opacity: 0.8;
}

.pps-featured-resources .custom-post-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 16.5px 20px;
	border: 2px solid #fad805;
	border-radius: 5px;
	text-decoration: none;
	color: #181818;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 16px;
	transition: all 0.3s ease;
	margin-top: auto;
	width: fit-content;
	background: transparent;
}

.pps-featured-resources .custom-post-button svg {
	transition: transform 0.3s ease;
}

.pps-featured-resources .custom-post-button:hover {
	background-color: #fad805;
	color: #181818;
}

.pps-featured-resources .custom-post-button:hover svg {
	transform: translateX(5px);
}

.pps-featured-resources .pps-featured-empty {
	min-height: 209px;
	justify-content: center;
}

.pps-featured-resources .pps-featured-empty .custom-post-content {
	justify-content: center;
	align-items: center;
	text-align: center;
}

/* Dots */
.pps-featured-resources .owl-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	position: relative;
	width: 100%;
}

.pps-featured-resources .owl-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #9ca3af;
	background: transparent;
	cursor: pointer;
}

.pps-featured-resources .owl-dot span {
	display: none;
}

.pps-featured-resources .owl-dot.active {
	background: #4b5563;
	border-color: #4b5563;
}

/* View All -- yellow primary */
.pps-featured-resources__button {
	text-align: center;
	margin: 8px 0 0;
}

.pps-featured-resources__button .pps-fr-view-all,
.pps-featured-resources__button a.primary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-transform: uppercase;
	padding: 12px 20px;
	background: #fad805 !important;
	color: #333333 !important;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 5px;
	border: 0;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.pps-featured-resources__button .pps-fr-view-all:hover,
.pps-featured-resources__button a.primary-btn:hover {
	background-color: #333333 !important;
	color: #fad805 !important;
}

.pps-featured-resources__button .pps-fr-view-all-arrow {
	display: inline-block;
	transition: transform 0.25s ease;
}

.pps-featured-resources__button .pps-fr-view-all:hover .pps-fr-view-all-arrow {
	transform: translateX(4px);
}

@media screen and (max-width: 1199px) {
	.pps-featured-resources__title-text,
	.pps-featured-resources .woodmart-title-container {
		font-size: 44px !important;
		line-height: 54px !important;
	}
}

@media screen and (max-width: 767px) {
	.pps-featured-resources__title-text,
	.pps-featured-resources .woodmart-title-container {
		font-size: 30px !important;
		line-height: 40px !important;
	}

	.pps-featured-resources__nav-btn {
		font-size: 16px;
		padding: 10px 14px;
	}
}

@media screen and (max-width: 599px) {
	.pps-featured-resources .custom-post-slider-wrapper {
		padding: 20px 15px 50px;
	}

	.pps-featured-resources .custom-post-title {
		font-size: 20px;
	}
}

@media screen and (min-width: 600px) {
	.pps-featured-resources .custom-post-slider-wrapper {
		padding: 20px 0 50px;
	}
}
