/* ============================================================
   Work Abroad Tool
   static/css/tools/work-abroad.css
   ============================================================ */



/* REGION CARDS GRID  */
.wa-map-section {
    margin-bottom: 3rem;
}

.wa-cards-grid {
    width: min(920px, 90%);
    margin: 0 auto 3rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .wa-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wa-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* REGION CARD  */
.wa-card {
    background-color: rgba(255, 255, 255, 0.82);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.wa-card:nth-child(odd) {
    border-top: 3px solid var(--color-mint);
}

.wa-card:nth-child(even) {
    border-top: 3px solid var(--color-pink);
}

.wa-card-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted-grey);
    margin-bottom: 0.4rem;
}

.wa-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-grey);
    margin-bottom: 0.4rem;
}

.wa-card-subtitle {
    font-size: 0.82rem;
    color: var(--color-muted-grey);
    line-height: 1.5;
    margin: 0;
}

/* DETAIL PANEL  */
.wa-detail-panel {
    animation: wa-fade-up 0.22s ease;
}

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

.wa-back-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-mint);
    cursor: pointer;
    margin-bottom: 1.75rem;
    display: inline-block;
    transition: opacity 0.15s;
}

.wa-back-btn:hover {
    opacity: 0.7;
}

.wa-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-grey);
    margin-bottom: 0.4rem;
}

.wa-detail-subtitle {
    font-size: 0.95rem;
    color: var(--color-muted-grey);
    margin-bottom: 2rem;
}

/* TABS  */
.wa-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.wa-tab {
    background: none;
    border: 1px solid #e8e2d9;
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-muted-grey);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.wa-tab:hover {
    border-color: #c8bfb0;
    color: var(--color-grey);
}

.wa-tab.active {
    background: var(--color-grey);
    border-color: var(--color-grey);
    color: #fff;
}

/*  INFO CARDS GRID  */
.wa-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 767px) {
    .wa-info-grid {
        grid-template-columns: 1fr;
    }
}

/* INFO CARD  */
.wa-info-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.wa-info-card:nth-child(odd) {
    border-top: 3px solid var(--color-mint);
}

.wa-info-card:nth-child(even) {
    border-top: 3px solid var(--color-pink);
}

/* Watch Out card â€” full width, distinct */
.wa-info-card--watch {
    grid-column: 1 / -1;
    background-color: #f5f0e8;
    border-top: 3px solid var(--color-mint);
}

@media (max-width: 767px) {
    .wa-info-card--watch {
        grid-column: 1;
    }
}

.wa-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted-grey);
    margin-bottom: 0.5rem;
}

.wa-info-text {
    font-size: 0.85rem;
    color: var(--color-muted-grey);
    line-height: 1.6;
    margin: 0;
}