/**
 * ECE 50th Anniversary Page Styles - Horizontal Timeline Version
 * Template: ece50-horizontal.php
 *
 * Color Palette:
 * - Gold: #00ABC8
 * - Gold Light: #66D9EC
 * - ECE Teal: #00ABC8
 * - Dark Navy: #3c3935
 * - Cream: #FFFEF7
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --ece50h-gold: #00ABC8;
    --ece50h-gold-light: #66D9EC;
    --ece50h-gold-dark: #008A9F;
    --ece50h-navy: #3c3935;
    --ece50h-cream: #FFFEF7;
    --ece50h-gold: #00ABC8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.ece50h-hero {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #4d4a47 0%, #5d5955 50%, #4d4a47 100%);
    overflow: hidden;
}

/* Dark overlay for video */
.ece50h-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.ece50h-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23C9A227" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

.ece50h-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

/* Anniversary Logo Image */
/* Logo wrapper with glow */
.ece50h-logo-wrapper {
    position: relative;
    display: inline-block;
}

.ece50h-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 171, 200, 0.8) 0%, rgba(0, 171, 200, 0.5) 50%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: ece50h-logo-glow 3s ease-in-out infinite alternate;
}

@keyframes ece50h-logo-glow {
    0% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.ece50h-logo {
    max-width: 340px;
    width: 90%;
    height: auto;
    margin-bottom: 5px;
    animation: ece50h-fade-in 1.5s ease-out;
}

@keyframes ece50h-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.ece50h-hero-title,
h1.ece50h-hero-title,
.site_body h1.ece50h-hero-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 36px !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    margin: 10px 0 20px !important;
    letter-spacing: 0.05em;
}

/* Rotating text animation */
.ece50h-rotating-text,
span.ece50h-rotating-text,
#ece50h-rotate {
    display: inline-block;
    color: #00ABC8 !important;
    font-weight: 600 !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 200px;
}

.ece50h-hero-tagline,
p.ece50h-hero-tagline,
.site_body p.ece50h-hero-tagline {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
    max-width: 600px;
    margin: 0 auto;
}

.ece50h-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ece50h-gold);
    font-size: 32px;
    animation: ece50h-bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.ece50h-scroll-indicator:hover {
    color: #ffffff;
}

@keyframes ece50h-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.ece50h-intro {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.ece50h-intro-title,
h2.ece50h-intro-title,
.site_body h2.ece50h-intro-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    color: var(--ece50h-navy) !important;
    margin-bottom: 20px !important;
}

.ece50h-intro-text,
p.ece50h-intro-text,
.site_body p.ece50h-intro-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    color: #666 !important;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8 !important;
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.ece50h-video-section {
    padding: 0 0 80px;
    background-color: #ffffff;
}

.ece50h-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ece50h-video-wrapper .ratio {
    background: #000;
}

.ece50h-video-wrapper iframe {
    border: none;
}

/* ==========================================================================
   Horizontal Timeline Section
   ========================================================================== */
.ece50h-timeline-section {
    padding: 80px 0 100px;
    background-color: var(--ece50h-cream);
    position: relative;
    overflow: hidden;
}

.ece50h-timeline-title,
h2.ece50h-timeline-title,
.site_body h2.ece50h-timeline-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    color: var(--ece50h-navy) !important;
    text-align: center;
    margin-bottom: 10px !important;
}

.ece50h-timeline-hint {
    text-align: center;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #999 !important;
    margin-bottom: 50px !important;
}

.ece50h-timeline-hint i {
    margin-right: 8px;
    color: var(--ece50h-gold);
}

/* Touch swipe hint for mobile */
.ece50h-swipe-hint {
    display: none;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #999;
    margin-top: 15px;
    animation: ece50h-swipe-pulse 2s ease-in-out infinite;
}

.ece50h-swipe-hint i {
    margin: 0 5px;
    color: var(--ece50h-gold);
}

@keyframes ece50h-swipe-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Timeline container with arrows */
.ece50h-timeline-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Arrow buttons */
.ece50h-timeline-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ece50h-gold);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 171, 200, 0.4);
}

.ece50h-timeline-arrow:hover {
    background: var(--ece50h-gold-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 171, 200, 0.5);
}

.ece50h-timeline-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.ece50h-arrow-left {
    left: calc(5% + 10px);
}

.ece50h-arrow-right {
    right: calc(5% + 10px);
}

.ece50h-arrow-hidden {
    opacity: 0.3;
    pointer-events: none;
}

/* Timeline wrapper - horizontal scroll container */
.ece50h-timeline-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 40px 0 60px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ece50h-gold) var(--ece50h-cream);
    flex: 1;
    margin: 0 calc(10% + 30px);
}

.ece50h-timeline-wrapper:active {
    cursor: grabbing;
}

/* Custom scrollbar */
.ece50h-timeline-wrapper::-webkit-scrollbar {
    height: 8px;
}

.ece50h-timeline-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 171, 200, 0.1);
    border-radius: 4px;
}

.ece50h-timeline-wrapper::-webkit-scrollbar-thumb {
    background: var(--ece50h-gold);
    border-radius: 4px;
}

.ece50h-timeline-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--ece50h-gold-dark);
}

/* Horizontal timeline container */
.ece50h-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
    position: relative;
    min-width: max-content;
}

/* Horizontal timeline line */
.ece50h-timeline::before {
    content: '';
    position: absolute;
    top: 280px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--ece50h-gold), var(--ece50h-gold-light), var(--ece50h-gold));
    border-radius: 2px;
}

/* Timeline item */
.ece50h-timeline-item {
    position: relative;
    flex: 0 0 320px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Timeline dot */
.ece50h-timeline-dot {
    position: absolute;
    top: 270px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--ece50h-gold);
    border: 4px solid var(--ece50h-cream);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--ece50h-gold-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ece50h-timeline-item:hover .ece50h-timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 6px var(--ece50h-gold);
}

/* Connector line from card to dot */
.ece50h-timeline-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: var(--ece50h-gold-light);
}

/* Timeline card */
.ece50h-timeline-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    width: 290px;
    min-height: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    text-align: center;
}

.ece50h-timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 171, 200, 0.25);
    border-color: var(--ece50h-gold);
}

.ece50h-timeline-year {
    font-family: 'Cormorant', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--ece50h-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.ece50h-timeline-date {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.ece50h-timeline-card-title,
h3.ece50h-timeline-card-title,
.site_body h3.ece50h-timeline-card-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--ece50h-navy) !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.ece50h-timeline-card-text,
p.ece50h-timeline-card-text,
.site_body p.ece50h-timeline-card-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #666 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Highlight card - dark background (blue/navy) */
.ece50h-timeline-card.highlight {
    background: linear-gradient(135deg, #00ABC8 0%, #008A9F 100%) !important;
    border-color: var(--ece50h-gold) !important;
}

.ece50h-timeline-card.highlight::after {
    background: var(--ece50h-gold);
}

.ece50h-timeline-card.highlight .ece50h-timeline-year {
    color: #ffffff !important;
}

.ece50h-timeline-card.highlight .ece50h-timeline-date {
    color: rgba(255, 255, 255, 0.7) !important;
}

.ece50h-timeline-card.highlight .ece50h-timeline-card-title,
.ece50h-timeline-card.highlight h3.ece50h-timeline-card-title {
    color: #ffffff !important;
}

.ece50h-timeline-card.highlight .ece50h-timeline-card-text,
.ece50h-timeline-card.highlight p.ece50h-timeline-card-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ==========================================================================
   The Next 50 Years Section
   ========================================================================== */
.ece50h-future {
    padding: 100px 0 100px 0;
    background: #d5d5d5;
    position: relative;
    overflow: hidden;
}

/* Translucent background image — set via inline style in template */
.ece50h-future-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.ece50h-future .container {
    position: relative;
    z-index: 1;
}

.ece50h-future-card {
    background: #ffffff;
    border: 1px solid #c0c0c0;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.ece50h-future-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00ABC8 0%, #66D9EC 100%);
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.ece50h-future-title,
h2.ece50h-future-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 56px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    margin-top: 30px !important;
    margin-bottom: 25px !important;
}

.ece50h-future-text,
p.ece50h-future-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 17px !important;
    font-weight: 300 !important;
    color: #444444 !important;
    line-height: 1.6 !important;
    max-width: 800px;
    margin: 0 auto 50px !important;
}

.ece50h-future-vision {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.ece50h-vision-item {
    flex: 1;
    min-width: 200px;
    max-width: 210px;
    padding: 30px;
    background: #d5d5d5;
    border-radius: 16px;
    border: 1px solid #c0c0c0;
    transition: all 0.3s ease;
}

.ece50h-vision-item:hover {
    background: #cacaca;
    border-color: #00ABC8;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ece50h-vision-item i {
    font-size: 36px;
    color: #00ABC8;
    margin-bottom: 15px;
}

.ece50h-vision-item h4 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    margin-bottom: 10px !important;
}

.ece50h-vision-item p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #555555 !important;
    margin: 0 !important;
}

.ece50h-future-closing,
p.ece50h-future-closing {
    font-family: 'Poppins', sans-serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    color: #00ABC8 !important;
    margin: 0 !important;
}

/* ==========================================================================
   In Memoriam Section
   ========================================================================== */
.ece50h-memoriam {
    padding: 100px 0 100px 0;
    background: #ffffff;
    text-align: center;
    position: relative;
}

.ece50h-memoriam .container {
    position: relative;
    z-index: 1;
}

.ece50h-memoriam-title {
    font-family: 'Cormorant', serif;
    font-size: 48px;
    font-weight: 400;
    color: #00ABC8 !important;
    margin-bottom: 15px;
}

.ece50h-memoriam-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #888888 !important;
    margin-bottom: 50px;
}

.ece50h-memoriam-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Memorial cards — light style */
.ece50h-memoriam-card {
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    padding: 40px 50px;
    min-width: 280px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ece50h-memoriam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ABC8, transparent);
}

.ece50h-memoriam-card:hover {
    background: #e8e8e8;
    border-color: #00ABC8;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ece50h-memoriam-name {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e !important;
    margin-bottom: 8px;
}

.ece50h-memoriam-role {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #00ABC8 !important;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ece50h-memoriam-year {
    font-family: 'Cormorant', serif;
    font-size: 32px;
    font-weight: 700;
    color: #0891b2 !important;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.ece50h-cta {
    padding: 100px 0 100px 0;
    background: linear-gradient(135deg, var(--ece50h-gold) 0%, var(--ece50h-gold-dark) 100%);
    text-align: center;
}

.ece50h-cta-title,
h2.ece50h-cta-title,
.site_body h2.ece50h-cta-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
}

.ece50h-cta-text,
p.ece50h-cta-text,
.site_body p.ece50h-cta-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px;
    margin: 0 auto 30px !important;
    line-height: 1.6 !important;
}

.ece50h-cta-btn {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ece50h-navy);
    background: #ffffff;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ece50h-cta-btn:hover {
    background: var(--ece50h-navy);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media screen and (max-width: 991px) {
    .ece50h-logo {
        max-width: 260px;
    }

    .ece50h-hero-title,
    h1.ece50h-hero-title {
        font-size: 32px !important;
    }

    .ece50h-timeline-wrapper {
        margin: 0 60px;
    }

    .ece50h-timeline-item {
        flex: 0 0 280px;
    }

    .ece50h-timeline-card {
        width: 250px;
        min-height: 200px;
        padding: 20px;
    }

    .ece50h-timeline::before {
        top: 250px;
    }

    .ece50h-timeline-dot {
        top: 240px;
    }

    .ece50h-timeline-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .ece50h-arrow-left {
        left: 10px;
    }

    .ece50h-arrow-right {
        right: 10px;
    }
}

@media screen and (max-width: 768px) {
    .ece50h-hero {
        min-height: 70vh;
        padding: 60px 0;
    }

    .ece50h-logo {
        max-width: 210px;
        margin-bottom: 5px;
    }

    /* Show swipe hint on touch devices */
    .ece50h-swipe-hint {
        display: block;
    }

    .ece50h-hero-title,
    h1.ece50h-hero-title {
        font-size: 24px !important;
        letter-spacing: 0.02em;
        line-height: 1.4 !important;
    }

    .ece50h-rotating-text {
        display: block;
        min-width: auto;
        margin-top: 5px;
    }

    .ece50h-hero-tagline,
    p.ece50h-hero-tagline {
        font-size: 15px !important;
        padding: 0 20px;
    }

    .ece50h-intro {
        padding: 60px 0;
    }

    .ece50h-intro-title,
    h2.ece50h-intro-title,
    .ece50h-timeline-title,
    h2.ece50h-timeline-title {
        font-size: 28px !important;
    }

    .ece50h-intro-text,
    p.ece50h-intro-text {
        font-size: 16px !important;
        padding: 0 15px;
    }

    .ece50h-video-section {
        padding: 0 15px 60px;
    }

    .ece50h-video-wrapper {
        border-radius: 8px;
    }

    /* Timeline mobile */
    .ece50h-timeline-section {
        padding: 60px 0 80px;
    }

    .ece50h-timeline-wrapper {
        margin: 0 50px;
        padding: 30px 0 50px;
    }

    .ece50h-timeline-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .ece50h-arrow-left {
        left: 5px;
    }

    .ece50h-arrow-right {
        right: 5px;
    }

    .ece50h-timeline-item {
        flex: 0 0 260px;
    }

    .ece50h-timeline-card {
        width: 230px;
        min-height: 180px;
        padding: 18px;
    }

    .ece50h-timeline-year {
        font-size: 32px;
    }

    .ece50h-timeline-card-title,
    h3.ece50h-timeline-card-title {
        font-size: 16px !important;
    }

    .ece50h-timeline-card-text,
    p.ece50h-timeline-card-text {
        font-size: 13px !important;
    }

    .ece50h-timeline::before {
        top: 230px;
    }

    .ece50h-timeline-dot {
        top: 220px;
    }

    .ece50h-memoriam-grid {
        flex-direction: column;
        align-items: center;
    }

    .ece50h-memoriam-card {
        padding: 30px 40px;
        min-width: 250px;
    }

    .ece50h-cta {
        padding: 60px 0;
    }

    .ece50h-cta-title,
    h2.ece50h-cta-title {
        font-size: 32px !important;
    }

    .ece50h-future {
    
        padding: 60px 0;
    }

    .ece50h-future-card {
        padding: 40px 25px;
    }

    .ece50h-future-title,
    h2.ece50h-future-title {
        font-size: 36px !important;
    }

    .ece50h-future-text,
    p.ece50h-future-text {
        font-size: 16px !important;
    }

    .ece50h-future-vision {
        flex-direction: column;
        align-items: center;
    }

    .ece50h-future-closing,
    p.ece50h-future-closing {
        font-size: 22px !important;
    }

    .ece50h-memoriam {
        padding: 60px 0;
    }

    .ece50h-memoriam-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 480px) {
    .ece50h-hero {
        min-height: 60vh;
    }

    .ece50h-logo {
        max-width: 165px;
        margin-bottom: 3px;
    }

    .ece50h-hero-title,
    h1.ece50h-hero-title {
        font-size: 20px !important;
    }

    .ece50h-hero-tagline,
    p.ece50h-hero-tagline {
        font-size: 14px !important;
    }

    .ece50h-timeline-wrapper {
        margin: 0 45px;
    }

    .ece50h-timeline-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ece50h-timeline-item {
        flex: 0 0 240px;
    }

    .ece50h-timeline-card {
        width: 210px;
        min-height: 170px;
        padding: 15px;
    }

    .ece50h-timeline-card-title,
    h3.ece50h-timeline-card-title {
        font-size: 15px !important;
    }

    .ece50h-timeline-card-text,
    p.ece50h-timeline-card-text {
        font-size: 12px !important;
    }

    .ece50h-timeline::before {
        top: 215px;
    }

    .ece50h-timeline-dot {
        top: 205px;
        width: 16px;
        height: 16px;
    }

    .ece50h-cta-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}
