/* Simple grid + sidebar layout */
.rs-resources-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 0 20px 80px;
}
.rs-filters {
    width: 250px;
    padding-right: 20px;
}
.rs-filter-block {margin-bottom: 18px;border-bottom: 1px solid #858585;padding-bottom: 20px;}
.rs-filter-title {font-weight: 500;margin-bottom: 8px;font-size: 18px;}
.rs-filter-item {display: grid;margin-bottom:6px;font-size: 16px;color: #04080F;grid-template-columns: 15px 1fr;gap: 9px;align-items: center;cursor: pointer;}
.rs-filter-item input.rs-filter-checkbox {
    width: 15px;
    height: 15px;
    accent-color: #ba252c;
}
.rs-filter-actions { margin-top: 12px; }
.rs-btn {padding: 11px 24px;background: var(--e-global-color-cdd5182);color:#fff;border:none;border-radius: 94px;cursor:pointer;font-size: 18px;text-decoration: none;display: inline-block;transition: all 0.5s ease;}


.rs-btn:hover {
   background: var(--e-global-color-b68fe15);
    color: #fff;
}.rs-btn-ghost svg{
    max-width: 20px;
    height: 20px;
}
.rs-btn-ghost {color:#333;background: transparent !important;border: none;padding: 0 !important;display: flex;align-items: center;}
.rs-latest-article-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
	padding:0 20px;
}
.elementor-section .rs-latest-article-banner .rs-banner-title{font-size:var(--e-global-typography-542aad5-font-size);}
.rs-latest-article-banner .rs-banner-title,.resourcetitle_warp .rs-archive-title {
    font-family: var(--e-global-typography-12b5aa8-font-family), Sans-serif;
    font-size: var(--e-global-typography-b26e185-font-size);
    font-weight: var(--e-global-typography-12b5aa8-font-weight);
    line-height: var(--e-global-typography-12b5aa8-line-height);
    color: var(--e-global-color-8cbae2a);
}
.resourcetitle_warp .rs-archive-title {
    text-align: center;
    margin-bottom: 80px;
}

aside.rs-filters h4 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #858585;
    padding-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rs-latest-article-banner .rs-banner-excerpt {
    font-family: var(--e-global-typography-c0a3a95-font-family), Sans-serif;
    font-size: var(--e-global-typography-c0a3a95-font-size);
    line-height: var(--e-global-typography-c0a3a95-line-height);
    color: var(--e-global-color-8cbae2a);
}
.rs-banner-image img {
    border-radius: 15px;
    max-height: 360px;
    width: 100%;
    object-fit: cover;
}
/* Main grid */
.rs-main { flex: 1; }
.rs-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Card */
.rs-resource-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 6px 20px rgba(20,20,20,0.06); */
}
.rs-resource-card a { color: inherit; text-decoration: none; display:block; }
.rs-thumb img {width: 100%;height: 220px;object-fit: cover;display:block;border-radius: 13px;}
.rs-card-body {padding: 14px 0;}
.rs-label {
    font-size: 12px;
    background: #EEECE7;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}
.mb-0{margin-bottom:0 !important;}
.rs-title {font-size: 18px;margin: 6px 0 15px;line-height:1.2;color: var(--e-global-color-8cbae2a);font-weight: 600;}
.rs-excerpt {font-size: 15px;color: #141414;display: -webkit-inline-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;line-height: 1.4;}

/* Load more */
.rs-load-wrap { text-align:center; margin-top:28px; }
.rs-load-more {padding: 14px 40px;border-radius:30px;background:#c0392b;color:#fff;border:none;cursor:pointer;}
button.rs-video-close:hover {
    background: var(--e-global-color-cdd5182);
}
/* Video overlay */
#rs-video-overlay {
    position: fixed;
    z-index: 99999;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.7);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.rs-video-container { position: relative; width: 90%; max-width: 980px; }
.rs-video-container iframe, .rs-video-container video { width:100%; height: 560px; border-radius:8px; background:#000; display:block; }
.rs-video-close {position:absolute;right:-8px;top:-8px;z-index:2;background:#fff;border-radius:50%;border:none;width: 35px;height: 35px;cursor:pointer;color: #000;display: flex;align-items: center;justify-content: center;font-size: 26px;padding: 0;transition: all 0.5s ease;}
.rs-filter-block:last-child {
    border: none;
}
/* Responsive */
@media (max-width: 1024px) {
    .rs-resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .rs-resources-wrapper { flex-direction: column; }
    .rs-filters { width: 100%; border-right: none; padding-right: 0; border-bottom:1px solid #e6e6e6; padding-bottom:12px; margin-bottom:18px; }
    .rs-resources-grid { grid-template-columns: 1fr; }
    .rs-thumb img { height: 180px; }
    .rs-video-container iframe, .rs-video-container video { height: 320px; }
	.rs-latest-article-banner {
    grid-template-columns: 1fr;
}
}
