/* ============================================================
   LØBEKLUBBEN — PACE Design System v2.0
   Component styles: header → hero → features → sections → footer
   ============================================================ */

/* ============================================================
   HEADER
   ============================================================ */
.lb-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--lb-header-height);
    display: flex;
    align-items: center;
    background: var(--lb-dark-base);
    border-bottom: 1px solid var(--lb-dark-border);
    transition: background var(--lb-transition), box-shadow var(--lb-transition);
}

.lb-header.is-scrolled {
    background: var(--lb-glass-dark);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 var(--lb-dark-border-hi), 0 8px 40px rgba(0,0,0,0.5);
}

/* Orange accent line on bottom */
.lb-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--lb-orange) 0%,
        var(--lb-lime) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity var(--lb-transition);
}
.lb-header.is-scrolled::after { opacity: 1; }

.lb-header__inner {
    display: flex;
    align-items: center;
    gap: var(--lb-space-lg);
    height: 100%;
    width: 100%;
}

/* ── Logo ── */
.lb-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.lb-header__logo img,
.lb-header__logo .custom-logo {
    height: 38px;
    width: auto;
    display: block;
}

.lb-header__logo-icon svg { display: block; }

.lb-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.lb-header__logo-primary {
    font-family: var(--lb-font-display);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

/* ── Primary nav ── */
.lb-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.lb-nav__menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lb-nav__item { position: relative; }

.lb-nav__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    color: var(--lb-text-dim);
    font-family: var(--lb-font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--lb-radius-sm);
    transition: all var(--lb-transition-sm);
    text-decoration: none;
    white-space: nowrap;
}

.lb-nav__link:hover,
.current-menu-item > .lb-nav__link,
.current-page-ancestor > .lb-nav__link {
    color: #fff;
    background: rgba(255,255,255,0.07);
}

.lb-nav__link[aria-current="page"] {
    color: var(--lb-orange);
    background: rgba(255,77,0,0.1);
}

.lb-nav__dropdown-icon {
    font-size: 0.6rem;
    transition: transform var(--lb-transition-sm);
}
.lb-nav__item--has-dropdown:hover .lb-nav__dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown */
.lb-nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    background: var(--lb-dark-panel);
    border-radius: var(--lb-radius);
    border: 1px solid var(--lb-dark-border-hi);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--lb-transition);
    z-index: 100;
}
.lb-nav__item--has-dropdown:hover .lb-nav__dropdown,
.lb-nav__item--has-dropdown:focus-within .lb-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lb-nav__dropdown .lb-nav__item { width: 100%; }
.lb-nav__dropdown .lb-nav__link {
    color: var(--lb-text-dim);
    width: 100%;
}
.lb-nav__dropdown .lb-nav__link:hover {
    background: rgba(255,77,0,0.1);
    color: var(--lb-orange);
}

/* Header actions */
.lb-header__actions {
    display: flex;
    align-items: center;
    gap: var(--lb-space-sm);
    margin-left: auto;
}
.lb-header__user { display: flex; align-items: center; }
.lb-header__avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--lb-orange);
}

/* Mobile toggle */
.lb-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--lb-radius-sm);
    transition: background var(--lb-transition-sm);
}
.lb-nav__toggle:hover { background: rgba(255,255,255,0.07); }
.lb-nav__toggle-bar {
    display: block;
    width: 22px; height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: all var(--lb-transition);
}
.lb-nav__toggle[aria-expanded="true"] .lb-nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.lb-nav__toggle[aria-expanded="true"] .lb-nav__toggle-bar:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.lb-nav__toggle[aria-expanded="true"] .lb-nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Backdrop ── */
.lb-nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    pointer-events: none;
}
.lb-nav__backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

/* ── Mobile nav drawer — full-height, slides in from right ── */
.lb-nav__mobile {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 92vw);
    background: var(--lb-dark-surface);
    z-index: 999;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.32s var(--lb-ease);
    box-shadow: -16px 0 64px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
}
.lb-nav__mobile.is-open { transform: translateX(0); }

/* ── Drawer header ── */
.lb-nav__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 16px;
    height: var(--lb-header-height);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}
.lb-nav__mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}
.lb-nav__mobile-site-name {
    font-family: var(--lb-font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}
.lb-nav__mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    flex-shrink: 0;
}
.lb-nav__mobile-close:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* ── Scrollable body ── */
.lb-nav__mobile-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
}

/* ── Nav items ── */
.lb-nav__mobile-menu .lb-nav__item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lb-nav__mobile-menu .lb-nav__link {
    padding: 0 18px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--lb-font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    border-radius: 0;
    border-left: 3px solid transparent;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.lb-nav__mobile-menu .lb-nav__link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.lb-nav__mobile-menu .current-menu-item > .lb-nav__link,
.lb-nav__mobile-menu .current-page-ancestor > .lb-nav__link {
    color: var(--lb-orange);
    border-left-color: var(--lb-orange);
    background: rgba(255,77,0,0.07);
}

/* Items with children: row layout so link + toggle button sit side-by-side */
.lb-nav__mobile-menu .lb-nav__item--has-dropdown {
    flex-wrap: wrap;
}
.lb-nav__mobile-menu .lb-nav__item--has-dropdown > .lb-nav__link {
    flex: 1;
    min-width: 0;
}

/* Hide the chevron icon that LB_Nav_Walker injects into the link — mobile uses a separate button */
.lb-nav__mobile-menu .lb-nav__link .lb-nav__dropdown-icon {
    display: none;
}

/* Mobile sub-menu toggle button */
.lb-nav__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-height: 46px;
    flex-shrink: 0;
    background: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    color: rgba(255,255,255,0.35);
    transition: color 0.15s ease, background 0.15s ease;
}
.lb-nav__mobile-toggle:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.04);
}
.lb-nav__mobile-toggle .lb-nav__dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.28s var(--lb-ease);
}
.lb-nav__item--has-dropdown.is-open > .lb-nav__mobile-toggle .lb-nav__dropdown-icon {
    transform: rotate(180deg);
}

/* Sub-menu: collapsed by default */
.lb-nav__mobile-menu .lb-nav__dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    flex-basis: 100%;
    background: rgba(0,0,0,0.18);
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: max-height 0.28s var(--lb-ease), opacity 0.22s ease, visibility 0s 0.28s;
}

/* Sub-menu: expanded */
.lb-nav__mobile-menu .lb-nav__item--has-dropdown.is-open > .lb-nav__dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    transition: max-height 0.28s var(--lb-ease), opacity 0.22s ease, visibility 0s;
}

.lb-nav__mobile-menu .lb-nav__dropdown .lb-nav__link {
    min-height: 40px;
    padding-left: 32px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
}

.lb-nav__mobile-menu .lb-nav__dropdown .lb-nav__link:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.04);
}

/* ── Actions at bottom ── */
.lb-nav__mobile-actions {
    padding: 14px 14px 12px;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: auto;
}

/* Two-column button row */
.lb-nav__mobile-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.lb-nav__mobile-btn-row .lb-btn {
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    padding: 0 10px;
    min-height: 38px;
}


/* ============================================================
   HERO — "Night Race"
   ============================================================ */
.lb-hero {
    position: relative;
    min-height: min(92vh, 720px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--lb-dark-base);
}

/* Track lines decorative pattern */
.lb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -14deg,
            transparent,
            transparent 48px,
            rgba(255, 255, 255, 0.025) 48px,
            rgba(255, 255, 255, 0.025) 50px
        );
    pointer-events: none;
    z-index: 1;
}

.lb-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.lb-hero__bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: saturate(0.7) brightness(0.4);
}
.lb-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 50%, rgba(255,77,0,0.15) 0%, transparent 60%),
        linear-gradient(135deg, rgba(7,9,15,0.97) 0%, rgba(7,9,15,0.75) 55%, rgba(7,9,15,0.45) 100%);
}

/* Large decorative pace number */
.lb-hero::after {
    content: '5K';
    position: absolute;
    right: -2%;
    bottom: -8%;
    font-family: var(--lb-font-display);
    font-size: clamp(12rem, 22vw, 22rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: rgba(255,255,255,0.025);
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.lb-hero__content {
    position: relative;
    z-index: 2;
    padding: var(--lb-space-2xl) 0;
    width: 100%;
}

.lb-hero__text { max-width: 700px; }

.lb-hero__kicker {
    margin-bottom: var(--lb-space-lg);
}

/* Animate in */
@media (prefers-reduced-motion: no-preference) {
    .lb-hero__kicker   { animation: lb-fade-up 0.6s var(--lb-ease) 0.1s both; }
    .lb-hero__title    { animation: lb-fade-up 0.7s var(--lb-ease) 0.22s both; }
    .lb-hero__subtitle { animation: lb-fade-up 0.7s var(--lb-ease) 0.36s both; }
    .lb-hero__actions  { animation: lb-fade-up 0.7s var(--lb-ease) 0.48s both; }
    .lb-hero__stats    { animation: lb-fade-up 0.7s var(--lb-ease) 0.60s both; }
}

@keyframes lb-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lb-hero__title {
    font-family: var(--lb-font-display);
    font-size: clamp(3rem, 8.5vw, 7.5rem);
    font-weight: 900;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    line-height: 0.95;
    color: #fff;
    margin-bottom: var(--lb-space-lg);
}

.lb-hero__title span {
    color: var(--lb-orange);
    display: block;
    /* Italic slash accent */
    font-style: italic;
}

.lb-hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    color: var(--lb-text-dim);
    line-height: 1.65;
    margin-bottom: var(--lb-space-xl);
    max-width: 500px;
    letter-spacing: 0.01em;
}

.lb-hero__actions {
    display: flex;
    gap: var(--lb-space-md);
    flex-wrap: wrap;
    margin-bottom: var(--lb-space-2xl);
}

/* Stats row */
.lb-hero__stats {
    display: flex;
    align-items: center;
    gap: var(--lb-space-xl);
    flex-wrap: wrap;
    padding-top: var(--lb-space-lg);
    border-top: 1px solid var(--lb-dark-border-hi);
}
.lb-hero__stat { display: flex; flex-direction: column; gap: 2px; }
.lb-hero__stat-num {
    font-family: var(--lb-font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--lb-lime);
    line-height: 1;
    letter-spacing: 0.02em;
}
.lb-hero__stat span {
    font-family: var(--lb-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lb-text-dim);
}
.lb-hero__stat-divider {
    width: 1px; height: 44px;
    background: var(--lb-dark-border-hi);
}

/* Sharp diagonal bottom cut */
.lb-hero__cut {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: var(--lb-cut-height);
    background: var(--lb-bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 3;
}


/* ============================================================
   FEATURE CARDS — angled icon boxes
   ============================================================ */
.lb-features {
    background: var(--lb-bg);
    position: relative;
    z-index: 2;
}

.lb-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lb-space-md);
}

.lb-feature-card {
    display: flex;
    flex-direction: column;
    gap: var(--lb-space-md);
    background: var(--lb-bg-card);
    border-radius: var(--lb-radius-lg);
    padding: var(--lb-space-xl) var(--lb-space-lg) var(--lb-space-lg);
    text-decoration: none;
    color: var(--lb-text);
    border: 1px solid var(--lb-border);
    box-shadow: var(--lb-shadow-sm);
    transition: all var(--lb-transition);
    position: relative;
    overflow: hidden;
}

/* Top accent bar */
.lb-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    transition: background var(--lb-transition);
}
.lb-feature-card:hover::before { background: var(--lb-orange); }

.lb-feature-card--green:hover::before  { background: var(--lb-green); }
.lb-feature-card--blue:hover::before   { background: var(--lb-blue); }

.lb-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lb-shadow-lg);
    border-color: rgba(255,77,0,0.15);
    color: var(--lb-text);
}

/* Number label — large decorative */
.lb-feature-card__num {
    position: absolute;
    top: var(--lb-space-md);
    right: var(--lb-space-lg);
    font-family: var(--lb-font-display);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(17,24,39,0.05);
    letter-spacing: -0.02em;
    user-select: none;
    transition: color var(--lb-transition);
}
.lb-feature-card:hover .lb-feature-card__num {
    color: rgba(255,77,0,0.06);
}

.lb-feature-card__icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: var(--lb-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform var(--lb-transition-sm);
}
.lb-feature-card:hover .lb-feature-card__icon {
    transform: scale(1.1) rotate(-3deg);
}

.lb-feature-card__icon--orange { background: rgba(255,77,0,0.1);  color: var(--lb-orange); }
.lb-feature-card__icon--green  { background: rgba(0,212,106,0.1); color: var(--lb-green); }
.lb-feature-card__icon--blue   { background: rgba(26,143,255,0.1);color: var(--lb-blue); }

.lb-feature-card__title {
    font-family: var(--lb-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lb-text);
    margin-bottom: 4px;
}
.lb-feature-card__body p {
    font-size: 0.875rem;
    color: var(--lb-text-secondary);
    margin: 0;
    line-height: 1.5;
}
.lb-feature-card__arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--lb-space-md);
    border-top: 1px solid var(--lb-separator);
    font-family: var(--lb-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lb-text-muted);
    transition: color var(--lb-transition-sm);
}
.lb-feature-card:hover .lb-feature-card__arrow { color: var(--lb-orange); }


/* ============================================================
   SECTION SEPARATORS — diagonal cuts
   ============================================================ */
.lb-cut-down {
    width: 100%;
    height: var(--lb-cut-height);
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    margin-bottom: calc(-1 * var(--lb-cut-height) + 2px);
    position: relative;
    z-index: 1;
}
.lb-cut-up {
    width: 100%;
    height: var(--lb-cut-height);
    background: inherit;
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
    margin-top: calc(-1 * var(--lb-cut-height) + 2px);
    position: relative;
    z-index: 1;
}


/* ============================================================
   PLUGIN SECTIONS — neutral white bg for plugin content
   ============================================================ */
.lb-upcoming    { background: var(--lb-bg); }
.lb-clubs-preview { background: var(--lb-bg-card); }


/* ============================================================
   ROUTE PLANNER TEASER
   ============================================================ */
.lb-route-teaser { background: var(--lb-bg); }

.lb-route-teaser__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lb-space-2xl);
    align-items: center;
}
.lb-route-teaser__text h2 span { color: var(--lb-orange); }

.lb-route-teaser__features {
    margin: var(--lb-space-lg) 0 var(--lb-space-xl);
    display: flex; flex-direction: column; gap: var(--lb-space-sm);
}
.lb-route-teaser__features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem; color: var(--lb-text-secondary);
}
.lb-route-teaser__features li i { color: var(--lb-green); font-size: 0.85rem; }

.lb-route-teaser__preview {
    border-radius: var(--lb-radius-xl);
    overflow: hidden;
    box-shadow: var(--lb-shadow-lg);
    min-height: 300px;
    background: var(--lb-bg-panel);
    border: 1px solid var(--lb-border);
    display: flex; align-items: center; justify-content: center;
}
.lb-route-teaser__map-placeholder {
    display: flex; flex-direction: column;
    align-items: center; gap: var(--lb-space-md);
    color: var(--lb-text-muted); padding: var(--lb-space-2xl);
}
.lb-route-teaser__map-placeholder i { font-size: 4rem; color: var(--lb-blue); opacity: 0.3; }


/* ============================================================
   CTA BANNER — dark cinematic gradient
   ============================================================ */
.lb-cta-banner {
    background: var(--lb-dark-base);
    position: relative;
    overflow: hidden;
}

/* Radial orange glow */
.lb-cta-banner::before {
    content: '';
    position: absolute;
    top: -40%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,77,0,0.18) 0%, transparent 65%);
    pointer-events: none;
}
/* Lime glow right */
.lb-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(200,255,0,0.08) 0%, transparent 65%);
    pointer-events: none;
}

/* Track lines repeat */
.lb-cta-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lb-space-xl);
    flex-wrap: wrap;
}
.lb-cta-banner__text h2 {
    font-family: var(--lb-font-display);
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: var(--lb-space-sm);
    font-weight: 900;
    letter-spacing: 0.04em;
}
.lb-cta-banner__text p {
    color: var(--lb-text-dim);
    font-size: 1rem;
    margin: 0;
}
.lb-cta-banner__actions {
    display: flex; gap: var(--lb-space-md); flex-wrap: wrap;
}


/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.lb-blog-preview { background: var(--lb-bg-panel); }

.lb-post-card__thumb {
    display: block; overflow: hidden;
    aspect-ratio: 16/9;
}
.lb-post-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--lb-ease);
    filter: saturate(0.85);
}
.lb-post-card:hover .lb-post-card__thumb img {
    transform: scale(1.06);
    filter: saturate(1);
}

.lb-post-card__meta {
    display: flex; align-items: center;
    gap: var(--lb-space-sm);
    margin-bottom: var(--lb-space-sm);
    flex-wrap: wrap;
}
.lb-post-card__date {
    font-family: var(--lb-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lb-text-muted);
    display: flex; align-items: center; gap: 5px;
}
.lb-post-card__title {
    font-family: var(--lb-font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--lb-space-sm);
    line-height: 1.2;
}
.lb-post-card__title a { color: var(--lb-text); transition: color var(--lb-transition-sm); }
.lb-post-card__title a:hover { color: var(--lb-orange); }
.lb-post-card__excerpt {
    font-size: 0.875rem;
    color: var(--lb-text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}


/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.lb-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--lb-space-2xl);
    padding-top: var(--lb-space-2xl);
    padding-bottom: var(--lb-space-2xl);
    align-items: start;
}
body.no-sidebar .lb-page-layout {
    grid-template-columns: 1fr;
    max-width: var(--lb-content-width);
    margin: 0 auto;
}
.lb-main--full .lb-page-full-content { padding: var(--lb-space-2xl) 0; }

.lb-page-article__header { margin-bottom: var(--lb-space-xl); }
.lb-page-article__featured-image {
    margin-bottom: var(--lb-space-xl);
    border-radius: var(--lb-radius-xl); overflow: hidden;
}
.lb-page-article__img { width: 100%; }

/* Sub-page hero */
.lb-page-hero {
    background: var(--lb-dark-base);
    color: #fff;
    padding: var(--lb-space-2xl) 0;
    position: relative;
    overflow: hidden;
}
.lb-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -14deg,
        transparent, transparent 48px,
        rgba(255,255,255,0.02) 48px, rgba(255,255,255,0.02) 50px
    );
    pointer-events: none;
}
/* Orange radial glow behind title */
.lb-page-hero::after {
    content: '';
    position: absolute;
    top: -60%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,77,0,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.lb-page-hero > * { position: relative; z-index: 1; }
.lb-page-hero--sm { padding: var(--lb-space-xl) 0; }
.lb-page-hero .lb-section-head__kicker { color: var(--lb-lime); }
.lb-page-hero h1 {
    color: #fff;
    margin-top: var(--lb-space-sm);
    margin-bottom: var(--lb-space-sm);
}
.lb-page-hero__desc {
    color: var(--lb-text-dim);
    font-size: 1.05rem;
    margin: var(--lb-space-md) 0 0;
}
.lb-page-hero__actions { margin-top: var(--lb-space-lg); }
.lb-page-hero--calendar,
.lb-page-hero--clubs { background: var(--lb-dark-surface); }

.lb-calendar-wrap { background: var(--lb-bg); padding: 0; }
.lb-clubs-wrap    { background: var(--lb-bg); padding-bottom: var(--lb-space-2xl); }
.lb-clubs-add-form {
    margin-top: var(--lb-space-2xl);
    padding-top: var(--lb-space-2xl);
    border-top: 2px solid var(--lb-border);
}
.lb-clubs-add-form h2 { margin-bottom: var(--lb-space-md); }


/* ============================================================
   SINGLE POST
   ============================================================ */
.lb-single-post__hero {
    border-radius: var(--lb-radius-xl);
    overflow: hidden;
    margin-bottom: var(--lb-space-xl);
    aspect-ratio: 16/7;
}
.lb-single-post__hero-img { width: 100%; height: 100%; object-fit: cover; }
.lb-single-post__meta {
    display: flex; align-items: center;
    gap: var(--lb-space-sm);
    margin-bottom: var(--lb-space-lg);
    flex-wrap: wrap;
    font-size: 0.875rem; color: var(--lb-text-secondary);
}
.lb-single-post__meta time,
.lb-single-post__meta span { display: flex; align-items: center; gap: 5px; }
.lb-single-post__title { margin-bottom: var(--lb-space-md); }
.lb-single-post__content { margin-top: var(--lb-space-xl); }
.lb-single-post__tags {
    display: flex; align-items: center;
    gap: var(--lb-space-sm); flex-wrap: wrap;
    margin-top: var(--lb-space-xl);
    padding-top: var(--lb-space-lg);
    border-top: 1px solid var(--lb-separator);
}
.lb-single-post__tags i { color: var(--lb-text-muted); }

.lb-post-nav {
    margin-top: var(--lb-space-xl);
    padding-top: var(--lb-space-xl);
    border-top: 1px solid var(--lb-separator);
}
.lb-post-nav .nav-links {
    display: flex; justify-content: space-between; gap: var(--lb-space-lg);
}
.lb-post-nav .nav-previous, .lb-post-nav .nav-next { flex: 1; }
.lb-post-nav a {
    display: flex; align-items: center; gap: var(--lb-space-sm);
    padding: var(--lb-space-md);
    background: var(--lb-bg); border-radius: var(--lb-radius);
    color: var(--lb-text);
    font-family: var(--lb-font-display);
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: all var(--lb-transition-sm);
    border: 1px solid var(--lb-border);
}
.lb-post-nav a:hover { background: rgba(255,77,0,0.05); color: var(--lb-orange); border-color: rgba(255,77,0,0.2); }
.lb-post-nav .nav-next { text-align: right; justify-content: flex-end; }


/* ============================================================
   PLUGIN NOTICE
   ============================================================ */
.lb-plugin-notice {
    display: flex; flex-direction: column;
    align-items: center; gap: var(--lb-space-md);
    padding: var(--lb-space-2xl);
    text-align: center;
    background: var(--lb-bg-card);
    border-radius: var(--lb-radius-xl);
    border: 2px dashed var(--lb-border);
}
.lb-plugin-notice i    { font-size: 2rem; color: var(--lb-text-muted); }
.lb-plugin-notice p    { color: var(--lb-text-secondary); margin: 0; }


/* ============================================================
   404 PAGE
   ============================================================ */
.lb-404 {
    display: flex; align-items: center; justify-content: center;
    min-height: 60vh; text-align: center;
    padding: var(--lb-space-2xl) 0;
}
.lb-404__inner { max-width: 480px; }
.lb-404__icon {
    font-size: 5rem; color: var(--lb-orange);
    margin-bottom: var(--lb-space-lg);
    animation: lb-run 2s ease-in-out infinite;
}
@keyframes lb-run {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(14px); }
}
.lb-404__code {
    font-family: var(--lb-font-display);
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: 900; color: var(--lb-border);
    line-height: 1; margin-bottom: var(--lb-space-sm);
    letter-spacing: -0.04em;
}
.lb-404__title  { font-size: 1.5rem; margin-bottom: var(--lb-space-md); }
.lb-404__text   { color: var(--lb-text-secondary); margin-bottom: var(--lb-space-xl); }
.lb-404__actions { display: flex; gap: var(--lb-space-md); justify-content: center; flex-wrap: wrap; }


/* ============================================================
   NO RESULTS
   ============================================================ */
.lb-no-results { text-align: center; padding: var(--lb-space-2xl); }
.lb-no-results__icon { font-size: 3rem; color: var(--lb-text-muted); margin-bottom: var(--lb-space-lg); }
.lb-no-results h2 { margin-bottom: var(--lb-space-md); }
.lb-no-results p  { color: var(--lb-text-secondary); margin-bottom: var(--lb-space-lg); }


/* ============================================================
   FOOTER — dark cinematic
   ============================================================ */
.lb-footer {
    background: var(--lb-dark-base);
    color: var(--lb-text-dim);
    position: relative;
    overflow: hidden;
}

/* Diagonal track lines decoration */
.lb-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -14deg,
        transparent, transparent 60px,
        rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 62px
    );
    pointer-events: none;
}

.lb-footer__top {
    position: relative; z-index: 1;
    padding: var(--lb-space-2xl) 0;
}
.lb-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: var(--lb-space-2xl);
    align-items: start;
}
.lb-footer__logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; margin-bottom: var(--lb-space-md);
}
.lb-footer__logo span {
    font-family: var(--lb-font-display);
    font-size: 1.3rem; font-weight: 900;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: #fff;
}
.lb-footer__tagline {
    font-size: 0.875rem; color: rgba(255,255,255,0.4);
    margin-bottom: var(--lb-space-md); line-height: 1.6;
}
.lb-footer__email {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.875rem; color: rgba(255,255,255,0.5);
    text-decoration: none; margin-top: var(--lb-space-md);
    transition: color var(--lb-transition-sm);
}
.lb-footer__email:hover { color: var(--lb-orange); }

/* Footer widget overrides */
.lb-footer .widget { background: none; padding: 0; box-shadow: none; border: none; margin-bottom: 0; }
.lb-footer .widget-title {
    font-family: var(--lb-font-display);
    font-size: 0.75rem; font-weight: 800;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    border-bottom: 1px solid var(--lb-dark-border-hi);
    margin-bottom: var(--lb-space-md);
    padding-bottom: var(--lb-space-sm);
}
.lb-footer .widget ul li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 7px 0;
}
.lb-footer .widget ul li:last-child { border-bottom: none; }
.lb-footer .widget ul li a {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    transition: color var(--lb-transition-sm);
}
.lb-footer .widget ul li a:hover { color: var(--lb-orange); }

/* Social links */
.lb-social-links { display: flex; gap: var(--lb-space-sm); flex-wrap: wrap; margin-bottom: var(--lb-space-sm); }
.lb-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--lb-dark-border);
    border-radius: var(--lb-radius-sm);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    transition: all var(--lb-transition-sm);
    text-decoration: none;
}
.lb-social-link:hover {
    background: var(--lb-orange);
    border-color: var(--lb-orange);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer bottom */
.lb-footer__bottom {
    position: relative; z-index: 1;
    border-top: 1px solid var(--lb-dark-border);
    padding: var(--lb-space-md) 0;
}
.lb-footer__bottom-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: var(--lb-space-md); flex-wrap: wrap;
}
.lb-footer__copyright {
    font-size: 0.78rem; color: rgba(255,255,255,0.25); margin: 0;
}
.lb-footer__copyright a { color: rgba(255,255,255,0.35); }
.lb-footer__copyright a:hover { color: var(--lb-orange); }
.lb-footer__links { display: flex; gap: var(--lb-space-lg); flex-wrap: wrap; }
.lb-footer__links li a {
    font-size: 0.78rem; color: rgba(255,255,255,0.25);
    transition: color var(--lb-transition-sm);
}
.lb-footer__links li a:hover { color: var(--lb-orange); }


/* ============================================================
   SUBMIT FORM PAGE
   ============================================================ */
.lb-submit-form-wrap {
    background: var(--lb-bg-card);
    border-radius: var(--lb-radius-xl);
    padding: var(--lb-space-2xl);
    box-shadow: var(--lb-shadow);
    border: 1px solid var(--lb-border);
}

/* Search refine */
.lb-search-refine { margin-bottom: var(--lb-space-xl); }


/* ============================================================
   SEO — Breadcrumb
   ============================================================ */
.lb-breadcrumb {
    display: flex; align-items: center;
    gap: 6px; flex-wrap: wrap;
    font-family: var(--lb-font-display);
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: var(--lb-space-sm);
}
.lb-breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--lb-transition-sm); }
.lb-breadcrumb a:hover { color: var(--lb-lime); }
.lb-breadcrumb__sep { opacity: 0.3; font-size: 0.65rem; }


/* ============================================================
   GOOGLE ADSENSE AD SLOTS
   ============================================================ */
.lb-ad-slot {
    width: 100%; overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--lb-separator);
    border-bottom: 1px solid var(--lb-separator);
    padding: var(--lb-space-sm) 0;
    background: var(--lb-bg-card);
}
.lb-ad-slot--leaderboard {
    min-height: 90px;
    margin: var(--lb-space-md) 0;
}
.lb-ad-slot--in_content,
.lb-ad-slot--content-injected {
    margin: var(--lb-space-xl) auto;
    max-width: 728px;
    border-radius: var(--lb-radius);
    border: 1px solid var(--lb-border);
    background: var(--lb-bg);
}
.lb-ad-slot--between_feed {
    margin: 0; padding: var(--lb-space-md) 0;
    background: var(--lb-bg-panel);
    border-color: var(--lb-border);
}
.lb-ad-slot--footer_band,
.lb-ad-slot--pre-footer {
    background: var(--lb-dark-surface);
    border-color: var(--lb-dark-border);
    padding: var(--lb-space-md) 0;
}
.lb-ad-slot--sidebar {
    min-height: 250px; margin: 0;
    border-radius: var(--lb-radius);
}
.lb-ad-slot--desktop-only { display: none; }
@media (min-width: 768px) { .lb-ad-slot--desktop-only { display: block; } }
.lb-ad-slot ins.adsbygoogle { display: block; min-height: 50px; }


/* ============================================================
   RESPONSIVE — LARGE TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .lb-features__grid    { grid-template-columns: 1fr; }
    .lb-route-teaser__inner { grid-template-columns: 1fr; }
    .lb-route-teaser__preview { min-height: 220px; }
    .lb-footer__grid      { grid-template-columns: 1fr 1fr; gap: var(--lb-space-xl); }
    .lb-footer__brand     { grid-column: 1 / -1; }
    .lb-page-layout       { grid-template-columns: 1fr; }
    .lb-page-layout__sidebar { display: none; }
    .lb-grid--3           { grid-template-columns: repeat(2, 1fr); }
    .lb-hero::after       { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV (860px)
   ============================================================ */
@media (max-width: 860px) {
    .lb-nav { display: none; }
    .lb-nav__toggle {
        display: flex;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 8px;
    }
    /* Hide all header actions except the toggle on mobile */
    .lb-header__actions .lb-btn,
    .lb-header__actions .lb-header__user { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (640px)
   ============================================================ */
@media (max-width: 640px) {
    :root {
        --lb-header-height: 58px;
        --lb-space-2xl:     44px;
        --lb-space-xl:      28px;
        --lb-cut-height:    44px;
    }
    .lb-container { padding: 0 16px; }

    .lb-hero { min-height: calc(100svh - var(--lb-header-height)); align-items: flex-end; }
    .lb-hero__content  { padding: 0 0 28px; }
    .lb-hero__title    { font-size: clamp(2.8rem, 12vw, 4rem); }
    .lb-hero__subtitle { font-size: 0.925rem; }
    .lb-hero__actions  { flex-direction: column; gap: 10px; }
    .lb-hero__actions .lb-btn { width: 100%; }
    .lb-hero__stats    { gap: var(--lb-space-lg); padding-top: var(--lb-space-md); }
    .lb-hero__stat-divider { display: none; }
    .lb-hero__stat-num { font-size: 1.6rem; }

    .lb-feature-card   { padding: var(--lb-space-lg); }
    .lb-feature-card__title { font-size: 1.25rem; }

    .lb-section-head   { flex-direction: column; align-items: flex-start; gap: var(--lb-space-md); }
    .lb-section-head .lb-btn { width: 100%; justify-content: center; }

    .lb-grid--2,
    .lb-grid--3,
    .lb-grid--4 { grid-template-columns: 1fr; }

    .lb-cta-banner__inner   { flex-direction: column; text-align: center; gap: var(--lb-space-lg); }
    .lb-cta-banner__actions { flex-direction: column; width: 100%; }
    .lb-cta-banner__actions .lb-btn { width: 100%; justify-content: center; }

    .lb-page-hero     { padding: var(--lb-space-xl) 0 var(--lb-space-lg); }
    .lb-page-hero h1  { font-size: clamp(2rem, 9vw, 3rem); }

    .lb-footer__top   { padding: var(--lb-space-xl) 0; }
    .lb-footer__grid  { grid-template-columns: 1fr; gap: var(--lb-space-lg); }
    .lb-footer__brand { grid-column: auto; }
    .lb-footer__bottom-inner { flex-direction: column; align-items: flex-start; }

    .lb-post-nav .nav-links { flex-direction: column; }
    .lb-404__actions { flex-direction: column; align-items: center; }
    .lb-404__actions .lb-btn { width: 100%; justify-content: center; }

    .lb-submit-form-wrap { padding: var(--lb-space-lg) var(--lb-space-md); }

    .lb-section        { padding: var(--lb-space-xl) 0; }
    .lb-section--sm    { padding: var(--lb-space-lg) 0; }
}

/* ============================================================
   SMALL PHONES (390px)
   ============================================================ */
@media (max-width: 390px) {
    .lb-hero__title  { font-size: 2.6rem; }
    .lb-btn--lg      { padding: 14px 22px; font-size: 1rem; }
}

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .lb-header                        { top: 32px; }
.admin-bar .lb-nav__mobile,
.admin-bar .lb-nav__backdrop                 { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .lb-header                    { top: 46px; }
    .admin-bar .lb-nav__mobile,
    .admin-bar .lb-nav__backdrop             { top: 46px; }
}

/* Mobile profile card in drawer */
.lb-mobile-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--lb-radius);
    text-decoration: none;
}
.lb-mobile-profile__avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    border: 2px solid var(--lb-orange);
    flex-shrink: 0;
}
.lb-mobile-profile__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.lb-mobile-profile__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-mobile-profile__label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.lb-mobile-profile__arrow {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    flex-shrink: 0;
    text-decoration: none;
    padding: 4px;
    transition: color 0.15s ease;
}
.lb-mobile-profile__arrow:hover { color: rgba(255,255,255,0.7); }
