.opportunities-header p{
    color: #888;
}

.cs-wrapper {
    position: relative;
    width: 280px;
    background-color: #f3f3f5;       
}

.resources-filter-wrapper {            
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 16px;            
    margin: 0 auto 30px;
}

.resources-search {
    margin-bottom: 12px;
}

.resources-filters {
    /* display: grid; */
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.resources-filter-wrapper .custom-input,
.resources-filter-wrapper .custom-select {
    height: 44px;
    font-size: 14px;
}

.resource-featured-badge{
    position: absolute;
    top: 12px; left: 12px;    
    padding: 4px 12px;
    background-color: var(--color-primary);            
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

.resources-section {
    margin-top: 40px;
    color: #e5e7eb;
}

.resources-tabs {
    display: flex;
    background: #ececf0;
    border: 1px solid var(--color-border);
    border-radius: 90px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 24px;
    overflow: auto
}

:root.dark .resources-tabs{
    background: #262626;   
}

.resources-tabs .tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text);
    padding: 7px 14px;
    border-radius: 90px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    white-space: nowrap;
}

:root.dark .resources-tabs .tab{
    opacity: 0.8;
}

.resources-tabs .tab.active {
    background: var(--color-surface);    
    
}

:root.dark .resources-tabs .tab.active {
    background: transparent;            
    font-weight: bolder;
    opacity: 1;        
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.resources-header h3 {
    font-size: 20px;
}

.sort-btn {
    background: #1f2937;
    border: 1px solid #374151;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.resource-card {
    background: var(--color-surface);
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.2s ease;
}

.resource-card:hover {
    border-color: var(--color-primary);
}

.resource-title {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--color-text);
}

.resource-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
    min-height: 3rem;
}

.resource-meta {
    font-size: 12px;
    margin-bottom: 10px;
}

.resource-meta a {
    color: var(--color-primary);
    text-decoration: none;
}

.resource-stats {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.resource-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.rating {
    color: var(--color-secondary);
    font-size: 13px;
}

.updated {
    font-size: 12px;
    color: #9ca3af;
}

.cta-box {
    background: oklch(0.96 0.02 225.77);
    border: 1px solid var(--color-primary);
    border-radius: 14px;
    padding: 40px 20px;        
}

:root.dark .cta-box{
    background: #08181f;        
}

.download-btn {
    background: var(--color-white);
    color: #fff;
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    background: #000;    
}

:root.dark .download-btn{
    background: #fff;  
    color: #000;
}

.resources-tab-content {
    display: none;
}

.resources-tab-content.active {
    display: block;
}


.video-card {
    background: var(--color-surface);
    border: 1px solid #1f2937;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100%;
    padding: 16px;
}

.video-card:hover {
    border-color: var(--color-primary);
}

.video-thumb {
    position: relative;
    height: 180px;
    background: #111;
    overflow: hidden;
}

.vido-play{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: all 0.25s ease;
}

.video-play i {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transform: scale(0.85);
    transition: all 0.25s ease;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb.placeholder {
    background: #f3f4f6;
}

.video-card:hover .video-play {
    opacity: 1;
}

.video-card:hover .video-play i {
    transform: scale(1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
}

.video-body {
    padding: 16px;
}

.video-title {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 6px;
}

.video-desc {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.video-meta {
    font-size: 12px;
    margin-bottom: 12px;
}

.video-meta a {
    color: var(--color-primary);
    text-decoration: none;
}

.video-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
}

.video-iframe {
    position: relative;
    height: 180px;
    background: #000;
}

.video-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
    opacity: 1;
}

.video-play i {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
}


.iwlearn-section {
    padding: 40px 0;
}

.iwlearn-card {
    background: linear-gradient(180deg, #1f6feb, #2563eb);
    border-radius: 10px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(37,99,235,0.35);
}

.iwlearn-logos {
    min-width: 120px;
    height: 100%;
}

.iwlearn-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.iwlearn-content {
    padding: 0 20px;
}

.iwlearn-action{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iwlearn-title {            
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.btn-abstract{
    background-color: #ffffff;
}

:root.dark .btn-abstract{
    background-color: #121212;
}

:root.dark .btn-abstract:hover{
    background-color: #121212 !important;
    color: #fff !important;
}

.sort-btn{
    background-color: #fff;
    color: var(--color-text);
}

.sort-btn:hover{
    background-color: #ececf0;
}

:root.dark .sort-btn{
    background-color: #121212;
}

:root.dark .sort-btn:hover{
    background-color: #262626;
}

.iwlearn-btn {
    background: #ffffff;
    color: #1f2937;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.iwlearn-btn:hover {
    background: #e5e7eb;
    color: #111827;
}

@media (max-width: 992px) {
    .iwlearn-card {
        flex-direction: column;
        text-align: center;
    }

    .iwlearn-content {
        padding: 10px 0;
    }
}

@media (max-width: 592) {
    .video-card{
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .resources-header h3{
        font-size: 14px;
    }

    .resources-header .sort-btn{
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .resources-filters {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}
