/**
 * =====================================================================
 * ESTILOS PÁGINA INDIVIDUAL DE NOTICIA (SINGLE NOTICIA)
 * =====================================================================
 */

.st-single-news-page {
    padding: 100px 0 120px 0;
    background-color: #F8F9FA;
}

/* Breadcrumb: el componente .st-breadcrumb (tamaño, tipografía y
   animación) es único y global, definido en assets/css/style.css,
   para que se vea igual en todas las páginas del sitio. */

/* Hero Interno */
.st-single-hero {
    background: #FFFFFF;
    padding: 40px 50px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 40px;
}

.st-single-category-badge {
    display: inline-block;
    background: rgba(32, 178, 170, 0.1);
    color: #20B2AA;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.st-single-heading {
    padding-left: 20px;
    border-left: 4px solid #20B2AA;
}

.st-single-title {
    font-family: var(--font-family);
    font-size: 34px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.st-single-date {
    font-family: var(--font-family);
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Grilla de 2 columnas */
.st-single-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .st-single-grid {
        grid-template-columns: 1fr;
    }
}

/* Columna de contenido principal */
.st-single-main-column {
    background: #FFFFFF;
    padding: 45px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.st-single-image-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 35px;
}

.st-single-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-single-body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}

.st-single-body p {
    margin-bottom: 22px;
}

.st-single-body h2, 
.st-single-body h3 {
    font-family: var(--font-family);
    color: #1A1A1A;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Navegación inferior entre artículos */
.st-news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #E2E8F0;
}

.st-news-navigation a {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    color: #20B2AA;
    text-decoration: none;
    transition: color 0.2s ease;
}

.st-news-navigation a:hover {
    color: #19908A;
}

/* Sidebar lateral */
.st-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Tarjeta de Atención Inmediata */
.st-news-cta {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.st-news-cta:hover {
    box-shadow: 0 15px 35px rgba(32, 178, 170, 0.06);
    transform: translateY(-3px);
    border-color: rgba(32, 178, 170, 0.3);
}

.st-news-cta h3 {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 10px 0;
}

.st-news-cta p {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 22px;
    color: #666666;
    margin: 0 0 22px 0;
}

.st-news-cta a.st-cta-btn {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    background: #20B2AA;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.25);
}

.st-news-cta a.st-cta-btn:hover {
    background: #19908A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(32, 178, 170, 0.35);
}

/* Bloque de Noticias Destacadas en el Sidebar */
.st-sidebar-featured {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.st-sidebar-featured h3 {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.st-featured-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.st-featured-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
    transition: transform 0.2s ease;
}

.st-featured-item:hover {
    transform: translateX(4px);
}

.st-featured-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F0F0F0;
}

.st-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-featured-info {
    display: flex;
    flex-direction: column;
}

.st-featured-date {
    font-family: var(--font-family);
    font-size: 12px;
    color: #20B2AA;
    font-weight: 600;
    margin-bottom: 4px;
}

.st-featured-info h4 {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/**
 * =====================================================================
 * RÉPLICA EXACTA DE TARJETAS PRINCIPALES (REPUESTOS Y MAQUINARIA)
 * =====================================================================
 */

.st-card-replica {
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.st-card-repuestos {
    background-color: #FFF5EB;
}

.st-card-maquinaria {
    background-color: #E8F5F5;
}

.st-card-img-box {
    background: #FFFFFF;
    border-radius: 12px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #EAEAEA;
    overflow: hidden;
    padding: 15px;
    text-align: center;
}

.st-card-img-placeholder {
    font-family: var(--font-family);
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.st-card-content {
    position: relative;
    padding-bottom: 10px;
}

.st-badge-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.st-badge-tag {
    display: inline-block;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.st-badge-tag.orange {
    background-color: #FF8C00;
    color: #FFFFFF;
}

.st-badge-tag.teal {
    background-color: #20B2AA;
    color: #FFFFFF;
}

.st-card-replica h3 {
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    border: none;
    padding: 0;
}

.st-card-arrow-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.st-card-arrow-btn.orange {
    background-color: #FF8C00;
}

.st-card-arrow-btn.orange:hover {
    background-color: #E07B00;
    transform: translateY(-2px);
}

.st-card-arrow-btn.teal {
    background-color: #20B2AA;
}

.st-card-arrow-btn.teal:hover {
    background-color: #19908A;
    transform: translateY(-2px);
}

/**
 * =====================================================================
 * SECCIÓN INFERIOR: CONOCE NUESTROS PRODUCTOS (Sin línea superior)
 * =====================================================================
 */

.st-bottom-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E2E8F0; /* Se mantiene la línea superior */
    border-bottom: none;          /* Se elimina cualquier línea inferior */
}

.st-bottom-products-header {
    margin-bottom: 30px;
}

.st-bottom-products-header h2 {
    font-family: var(--font-family);
    font-size: 26px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px 0;
}

.st-bottom-products-header p {
    font-family: var(--font-family);
    font-size: 15px;
    color: #666666;
    margin: 0;
}

.st-bottom-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .st-bottom-products-grid {
        grid-template-columns: 1fr;
    }
}