﻿/* Pigskin Timeline - Clean & Properly Aligned Red Line */
.pigskin-timeline-box {
    background: #f9f5eb;
    border: 1px solid #d2b48c;
    padding: 40px 20px 55px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-radius: 6px;
    font-family: Georgia, 'Times New Roman', serif;
}

.pigskin-timeline-title {
    text-align: center;
    font-size: 1.85rem;
    color: #2c2c2c;
    margin-bottom: 50px;
    letter-spacing: 1.5px;
    font-weight: normal;
    text-transform: uppercase;
}

.pigskin-timeline-wrapper {
    overflow-x: auto;
    padding-bottom: 25px;
    padding: 0 40px;
    -webkit-overflow-scrolling: touch;
}

/* Timeline Layout */
.pigskin-timeline {
    display: flex;
    align-items: flex-start;
    position: relative;
    justify-content: center;
    gap: 40px;
    padding: 60px 30px 90px;
    min-width: max-content;
    scroll-snap-type: x mandatory;
}

    /* Timeline Red Line */
    .pigskin-timeline::before {
        content: '';
        position: absolute;
        top: 110px;
        left: 40px;
        right: 40px;
        height: 5px;
        background: #c62828;
        z-index: 1;
    }

/* Timeline Item (Day) */
.pigskin-timeline-item {
    position: relative;
    text-decoration: none;
    color: inherit;
    z-index: 2;
    text-align: center;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: center;
    transition: transform 0.25s ease;
}

    /* Hover lift effect */
    .pigskin-timeline-item:hover {
        transform: translateY(-5px);
        z-index: 3;
    }

/* Date Styling */
.pigskin-date {
    margin-bottom: 8px;
    color: #b71c1c;
    font-weight: bold;
}

.pigskin-day {
    font-size: 1.45rem;
    display: block;
}

/* Timeline Marker */
.pigskin-marker {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 4px solid #c62828;
    border-radius: 50%;
    margin: 8px auto 14px;
    z-index: 3;
    box-shadow: 0 3px 8px rgba(198, 40, 40, 0.3);
}

.pigskin-marker-today {
    width: 26px;
    height: 26px;
    border: 5px solid #c62828;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.35);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(198, 40, 40, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
    }
}

/* Content Container */
.pigskin-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual Timeline Cards */
.pigskin-card {
    position: relative;
    background: #ffffff;
    border: 3px solid #3b2a1a;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    max-height: 85px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    transition: all 0.25s ease;
    transition: max-height 0.25s ease, font-size 0.2s ease, box-shadow 0.2s ease;
}

    /* Card Hover Expansion */
    .pigskin-card:hover {
        font-size: 0.92rem;
        max-height: none; /* 🔥 allow full natural height */
        -webkit-line-clamp: unset;
        overflow: visible;
        border-color: #c62828;
        box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    }

    /* Fade-out effect for clipped text */
    .pigskin-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient( to bottom, rgba(255,255,255,0), rgba(255,255,255,1) );
        pointer-events: none;
    }
    .pigskin-card:hover {
        overflow-y: auto;
        max-height: 300px;
    }
    .pigskin-card:hover::after {
        display: none;
    }

/* Scrollbar */
.pigskin-timeline-wrapper::-webkit-scrollbar {
    height: 14px;
}

.pigskin-timeline-wrapper::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 8px;
}

.pigskin-timeline-wrapper::-webkit-scrollbar-thumb {
    background: #c62828;
    border-radius: 8px;
}
.pigskin-scroll-top {
    overflow-x: auto;
    overflow-y: hidden;
    height: 14px;
    margin-bottom: 10px;
}

    .pigskin-scroll-top::-webkit-scrollbar {
        height: 14px;
    }

    .pigskin-scroll-top::-webkit-scrollbar-thumb {
        background: #c62828;
        border-radius: 8px;
    }

    .pigskin-scroll-top::-webkit-scrollbar-track {
        background: #ddd;
    }



/* =========================
   FULL WIDTH - PAGE 17035
========================= */

/* Kill container constraints */
.page-id-17035 .container,
.page-id-17035 .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Break Bootstrap row */
.page-id-17035 .row {
    display: block !important;
    margin: 0 !important;
}

/* Force main content full width */
.page-id-17035 .col-md-8,
.page-id-17035 .col-lg-8,
.page-id-17035 .content-area,
.page-id-17035 .primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Remove sidebar entirely */
.page-id-17035 .col-md-4,
.page-id-17035 .col-lg-4,
.page-id-17035 .sidebar,
.page-id-17035 aside,
.page-id-17035 .widget-area {
    display: none !important;
}

/* Optional: remove extra spacing */
.page-id-17035 .bs-section,
.page-id-17035 .bs-blog-post {
    padding: 0 !important;
    margin: 0 !important;
}









    /* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .pigskin-timeline {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

        .pigskin-timeline::before {
            display: none; /* remove horizontal line */
        }

    .pigskin-timeline-item {
        width: 100%;
        max-width: 95%;
    }

    .pigskin-card {
        max-height: none;
        -webkit-line-clamp: unset;
        overflow: visible;
        font-size: 0.95rem;
    }

        .pigskin-card:hover {
            transform: none;
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }

    .pigskin-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .pigskin-timeline-item {
        border-bottom: 2px solid #c62828;
        padding-bottom: 20px;
    }
}