.resource-filter-wrapper {
width: 100%;
} .resource-filter-toolbar {
display: flex;
justify-content: flex-end;
align-items: center;
margin-bottom: 35px;
position: relative;
z-index: 100;
}
.resource-filter-dropdown-wrap {
position: relative;
} .resource-filter-toggle {
background: #0B72B9;
color: #fff;
border: none;
border-radius: 8px;
padding: 12px 22px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all .3s ease;
}
.resource-filter-toggle:hover,
.resource-filter-toggle.active {
background: #095b95;
}
.resource-filter-toggle .filter-arrow {
margin-left: 8px;
font-size: 11px;
transition: transform .25s ease;
}
.resource-filter-toggle.active .filter-arrow {
transform: rotate(180deg);
} .resource-filter-dropdown {
display: none;
position: absolute;
top: calc(100% + 10px);
right: 0;
width: 340px;
background: #fff;
border-radius: 10px;
box-shadow:
0 12px 35px rgba(0, 0, 0, .15);
overflow: visible;
z-index: 99999;
}
.resource-filter-dropdown.show {
display: block;
} .resource-filter-item {
position: relative;
width: 100%;
} .resource-filter-option {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
box-sizing: border-box;
padding: 14px 20px;
cursor: pointer;
border-bottom: 1px solid #eee;
font-size: 15px;
color: #444;
background: #fff;
transition:
background .25s ease,
color .25s ease;
} .resource-filter-option:hover {
background: #f5f7fb;
color: #0B72B9;
} .resource-filter-option.active {
background: #0B72B9;
color: #fff;
} .resource-parent-option {
display: flex;
align-items: center;
justify-content: space-between;
} .category-arrow {
display: inline-block;
margin-left: 10px;
font-size: 11px;
transition:
transform .25s ease;
} .resource-filter-item.has-children.open
.category-arrow {
transform: rotate(180deg);
} .resource-sub-filter {
display: none;
width: 100%;
background: #fafafa;
} .resource-filter-item.has-children.open
.resource-sub-filter {
display: block;
} .resource-child-option {
padding-left: 40px !important;
font-size: 14px;
color: #555;
} .resource-child-option:hover {
background: #f5f7fb;
color: #0B72B9;
} .resource-posts-container {
display: grid;
grid-template-columns:
repeat(3, 1fr);
gap: 30px;
min-height: 200px;
} .resource-posts-container .blog-card {
background: #fff;
border-radius: 15px;
overflow: hidden;
box-shadow:
0 8px 25px rgba(0, 0, 0, .08);
transition:
transform .35s ease,
box-shadow .35s ease;
}
.resource-posts-container .blog-card:hover {
transform: translateY(-8px);
box-shadow:
0 18px 40px rgba(0, 0, 0, .15);
} .resource-posts-container
.blog-card
.image_cls {
display: block;
width: 100%;
height: 240px;
overflow: hidden;
line-height: 0;
}
.resource-posts-container
.blog-card
.image_cls img {
display: block;
width: 100%;
height: 240px;
object-fit: cover;
margin: 0;
padding: 0;
} .resource-posts-container
.blog-card
.card-body {
padding: 25px 30px 30px;
} .resource-posts-container
.card-cat {
display: inline-block;
color: #0B72B9;
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
margin: 0 0 12px;
} .resource-posts-container
.blog-card
.post-title {
margin: 0 0 15px;
font-size: 20px;
line-height: 1.4;
min-height: 70px;
}
.resource-posts-container
.blog-card
.post-title a {
color: #222;
text-decoration: none;
}
.resource-posts-container
.blog-card
.post-title a:hover {
color: #0B72B9;
} .resource-posts-container
.card-date {
color: #777;
font-size: 14px;
} .resource-posts-container
.no-posts {
grid-column: 1 / -1;
text-align: center;
padding: 60px 20px;
font-size: 18px;
color: #666;
} .resource-posts-container.loading {
opacity: .45;
pointer-events: none;
transition: opacity .3s ease;
} .resource-pagination {
margin-top: 40px;
text-align: center;
}
.resource-pagination ul {
display: inline-flex;
align-items: center;
list-style: none;
padding: 0;
margin: 0;
gap: 10px;
}
.resource-pagination li {
list-style: none;
margin: 0;
padding: 0;
}
.resource-pagination a,
.resource-pagination span {
width: 42px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
border: 1px solid #ddd;
text-decoration: none;
color: #333;
transition: all .3s ease;
}
.resource-pagination a:hover {
background: #0B72B9;
color: #fff;
border-color: #0B72B9;
}
.resource-pagination .current {
background: #0B72B9;
color: #fff;
border-color: #0B72B9;
} @media (max-width: 1024px) {
.resource-posts-container {
grid-template-columns:
repeat(2, 1fr);
}
} @media (max-width: 767px) {
.resource-filter-toolbar {
justify-content: center;
}
.resource-filter-toggle {
width: 100%;
}
.resource-filter-dropdown {
width: 100%;
left: 0;
right: auto;
}
.resource-posts-container {
grid-template-columns: 1fr;
}
.resource-posts-container
.blog-card
.image_cls,
.resource-posts-container
.blog-card
.image_cls img {
height: 220px;
}
.resource-posts-container
.blog-card
.post-title {
font-size: 19px;
}
.resource-posts-container
.blog-card
.card-body {
padding: 20px;
}
} .whitepaper-download-btn {
display: inline-block;
margin-top: 16px;
padding: 10px 20px;
background: #0B72B9;
color: #fff;
border: none;
border-radius: 6px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: background .25s ease;
}
.whitepaper-download-btn:hover {
background: #095b95;
} .whitepaper-modal {
display: none;
position: fixed;
inset: 0;
z-index: 999999;
align-items: center;
justify-content: center;
}
.whitepaper-modal.active {
display: flex;
}
.whitepaper-modal-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, .6);
}
.whitepaper-modal-box {
position: relative;
z-index: 1;
width: 90%;
max-width: 520px;
max-height: 85vh;
overflow-y: auto;
background: #fff;
border-radius: 12px;
padding: 40px 35px 35px;
box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.whitepaper-modal-close {
position: absolute;
top: 12px;
right: 16px;
background: none;
border: none;
font-size: 26px;
line-height: 1;
color: #888;
cursor: pointer;
padding: 4px 8px;
}
.whitepaper-modal-close:hover {
color: #222;
}
.whitepaper-modal-box .wpcf7-form p {
margin: 0 0 14px;
}
.whitepaper-modal-box .wpcf7-form input[type="text"],
.whitepaper-modal-box .wpcf7-form input[type="email"],
.whitepaper-modal-box .wpcf7-form input[type="tel"],
.whitepaper-modal-box .wpcf7-form textarea {
width: 100%;
box-sizing: border-box;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 14px;
}
.whitepaper-modal-box .wpcf7-submit {
background: #0B72B9;
color: #fff;
border: none;
border-radius: 6px;
padding: 10px 24px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
}
.whitepaper-modal-box .wpcf7-submit:hover {
background: #095b95;
} body.whitepaper-modal-open {
overflow: hidden;
}