/* =========================================
   FLUENT AMBASSADORS — CORE STYLES
   ========================================= */

.fluent-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Map Container */
.fa-map-container {
    width: 100%;
    height: 500px;
    background-color: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 0;
}

/* Vector Map */
.jvm-container {
    font-family: inherit;
}

.jvm-region {
    stroke: #ffffff;
    stroke-width: 0.5;
    transition: all 0.2s ease;
}

.jvm-tooltip {
    background-color: #0f172a;
    color: white;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
}

/* Admin Elements */
.fa-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
}

.fa-btn-back:hover {
    background: #e2e8f0;
}

.fa-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .fa-hero {
        flex-direction: row;
        align-items: center;
    }
}

/* Features Grid */
.fa-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.fa-feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.fa-feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.fa-feature-card h4 {
    margin: 0 0 10px 0;
    color: #0f172a;
}

.fa-feature-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Admin Styles */
.fa-admin-wrap {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.fa-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fa-btn-primary {
    background: #0f766e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.fa-table {
    width: 100%;
    border-collapse: collapse;
}

.fa-table th,
.fa-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.fa-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.fa-modal {
    background: white;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: 12px;
}

.fa-form-group {
    margin-bottom: 15px;
}

.fa-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.fa-form-group input,
.fa-form-group select,
.fa-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-sizing: border-box;
}

/* =========================================
   RECRUITMENT SECTION
   ========================================= */

.fluent-recruit-section {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 22px 20px 34px !important;
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 55%, #0ea5e9 100%);
    box-shadow: 0 18px 45px rgba(2, 8, 23, 0.16);
}

.fluent-recruit-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.fluent-recruit-badge {
    display: inline-block;
    margin: 0 0 10px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #e0f2fe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fluent-recruit-title {
    margin: 0 0 12px;
    font-size: clamp(27px, 4.6vw, 40px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.fluent-recruit-text {
    max-width: 680px;
    margin: 0 auto 20px;
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 1.55;
    color: #e2e8f0;
}

.fluent-recruit-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.fluent-recruit-btn-primary,
.fluent-recruit-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.fluent-recruit-btn-primary {
    background: #ffffff;
    color: #0c4a6e;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fluent-recruit-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(2, 8, 23, 0.28);
}

.fluent-recruit-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background 0.2s ease;
}

.fluent-recruit-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fluent-recruit-roles {
    margin: 14px 0 0;
    font-size: 13px;
    color: #cbd5e1;
}

.fluent-recruit-shape-one,
.fluent-recruit-shape-two {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    z-index: 1;
}

.fluent-recruit-shape-one {
    top: -70px;
    right: -70px;
    width: 230px;
    height: 230px;
}

.fluent-recruit-shape-two {
    bottom: -90px;
    left: -60px;
    width: 200px;
    height: 200px;
}

@media (max-width: 600px) {
    .fluent-recruit-section {
        padding: 16px 14px 28px;
        border-radius: 16px;
    }

    .fluent-recruit-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.fluent-recruit-section {
    margin-top: -10px !important;
}

/* Remove excessive space between page header and Meet the Team title */
.fluent-wrapper {
    padding-top: 0 !important;
}

#fluent-frontend-root {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#fluent-frontend-root > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Targets the first heading rendered by the plugin */
#fluent-frontend-root h1,
#fluent-frontend-root h2,
#fluent-frontend-root h3 {
    margin-top: 0 !important;
}

/* Common WordPress theme/page-content wrappers */
.entry-content > *:first-child,
.wp-block-post-content > *:first-child,
.site-content > *:first-child,
main > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}