﻿/* ================================
   HONOURS SECTION
================================ */
.honours-section {
    background: radial-gradient(circle at 20% 20%, rgba(15,81,50,.06), transparent 60%), radial-gradient(circle at 80% 30%, rgba(212,175,55,.06), transparent 55%), #f8fafc;
    padding: 6rem 0;
    box-sizing: border-box;
}

/* ================================
   HONOURS TITLE
================================ */
.honours-title {
    margin-bottom: 3rem;
    text-align: center;
}

    .honours-title h2 {
        font-size: 2.6rem;
        font-weight: 800;
        color: #0f5132;
        letter-spacing: 0.5px;
    }

    .honours-title p {
        font-size: 1.05rem;
        color: #64748b;
    }

.honours-section {
    max-width: 1320px; /* matches Bootstrap container-xl */
    margin: 0 auto; /* centers it */
    padding-left: 15px;
    padding-right: 15px;
}

/* ================================
   TOTAL PENNANTS
================================ */
.total-pennants {
    text-align: center;
    margin-bottom: 4rem;
}

.pennant-number {
    font-size: 5rem;
    font-weight: 900;
    color: #0f5132;
    letter-spacing: -2px;
    line-height: 1;
}

.pennant-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #64748b;
}

/* ================================
   HONOURS CARDS
================================ */
.honours-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.2rem 2rem 2.6rem;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .honours-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 60px rgba(0,0,0,0.12);
        cursor: pointer;
    }

/* ================================
   CARD HEADER
================================ */
.honours-header {
    padding-bottom: 1.6rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid #e5e7eb;
}

    .honours-header h3 {
        text-transform: uppercase;
        font-weight: 800;
        font-size: 0.9rem;
        letter-spacing: 2px;
        color: #0f5132;
    }

    .honours-header h4 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0.5rem 0 1rem;
        color: #1f2937;
    }

    .honours-header img {
        max-width: 80px;
        opacity: 0.6;
        filter: grayscale(100%);
    }

/* ================================
   TOTALS
================================ */
.honours-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f5132;
    margin-top: 0.75rem;
}

/* ================================
   YEARS / HONOURS LIST
================================ */
.honours-body {
    display: grid;
    gap: 0.75rem;
    text-align: left;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #334155;
}

    .honours-body span {
        position: relative;
        padding-left: 1.4rem;
        border-bottom: 1px solid #e5e7eb;
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

        .honours-body span:last-child {
            border-bottom: none;
        }

        /* Dot before each item */
        .honours-body span::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.35em;
            width: 0.5em;
            height: 0.5em;
            background: #0f5132;
            border-radius: 50%;
            transition: transform 0.3s ease;
        }

        /* Connecting line after each item */
        .honours-body span::after {
            content: "";
            position: absolute;
            left: 0.18em;
            top: 1em;
            width: 0.12em;
            height: 100%;
            background: rgba(15,81,50,0.35);
            transition: background 0.3s ease;
        }

        .honours-body span:last-child::after {
            display: none;
        }

        /* Hover effects on list items */
        .honours-body span:hover {
            color: #0f5132; /* text darkens */
            padding-left: 1.6rem; /* subtle slide effect */
        }

            .honours-body span:hover::before {
                transform: scale(1.2); /* dot grows slightly */
            }

            .honours-body span:hover::after {
                background: rgba(15,81,50,0.6); /* vertical line slightly darker */
            }

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {
    .honours-card {
        margin-bottom: 2rem;
        padding: 1.8rem 1.6rem 2rem;
    }

    .pennant-number {
        font-size: 3.5rem;
    }
}
