/**
 * Product Series Card Widget Styles
 * Elementor widget for displaying product cards with file downloads
 */

/* Grid Layout Wrapper */
.series-grid-wrapper {
    display: grid;
    gap: 24px;
    width: 100%;
}

/* Responsive Grid Columns */
.series-grid-wrapper.series-grid-1-columns {
    grid-template-columns: 1fr;
}

.series-grid-wrapper.series-grid-2-columns {
    grid-template-columns: repeat(2, 1fr);
}

.series-grid-wrapper.series-grid-3-columns {
    grid-template-columns: repeat(3, 1fr);
}

.series-grid-wrapper.series-grid-4-columns {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Grid Breakpoints */
@media (max-width: 1024px) {
    .series-grid-wrapper.series-grid-4-columns,
    .series-grid-wrapper.series-grid-3-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .series-grid-wrapper.series-grid-4-columns,
    .series-grid-wrapper.series-grid-3-columns,
    .series-grid-wrapper.series-grid-2-columns {
        grid-template-columns: 1fr;
    }
}
.product-card {
    border-radius: 16px;
    box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 1);
    flex: 0 0 calc(33.334% - 24px);
}
.series-thumb {
	width: 100%;
	display: block;
	object-fit: cover;
	/* border-bottom: 1px solid rgba(235, 243, 255, 1); */
}
.product-card-body {
	padding: 30px;
}
/* .product-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
} */
 .product-card-header {
    max-width: 404px;
}
.product-card-header .product-card-title-block h2 {
    color: rgba(0, 0, 0, 1);
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    text-align: left;
    /* margin: 0 0 8px; */
    margin: 0;
    flex: 0 0 calc(50% - 7.5px);
}
.product-card-title-block {
    display: block;
}
.product-card-header .product-card-title-block h2 a {
	color: rgba(0, 0, 0, 1);
}
.product-card-title-block p {
    color: rgba(0, 0, 0, 1);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    text-align: left;
    text-transform: uppercase;
    margin: 5px 0 0;
    max-width: 194px;
    width: 100%;
}
.product-card-open-btn {
	border-radius: 300px;
	background: rgba(14, 77, 146, 1);
	width: 117px;
	height: 52px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 16px 24px 16px 24px;
	color: rgba(255, 255, 255, 1);
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 19px;
	text-decoration: none;
	transition: all 0.3s ease-in-out  ;
}
.product-card-open-btn:hover {
	background: #A98534;
	color: #fff;
}
.product-card-open-btn span.icon {
	font-size: 13px;
	line-height: 1;
}
.product-card-divider {
	height: 1px;
	background: #e5e7eb;
	margin: 20px 0 20px;
}
.product-title {
	color: rgba(60, 60, 60, 1);
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	text-align: left;
	margin: 0 0 8px;
}
.product-card-file-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.file-pill {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08) !important;
}
.file-pill:hover {
	background: rgba(235, 243, 255, 1);
}
.file-pill__left {
	display: flex;
	align-items: center;
	gap: 8px;
}
.product + .product {
	margin-top: 24px;
}

/* No Results Message */
.no-series-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: rgba(235, 243, 255, 0.3);
    border-radius: 12px;
    border: 1px dashed rgba(14, 77, 146, 0.3);
}

.no-series-found p {
    color: rgba(60, 60, 60, 0.7);
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    margin: 0;
}
