
.prog-section {
    position: relative;
    background-color: #1a4d45;
    background-image: url('<?php echo esc_url($bg_image); ?>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: white;
    overflow: hidden;
}

.prog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 77, 69, 0.92);
    z-index: 1;
}

.prog-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.prog-header {
    max-width: 1400px;
    margin: 0 auto 40px auto;
    padding: 100px 40px 0 40px;
    position: relative;
    z-index: 2;
}

.prog-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    padding-top: 30px;
}

.prog-left-col {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    padding-right: 20px;
}

.prog-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: -50px 0 10px 0;
    line-height: 0.9;
    color: white;
}

.prog-title-line {
    width: 80px;
    height: 4px;
    background-color: #eab465;
    border-radius: 2px;
    margin-bottom: 10px;
}

.update-box {
    width: 350px;
    height: 500px;
    margin-top: 30px;
    padding: 40px 30px;
    background-color: #dbeff8;
    color: #1a4d45;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.ub-date {
    font-size: 1rem;
    font-weight: 700;
    color: #1a4d45;
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

.ub-status {
    font-family: 'Istok Web', sans-serif !important;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a4d45;
    margin-bottom: 15px;
}

.ub-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a4d45;
    margin-bottom: 20px;
}

.ub-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a4d45;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.ub-link:hover {
    color: #0f4c63;
}

.prog-right-col {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 0;
}

.prog-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 30px 10px 40px 10px;
    cursor: grab;
    transform: translateX(0);
    transition: transform 0.1s ease-out;
    animation: none !important;
}

.prog-track.active {
    cursor: grabbing;
    transition: none;
}

.prog-card {
    width: 350px;
    height: 500px;
    flex-shrink: 0;
    position: relative;
    padding: 40px 30px;
    color: white;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.prog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #eab465;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.prog-number {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    pointer-events: none;
}

.prog-card h3 {
    font-family: 'Istok Web', sans-serif !important;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #eab465;
    margin-bottom: 20px;
    padding-right: 40px;
    position: relative;
    z-index: 1;
}

.prog-content-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.prog-content-area p {
    margin-bottom: 15px;
}

.prog-content-area::-webkit-scrollbar {
    width: 4px;
}

.prog-content-area::-webkit-scrollbar-thumb {
    background: rgba(234, 180, 101, 0.3);
    border-radius: 2px;
}

.prog-content-area::-webkit-scrollbar-track {
    background: transparent;
}

    .prog-subtitle {
        font-family: 'Helvetica Neue', sans-serif;
        font-size: 1.15rem;
        color: #ffffff;
        margin-top: 25px;
        font-weight: 400;
        letter-spacing: 0.5px;
        line-height: 1.6;
        max-width: 800px;
    }

    .prog-subtitle a {
        color: #ffffff;
        text-decoration: underline;
        text-underline-offset: 4px;
        font-weight: 700;
        transition: color 0.3s ease;
    }

    .prog-subtitle a:hover {
        color: #eab465;
    }

.prog-links-container {
    margin-top: 25px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.prog-links-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: block;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.prog-links-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    display: flex;

    scrollbar-width: none;
    -ms-overflow-style: none;

    user-select: none;
    -webkit-user-select: none;

    padding-bottom: 10px;
}

.prog-links-viewport::-webkit-scrollbar {
    display: none;
}

.prog-links-viewport.active {
    cursor: grabbing;
}


.prog-links-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding-right: 20px;
}

.prog-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;

    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


.prog-link-btn:hover {
    background: #eab465;
    border-color: #eab465;
    color: #1a4d45;
}

@media (max-width: 1024px) {
    .prog-layout {
        flex-direction: column;
        gap: 40px;
    }

    .prog-subtitle {
            font-size: 1rem;
        }

    .prog-left-col {
        width: 100%;
        position: static;
        padding-right: 0;
        padding-top: 0;
    }

    .prog-title {
        margin: 0 0 15px 0;
    }

    .prog-right-col {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .prog-track {
        padding: 10px;
    }

    .prog-card {
        width: 300px;
        height: 450px;
    }
}