.hub-page {
    color: #111827;
    background: #f9fafb;
}

.hub-hero {
    position: relative;
    height: 639px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, #1ea69e 0%, #0d5b57 100%);
}

.hub-hero-copy {
    position: relative;
    z-index: 2;
    width: 760px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding-top: 145px;
    text-align: center;
}

.hub-hero h1 {
    margin: 0;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.45px;
}

.hub-hero-copy > p {
    margin: 24px 0 30px;
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 26px;
}

.hub-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.hub-hero-actions a {
    display: inline-flex;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
}

.hub-hero-actions i {
    margin-right: 8px;
}

.hub-primary-button {
    color: #fff;
    background: #fbbf24;
}

.hub-primary-button:hover {
    color: #fff;
    background: #f59e0b;
}

.hub-secondary-button {
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
}

.hub-secondary-button:hover {
    color: #fff;
    background: rgba(255,255,255,.18);
}

.hub-secondary-button i {
    margin: 0 0 0 7px;
}

.hub-hero-mark {
    position: absolute;
    right: 70px;
    bottom: 10px;
    width: 462px;
    height: 438px;
    object-fit: contain;
}

.hub-locations {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #f9fafb;
}

.hub-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.hub-location-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    transition: transform .3s;
}

.hub-location-card:hover {
    transform: translateY(-8px);
}

.hub-location-image {
    position: relative;
    height: 224px;
    overflow: hidden;
}

.hub-location-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s;
}

.hub-location-card:hover .hub-location-image > img {
    transform: scale(1.05);
}

.hub-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.18) 52%, transparent);
}

.hub-image-copy {
    position: absolute;
    bottom: 16px;
    left: 20px;
    color: #fff;
}

.hub-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
}

.hub-badge.blue {
    background: #2563eb;
}

.hub-badge.green {
    background: #059669;
}

.hub-badge.orange {
    background: #ea580c;
}

.hub-image-copy h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
}

.hub-location-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px;
}

.hub-address {
    display: flex;
    min-height: 49px;
    align-items: flex-start;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    color: #4b5563;
    background: #f9fafb;
    font-size: 13px;
    line-height: 20px;
}

.hub-address span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hub-address i {
    margin: 1px 10px 0 0;
    color: #2563eb;
    font-size: 17px;
}

.green-theme .hub-address i {
    color: #059669;
}

.orange-theme .hub-address i {
    color: #ea580c;
}

.hub-description {
    display: -webkit-box;
    min-height: 88px;
    margin: 0;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    line-height: 22.75px;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.hub-location-body ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    margin-top: 16px;
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    list-style: none;
}

.hub-location-body li {
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hub-location-body li i {
    margin-right: 9px;
    color: #2563eb;
}

.green-theme li i {
    color: #059669;
}

.orange-theme li i {
    color: #ea580c;
}

.hub-location-body > a {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: 12px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 16px;
    font-weight: 700;
}

.green-theme > a {
    color: #047857;
    background: #ecfdf5;
}

.orange-theme > a {
    color: #c2410c;
    background: #fff7ed;
}

.hub-events-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #fff;
}

.hub-events-inner {
    position: relative;
}

.hub-events-heading {
    text-align: center;
}

.hub-events-heading h2 {
    margin: 0 0 18px;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.hub-events-heading p {
    max-width: 690px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 18px;
    line-height: 28px;
}

.hub-event-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 48px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
}

.hub-event-filters {
    display: flex;
    gap: 16px;
}

.hub-event-filters select {
    height: 44px;
    line-height: 44px;
    padding: 0 38px 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    outline: 0;
    color: #374151;
    background-color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.hub-event-filters select:nth-child(1),
.hub-event-filters .portal-select-wrap:nth-child(1) {
    width: 200px;
}

.hub-event-filters select:nth-child(2),
.hub-event-filters .portal-select-wrap:nth-child(2) {
    width: 180px;
}

.hub-event-filters select:nth-child(3),
.hub-event-filters .portal-select-wrap:nth-child(3) {
    width: 150px;
}

.hub-event-filters select:nth-child(4),
.hub-event-filters .portal-select-wrap:nth-child(4) {
    width: 110px;
}

.hub-event-filters .portal-select-trigger {
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.hub-view-toggle {
    display: flex;
    padding: 4px;
    border-radius: 8px;
    background: #e5e7eb;
}

.hub-view-toggle button {
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    color: #4b5563;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
}

.hub-view-toggle button.active {
    color: #111827;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    font-weight: 700;
}

.hub-view-toggle i {
    margin-right: 7px;
}

.hub-event-list:not(.is-expanded) .hub-event-row.is-extra {
    display: none;
}

.hub-calendar {
    margin-top: 40px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.hub-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f5;
}

.hub-calendar-head strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    font-weight: 850;
}

.hub-calendar-head span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
}

.hub-calendar-modes {
    display: inline-flex;
    padding: 3px;
    border-radius: 8px;
    background: #f1f5f9;
}

.hub-calendar-modes button {
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    color: #64748b;
    background: transparent;
    font-size: 11px;
    font-weight: 750;
}

.hub-calendar-modes button.active {
    color: #fff;
    background: #2563eb;
}

.hub-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 12px 20px;
    border-bottom: 1px solid #eef2f5;
    color: #475569;
    font-size: 11px;
}

.hub-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hub-calendar-legend i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.hub-calendar-legend i.coworking { background: #2563eb; }
.hub-calendar-legend i.service { background: #16a34a; }
.hub-calendar-legend i.local { background: #f97316; }

.hub-calendar-weekdays,
.hub-calendar-month {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hub-calendar-weekdays div {
    padding: 10px;
    border-right: 1px solid #eef2f5;
    color: #64748b;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.hub-calendar-day {
    min-height: 108px;
    padding: 8px;
    border-top: 1px solid #eef2f5;
    border-right: 1px solid #eef2f5;
    background: #fff;
}

.hub-calendar-day.is-outside {
    color: #cbd5e1;
    background: #fbfcfd;
}

.hub-calendar-day-number {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.hub-calendar-event {
    display: block;
    overflow: hidden;
    margin: 4px 0;
    padding: 6px 7px;
    border-left: 3px solid;
    border-radius: 5px;
    color: inherit;
    font-size: 11px;
    font-weight: 750;
    line-height: 16px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .3s;
}

.hub-calendar-event.coworking { border-color: #2563eb; color: #1e40af; background: #eff6ff; }
.hub-calendar-event.service { border-color: #16a34a; color: #166534; background: #f0fdf4; }
.hub-calendar-event.local { border-color: #f97316; color: #9a3412; background: #fff7ed; }

.hub-calendar-event:hover {
    white-space: normal;
    box-shadow: 0 7px 18px rgba(15,23,42,.12);
    transform: translateY(-1px);
}

.hub-calendar-agenda {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
}

.hub-calendar-agenda-time {
    padding: 16px;
    border-right: 1px solid #eef2f5;
    border-bottom: 1px solid #eef2f5;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.hub-calendar-agenda-events {
    min-height: 72px;
    padding: 10px 14px;
    border-bottom: 1px solid #eef2f5;
}

.hub-calendar-empty {
    padding: 40px 20px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.hub-event-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.hub-event-row {
    position: relative;
    display: grid;
    grid-template-columns: 256px 1fr 180px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.hub-event-date {
    display: flex;
    height: 204px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-right: 1px solid;
}

.blue-date {
    border-color: #dbeafe;
    background: #eff6ff;
}

.green-date {
    border-color: #d1fae5;
    background: #ecfdf5;
}

.orange-date {
    border-color: #ffedd5;
    background: #fff7ed;
}

.hub-event-date span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .7px;
}

.blue-date span {
    color: #2563eb;
}

.green-date span {
    color: #059669;
}

.orange-date span {
    color: #ea580c;
}

.hub-event-date strong {
    font-size: 48px;
    font-weight: 900;
    line-height: 52px;
}

.hub-event-date time {
    margin-top: 7px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.hub-event-info {
    display: flex;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
}

.hub-event-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.hub-event-tags span {
    padding: 4px 10px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: 11px;
    font-weight: 700;
}

.hub-event-tags span+span {
    color: #4b5563;
    background: #f3f4f6;
}

.green-tags span {
    color: #047857;
    background: #d1fae5;
}

.orange-tags span {
    color: #c2410c;
    background: #ffedd5;
}

.hub-event-info h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.hub-event-info > p {
    display: flex;
    gap: 25px;
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.hub-event-info > p i {
    margin-right: 7px;
}

.hub-attendees {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.hub-attendees img {
    width: 32px;
    height: 32px;
    margin-right: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
}

.hub-attendees em {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    margin-left: 6px;
    border-radius: 50%;
    color: #4b5563;
    background: #f3f4f6;
    font-size: 10px;
    font-style: normal;
}

.event-status {
    margin-top: 18px;
    font-size: 13px;
}

.green-status {
    color: #059669;
}

.orange-status {
    color: #ea580c;
}

.hub-event-register {
    display: inline-flex;
    width: 160px;
    height: 40px;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.blue-button {
    background: #2563eb;
}

.green-button {
    background: #059669;
}

.orange-button {
    background: #ea580c;
}

.load-hub-events {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    margin: 40px auto 0;
    padding: 0 22px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    color: #374151;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.hub-booking-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #0f172a;
}

.booking-layout {
    display: grid;
    height: 100%;
    grid-template-columns: 1fr 610px;
    align-items: center;
    gap: 82px;
}

.booking-copy {
    position: relative;
    z-index: 2;
}

.booking-eyebrow {
    color: #60a5fa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.booking-copy h2 {
    margin: 16px 0 25px;
    font-size: 34px;
    font-weight: 800;
    line-height: 42px;
}

.booking-copy > p {
    max-width: 500px;
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 23px;
}

.booking-copy ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.booking-copy li {
    color: #cbd5e1;
    font-size: 13px;
}

.booking-copy li i {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    margin-right: 10px;
    border-radius: 50%;
    color: #60a5fa;
    background: rgba(59,130,246,.18);
}

.booking-note {
    display: flex;
    max-width: 510px;
    padding: 14px 16px;
    border: 1px solid rgba(251,146,60,.45);
    border-radius: 10px;
    color: #fdba74;
    background: rgba(124,45,18,.2);
    font-size: 11px;
    line-height: 17px;
}

.booking-note i {
    margin: 2px 10px 0 0;
}

.booking-form-card {
    position: relative;
    z-index: 2;
    height: 500px;
    overflow: hidden;
    padding: 30px;
    border-radius: 18px;
    color: #111827;
    background: #fff;
    box-shadow: 0 22px 40px rgba(0,0,0,.18);
}

.booking-form-card h3 {
    margin: 0 0 25px;
    font-size: 20px;
    font-weight: 700;
}

.booking-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.booking-form-card label {
    color: #6b7280;
    font-size: 11px;
}

.booking-form-card select,.booking-form-card input,.booking-form-card textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.booking-form-card select,.booking-form-card input {
    height: 42px;
    line-height: 42px;
    padding: 0 12px;
}

.booking-form-card textarea {
    height: 72px;
    padding: 10px;
    resize: none;
}

.booking-form-card form > label {
    display: block;
    margin-top: 18px;
}

.booking-form-card form > button {
    width: 100%;
    height: 45px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    color: #9ca3af;
    background: #e5e7eb;
    font-size: 13px;
    font-weight: 700;
}

.booking-login-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255,255,255,.87);
    backdrop-filter: blur(2px);
    text-align: center;
}

.booking-login-overlay > span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #2563eb;
    background: #dbeafe;
    font-size: 23px;
}

.booking-login-overlay h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
}

.booking-login-overlay p {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 12px;
    line-height: 19px;
}

.booking-login-overlay button,
.booking-login-overlay > a {
    display: inline-flex;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #2563eb;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.booking-hub-picks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0 4px;
}

.booking-hub-picks > p {
    margin: 0 0 4px;
    color: #6b7280;
    font-size: 13px;
}

.booking-hub-picks .hub-event-register {
    width: 100%;
    text-align: center;
}

.booking-glow {
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .3;
}

.glow-blue {
    top: -100px;
    right: -130px;
    background: #2563eb;
}

.glow-orange {
    bottom: -160px;
    left: -140px;
    background: #f97316;
}

.hub-pre-footer {
    height: 84px;
    background: #fff;
}

@media (max-width: 1199.98px) {
    .hub-hero-mark {
        right:-30px;
        width: 390px
    }

    .hub-locations,.hub-events-section,.hub-booking-section {
        height: auto;
        padding: 64px 0
    }

    .hub-location-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .hub-location-card {
        height: 614px
    }

    .booking-layout {
        grid-template-columns: 1fr 520px;
        gap: 45px
    }

    .hub-event-row {
        grid-template-columns: 210px 1fr 175px
    }

    .hub-event-toolbar {
        height: auto;
        gap: 18px
    }

    .hub-event-filters {
        flex-wrap: wrap
    }
}

@media (max-width: 991.98px) {
    .hub-hero h1 {
        font-size:48px
    }

    .hub-location-grid {
        grid-template-columns: 1fr
    }

    .hub-event-row {
        height: auto;
        min-height: 206px;
        grid-template-columns: 180px 1fr
    }

    .hub-event-register {
        position: absolute;
        right: 20px;
        bottom: 20px
    }

    .booking-layout {
        grid-template-columns: 1fr
    }

    .booking-form-card {
        height: 500px
    }

    .hub-booking-section {
        padding: 72px 0
    }

    .booking-copy {
        max-width: 620px
    }
}

@media (max-width: 767.98px) {
    .hub-hero {
        height:535px
    }

    .hub-hero-copy {
        padding-top: 83px
    }

    .hub-hero h1 {
        font-size: 38px
    }

    .hub-hero-copy>p {
        font-size: 14px;
        line-height: 22px
    }

    .hub-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px
    }

    .hub-hero-actions a {
        width: min(310px,100%)
    }

    .hub-hero-mark {
        right: -75px;
        width: 285px;
        height: 285px;
        opacity: .45
    }

    .hub-locations,.hub-events-section {
        padding: 48px 0
    }

    .hub-location-card {
        height: auto
    }

    .hub-location-body {
        height: 390px
    }

    .hub-events-heading {
        height: auto
    }

    .hub-events-heading h2 {
        font-size: 25px
    }

    .hub-events-heading p {
        font-size: 14px;
        line-height: 22px
    }

    .hub-event-toolbar {
        align-items: stretch;
        flex-direction: column;
        margin-top: 32px
    }

    .hub-event-filters {
        flex-direction: column
    }

    .hub-event-filters select,.hub-event-filters select:nth-child(n),
    .hub-event-filters .portal-select-wrap,
    .hub-event-filters .portal-select-wrap:nth-child(n) {
        width: 100%
    }

    .hub-view-toggle {
        align-self: flex-end
    }

    .hub-calendar-head {
        align-items: flex-start;
        flex-direction: column
    }

    .hub-calendar-modes {
        width: 100%
    }

    .hub-calendar-modes button {
        flex: 1
    }

    .hub-calendar {
        overflow-x: auto
    }

    .hub-calendar-weekdays,
    .hub-calendar-month {
        min-width: 720px
    }

    .hub-event-row {
        display: flex;
        min-height: 390px;
        flex-direction: column
    }

    .hub-event-date {
        width: 100%;
        height: 130px;
        border-right: 0;
        border-bottom: 1px solid
    }

    .hub-event-date strong {
        font-size: 38px;
        line-height: 40px
    }

    .hub-event-info {
        padding: 20px
    }

    .hub-event-info h3 {
        font-size: 17px;
        line-height: 24px
    }

    .hub-event-info>p {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px
    }

    .hub-event-register {
        right: 20px;
        bottom: 18px
    }

    .booking-copy h2 {
        font-size: 29px;
        line-height: 37px
    }

    .booking-form-card {
        height: 520px;
        padding: 22px
    }

    .booking-fields {
        grid-template-columns: 1fr
    }

    .booking-form-card form {
        opacity: .35
    }

    .hub-pre-footer {
        height: 48px
    }
}
