/* ============================================
   BLC History — Dark Infographic Editorial
   ============================================ */

.blc-hist {
    background: #0a0a0a;
    color: #fff;
    overflow: hidden;
}

/* Force full-width: break out of all theme containers */
.page-history #wrapper {
    padding: 0;
    margin: 0;
    background: #0a0a0a;
}

.page-history #wrapper > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-history #wrapper > .container > .row {
    margin: 0 !important;
}

.page-history #content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
}

.page-history .breadcrumb-wrapper,
.page-history .breadcrumb {
    display: none;
}

#module-blc_history-page #footer {
    box-sizing: border-box;
    margin: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ====== HERO ====== */
.blc-hist-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blc-hist-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.6) 0%,
        rgba(10, 10, 10, 0.85) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.blc-hist-hero-content {
    text-align: center;
    padding: 40px 20px;
    animation: blcHistFadeIn 1s ease both;
}

.blc-hist-hero-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #cd0516;
    margin-bottom: 20px;
}

.blc-hist-hero-title {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1;
}

.blc-hist-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

.blc-hist-hero-scroll {
    margin-top: 50px;
    animation: blcHistBounce 2s ease-in-out infinite;
}

.blc-hist-hero-scroll .material-symbols-outlined {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
}

/* ====== SHARED SECTION STYLES ====== */

.blc-hist-section-header {
    margin-bottom: 60px;
    text-align: center;
}

.blc-hist-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 6px;
    color: #cd0516;
    margin-bottom: 12px;
}

.blc-hist-section-title {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0;
    line-height: 1;
    display: inline-block;
    position: relative;
    padding-bottom: 16px;
}

.blc-hist-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #cd0516;
}

/* ====== TIMELINE ====== */

.blc-hist-timeline {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #0a0a0a;
    padding: 100px 20px;
    position: relative;
}

.blc-hist-timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.blc-hist-tl {
    position: relative;
    padding: 20px 0;
}

/* Central vertical line */
.blc-hist-tl-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        #cd0516 5%,
        #cd0516 95%,
        transparent 100%
    );
    transform: translateX(-50%);
}

/* Timeline item */
.blc-hist-tl-item {
    position: relative;
    width: 50%;
    padding: 0 50px 60px;
    animation: blcHistSlideIn 0.6s ease both;
    animation-delay: calc(var(--tl-index) * 0.15s);
}

.blc-hist-tl-left {
    left: 0;
    text-align: right;
    padding-right: 50px;
    padding-left: 0;
}

.blc-hist-tl-right {
    left: 50%;
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
}

/* Red dot on the line */
.blc-hist-tl-dot {
    position: absolute;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #cd0516;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
    z-index: 2;
}

.blc-hist-tl-left .blc-hist-tl-dot {
    right: -7px;
}

.blc-hist-tl-right .blc-hist-tl-dot {
    left: -7px;
}

/* Timeline card */
.blc-hist-tl-card {
    position: relative;
}

.blc-hist-tl-year {
    font-size: 48px;
    font-weight: 900;
    color: #cd0516;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.blc-hist-tl-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin: 0 0 10px;
}

.blc-hist-tl-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin: 0;
}

/* Connecting lines from card to center */
.blc-hist-tl-left .blc-hist-tl-card::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -50px;
    width: 36px;
    height: 1px;
    background: rgba(205, 5, 22, 0.3);
}

.blc-hist-tl-right .blc-hist-tl-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: -50px;
    width: 36px;
    height: 1px;
    background: rgba(205, 5, 22, 0.3);
}

/* ====== VALUES ====== */

.blc-hist-values {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(to bottom, #0a0a0a 0%, #0a0a0a 60%, #1a1a1a 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.blc-hist-values::before {
    content: 'VALUES';
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-size: 180px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    letter-spacing: -8px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.blc-hist-values-container {
    max-width: 1170px;
    margin: 0 auto;
}

.blc-hist-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.blc-hist-val-card {
    position: relative;
    padding: 40px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease;
    overflow: hidden;
    animation: blcHistFadeUp 0.6s ease both;
    animation-delay: calc(var(--val-index) * 0.12s);
}

.blc-hist-val-card:last-child {
    border-right: none;
}

.blc-hist-val-card:hover {
    background: rgba(205, 5, 22, 0.06);
}

.blc-hist-val-number {
    font-size: 56px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.4s ease;
}

.blc-hist-val-card:hover .blc-hist-val-number {
    color: rgba(205, 5, 22, 0.15);
}

.blc-hist-val-icon {
    font-size: 36px;
    color: #cd0516;
    display: block;
    margin-bottom: 18px;
    transition: transform 0.4s ease;
}

.blc-hist-val-card:hover .blc-hist-val-icon {
    transform: scale(1.1);
}

.blc-hist-val-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 12px;
}

.blc-hist-val-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    margin: 0;
}

/* ====== ANIMATIONS ====== */

@keyframes blcHistFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blcHistSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blcHistFadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blcHistBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ====== RESPONSIVE ====== */

@media (max-width: 991px) {
    .blc-hist-hero-title {
        font-size: 44px;
    }
    .blc-hist-hero {
        min-height: 55vh;
    }
    .blc-hist-section-title {
        font-size: 34px;
    }
    .blc-hist-timeline {
        padding: 70px 20px;
    }
    .blc-hist-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blc-hist-val-card:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 767px) {
    .blc-hist-hero-title {
        font-size: 32px;
    }
    .blc-hist-hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    .blc-hist-hero {
        min-height: 50vh;
        background-attachment: scroll;
    }
    .blc-hist-section-title {
        font-size: 28px;
    }
    .blc-hist-section-header {
        margin-bottom: 40px;
    }
    .blc-hist-timeline,
    .blc-hist-values {
        padding: 50px 15px;
    }

    /* Timeline: single column, line on left */
    .blc-hist-tl-line {
        left: 15px;
    }
    .blc-hist-tl-item,
    .blc-hist-tl-left,
    .blc-hist-tl-right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 45px;
        padding-right: 0;
        padding-bottom: 40px;
    }
    .blc-hist-tl-left .blc-hist-tl-dot,
    .blc-hist-tl-right .blc-hist-tl-dot {
        left: 9px;
        right: auto;
    }
    .blc-hist-tl-left .blc-hist-tl-card::after,
    .blc-hist-tl-right .blc-hist-tl-card::before {
        display: none;
    }
    .blc-hist-tl-year {
        font-size: 36px;
    }

    /* Values: single column */
    .blc-hist-values-grid {
        grid-template-columns: 1fr;
    }
    .blc-hist-val-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 30px 20px;
    }
    .blc-hist-val-card:last-child {
        border-bottom: none;
    }
    .blc-hist-values::before {
        font-size: 100px;
    }
}

@media (max-width: 480px) {
    .blc-hist-hero-title {
        font-size: 26px;
    }
    .blc-hist-hero {
        min-height: 45vh;
    }
}
