/* Hub Pages Common Styles */

.breadcrumb-section {
    padding: 16px 0;
}

.breadcrumb-modern {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item.active {
    color: var(--hub-muted);
}

.hub-container,
.hub-country-container,
.hub-category-container {
    position: relative;
    z-index: 1;
    padding: 0 clamp(16px, 4vw, 24px);
}

.hub-hero-deck {
    position: relative;
    margin-bottom: clamp(60px, 6vw, 90px);
    padding: 0;
    border-radius: 48px;
    background: radial-gradient(120% 120% at 18% 16%, rgb(255 255 255 / 54%), transparent 62%),
        radial-gradient(140% 120% at 84% 18%, var(--hub-primary-rgba-06), transparent 58%),
        radial-gradient(150% 150% at 45% 92%, var(--hub-primary-dark-rgba-04), transparent 68%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), var(--hub-surface-light));
    border: 1px solid var(--hub-border);
    box-shadow: 0 42px 128px -66px rgba(15, 23, 42, 0.34);
    overflow: hidden;
    isolation: isolate;
    margin-top: 50px;
}

.hub-hero-deck::before,
.hub-hero-deck::after {
    content: "";
    position: absolute;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hub-hero-deck::before {
    width: 620px;
    height: 620px;
    top: -240px;
    left: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hub-primary-rgba-12) 0%, transparent 66%);
    opacity: 0.4;
    filter: blur(6px);
}

.hub-hero-deck::after {
    inset: 12% 8%;
    border-radius: 38px;
    background: radial-gradient(circle at 22% 22%, var(--hub-secondary-rgba-12), transparent 58%),
        radial-gradient(circle at 78% 68%, var(--hub-secondary-light-rgba-14), transparent 55%),
        repeating-linear-gradient(135deg, var(--hub-primary-rgba-06) 0px, var(--hub-primary-rgba-06) 8px, transparent 8px, transparent 24px);
    opacity: 0.28;
    filter: blur(0);
    transform: rotate(-2.8deg);
}

.hub-hero-inner {
    position: relative;
    padding: clamp(52px, 7vw, 72px);
    z-index: 1;
}

.hero-anim-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-anim-orb {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--hub-primary-rgba-25), var(--hub-secondary-rgba-14) 60%, transparent 70%);
    filter: blur(6px);
    opacity: 0.4;
    --tx: 24px;
    --ty: -18px;
    --dur: 14s;
    animation: floatDrift var(--dur) ease-in-out infinite;
}

.hero-anim-orb.orb-1 {
    top: 0;
    left: 0;
    --dur: 16s;
    --tx: 28px;
    --ty: -16px;
}

.hero-anim-orb.orb-2 {
    bottom: 0;
    right: 0;
    --dur: 13s;
    --tx: 22px;
    --ty: -14px;
    background: radial-gradient(circle at 70% 40%, var(--hub-secondary-rgba-24), var(--hub-secondary-light-rgba-12) 60%, transparent 70%);
}

.hero-anim-orb.orb-3 {
    top: 20%;
    right: 0;
    width: 180px;
    height: 180px;
    opacity: 0.45;
    --dur: 18s;
    --tx: 18px;
    --ty: -12px;
}

.hero-anim-orb.orb-4 {
    position: absolute;
    top: 8%;
    left: 42%;
    width: 200px;
    height: 200px;
    opacity: 0.5;
    --dur: 17s;
    --tx: 22px;
    --ty: -14px;
    background: radial-gradient(circle at 60% 40%, var(--hub-primary-rgba-20), var(--hub-secondary-rgba-12) 60%, transparent 70%);
}

.hero-anim-dots {
    position: absolute;
    left: 6%;
    bottom: 8%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hub-primary-rgba-70);
    box-shadow: 24px 8px 0 var(--hub-secondary-rgba-70),
        48px -6px 0 var(--hub-primary-rgba-70),
        72px 10px 0 var(--hub-secondary-rgba-70),
        96px -4px 0 var(--hub-primary-rgba-70);
    animation: twinkle 2.2s ease-in-out infinite alternate;
    opacity: 0.6;
}

@keyframes floatDrift {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--tx), var(--ty));
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes twinkle {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.12);
        opacity: 0.95;
    }
}

.hero-content-shell {
    position: relative;
    margin-top: clamp(24px, 3vw, 36px);
    display: grid;
    gap: clamp(28px, 4vw, 40px);
    justify-items: center;
    text-align: center;
    z-index: 1;
}

.hero-left {
    display: grid;
    gap: clamp(20px, 3vw, 28px);
    color: var(--hub-text);
    justify-items: center;
}

.hero-left h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    letter-spacing: -0.015em;
    color: var(--hub-text);
    background: linear-gradient(135deg, #0f172a 0%, var(--hub-primary-dark) 35%, var(--hub-primary) 60%, #0f172a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 24px var(--hub-primary-rgba-15));
}

.hero-subtitle {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 800px;
    color: var(--hub-muted);
}

.hero-intro {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 800px;
    color: var(--hub-muted);
}

.hero-intro p {
    margin: 0 0 12px 0;
}

.hero-intro p:last-child {
    margin-bottom: 0;
}

.hero-headline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--hub-border-light);
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    font-size: 0.75rem;
}

.hero-headline i {
    color: var(--hub-primary-dark);
}

.hero-search-form {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--hub-border-light);
    box-shadow: 0 24px 48px -36px var(--hub-primary-rgba-25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-search-field {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    min-width: clamp(220px, 30vw, 320px);
    border: 1px solid var(--hub-border-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-field i {
    color: var(--hub-muted);
}

.hero-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: var(--hub-text);
    position: relative;
    z-index: 2;
}

.hero-search-input:focus {
    outline: none;
}

.hero-search-field:focus-within {
    border-color: var(--hub-primary-rgba-50);
    box-shadow: 0 8px 24px -14px var(--hub-primary-rgba-35);
}

.hero-search-field:focus-within .hero-search-demo {
    opacity: 0;
    pointer-events: none;
}

.hero-search-demo {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(71, 85, 105, 0.5);
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
}

.hero-search-input:focus + .hero-search-demo {
    opacity: 0;
}

.hero-search-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--hub-primary) 0%, var(--hub-primary-dark) 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px var(--hub-primary-rgba-40);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 54px -24px var(--hub-primary-rgba-60);
}

.hero-search-button:active {
    transform: translateY(-1px);
}

.hero-meta-row {
    margin-top: 22px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--hub-muted);
    font-size: 0.9rem;
}

.hero-meta-row .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--hub-surface-light-rgba-70);
    border: 1px solid var(--hub-border-light);
    white-space: nowrap;
}

.hero-meta-row::-webkit-scrollbar {
    height: 6px;
}

.hero-meta-row::-webkit-scrollbar-thumb {
    background: var(--hub-border-light-rgba-45);
    border-radius: 999px;
}

.hero-meta-row a {
    color: var(--hub-primary);
    font-weight: 600;
    text-decoration: none;
}

.hero-meta-row .meta-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-meta-row .meta-inline a {
    color: var(--hub-primary);
    font-weight: 600;
    text-decoration: none;
}

.hero-meta-row .meta-inline a:hover {
    text-decoration: underline;
}

.hero-meta-row .meta-sep {
    opacity: .6;
}

.hero-meta-row .meta-text-mobile {
    display: none;
}

.hero-stats-row {
    margin: clamp(18px, 2.6vw, 26px) 0 0;
    display: flex;
    gap: clamp(14px, 2.4vw, 24px);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.hero-stat {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 18px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.6);
    box-shadow: 0 16px 28px -24px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    min-width: 140px;
    max-width: 210px;
    flex: 1 1 auto;
    transition: transform 0.23s ease, box-shadow 0.23s ease;
}

.hero-stat .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.1rem;
    justify-self: center;
}

.hero-stat > * {
    position: relative;
    z-index: 1;
}

.hero-stat.accent-blue .stat-icon {
    background: linear-gradient(135deg, var(--hub-primary), var(--hub-primary-dark));
    box-shadow: 0 8px 14px -8px var(--hub-primary-rgba-45);
}

.hero-stat.accent-indigo .stat-icon {
    background: linear-gradient(135deg, var(--hub-primary), var(--hub-primary-dark));
    box-shadow: 0 8px 14px -8px var(--hub-primary-dark-rgba-45);
}

.hero-stat.accent-cyan .stat-icon {
    background: linear-gradient(135deg, var(--hub-secondary), var(--hub-primary));
    box-shadow: 0 8px 14px -8px var(--hub-secondary-rgba-40);
}

.hero-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--hub-text);
    letter-spacing: -0.01em;
}

.hero-stat span {
    font-size: 0.72rem;
    color: var(--hub-muted);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-stat span:not(.stat-icon) {
    font-size: 0.85rem;
    color: var(--hub-muted);
}

.hero-stat small {
    font-size: 0.78rem;
    color: rgba(71, 85, 105, 0.85);
    line-height: 1.5;
}

.hero-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 60px -30px var(--hub-primary-rgba-32);
}

.hub-layout {
    display: grid;
    gap: clamp(32px, 4vw, 48px);
    margin-top: clamp(48px, 6vw, 64px);
}

@media (min-width: 1100px) {
    .hub-layout {
        grid-template-columns: minmax(0, 0.78fr) minmax(200px, 0.22fr);
        align-items: start;
    }
}

.hub-main > .section-card + .section-card {
    margin-top: clamp(24px, 3vw, 36px);
}

.hub-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.hub-pulse-nav {
    position: sticky;
    top: 92px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(214, 226, 255, 0.65);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 18px 42px -32px rgba(15, 23, 42, 0.25);
    display: grid;
    gap: 12px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

.hub-pulse-nav::-webkit-scrollbar {
    width: 4px;
}

.hub-pulse-nav::-webkit-scrollbar-thumb {
    background: var(--hub-border-light-rgba-55);
    border-radius: 999px;
}

.hub-pulse-nav h4 {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hub-muted);
}

.hub-pulse-nav a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(30, 41, 59, 0.72);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.86rem;
    padding: 8px 10px;
    border-radius: 12px;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hub-pulse-nav a:hover {
    color: var(--hub-primary);
    background: var(--hub-primary-rgba-08);
    transform: translateX(4px);
}

.hub-pulse-nav a i {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: var(--hub-primary-rgba-12);
    color: var(--hub-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.section-card {
    position: relative;
    border-radius: 28px;
    padding: clamp(28px, 3.5vw, 34px);
    border: 1px solid rgba(203, 213, 225, 0.65);
    box-shadow: 0 28px 60px -40px rgba(15, 23, 42, 0.38);
}

.section-header {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-header + .narrative-body {
    margin-top: 0;
}

.narrative-body + .section-header {
    margin-top: clamp(40px, 5vw, 56px);
    margin-bottom: 24px;
}

.section-header span {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hub-muted);
    font-weight: 700;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--hub-text);
}

.section-lead {
    color: var(--hub-muted);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 22px;
}

.insight-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.insight-tile {
    position: relative;
    border-radius: 24px;
    padding: 22px;
    color: #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 180px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.insight-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -14px var(--hub-secondary-rgba-40);
}

.insight-tile i {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto;
}

.insight-section .section-header h2 {
    color: var(--hub-text);
}

.insight-section .section-header span {
    color: var(--hub-muted);
}

.insight-tile h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #000000;
    text-align: center;
}

.insight-tile p {
    margin: 0;
    line-height: 1.6;
    color: #000000;
    text-align: center;
}

.job-scroll {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.job-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "brand location"
        "title title"
        "footer footer";
    column-gap: 18px;
    row-gap: 10px;
    align-items: start;
    padding: 22px 24px;
    border-radius: 20px;
    background: #121212;
    border: 1px solid #2a2a2a;
    box-shadow: 0 0 0 1px var(--hub-primary-rgba-30),
        0 14px 28px -10px var(--hub-primary-rgba-25);
    color: #f2f2f2;
    transition: .25s ease;
}

.job-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        220px circle at 80% 70%,
        hsl(var(--brand-h, 220) var(--brand-s, 60%) var(--brand-l, 72%) / 0.18),
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.job-card::after {
    content: "";
    position: absolute;
    inset: -20% -30% -40% 30%;
    height: 100%;
    background: radial-gradient(
        280px circle at 70% 85%,
        hsl(var(--brand-h, 220) var(--brand-s, 60%) var(--brand-l, 72%) / 0.28),
        transparent 65%
    ),
    radial-gradient(
        280px circle at 70% 85%,
        hsla(var(--brand-h, 220), var(--brand-s, 60%), var(--brand-l, 72%), 0.22),
        transparent 65%
    );
    filter: blur(60px);
    opacity: 0.75;
    pointer-events: none;
    mix-blend-mode: screen;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 68px -34px rgba(15, 23, 42, 0.75);
    border-color: var(--hub-primary-rgba-60);
}

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

.job-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.16rem;
    line-height: 1.32;
    font-weight: 700;
    color: #ffffff;
    align-self: end;
}

.job-card-brand {
    grid-area: brand;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--hub-primary-rgba-38);
    display: grid;
    place-items: center;
    overflow: hidden;
    align-self: center;
}

.job-card-brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-card-brand .brand-placeholder {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: #e2e8f0;
    text-transform: uppercase;
}

.job-card-location {
    grid-area: location;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.8rem;
    align-self: center;
}

.job-card-location .remote-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--hub-secondary-rgba-18);
    color: var(--hub-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.job-card h3 a {
    color: inherit;
    text-decoration: none;
}

.job-card h3 a:hover {
    text-decoration: underline;
}

.job-card-footer {
    grid-area: footer;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.job-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.job-card-link:hover {
    transform: translateY(-2px);
}

.job-card-secondary {
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.75);
}

.job-section-footer {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.job-section-footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(203, 213, 225, 0.6);
    text-decoration: none;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.15);
    transition: all 0.2s ease;
}

.job-section-footer a:hover {
    color: var(--hub-primary);
    border-color: var(--hub-primary);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px var(--hub-primary-rgba-30);
}

.job-section-footer a i {
    color: var(--hub-primary);
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.link-grid.related-roles {
    grid-template-columns: repeat(3, 1fr);
}

.link-grid.nearby-hubs {
    grid-template-columns: repeat(3, 1fr);
}

.link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--hub-border-light);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: var(--hub-text);
    font-weight: 600;
    transition: all 0.2s ease;
}

.link-card:hover {
    border-color: var(--hub-primary);
    background: var(--hub-primary-rgba-05);
    transform: translateX(4px);
}

.link-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--hub-primary-rgba-12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--hub-primary);
    font-size: 1rem;
}

.flag-icon {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.link-footer {
    margin-top: 20px;
    text-align: center;
}

.link-footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.95rem;
}

.link-footer a i {
    color: #0f172a;
}

.link-footer a:hover {
    text-decoration: underline;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.salary-section .table-responsive {
    margin-top: 18px;
}

.salary-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 28px -26px rgba(15, 23, 42, 0.2);
}

.salary-table thead {
    background: var(--hub-primary-rgba-04);
    color: var(--hub-text);
}

.salary-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.salary-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--hub-border-light);
    color: var(--hub-text);
    font-size: 0.95rem;
}

.salary-table tbody tr:last-child td {
    border-bottom: none;
}

.salary-table tbody tr:hover {
    background: var(--hub-primary-rgba-05);
}

.faq-accordion {
    margin-top: 20px;
}

.faq-accordion details {
    border-radius: 18px;
    border: 1px solid rgba(254, 243, 199, 0.6);
    background: rgba(255, 255, 255, 0.94);
    padding: 18px 20px;
    margin-bottom: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion details[open] {
    border-color: var(--hub-primary);
    box-shadow: 0 20px 40px -28px var(--hub-primary-rgba-25);
}

.faq-accordion summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--hub-text);
    padding: 4px 0;
}

.faq-accordion p {
    margin-top: 12px;
    color: var(--hub-muted);
    line-height: 1.7;
}

.jobs-cta-bar {
    background: linear-gradient(135deg, var(--hub-primary-rgba-10), var(--hub-secondary-rgba-08));
    border: 1px solid var(--hub-primary-rgba-20);
    text-align: center;
    padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
}

.jobs-cta-bar h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hub-text);
    margin: 0 0 12px;
}

.jobs-cta-bar p {
    color: var(--hub-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.jobs-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.jobs-cta-actions a {
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jobs-cta-actions a.primary {
    background: var(--hub-primary);
    color: #fff;
}

.jobs-cta-actions a.primary:hover {
    background: var(--hub-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px var(--hub-primary-rgba-50);
}

.jobs-cta-actions a.secondary {
    background: transparent;
    color: var(--hub-primary);
    border: 2px solid var(--hub-primary);
}

.jobs-cta-actions a.secondary:hover {
    background: var(--hub-primary-rgba-10);
}

.narrative-body {
    background: linear-gradient(135deg, var(--hub-surface-light-rgba-15), var(--hub-surface-light-rgba-10));
    border-radius: 24px;
    border: 1px solid rgba(203, 213, 225, 0.65);
    padding: clamp(20px, 3vw, 26px);
    line-height: 1.85;
    color: #334155;
}

.narrative-body h2 {
    color: var(--hub-text);
    font-weight: 700;
    margin: clamp(40px, 5vw, 56px) 0 clamp(16px, 2vw, 20px);
    padding-top: clamp(24px, 3vw, 32px);
    font-size: 1.75rem;
    border-top: 1px solid var(--hub-border-light);
}

.narrative-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-bottom: 20px;
}

.narrative-body h3 {
    margin: 28px 0 12px;
    color: var(--hub-primary-dark);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.4;
}

.narrative-body p {
    margin-bottom: 18px;
    color: #475569;
    font-size: 1rem;
}

.narrative-body strong {
    color: var(--hub-primary-dark);
    font-weight: 700;
    background: linear-gradient(135deg, var(--hub-primary-rgba-12), var(--hub-secondary-rgba-08));
    padding: 2px 6px;
    border-radius: 4px;
}

.narrative-body ul {
    margin: 24px 0;
    padding-left: 24px;
}

.narrative-body ul li {
    margin-bottom: 12px;
    color: #475569;
    line-height: 1.75;
}

.narrative-body ul li strong {
    color: var(--hub-primary-dark);
    background: transparent;
    padding: 0;
    font-weight: 700;
}

.content-block {
    padding: clamp(16px, 2.5vw, 20px);
    background: linear-gradient(135deg, var(--hub-surface-light-rgba-15), var(--hub-surface-light-rgba-10));
    border: 1px solid rgba(203, 213, 225, 0.65);
    border-left: 4px solid var(--hub-primary);
    border-radius: 24px;
    margin: clamp(18px, 3vw, 24px) 0;
}

.content-block h3 {
    color: var(--hub-primary-dark);
    margin: 0 0 12px 0;
    font-weight: 700;
}

.content-block p {
    margin-bottom: 0;
    color: #475569;
}

.hub-quicknav-toggle {
    display: none;
}

.hub-quicknav-backdrop {
    display: none;
}

@media (max-width: 1099px) {
    .hub-sidebar {
        position: static;
    }

    .hub-pulse-nav {
        max-height: none;
        overflow: visible;
        box-shadow: none;
    }

    .hub-quicknav-toggle {
        position: fixed;
        right: 16px;
        bottom: 18px;
        z-index: 1002;
        display: grid;
    }

    .hub-quicknav-toggle button {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 999px;
        border: 1px solid var(--hub-border-light);
        background: #ffffff;
        color: var(--hub-text);
        font-weight: 700;
        box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.35);
        cursor: pointer;
    }

    .hub-quicknav-backdrop.active {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1000;
    }

    .hub-sidebar {
        display: none;
    }

    .hub-sidebar.is-open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(86vw, 360px);
        padding: 10px;
        z-index: 1001;
        background: #fff;
        overflow-y: auto;
    }
}

@media (max-width: 991px) {
    .hero-stats-row {
        justify-content: center;
    }

    .hero-stat {
        flex: 0 0 calc(50% - 12px);
        min-width: 140px;
    }

    .link-grid.related-roles,
    .link-grid.nearby-hubs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.08rem);
        padding: 0 8px;
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 4vw, 2rem);
    }

    .job-scroll {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .link-grid.related-roles,
    .link-grid.nearby-hubs {
        grid-template-columns: repeat(2, 1fr);
    }

    .insight-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .hub-hero-inner {
        padding: 24px 16px;
        border-radius: 22px;
        margin-top: 28px;
    }

    .hero-content-shell {
        grid-template-columns: 1fr;
        padding: 0;
        width: 100%;
    }

    .hero-left {
        width: 100%;
    }

    .hero-left h1 {
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 1.5rem;
        line-height: 1.12;
    }

    .hero-subtitle {
        padding: 0 2px;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-intro {
        padding: 0 2px;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-headline {
        font-size: 0.68rem;
        padding: 4px 10px;
        gap: 8px;
    }

    .hero-search-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
        border-radius: 10px;
    }

    .hero-search-field {
        min-width: 0;
        width: 100%;
        padding: 10px 12px;
    }

    .hero-search-input {
        width: 100%;
        font-size: 0.9rem;
    }

    .hero-search-demo {
        left: 34px;
        font-size: 0.9rem;
    }

    .hero-search-button {
        width: 100%;
        padding: 12px 18px;
        gap: 8px;
        font-size: 0.92rem;
        justify-content: center;
    }

    .hero-meta-row {
        font-size: 0.8rem;
        gap: 0;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .hero-meta-row .meta-inline {
        gap: 8px;
        width: 100%;
    }

    .hero-meta-row .meta-text-desktop {
        display: none;
    }

    .hero-meta-row .meta-text-mobile {
        display: inline;
    }

    .hero-stats-row {
        gap: 6px;
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
    }

    .hero-stat {
        padding: 12px 10px;
        flex: 0 0 calc(50% - 3px);
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-stat .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .hero-stat strong {
        font-size: 1rem;
    }

    .hero-stat span {
        font-size: 0.6rem;
    }

    .hub-layout {
        display: block;
    }

    .job-scroll {
        grid-template-columns: 1fr;
    }

    .link-grid.related-roles,
    .link-grid.nearby-hubs {
        grid-template-columns: 1fr;
    }

    .insight-grid {
        grid-template-columns: 1fr;
    }

    .section-card {
        padding: clamp(20px, 4vw, 28px);
    }

    .job-card {
        padding: 18px 16px;
    }

    .job-card::after {
        inset: auto 0 -40% 0;
    }

    .job-card h3 {
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 1.02rem;
    }

    .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .job-card-link {
        width: 100%;
        justify-content: center;
    }

    .narrative-body h2 {
        font-size: clamp(1.4rem, 4vw, 1.75rem);
        margin: clamp(32px, 4vw, 48px) 0 clamp(14px, 2vw, 18px);
        padding-top: clamp(20px, 2.5vw, 28px);
    }

    .narrative-body + .section-header {
        margin-top: clamp(32px, 4vw, 48px);
    }

    .narrative-body h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
    }

    .jobs-cta-bar h3 {
        font-size: clamp(1.4rem, 4vw, 1.75rem);
    }

    .jobs-cta-bar p {
        font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    }

    .jobs-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .jobs-cta-actions a {
        width: 100%;
        justify-content: center;
    }

    .breadcrumb-modern {
        font-size: 0.75rem;
    }

    .breadcrumb-item {
        font-size: 0.75rem;
    }

    .breadcrumb-item a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .breadcrumb-item.active {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    .hero-anim-orb {
        width: 160px;
        height: 160px;
        opacity: 0.45;
    }

    .hero-anim-orb.orb-1 {
        top: 8px;
        left: 8px;
    }

    .hero-anim-orb.orb-2 {
        bottom: 8px;
        right: 8px;
    }

    .hero-anim-orb.orb-4 {
        top: 10%;
        left: 36%;
        width: 160px;
        height: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim-orb,
    .hero-anim-dots,
    .hero-search-button,
    .job-card,
    .link-card,
    .jobs-cta-actions a,
    .hub-pulse-nav a {
        animation: none !important;
        transition: none !important;
    }
}

/* Additional styles for country and category pages */
.hub-scene {
    position: relative;
    padding: 0px 0 120px;
    overflow: visible;
    isolation: isolate;
}

.hub-country-scene {
    position: relative;
    padding: 0 0 120px;
    overflow: visible;
    isolation: isolate;
}

.hub-category-scene {
    position: relative;
    padding: 0px 0 120px;
    overflow: visible;
    isolation: isolate;
}

.hub-country-only-scene {
    position: relative;
    padding: 0 0 120px;
    overflow: visible;
    isolation: isolate;
}

/* Page-specific class aliases */
.visa-hub-container, .visa-country-container, .visa-category-container,
.relocation-hub-container, .relocation-country-container, .relocation-category-container,
.remote-hub-container, .remote-country-container, .remote-category-container {
    position: relative;
    z-index: 1;
    padding: 0 clamp(16px, 4vw, 24px);
}

.visa-hero-deck, .relocation-hero-deck, .remote-hero-deck {
    position: relative;
    margin-bottom: clamp(60px, 6vw, 90px);
    padding: 0;
    border-radius: 48px;
    background: radial-gradient(120% 120% at 18% 16%, rgb(255 255 255 / 54%), transparent 62%),
        radial-gradient(140% 120% at 84% 18%, var(--hub-primary-rgba-06), transparent 58%),
        radial-gradient(150% 150% at 45% 92%, var(--hub-primary-dark-rgba-04), transparent 68%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), var(--hub-surface-light));
    border: 1px solid var(--hub-border);
    box-shadow: 0 42px 128px -66px rgba(15, 23, 42, 0.34);
    overflow: hidden;
    isolation: isolate;
    margin-top: 50px;
}

.visa-hero-inner, .relocation-hero-inner, .remote-hero-inner {
    position: relative;
    padding: clamp(52px, 7vw, 72px);
    z-index: 1;
}

.visa-hub-scene, .relocation-hub-scene, .remote-hub-scene,
.visa-country-scene, .relocation-country-scene, .remote-country-scene,
.visa-category-scene, .relocation-category-scene, .remote-category-scene,
.visa-country-only-scene, .relocation-country-only-scene {
    position: relative;
    padding: 0px 0 120px;
    overflow: visible;
    isolation: isolate;
}



@media (max-width: 640px) {
    .hub-scene,
    .hub-country-scene,
    .hub-category-scene,
    .hub-country-only-scene,
    .visa-hub-scene, .relocation-hub-scene, .remote-hub-scene,
    .visa-country-scene, .relocation-country-scene, .remote-country-scene,
    .visa-category-scene, .relocation-category-scene, .remote-category-scene,
    .visa-country-only-scene, .relocation-country-only-scene {
        padding: 0 0 88px;
    }
}

/* Insight tile specific colors - will be overridden by page-specific CSS variables */
.insight-tile:nth-child(1) {
    background: linear-gradient(135deg, var(--insight-1-start), var(--insight-1-end));
    box-shadow: 0 12px 28px -10px var(--insight-1-shadow);
}

.insight-tile:nth-child(2) {
    background: linear-gradient(135deg, var(--insight-2-start), var(--insight-2-end));
    box-shadow: 0 12px 28px -10px var(--insight-2-shadow);
}

.insight-tile:nth-child(3) {
    background: linear-gradient(135deg, var(--insight-3-start), var(--insight-3-end));
    box-shadow: 0 12px 28px -10px var(--insight-3-shadow);
}

/* Related Hubs Section for SEO Internal Linking */
.related-hubs-section {
    margin-top: clamp(32px, 4vw, 48px);
}

.related-hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.related-hubs-grid .link-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--hub-border-light);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    color: var(--hub-text);
    transition: all 0.3s ease;
    position: relative;
}

.related-hubs-grid .link-card:hover {
    border-color: var(--hub-primary);
    background: var(--hub-primary-rgba-05);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px var(--hub-primary-rgba-30);
}

.related-hubs-grid .link-card .link-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hub-primary-rgba-12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--hub-primary);
    font-size: 1.25rem;
}

.related-hubs-grid .link-card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hub-text);
    margin-bottom: 8px;
}

.related-hubs-grid .link-card p {
    font-size: 0.9rem;
    color: var(--hub-muted);
    line-height: 1.6;
    margin: 0;
}

.related-hubs-grid .link-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--hub-primary);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.related-hubs-grid .link-card:hover .link-arrow {
    transform: translateX(4px);
}

/* Hub Links Section for Jobs Page */
.hub-links-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 40px 32px;
    margin-top: 48px;
}

.hub-links-header {
    text-align: center;
    margin-bottom: 32px;
}

.hub-links-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hub-links-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hub-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    color: #0f172a;
    transition: all 0.3s ease;
    height: 100%;
}

.hub-link-card:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(59, 130, 246, 0.2);
    text-decoration: none;
    color: #0f172a;
}

.hub-link-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hub-link-icon.visa-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}

.hub-link-icon.relocation-icon {
    background: rgba(99, 102, 241, 0.12);
    color: #6366F1;
}

.hub-link-icon.remote-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #22C55E;
}

.hub-link-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.hub-link-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.hub-link-cta {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #3b82f6;
    font-size: 0.95rem;
}

.hub-link-card:hover .hub-link-cta {
    color: #2563eb;
}

/* Value Proposition Card Link Button */
.card-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: var(--hub-primary-rgba-10);
    color: var(--hub-primary);
    border: 1px solid var(--hub-primary-rgba-20);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.card-link-btn:hover {
    background: var(--hub-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px var(--hub-primary-rgba-30);
    text-decoration: none;
}

@media (max-width: 768px) {
    .related-hubs-grid {
        grid-template-columns: 1fr;
    }
    
    .hub-links-section {
        padding: 32px 24px;
    }
    
    .hub-link-card {
        padding: 24px 20px;
    }
}

/* Hero stats icon colors (distinct but cohesive) */
.hero-stats-main .stat-card .stat-icon-wrapper.icon-total {
    background: #e8f1ff;
    color: #1d4ed8;
}
.hero-stats-main .stat-card .stat-icon-wrapper.icon-companies {
    background: #eaf8ff;
    color: #0ea5e9;
}
.hero-stats-main .stat-card .stat-icon-wrapper.icon-countries {
    background: #f2efff;
    color: #4338ca;
}

