.apply-page {
    padding: 1rem 1rem 1.5rem;
}

.apply-heading {
    text-align: center;
    font-family: clonewars;
    font-size: min(2.4vw, 22px);
    color: #ffcc00;
    text-shadow: 1px 1px 2px #000;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}

.apply-subheading {
    text-align: center;
    font-family: 'Lucida Sans Unicode';
    font-size: min(1.5vw, 14px);
    color: #c8daf0;
    margin: 0 auto 1.75rem;
    max-width: 640px;
    line-height: 1.4;
}

.apply-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .apply-grid {
        grid-template-columns: 1fr;
    }
}

/* News-frame ornament wraps the card. The frame is 16:9, so we mimic it with an inner
   accent-colored panel and layer the news-frame image on top via a ::before pseudo. */
.apply-card {
    position: relative;
    padding: 1.4rem 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: white;
    min-height: 260px;
    background: rgba(10, 25, 60, 0.75);
    border-top: 3px solid var(--accent);
}

.apply-card::before {
    content: "";
    position: absolute;
    inset: -6px;
    background-image: url('../assets/news/news_frame2.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

.apply-card > * {
    position: relative;
    z-index: 1;
}

.apply-card__title {
    font-family: clonewars;
    font-size: min(2.2vw, 20px);
    color: var(--accent);
    text-shadow: 1px 1px 2px #000;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

.apply-card__role {
    font-family: clonewars;
    font-size: min(1.3vw, 12px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(200, 218, 240, 0.75);
    margin: 0.1rem 0 0;
}

.apply-card__desc {
    font-family: 'Lucida Sans Unicode';
    font-size: min(1.4vw, 13px);
    line-height: 1.5;
    color: #e6eefb;
    flex: 1;
    margin: 0.5rem 0 0;
}

.apply-card__cta {
    display: block;
    margin-top: 0.35rem;
    text-align: right;
    font-family: clonewars;
    font-size: min(1.6vw, 15px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 1px 1px 2px #000;
    text-decoration: none;
}

.apply-card__cta:hover {
    filter: brightness(1.25);
    text-decoration: none;
}

/* Filtered (department) view */
.apply-dept-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 860px;
    margin: 0 auto 1.25rem;
    padding: 0 0.25rem;
}

.apply-dept-header h2 {
    font-family: clonewars;
    font-size: min(3vw, 26px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 1px 1px 2px #000;
    margin: 0;
}

.apply-back {
    font-family: clonewars;
    font-size: min(1.5vw, 14px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffcc00;
    text-decoration: none;
    text-shadow: 1px 1px 2px #000;
}

.apply-back:hover {
    color: #fff2a0;
    text-decoration: none;
}

.apply-form-list {
    max-width: 860px;
    margin: 0 auto;
}

/* Overrides on top of FAQ.css classes reused for position listings — always-expanded, no toggle arrow */
.apply-form-list .question > .question-header {
    white-space: normal;
    line-height: 1.15;
    background-image: url('../assets/faq/Top_Gradient.svg');
    cursor: default;
}

.apply-form-list .question > .answer {
    display: block;
    padding-top: 1%;
    padding-bottom: 1.5%;
    font-family: 'Lucida Sans Unicode';
    color: white;
}

.apply-form-list .question > .question-footer {
    background-image: url('../assets/faq/Bottom_Gradient.svg');
}

.apply-form-list .apply-form-cta {
    display: block;
    margin-top: 0.75rem;
    text-align: right;
    font-family: clonewars;
    font-size: min(1.6vw, 15px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 1px 1px 2px #000;
    text-decoration: none;
}

.apply-form-list .apply-form-cta:hover {
    filter: brightness(1.25);
    text-decoration: none;
}

.apply-empty {
    text-align: center;
    font-family: 'Lucida Sans Unicode';
    color: rgba(200, 218, 240, 0.7);
    font-size: 14px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}
