/* ...:::: BLOG / NOVEDADES DETALLE STYLES :::... */

/* Hero Banner */
.blog-detail-hero {
    background-color: #1a1a1a;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    margin-bottom: 50px;
}

.blog-detail-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,1) 0%, rgba(26,26,26,0.9) 100%);
    z-index: 1;
}

.blog-detail-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: -80px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
}

@media (max-width: 991px) {
    .blog-hero-image {
        max-height: 300px;
    }
}

/* Post Content Typography */
.blog-content-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.blog-content-body p {
    margin-bottom: 1.5rem;
}

.blog-content-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 10px;
}

.blog-content-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ea1c26; /* Color de marca rojo */
}

.blog-content-body ul {
    margin-bottom: 2rem;
    padding-left: 0;
    list-style: none;
}

.blog-content-body ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
}

.blog-content-body ul li::before {
    content: '\f054'; /* FontAwesome chevron-right */
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.8rem;
    color: #ea1c26;
}

.blog-content-body strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Urgency Table */
.urgency-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.urgency-table tbody td {
    vertical-align: middle;
    padding: 1rem;
}

.urgency-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    background-color: transparent !important;
    border: 1px solid currentColor;
}
.urgency-media { color: #d39e00; }
.urgency-alta { color: #fd7e14; }
.urgency-muy-alta { color: #dc3545; }
.urgency-critica { color: #721c24; border-width: 2px; }

/* Accordion FAQs */
.blog-faqs-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.5rem;
}

.blog-faqs-accordion .accordion-button {
    font-weight: 600;
    padding: 1.25rem 0;
    background-color: transparent;
    color: #1a1a1a;
    box-shadow: none !important;
}

.blog-faqs-accordion .accordion-button:not(.collapsed) {
    color: #ea1c26;
}

.blog-faqs-accordion .accordion-button::after {
    transition: transform 0.3s ease;
}

.blog-faqs-accordion .accordion-body {
    padding: 0 0 1.5rem 0;
    color: #555;
    line-height: 1.7;
}

/* CTA Footer Block */
.blog-inline-cta {
    background: linear-gradient(135deg, #1f1f1f 0%, #111111 100%);
    border-radius: 16px;
    padding: 3rem 4rem;
    border-left: 5px solid #ea1c26;
}

.cta-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.05;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.blog-inline-cta .btn {
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: normal !important;
}
.blog-inline-cta .btn:hover {
    transform: translateY(-3px);
    color: #fff !important;
}

@media (max-width: 768px) {
    .blog-inline-cta {
        padding: 2.5rem 1.5rem;
    }
}
