/* previous-trainings.css */
:root {
    --pt-primary: #0f203c;
    --pt-gold: #d4af37;
    --pt-light: #f8fafc;
    --pt-gray: #64748b;
    --pt-border: #e2e8f0;
}

.pt-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: white;
    text-align: center;
    position: relative;
}

.pt-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    font-family: "Playfair Display", serif;
}

.pt-hero p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.previous-trainings-section {
    padding: 60px 0;
    background-color: #f1f5f9;
}

.pt-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.pt-section-header h2 {
    font-size: 2.2rem;
    color: var(--pt-primary);
    font-weight: 800;
    margin-bottom: 15px;
    border-bottom: none !important;
}

.pt-section-header p {
    color: var(--pt-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.pt-training-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 50px;
    border: 1px solid var(--medium-gray);
    position: relative;
}

/* Full Width Event Text Block */
.pt-event-block {
    width: 100%;
    margin-bottom: 20px;
}

.pt-block-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.pt-block-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 600;
    background: #e0f2fe; /* Light blue background */
    padding: 6px 14px;
    border-radius: 20px;
    width: max-content;
}

.pt-block-date i {
    color: var(--primary-2);
    font-size: 1.1rem;
}

.pt-block-status {
    position: absolute;
    top: 25px;
    right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e6f4ea;
    color: #137333;
    padding: 6px 14px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-block-status i {
    color: inherit;
    font-size: 1rem;
}

.pt-block-title {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.pt-block-venue {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary); /* Changed from gray to primary */
    font-size: 1.1rem;
    font-weight: 600; /* Made slightly bolder */
    margin-bottom: 15px;
}

.pt-block-desc {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 100%;
}

/* Auto Scrolling Gallery (Marquee) */
.pt-gallery-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.marquee-track img {
    height: 160px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.marquee-track img:hover {
    transform: scale(1.05);
}

/* Pause animation on hover */
.pt-gallery-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pt-block-title {
        font-size: 1.8rem;
    }
    .pt-training-card {
        padding: 20px;
    }
    .pt-block-status {
        top: 20px;
        right: 20px;
        padding: 4px 10px;
        font-size: 0.8rem;
    }
}
