#Content {
    padding-top: 0;
}
.wpb_wrapper > div {
    margin-bottom: 0 !important;
}

.career-services-banner,
.career-services-intro,
.career-services-locations {
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-services-banner, section.career-services-intro {
    display: none;
}


/* Banner Section */
.career-services-banner {
    position: relative;
    width: 100%;
	padding: 2em 0;
}

.banner-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 92, 27, 0.8) 0%, rgba(243, 112, 68, 0.7) 50%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: 0 40px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Introduction Section */
.career-services-intro {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0 0;
    position: relative;
}
.intro-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.6rem !important;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.7;
    position: relative;
    padding-bottom: 20px;
}

.intro-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #FF5C1B;
    border-radius: 2px;
}

.intro-content p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Map Section */
.career-services-map {
    width: 100%;
    padding: 60px 0;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    min-height: 650px;
    background: linear-gradient(135deg, #d8d8d8 0%, #c9c9c9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FF5C1B, #f37044);
    opacity: 0.1;
    z-index: 0;
}

/* Vignette overlay on map corners */
.map-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 80px 30px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 2;
}

.map-placeholder p {
    color: #555;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}


/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 30px;
    right: 40px;
    background: white;
    padding: 16px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1;
    border: 1px solid #e0e0e0;
}

/* Custom Marker Hover Effect */
.custom-marker svg {
    transition: transform 0.2s ease;
    transform-origin: bottom center;
}

.custom-marker:hover svg {
    transform: scale(1.3);
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 14px 32px;
    background: white;
    color: #FF5C1B;
    border: 2px solid #FF5C1B;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-button:hover {
    background: #fff5f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 92, 27, 0.2);
}

.tab-button.active {
    background: linear-gradient(135deg, #FF5C1B 0%, #f37044 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 92, 27, 0.35);
}

/* Tab Panel */
.tab-panel:not(.active) {
    display: none !important;
}

.tab-panel.active {
    display: flex;
}

/* Mobile Region Title - Hidden on Desktop */
.mobile-region-title {
    display: none;
}

/* Location Finder Section */
.career-services-locations {
    padding: 80px 0;
    background: white;
}

.career-services-locations h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 50px;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    padding-bottom: 20px;
}

.career-services-locations h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FF5C1B, #f37044);
    border-radius: 2px;
}

/* Tab Content Grid */
.regions-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

/* Region Column */
.region-column {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    width: 100%;
}

.region-column:hover {
    box-shadow: 0 12px 32px rgba(255, 92, 27, 0.15);
    transform: translateY(-8px);
    border-color: #FF5C1B;
}

/* Centres Section */
.centres-section {
    margin-bottom: 0;
    flex-grow: 1;
    padding: 25px 20px 0;
}

.centres-section h4 {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 18px;
    font-weight: 700;
    border-bottom: 2px solid #FF5C1B;
    padding-bottom: 10px;
    letter-spacing: 0.3px;
}

/* Centre Item */
.centre-item {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.centre-map {
    flex: 0 0 40%;
}

.centre-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1rem;
    border: 1px solid #dee2e6;
}

.centre-info {
    flex: 1;
}

.centre-info h5 {
    color: #FF5C1B;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.centre-info h5:hover {
    color: #d64d16;
    transform: translateX(4px);
}

.centre-info p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* e2i Table */
.e2i-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.e2i-table td {
    padding: 10px;
    vertical-align: top;
    background: transparent !important;
    border: none !important;
	 border-bottom: 1px solid #e9ecef !important;
}


.e2i-table td:first-child {
    width: 40px;
    text-align: center;
    color: #FF5C1B;
    font-size: 1.2rem;
    vertical-align: middle;
}

.e2i-table td:last-child {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.e2i-table strong {
    color: #222;
    display: block;
    margin-bottom: 5px;
}

.centres-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.centres-list li {
    padding: 12px 14px;
    background: #f8f9fa;
    border-left: 4px solid #FF5C1B;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.centres-list li:hover {
    background: #fff;
    transform: translateX(6px);
    box-shadow: 0 2px 8px rgba(255, 92, 27, 0.15);
    border-left-width: 5px;
}

/* Events Section */
.events-section {
    margin-bottom: 60px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.events-section h4 {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.events-placeholder {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding: 15px 0;
}

.events-placeholder p {
    margin: 0;
    font-style: italic;
}

/* View All Events Link */
.view-all-events {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF5C1B;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    margin-top: 10px;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.view-all-events::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.view-all-events::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF5C1B 0%, #f37044 100%);
    transition: width 0.3s ease;
}

.view-all-events:hover {
    color: #f37044;
}

.view-all-events:hover::after {
    transform: translateX(5px);
}

.view-all-events:hover::before {
    width: calc(100% - 30px);
}

.events-section {
    text-align: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: auto;
    padding: 0 10px 25px;
}

.cta-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: white;
    color: #FF5C1B;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #FF5C1B;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.3px;
    max-width: 100%;
    width: auto;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FF5C1B 0%, #f37044 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 92, 27, 0.35);
    border-color: #FF5C1B;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .regions-grid {
        justify-content: center;
    }

    .region-column {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Hide Tab Navigation on Mobile */
    .tab-navigation {
        display: none;
    }

    /* Show All Regions on Mobile */
    .tab-panel:not(.active) {
        display: flex !important;
    }

    /* Vertical Layout for All Regions */
    .regions-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Show Mobile Region Titles */
    .mobile-region-title {
        display: block;
        text-align: center;
        padding: 20px;
        background: linear-gradient(135deg, #FF5C1B 0%, #f37044 100%);
        color: white;
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        margin: 0;
        border-radius: 12px 12px 0 0;
    }

    .region-column {
        max-width: 100%;
    }

    /* Centre Item - Stacked Layout on Mobile */
    .centre-item {
        flex-direction: column;
        gap: 15px;
    }

    .centre-map {
        flex: 1 1 auto;
    }

    .centre-map iframe {
        height: 250px;
    }

    .centre-info h5,
    .centre-info p {
        text-align: center;
    }

    .banner-content h1 {
        font-size: 2.2rem;
        padding: 0 25px;
    }

    .career-services-intro {
        padding: 60px 0;
    }

    .intro-text {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .intro-content p {
        font-size: 1.05rem;
    }

    .career-services-map {
        padding: 20px 0;
    }

    .map-container {
        padding: 0 8px;
    }

    .map-placeholder {
        height: 320px;
        min-height: 0;
        aspect-ratio: unset;
        border-radius: 8px;
    }

    /* Allow vertical page scroll and pinch-zoom on the Mapbox canvas on mobile */
    .mapboxgl-canvas {
        touch-action: pan-y pinch-zoom;
    }

    .map-hint {
        display: none !important;
    }

    .custom-marker {
        width: 14px !important;
        height: 19px !important;
    }

    .custom-marker svg {
        width: 14px !important;
        height: 19px !important;
    }

    .region-label {
        display: none !important;
    }

    .mapboxgl-popup {
        max-width: 180px !important;
    }

    .mapboxgl-popup-content {
        padding: 6px 22px 6px 8px !important;
    }

    .mapboxgl-popup-content h3 {
        font-size: 0.78rem !important;
        margin-bottom: 3px !important;
    }

    .mapboxgl-popup-content p {
        font-size: 0.7rem !important;
        margin-top: 2px !important;
    }

    .map-legend {
        padding: 8px 10px;
        bottom: 12px;
        right: 8px;
    }

    .map-legend h4 {
        font-size: 0.7rem !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.1 !important;
    }

    /* gap between the 3 legend rows */
    .map-legend > div {
        gap: 4px !important;
    }

    /* gap between pin icon and label text */
    .map-legend > div > div {
        gap: 6px !important;
    }

    /* icon wrapper height */
    .map-legend > div > div > div {
        height: 18px !important;
        width: 14px !important;
    }

    .map-legend svg {
        width: 14px !important;
        height: 18px !important;
    }

    .map-legend span {
        font-size: 0.65rem !important;
        line-height: 1.1 !important;
    }

    .map-placeholder p {
        font-size: 1.1rem;
    }

    .career-services-locations {
        padding: 60px 0;
    }

    .career-services-locations h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .regions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .region-column {
        padding: 0;
    }

    .centres-section {
        padding: 30px 20px 20px;
    }

    .events-section {
        margin-left: 20px;
        margin-right: 20px;
    }

    .cta-section {
        padding: 0 20px 20px 20px;
    }

    .vc_column_container>.vc_column-inner {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Mobile Region Title - Smaller */
    .mobile-region-title {
        font-size: 1.4rem;
        padding: 18px;
    }

    /* Centre Item - Even Smaller Map */
    .centre-map iframe {
        height: 200px;
    }

    .centre-info h5 {
        font-size: 1.1rem;
    }

    .banner-content h1 {
        font-size: 1.6rem;
        padding: 0 20px;
    }

    .career-services-intro {
        padding: 50px 0;
    }

    .intro-text {
        font-size: 1.1rem;
        padding-bottom: 15px;
    }

    .intro-text::after {
        width: 60px;
        height: 2px;
    }

    .intro-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .career-services-map {
        padding: 10px 0;
    }

    .map-container {
        padding: 0;
    }

    .map-placeholder {
        height: 260px;
        min-height: 0;
        aspect-ratio: unset;
        border-radius: 0;
    }

    .map-placeholder p {
        font-size: 1rem;
    }

    .custom-marker {
        width: 12px !important;
        height: 16px !important;
    }

    .custom-marker svg {
        width: 12px !important;
        height: 16px !important;
    }

    .region-label {
        display: none !important;
    }
    
    .map-legend {
        bottom: 10px;
        right: 5px;
        padding: 6px 8px;
    }

    .map-legend h4 {
        font-size: 0.6rem !important;
        margin: 0 0 3px 0 !important;
        line-height: 1.1 !important;
    }

    .map-legend > div {
        gap: 3px !important;
    }

    .map-legend > div > div {
        gap: 4px !important;
    }

    .map-legend > div > div > div {
        height: 14px !important;
        width: 11px !important;
    }

    .map-legend svg {
        width: 11px !important;
        height: 14px !important;
    }

    .map-legend span {
        font-size: 0.55rem !important;
        line-height: 1.1 !important;
    }

    .career-services-locations {
        padding: 50px 0;
    }

    .career-services-locations h2 {
        font-size: 1.5rem;
        margin-bottom: 35px;
    }

    .career-services-locations h2::after {
        width: 70px;
        height: 3px;
    }

    .regions-grid {
        gap: 25px;
    }

    .centres-section {
        padding: 25px 15px 15px;
    }

    .events-section,
    .cta-section {
        padding: 15px;
    }

    .centres-section h4,
    .events-section h4 {
        font-size: 1.05rem;
    }

    .centres-list li {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .vc_column_container>.vc_column-inner {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
}

.event-list-post-grid {
  display:none !important;
}

.mapboxgl-popup-close-button {
    padding: .2em .4em;
}

.mapboxgl-ctrl-attrib-button {
    padding: 0;
}

.mapboxgl-popup-content {
    padding: 10px 18px 10px 10px !important;
    outline: none !important;
}