
.matrix-main-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 80px;
    padding-top: 20px;
}

.layout-container {
    width: calc(100% - 200px); 
    max-width: none; 
    
    height: 1847px; 
    
    margin: 0 auto;
    padding: 50px; 
    
    background: #ffffff;
    background: linear-gradient(to bottom, #ffffff 0%, #fdfdfd 100%);
    
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
    
    position: relative;
    border: 1px solid #f0f0f0;
    
    overflow-y: auto; 
}

.oferta-title,
.oferta-content,
.oferta-content h2,
.oferta-content h3,
.oferta-content p,
.oferta-content li,
.oferta-content strong {
    color: #2B0101 !important;
}

.oferta-title {
    font-family: 'El Messiri', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.oferta-content {
    line-height: 1.9; 
    text-align: left;
    font-family: 'Open Sans', sans-serif;
}

.oferta-content h2 {
    font-family: 'El Messiri', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(43, 1, 1, 0.1); 
    padding-bottom: 10px;
}

.oferta-content h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 30px 0 15px;
}

.oferta-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.oferta-content ul {
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.oferta-content li {
    margin-bottom: 12px;
    font-size: 15px;
    padding-left: 25px;
    position: relative;
}

.oferta-content li::before {
    content: "—";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.layout-container::-webkit-scrollbar {
    width: 8px;
}
.layout-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.layout-container::-webkit-scrollbar-thumb {
    background: #2B0101;
    border-radius: 10px;
}

@media screen and (max-width: 1024px) {
    .layout-container {
        width: calc(100% - 40px); 
        padding: 40px;
    }
}

@media screen and (max-width: 768px) {
    .layout-container {
        height: auto; 
        min-height: 1847px;
        padding: 30px 20px;
    }

    .oferta-title {
        font-size: 28px;
    }
}