﻿.indexResources_header {
    width: 100%;
    border-bottom: 3px solid #3498db;
    text-align: center;
    padding: 10px 0;
    font-size: 1.5rem;
    font-weight: bold;
    max-height: 60px;
}

.indexResources_container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.indexResources_left-block {
    flex: 0 0 60%;
    position: relative;
    padding: 20px;
    border: 1px solid #999;
    overflow: hidden;
    max-height: 280px;
}

.indexResources_right-block {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    padding: 0 0 0 20px;
    gap: 10px;
    overflow: hidden;
    max-height: 280px;
}

.indexResources_left-strip {
    background-color: #990f29;
    width: 15px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.indexResources_header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Fixed: Combined duplicate declarations */
.indexResources_vertical-button {
    position: relative;
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #999;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}


.indexResources_text {
    font-size: 1.7rem;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    width: 100%; 
    margin-left: 10px;
}

.indexResources_button-strip {
    width: 15px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.Infographics .indexResources_button-strip {
    background-color: #e74c3c;
}

.Videos .indexResources_button-strip {
    background-color: #3498db;
}

.photoGallery .indexResources_button-strip {
    background-color: #2ecc71;
}

.indexResources_alert-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    font-weight: bold;
    color: #fff;
    padding-left: 20px;
    padding-right: 30px;
    font-size: 1.2em;
}

.indexResources_pagination {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.indexResources_buttonIcon {
    max-width: 100px;
    width: 100%;
    height: auto;
}

.Cybersecurity .indexResources_buttonIcon {
    max-width: 200px;
}

.indexResources_alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #990f29;
}

.cyber-section-cyberSecurity {
    max-width: 1000px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin: 0 auto 40px auto;
}

.section-header-cyberSecurity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #680e1f;
    color: #ffffff;
}

.section-title-cyberSecurity {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

.learn-more-cyberSecurity {
    background-color: #E84F0D;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    line-height: 1;
    display: flex;
    align-items: center;
}

.learn-more-cyberSecurity:hover {
    background-color: #FF6B33;
}

.alert-feed-cyberSecurity {
    height: 100px;
    overflow: hidden;
    position: relative;
}

.cyber-security-swiper {
    width: 100%;
    height: 100%;
}

.cyber-security-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 5px;
    padding-right: 15px;
    background-color: #f9f9f9;
}

.alert-title-cyberSecurity {
    font-size: 1.2rem;
    color: #2c3e50;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: 3.12em;
    margin-right: 10px;
    margin-left: 10px;
}

@supports not (-webkit-line-clamp: 2) {
    .alert-title-cyberSecurity {
        position: relative;
    }
    .alert-title-cyberSecurity::after {
        content: '...';
        position: absolute;
        bottom: 0;
        right: 0;
        background: linear-gradient(90deg, transparent, white 20%);
        padding-left: 10px;
    }
}

.alert-description-cyberSecurity {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alert-footer-cyberSecurity {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.9em;
    color: #7f8c8d;
    line-height: 1.5;
    min-height: 24px;
}

.details-btn-inline {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.85em;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.5;
    height: 20px;
}

.details-btn-inline:hover {
    background-color: #0066cc;
    color: #fff;
}

.cyber-security-pagination {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cyber-security-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.5);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.cyber-security-pagination .swiper-pagination-bullet-active {
    background: #990f29;
    transform: scale(1.2);
}

.swipe {
    display: none;
    padding: 10px;
}

.indexResources_buttonLink {
    margin-left: auto;
}

/* Fixed: Proper media query formatting */
@media (max-width: 767px) {
    .swipe {
        display: block;
    }
    
    .indexResources_left-block,
    .indexResources_right-block {
        flex: 0 0 100%;
    }
    
    .indexResources_right-block {
        padding: 0px;
    }
    
    .indexResources_left-block {
        margin-bottom: 12px;
    }
    
    .indexResources_buttonLink {
        display: inline-block;
        white-space: nowrap;
        margin-left: auto;
    }
    
    .indexResources_buttonIcon {
        max-width: 50px;
        width: 100%;
        height: auto;
    }
    
    .Cybersecurity .indexResources_buttonIcon {
        max-width: 70px;
        width: 100%;
        height: auto;
    }
}