
/* =========================================================
   CLASSIQ STYLE — EDITORIAL INTELLIGENCE BAR
   Brand: Cyan · Black · Restrained Gold
   Typography: Manrope
   ========================================================= */

.classiq-topbar {
    --topbar-bg: var(--cq-black, #0A0D0F);
    --topbar-text: var(--cq-ivory, #F5F5F1);
    --topbar-muted: rgba(245, 245, 241, 0.62);
    --topbar-line: rgba(255, 255, 255, 0.12);
    --topbar-cyan: var(--cq-cyan, #00D5E8);
    --topbar-gold: var(--cq-gold, #C6A15B);

    position: relative;
    z-index: 1000;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 0;

    background: var(--topbar-bg);
    color: var(--topbar-text);
    border-bottom: 1px solid var(--topbar-line);

    font-family: var(--cq-font-sans, "Manrope", Arial, sans-serif);
    isolation: isolate;
}

/* Fine editorial signal line */
.classiq-topbar::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--topbar-cyan) 18%,
        rgba(0, 213, 232, 0.18) 56%,
        var(--topbar-gold) 100%
    );
    pointer-events: none;
    opacity: 0.75;
}

/* =========================================================
   INNER GRID
   ========================================================= */

.classiq-topbar__inner {
    width: min(1600px, calc(100% - 64px));
    min-height: 38px;
    margin-inline: auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(16px, 2.2vw, 34px);
}

/* =========================================================
   SHARED INFORMATION STYLE
   ========================================================= */

.classiq-topbar__item {
    min-width: 0;
    min-height: 38px;

    display: flex;
    align-items: center;
    white-space: nowrap;

    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

/* =========================================================
   LOCATION
   ========================================================= */

.classiq-topbar__location {
    justify-self: start;
    gap: 7px;
    color: var(--topbar-text);
}

.classiq-topbar__location > span:first-child {
    color: var(--topbar-cyan);
}

.classiq-topbar__dot {
    flex: 0 0 3px;
    width: 3px;
    height: 3px;
    margin: 0 1px;

    border-radius: 50%;
    background: var(--topbar-gold);
    box-shadow: 0 0 7px rgba(198, 161, 91, 0.3);
}

/* =========================================================
   DATE
   ========================================================= */

.classiq-topbar__date {
    justify-self: center;
    color: var(--topbar-muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.classiq-topbar__date time {
    font: inherit;
}

/* =========================================================
   BRAND SIGNATURE
   ========================================================= */

.classiq-topbar__club {
    justify-self: center;
    color: var(--topbar-text);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;

    transition: color 180ms ease;
}

.classiq-topbar__club:hover {
    color: var(--topbar-gold);
}

/* =========================================================
   WEATHER — LIVE DATA PANEL
   ========================================================= */

.classiq-topbar__weather {
    position: relative;
    justify-self: end;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 0;
    min-height: 38px;
    padding: 0 0 0 16px;

    overflow: hidden;
    border-left: 1px solid var(--topbar-line);

    background: transparent;
    color: var(--topbar-text);
}

/* Small cyan live-data marker */
.classiq-topbar__weather::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;

    width: 3px;
    height: 3px;
    border-radius: 50%;

    background: var(--topbar-cyan);
    box-shadow: 0 0 8px rgba(0, 213, 232, 0.55);

    transform: translateY(-50%);
    pointer-events: none;
}

.classiq-topbar__weather > span {
    position: relative;
    z-index: 1;
}

.classiq-topbar__temperature {
    color: var(--topbar-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.classiq-topbar__separator {
    flex: 0 0 1px;
    width: 1px;
    height: 12px;
    margin: 0 1px;
    background: var(--topbar-line);
}

.classiq-topbar__condition {
    color: var(--topbar-muted);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.11em;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .classiq-topbar__inner {
        width: calc(100% - 40px);
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: 18px;
    }

    .classiq-topbar__club {
        display: none;
    }

    .classiq-topbar__date {
        justify-self: center;
    }

    .classiq-topbar__weather {
        justify-self: end;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {
    .classiq-topbar,
    .classiq-topbar__inner,
    .classiq-topbar__item,
    .classiq-topbar__weather {
        min-height: 35px;
    }

    .classiq-topbar__inner {
        width: calc(100% - 28px);
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .classiq-topbar__item {
        font-size: 8px;
        letter-spacing: 0.1em;
    }

    .classiq-topbar__location {
        gap: 5px;
    }

    .classiq-topbar__date,
    .classiq-topbar__club {
        display: none;
    }

    .classiq-topbar__weather {
        flex: 0 0 auto;
        gap: 7px;
        padding-left: 13px;
    }

    .classiq-topbar__weather::before {
        left: 3px;
    }

    .classiq-topbar__temperature {
        font-size: 11px;
    }

    .classiq-topbar__condition {
        display: none;
    }

    .classiq-topbar__separator,
    .classiq-topbar__dot {
        display: none;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .classiq-topbar__club {
        transition: none;
    }
}
