/* Shared by /internship and /opportunities */
html:has(.work-page),
body:has(.work-page) {
    overflow-x: hidden;
}

.work-page {
    overflow-x: hidden;
    color: #0a0933;
}

.work-page .container-fluid {
    width: 100%;
    max-width: none;
    padding-left: clamp(12px, 3vw, 48px);
    padding-right: clamp(12px, 3vw, 48px);
}

.work-page [class*="col-"] {
    min-width: 0;
    max-width: 100%;
}

.work-page img {
    max-width: 100%;
    height: auto;
}

.work-page a:focus-visible,
.work-page button:focus-visible,
.work-page input:focus-visible,
.work-page select:focus-visible,
.work-page textarea:focus-visible {
    outline: 3px solid #00B4D8;
    outline-offset: 2px;
}

.work-page .wk-hero {
    position: relative;
    background: linear-gradient(135deg, #0a0933 0%, #023e8a 55%, #00B4D8 100%);
    color: #fff;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.work-page .wk-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.18);
    pointer-events: none;
}

.work-page .wk-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.work-page .wk-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.55);
}

.work-page .wk-breadcrumb a {
    color: #d4af37;
}

.work-page .wk-breadcrumb .active {
    color: #fff;
}

.work-page .wk-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff !important;
}

.work-page .wk-hero p.lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
}

.work-page .wk-hero-visual {
    max-width: 280px;
    width: 100%;
    display: block;
    margin: 1.5rem auto 0;
    animation: wk-float 5s ease-in-out infinite;
}

.work-page .wk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: #d4af37;
    color: #0a0933;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.work-page .wk-btn:hover,
.work-page .wk-btn:focus {
    background-color: #00B4D8;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.work-page .wk-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.work-page .wk-btn-ghost:hover,
.work-page .wk-btn-ghost:focus {
    background: #fff;
    color: #023e8a;
    border-color: #fff;
}

.work-page .wk-btn-outline {
    background: transparent;
    color: #023e8a;
    border: 2px solid #00B4D8;
}

.work-page .wk-btn-outline:hover,
.work-page .wk-btn-outline:focus {
    background: #00B4D8;
    color: #fff;
    border-color: #00B4D8;
}

.work-page .wk-section {
    padding: 3rem 0;
    scroll-margin-top: 100px;
}

.work-page .wk-section--muted {
    background: #f4f7fb;
}

.work-page .wk-section h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #0a0933;
    margin-bottom: 0.75rem;
    scroll-margin-top: 96px;
}

.work-page .wk-card {
    background: #fff;
    border: 1px solid rgba(10, 9, 51, 0.06);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    height: 100%;
    margin-bottom: 1rem;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-page .wk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 180, 216, 0.15);
}

.work-page .wk-fade {
    animation: wk-fade-up 0.7s ease both;
}

.work-page .wk-delay-1 { animation-delay: 0.1s; }
.work-page .wk-delay-2 { animation-delay: 0.2s; }
.work-page .wk-delay-3 { animation-delay: 0.3s; }

.work-page .wk-file-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
}

.work-page .wk-file-error {
    color: #b42318;
    font-size: 0.875rem;
    margin-top: 0.35rem;
}

@keyframes wk-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wk-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.work-page .wk-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.work-page .wk-card p,
.work-page .wk-card li {
    color: #334155;
    overflow-wrap: anywhere;
}

.work-page .wk-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFD700;
    color: #0d1b2a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.work-page .wk-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.work-page .wk-form .form-control,
.work-page .wk-form .form-select {
    border-radius: 12px;
    min-height: 44px;
}

.work-page .wk-form textarea.form-control {
    min-height: 120px;
}

.work-page .wk-form .form-control:focus,
.work-page .wk-form .form-select:focus {
    border-color: #00B4D8;
    box-shadow: 0 0 0 0.15rem rgba(0, 180, 216, 0.25);
}

.work-page .wk-form .wk-btn {
    min-height: 44px;
}

.work-page .wk-cta {
    background: linear-gradient(135deg, #0a0933, #023e8a);
    color: #fff;
}

.work-page .wk-cta h2 {
    color: #fff;
}

.work-page .wk-actions,
.work-page .wk-cta-actions {
    gap: 0.75rem;
}

.work-page .wk-lead-narrow {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.work-page .wk-faq {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.work-page .wk-faq details {
    background: #fff;
    border: 1px solid rgba(10, 9, 51, 0.06);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.65rem;
}

.work-page .wk-faq summary {
    font-weight: 700;
    cursor: pointer;
}

.work-page .wk-faq summary .wk-faq-q {
    display: inline;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.work-page .wk-faq details p {
    margin: 0.6rem 0 0;
    color: #334155;
}

@media (max-width: 767.98px) {
    .work-page .wk-hero {
        padding: 2rem 0 2.5rem;
        text-align: center;
    }

    .work-page .wk-hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .work-page .wk-hero .wk-actions {
        justify-content: center !important;
    }

    .work-page .wk-hero-visual {
        display: none;
    }

    .work-page .wk-section {
        padding: 2rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .work-page .wk-btn,
    .work-page .wk-card,
    .work-page .wk-fade,
    .work-page .wk-hero-visual {
        animation: none !important;
        transition: none !important;
    }
}
