
/* Reglamentos y Solicitudes Template */
.b21-reglamentos {
    padding-top: 40px;
    padding-bottom: 50px;
}

.b21-reglamentos .b21-header-content
{
    display: grid;
    align-items: center;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    margin: 40px 0px;
}

.b21-reglamentos .b21-title-section {
    margin-bottom: 30px;
    text-align: center;
}

.b21-reglamentos .b21-title-section h1 {
    margin: 0;
    text-align: start;
}

.b21-reglamentos .b21-title-section strong {
    color: var(--condominio-color);
}



.b21-reglamentos .b21-description {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    text-align: start;
    
}

.b21-reglamentos .b21-description  p{
margin-bottom: 0px!important;
}

.b21-reglamentos .b21-reglas-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 40px auto;
    justify-content: center;
    align-items: center;

}

.b21-reglamentos .b21-reglas-list > div{
         max-width:608px;
         width: 100%;
}
.b21-reglamentos .b21-regla-item {
    background-color: #F8F8F8;
    border-bottom: 4px solid  var(--condominio-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.b21-reglamentos .b21-regla-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    width: 608px;
        
        box-sizing: border-box;
   
}

.b21-reglamentos .b21-regla-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin:0;
    /* margin-right: 50px!important; */
}

.b21-reglamentos .b21-regla-icon:hover {
    transform: scale(1.1);
}

.b21-reglamentos .b21-regla-icon:hover svg {
    transform: scale(1.1);
}

.b21-reglamentos .b21-regla-titulo {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #121212;
    line-height: 1.4;
    margin: 0;
}

.b21-reglamentos .b21-regla-item-static {
    padding: 20px 25px;
}

.b21-reglamentos .b21-regla-item-static .b21-regla-titulo {
    color: #666;
}

.b21-reglamentos .b21-pdf-icon svg {
    transition: transform 0.3s ease;
}

.b21-reglamentos .b21-pdf-link:hover .b21-pdf-icon svg {
    transform: scale(1.1);
}

/* Paginación */
.b21-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.b21-pagination-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.b21-pagination-link:hover {
    border-color: var(--condominio-color);
    color: var(--condominio-color);
}

.b21-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.b21-pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.b21-pagination-number:hover {
    border-color: var(--condominio-color);
    color: var(--condominio-color);
}

.b21-pagination-number.active {
    background: var(--condominio-color);
    border-color: var(--condominio-color);
    color: #fff;
}

.b21-pagination-dots {
    color: #999;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    padding: 0 4px;
}

@media(max-width:991px){
    .b21-reglamentos .b21-header-content{
        grid-template-columns: 1fr;
            gap: 10px;
    }
    .b21-reglamentos .b21-regla-item-content{
        padding:0px;
        width: 100%;
    }
    .b21-reglamentos .b21-reglas-list > div{
            max-width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .b21-reglamentos .b21-reglas-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .b21-reglamentos .b21-regla-item {
        padding: 20px;
    }
    
    .b21-reglamentos .b21-description {
        font-size: 15px;
    }
    
    .b21-pagination {
        gap: 10px;
        margin-top: 30px;
    }
    
    .b21-pagination-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .b21-pagination-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}