/* Text Block - Enhanced Styles */
.text-block {
    padding: 80px 0;
}

.text-block .msns-container {
    max-width: 1240px;
    margin: 0 auto;
}

.text-block-content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
    border-left: 2px solid #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.text-block-main {
    flex: 1;
    min-width: 0;
}

.text-block-button-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
}

.text-block-title {
    margin-bottom: 20px;
    font-size: 2.5rem;
    line-height: 1.2;
    text-align: left;
    color: #002f5d;
    font-weight: 700;
    position: relative;
}

.text-block-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fbcc6c 0%, #ff6b35 100%);
    border-radius: 2px;
}

.text-block-content {
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: left;
    color: rgba(0, 0, 0, 0.9);
    margin-top: 30px;
}

.text-block-content p {
    margin-bottom: 1.5rem;
}

/* Button Styles */
.text-block-button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.text-block-button-primary {
    background-color: #ae0100;
    color: #ffffff;
    border-color: #ae0100;
}

.text-block-button-primary:hover {
    background-color: #8b0100;
    border-color: #8b0100;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(174, 1, 0, 0.3);
}

.text-block-button-secondary {
    background-color: #ffffff;
    color: #ae0100;
    border: 2px solid;
    border-image: linear-gradient(90deg, #fbcc6c 0%, #ff6b35 100%) 1;
}

.text-block-button-secondary:hover {
    background-color: #ae0100;
    color: #ffffff;
    border-color: #ae0100;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(174, 1, 0, 0.3);
}

.text-block-button-outline {
    background-color: transparent;
    color: #ae0100;
    border-color: #ae0100;
}

.text-block-button-outline:hover {
    background-color: #ae0100;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(174, 1, 0, 0.3);
}

.text-block-content p:last-child {
    margin-bottom: 0;
}

.text-block-content h1,
.text-block-content h2,
.text-block-content h3,
.text-block-content h4,
.text-block-content h5,
.text-block-content h6 {
    color: #002f5d;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.text-block-content h1:first-child,
.text-block-content h2:first-child,
.text-block-content h3:first-child,
.text-block-content h4:first-child,
.text-block-content h5:first-child,
.text-block-content h6:first-child {
    margin-top: 0;
}

.text-block-content ul,
.text-block-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-block-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.text-block-content blockquote {
    border-left: 4px solid #fbcc6c;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(0, 0, 0, 0.8);
}

.text-block-content strong,
.text-block-content b {
    color: #002f5d;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991px) {
    .text-block {
        padding: 60px 0;
    }
    
    .text-block-content-wrapper {
        padding-left: 30px;
        border-left-width: 3px;
        flex-direction: column;
        gap: 30px;
    }
    
    .text-block-button-wrapper {
        padding-top: 0;
        align-self: flex-start;
    }
    
    .text-block-title {
        font-size: 2rem;
    }
    
    .text-block-title::after {
        width: 60px;
        height: 2px;
    }
    
    .text-block-content {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .text-block {
        padding: 40px 0;
    }
    
    .text-block .msns-container {
        padding: 0 15px;
    }
    
    .text-block-content-wrapper {
        padding-left: 20px;
        border-left-width: 3px;
        flex-direction: column;
        gap: 25px;
    }
    
    .text-block-button-wrapper {
        padding-top: 0;
        align-self: flex-start;
    }
    
    .text-block-title {
        font-size: 1.8rem;
    }
    
    .text-block-title::after {
        width: 50px;
    }
    
    .text-block-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .text-block-content-wrapper {
        padding-left: 15px;
        border-left-width: 2px;
    }
    
    .text-block-title {
        font-size: 1.6rem;
    }
    
    .text-block-title::after {
        width: 40px;
        height: 2px;
    }
}

/* Accessibility */
@media (prefers-contrast: high) {
    .text-block-content-wrapper {
        border-left-color: #000000;
    }
    
    .text-block-title::after {
        background: #000000;
    }
}

/* Print Styles */
@media print {
    .text-block {
        padding: 20px 0;
    }
    
    .text-block-title::after {
        background: #000000 !important;
    }
} 
