/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */
:root {
    /* Colors - Primary */
    --gp-black: #000000;
    --gp-white: #FFFFFF;
    --gp-gold: #DFB859;
    --gp-gold-dark: #C9A64A;
    --gp-gold-light: rgba(223, 184, 89, 0.1);
    
    /* Colors - Grays */
    --gp-gray-50: #FAFAFA;
    --gp-gray-100: #F5F5F5;
    --gp-gray-200: #E5E5E5;
    --gp-gray-300: #D4D4D4;
    --gp-gray-400: #A3A3A3;
    --gp-gray-500: #737373;
    --gp-gray-600: #525252;
    --gp-gray-700: #404040;
    --gp-gray-800: #262626;
    --gp-gray-900: #171717;
    
    /* Colors - Semantic */
    --gp-bg-page: #F5F5F5;
    --gp-bg-card: #FFFFFF;
    --gp-border: #E5E5E5;
    
    /* Colors - Badges */
    --gp-green: #2D8540;
    --gp-green-light: #4ADE80;
    --gp-red: #EF4444;
    
    /* Purple accent (Sign Up / Portal button — matches login page) */
    --gp-purple: #8b5cf6;
    --gp-purple-dark: #7c3aed;
    --gp-gradient: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
    
    /* Typography */
    --gp-font-heading: 'Trade Gothic Next', 'Arial Black', Helvetica, sans-serif;
    --gp-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --gp-space-1: 4px;
    --gp-space-2: 8px;
    --gp-space-3: 12px;
    --gp-space-4: 16px;
    --gp-space-5: 20px;
    --gp-space-6: 24px;
    --gp-space-8: 32px;
    
    /* Layout */
    --gp-container-max: 1400px;
    --gp-sidebar-width: 280px;
    --gp-events-height: 68px;
    --gp-header-height: 64px;
    
    /* Borders */
    --gp-radius-sm: 4px;
    --gp-radius-md: 8px;
    --gp-radius-lg: 12px;
    --gp-radius-full: 9999px;
    
    /* Shadows */
    --gp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --gp-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --gp-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --gp-transition: 200ms ease;
}

/* ============================================
   BASE RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.gp-homepage {
    font-family: var(--gp-font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gp-gray-900);
    background-color: var(--gp-bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Hide Kadence theme elements */
body.gp-homepage .site-header,
body.gp-homepage #masthead,
body.gp-homepage .kadence-header,
body.gp-homepage .site-footer,
body.gp-homepage #colophon {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--gp-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   EVENTS BAR (FlowWrestling-style)
   Static bar at top — scrolls away on scroll.
   Light background, rectangular event cards.
   ============================================ */
.gp-events-bar {
    position: relative;
    width: 100%;
    z-index: 100;
    background-color: var(--gp-white);
    border-bottom: 1px solid var(--gp-border);
}

.gp-events-bar__inner {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1228px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 0;
}

/* Events Dropdown */
.gp-events-dropdown {
    position: relative;
    flex-shrink: 0;
}

.gp-events-dropdown__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--gp-space-2);
    padding: var(--gp-space-3) var(--gp-space-4);
    background-color: var(--gp-black);
    color: var(--gp-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    border-right: 1px solid var(--gp-border);
    transition: background-color var(--gp-transition);
}

.gp-events-dropdown__btn:hover {
    background-color: var(--gp-gray-800);
}

.gp-events-dropdown__dot {
    width: 8px;
    height: 8px;
    background-color: var(--gp-green-light);
    border-radius: 50%;
}

.gp-events-dropdown__chevron {
    width: 12px;
    height: 12px;
    transition: transform var(--gp-transition);
}

.gp-events-dropdown.is-open .gp-events-dropdown__chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.gp-events-dropdown__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 180px;
    background-color: var(--gp-white);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-md);
    box-shadow: var(--gp-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--gp-transition);
    z-index: 10;
}

.gp-events-dropdown.is-open .gp-events-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gp-events-dropdown__menu a {
    display: block;
    padding: var(--gp-space-3) var(--gp-space-4);
    font-size: 14px;
    color: var(--gp-gray-700);
}

.gp-events-dropdown__menu a:hover {
    background-color: var(--gp-gray-100);
    color: var(--gp-black);
}

/* Events Scroll */
.gp-events-bar__scroll {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gp-events-bar__scroll::-webkit-scrollbar {
    display: none;
}

.gp-events-bar__track {
    display: flex;
    gap: 0;
}

/* Event Card — rectangular, light, fills available space */
.gp-event-chip {
    flex: 1;
    min-width: 200px;
    padding: 14px 24px;
    background-color: transparent;
    border: none;
    border-right: 1px solid var(--gp-border);
    border-radius: 0;
    transition: background-color var(--gp-transition);
}

.gp-event-chip:last-child {
    border-right: none;
}

.gp-event-chip:hover {
    background-color: var(--gp-gray-100);
}

.gp-event-chip__meta {
    display: flex;
    align-items: center;
    gap: var(--gp-space-2);
    font-size: 12px;
    color: var(--gp-gray-500);
    margin-bottom: 3px;
}

.gp-event-chip__meta span:first-child::after {
    content: '\2022';
    margin-left: var(--gp-space-2);
    color: var(--gp-gray-400);
}

.gp-event-chip__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--gp-gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   HERO SECTION (Full-Width Split)
   Text left, video right. Stacks on mobile.
   ============================================ */
.gp-hero--fullwidth {
    background-color: var(--gp-black);
    background-size: cover;
    background-position: center;
    position: relative;
}

.gp-hero--fullwidth::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    pointer-events: none;
}

.gp-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1228px;
    margin: 0 auto;
    padding: 60px 40px;
}

.gp-hero__text {
    flex: 0 0 45%;
    min-width: 0;
}

.gp-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gp-gold);
    margin-bottom: 16px;
}

.gp-hero__title {
    font-family: var(--gp-font-body);
    font-size: 36px;
    font-weight: 500;
    color: var(--gp-white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.gp-hero__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 0 28px;
}

.gp-hero__ctas {
    display: flex;
    gap: 12px;
}

.gp-hero__btn--primary {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--gp-gold);
    color: var(--gp-black);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--gp-radius-md);
    transition: transform var(--gp-transition), box-shadow var(--gp-transition);
}

.gp-hero__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(223, 184, 89, 0.4);
    color: var(--gp-black);
}

.gp-hero__btn--secondary {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--gp-white);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--gp-radius-md);
    transition: border-color var(--gp-transition), background-color var(--gp-transition);
}

.gp-hero__btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gp-white);
}

/* Video Column */
.gp-hero__video {
    flex: 0 0 55%;
    min-width: 0;
}

.gp-hero__player {
    margin: 0;
}

/* YouTube Lite Embed */
.gp-yt-lite {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gp-yt-lite__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gp-yt-lite__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gp-yt-lite__play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--gp-white);
}

.gp-yt-lite__play svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
    color: var(--gp-black);
}

.gp-yt-lite--active {
    cursor: default;
}

/* Vimeo Lite Embed (same pattern as YouTube) */
.gp-vimeo-lite {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gp-vimeo-lite__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #333);
}

/* Presto Player fallback thumb */
.gp-hero__fallback-thumb {
    width: 100%;
    border-radius: 8px;
}

/* Centered Hero (text-only, no video) */
.gp-hero--centered .gp-hero__inner {
    justify-content: center;
    max-width: 760px;
    padding: 72px 40px;
}

.gp-hero--centered .gp-hero__text {
    flex: none;
    width: 100%;
    text-align: center;
}

.gp-hero--centered .gp-hero__ctas {
    justify-content: center;
}

/* ============================================
   HEADER
   ============================================ */
.gp-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--gp-header-height);
    background-color: var(--gp-black);
}

.gp-header__inner {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 24px;
    align-items: center;
    height: 100%;
    max-width: var(--gp-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.gp-header__logo-section {
    display: flex;
    justify-content: center;
}

.gp-header__nav-section {
    display: flex;
    justify-content: center;
}

.gp-header__actions-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gp-space-4);
}

/* Logo */
.gp-header__logo img,
.gp-header__logo svg {
    height: 46px;
    width: auto;
}

/* Navigation */
.gp-header__nav {
    display: flex;
    align-items: center;
    gap: var(--gp-space-6);
}

.gp-header__link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gp-gray-400);
    transition: color var(--gp-transition);
}

.gp-header__link:hover {
    color: var(--gp-white);
}

/* Actions */
.gp-header__actions {
    display: flex;
    align-items: center;
    gap: var(--gp-space-6);
}

.gp-header__signin {
    font-size: 14px;
    color: var(--gp-gray-400);
}

.gp-header__signin:hover {
    color: var(--gp-white);
}

.gp-header__signup {
    padding: 10px 20px;
    background-color: var(--gp-gold);
    color: var(--gp-black);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--gp-radius-md);
    transition: transform var(--gp-transition), box-shadow var(--gp-transition);
}

.gp-header__signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(223, 184, 89, 0.4);
    color: var(--gp-black);
}

/* Gym Watch button in header */
.gp-header__watch-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--gp-radius-md);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all var(--gp-transition);
}

.gp-header__watch-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--gp-white);
}

.gp-header__watch-btn svg {
    flex-shrink: 0;
}

/* Mobile Toggle */
.gp-header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.gp-header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gp-white);
    transition: all var(--gp-transition);
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.gp-main {
    padding-top: 16px;
    min-height: 100vh;
    max-width: 1228px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.gp-container {
    max-width: var(--gp-container-max);
    margin: 0 auto;
    padding: 0 var(--gp-space-6);
}

.gp-grid {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
}

/* ============================================
   LEFT SIDEBAR
   ============================================ */
.gp-sidebar-left {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-4);
}

/* Join CTA Card */
.gp-card-join {
    background-color: var(--gp-black);
    border-radius: var(--gp-radius-lg);
    padding: var(--gp-space-6);
    color: var(--gp-white);
}

.gp-card-join__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gp-white);
    margin: 0 0 var(--gp-space-3) 0;
}

.gp-card-join__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--gp-gray-300);
    margin-bottom: var(--gp-space-4);
}

.gp-card-join__greeting {
    font-size: 15px;
    line-height: 1.5;
    color: var(--gp-gray-300);
    margin-bottom: var(--gp-space-4);
}

.gp-card-join__btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--gp-gradient);
    color: var(--gp-white);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--gp-radius-md);
    transition: transform var(--gp-transition), box-shadow var(--gp-transition);
}

.gp-card-join__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    color: var(--gp-white);
}

.gp-card-join__links {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-2);
    margin-top: var(--gp-space-4);
    padding-top: var(--gp-space-4);
    border-top: 1px solid var(--gp-gray-700);
}

.gp-card-join__links a {
    font-size: 14px;
    color: var(--gp-gray-400);
    transition: color var(--gp-transition);
}

.gp-card-join__links a:hover {
    color: var(--gp-gold);
}

/* Sidebar Cards */
.gp-card {
    background-color: var(--gp-white);
    border-radius: var(--gp-radius-lg);
    padding: var(--gp-space-5);
}

.gp-card__header {
    display: flex;
    align-items: center;
    gap: var(--gp-space-2);
    margin-bottom: var(--gp-space-4);
    padding-bottom: var(--gp-space-3);
    border-bottom: 1px solid var(--gp-gray-100);
}

.gp-card__icon {
    color: var(--gp-gold);
}

.gp-card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gp-gray-900);
}

.gp-card__list {
    display: flex;
    flex-direction: column;
}

.gp-card__link {
    display: block;
    padding: var(--gp-space-3) 0;
    font-size: 14px;
    color: var(--gp-gray-700);
    border-bottom: 1px solid var(--gp-gray-100);
}

.gp-card__link:last-child {
    border-bottom: none;
}

.gp-card__link:hover {
    color: var(--gp-black);
}

/* ============================================
   CENTER FEED
   ============================================ */
.gp-feed {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-4);
    min-width: 0; /* Prevent content from overflowing 1fr grid column */
}

/* Feed cards are direct children of .gp-feed (no wrapper div).
   On desktop/tablet, .gp-feed is flex-column so cards stack naturally.
   On mobile, .gp-feed becomes display:contents and cards get grid order values. */

/* Post Card Base */
.gp-post {
    background-color: var(--gp-white);
    border-radius: var(--gp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gp-border);
}

/* Tag Badge */
.gp-tag {
    display: inline-block;
    padding: var(--gp-space-1) var(--gp-space-2);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--gp-radius-sm);
    background-color: var(--gp-black);
    color: var(--gp-white);
}

.gp-tag--gold {
    background-color: var(--gp-gold);
    color: var(--gp-black);
}

.gp-tag--outline {
    background-color: transparent;
    border: 1px solid var(--gp-gray-300);
    color: var(--gp-gray-600);
}

/* Featured Post */
.gp-post--featured .gp-post__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--gp-gray-900);
}

.gp-post--featured .gp-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide tag overlay on featured card images — tag shows in content area */
.gp-post--featured .gp-post__media .gp-post__tag {
    display: none;
}

.gp-post__tag {
    position: absolute;
    top: var(--gp-space-3);
    left: var(--gp-space-3);
    z-index: 2;
}

.gp-post__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--gp-transition), background-color var(--gp-transition);
}

.gp-post__play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--gp-white);
}

.gp-post__play svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
    color: var(--gp-black);
}

.gp-post__duration {
    position: absolute;
    bottom: var(--gp-space-3);
    right: var(--gp-space-3);
    padding: var(--gp-space-1) var(--gp-space-2);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--gp-white);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--gp-radius-sm);
}

.gp-post--featured .gp-post__content {
    padding: var(--gp-space-5);
}

.gp-post--featured .gp-post__content-tag {
    margin-bottom: var(--gp-space-2);
}

.gp-post__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gp-gray-900);
    line-height: 1.4;
    margin-bottom: var(--gp-space-2);
}

.gp-post__title a:hover {
    color: var(--gp-gold-dark);
}

.gp-post__excerpt {
    font-size: 14px;
    color: var(--gp-gray-600);
    line-height: 1.5;
    margin-bottom: var(--gp-space-3);
}

.gp-post__time {
    font-size: 12px;
    color: var(--gp-gray-400);
}

/* ----------------------------------------
   Feed Spotlight Card
   Full-width hero-sized card that appears
   inside the feed (not the top hero slot).
   Identical dimensions to gp-post--featured.
   Play button only renders when duration
   meta is present (auto-detected in PHP).
   ---------------------------------------- */
.gp-post--spotlight .gp-post__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--gp-gray-900);
    overflow: hidden;
}

.gp-post--spotlight .gp-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide tag overlay on spotlight images */
.gp-post--spotlight .gp-post__media .gp-post__tag {
    display: none;
}

.gp-post--spotlight .gp-post__content {
    padding: var(--gp-space-5);
}

.gp-post--spotlight .gp-post__content-tag {
    margin-bottom: var(--gp-space-2);
}

.gp-post--spotlight .gp-post__title {
    font-size: 18px;
}

/* Standard Post (horizontal) */
.gp-post--standard .gp-post__inner {
    display: flex;
    gap: var(--gp-space-4);
    padding: var(--gp-space-4);
}

.gp-post--standard .gp-post__media {
    position: relative;
    flex-shrink: 0;
    width: 160px;
    height: 120px;
    background-color: var(--gp-gray-900);
    border-radius: var(--gp-radius-md);
    overflow: hidden;
}

.gp-post--standard .gp-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide tag overlay on standard card images — tag shows in content area instead */
.gp-post--standard .gp-post__media .gp-post__tag {
    display: none;
}

.gp-post--standard .gp-post__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Content-area tag for standard cards */
.gp-post--standard .gp-post__content-tag {
    margin-bottom: var(--gp-space-2);
}

.gp-post--standard .gp-post__title {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gp-post--standard .gp-post__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--gp-space-2);
}

/* ----------------------------------------
   Podcast Card — large featured-style layout
   with play button and YouTube thumbnail.
   Same visual weight as the hero/spotlight.
   ---------------------------------------- */
.gp-post--podcast .gp-post__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--gp-gray-900);
    overflow: hidden;
}

.gp-post--podcast .gp-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide tag overlay on podcast images — tag shows in content area */
.gp-post--podcast .gp-post__media .gp-post__tag {
    display: none;
}

.gp-post--podcast .gp-post__content {
    padding: var(--gp-space-5);
}

.gp-post--podcast .gp-post__content-tag {
    margin-bottom: var(--gp-space-2);
}

.gp-post--podcast .gp-post__title {
    font-size: 18px;
}

/* Podcast mic badge — bottom-right overlay replacing the centered play button.
   Small semi-transparent pill with gold mic icon, matches duration badge sizing. */
.gp-post--podcast .gp-post__play {
    display: none;
}

.gp-post__podcast-mic {
    position: absolute;
    bottom: var(--gp-space-3);
    left: var(--gp-space-3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gp-post__podcast-mic svg {
    width: 16px;
    height: 16px;
    color: var(--gp-gold, #DFB859);
}

/* Gym Watch Feed Card (inline video playback) */
.gp-post--gymwatch {
    border-radius: var(--gp-radius-lg);
    overflow: hidden;
    background: var(--gp-card-bg);
    border: 1px solid var(--gp-border);
}

.gp-post--gymwatch .gp-post__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--gp-gray-900);
    overflow: hidden;
    cursor: pointer;
}

.gp-post--gymwatch .gp-post__media img,
.gp-post--gymwatch .gp-gw-player__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gp-post--gymwatch .gp-gw-player__fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #333);
}

/* Hide tag overlay on gymwatch images — tag shows in content area */
.gp-post--gymwatch .gp-post__media .gp-post__tag {
    display: none;
}

/* Iframe fills the media container after play click */
.gp-post--gymwatch .gp-post__media iframe,
.gp-post--gymwatch .gp-post__media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.gp-post--gymwatch .gp-post__content {
    padding: var(--gp-space-5);
}

.gp-post--gymwatch .gp-post__content-tag {
    margin-bottom: var(--gp-space-2);
}

.gp-post--gymwatch .gp-post__title {
    font-size: 18px;
}

.gp-post--gymwatch .gp-post__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--gp-space-3);
}

.gp-gw-full-link {
    color: var(--gp-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.gp-gw-full-link:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Gym Watch Scroll Row (Homepage, between hero and 3-column grid)
   Dark section with horizontal scroll of vertical portrait cards.
   ========================================================================== */

.gp-gymwatch-row {
    background: #0a0a0a;
    padding: 32px 0;
    position: relative;
}

.gp-gymwatch-row__inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.gp-gymwatch-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 20px;
}

@media (min-width: 1024px) {
    .gp-gymwatch-row__header {
        padding: 0 48px 24px;
    }
}

.gp-gymwatch-row__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Poppins', 'Inter', sans-serif;
}

@media (min-width: 1024px) {
    .gp-gymwatch-row__title {
        font-size: 22px;
    }
}

.gp-gymwatch-row__link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.gp-gymwatch-row__link:hover {
    color: #DFB859;
}

.gp-gymwatch-row__scroll {
    display: flex;
    gap: 12px;
    padding: 0 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.gp-gymwatch-row__scroll::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .gp-gymwatch-row__scroll {
        padding: 0 48px;
        gap: 16px;
    }
}

/* Scroll arrows (desktop only) */
.gp-gymwatch-row__arrow {
    display: none;
}

@media (min-width: 1024px) {
    .gp-gymwatch-row__arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        color: #fff;
        cursor: pointer;
        z-index: 5;
        transition: background 0.2s ease, border-color 0.2s ease;
    }
    .gp-gymwatch-row__arrow:hover {
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(255, 255, 255, 0.3);
    }
    .gp-gymwatch-row__arrow--left {
        left: 8px;
    }
    .gp-gymwatch-row__arrow--right {
        right: 8px;
    }
}

/* Announcement Post */
.gp-post--announcement {
    border-color: var(--gp-gold);
    border-width: 2px;
    background-color: var(--gp-gold-light);
}

.gp-post--announcement .gp-post__inner {
    display: flex;
    gap: var(--gp-space-3);
    padding: var(--gp-space-4);
}

.gp-post--announcement .gp-post__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--gp-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-black);
}

.gp-post--announcement .gp-post__content {
    flex: 1;
}

.gp-post--announcement .gp-post__title {
    font-size: 15px;
}

/* Load More */
.gp-load-more {
    display: flex;
    justify-content: center;
    padding: var(--gp-space-6) 0;
}

.gp-load-more__btn {
    padding: 12px 32px;
    background-color: var(--gp-white);
    color: var(--gp-gray-900);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-md);
    transition: all var(--gp-transition);
}

.gp-load-more__btn:hover {
    background-color: var(--gp-gray-50);
    border-color: var(--gp-gray-400);
}

/* ============================================
   RIGHT SIDEBAR
   ============================================ */
.gp-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-4);
}

/* Headlines */
.gp-headlines__list {
    display: flex;
    flex-direction: column;
}

.gp-headline {
    display: block;
    padding: var(--gp-space-3) 0;
    border-bottom: 1px solid var(--gp-gray-100);
    font-size: 13px;
    color: var(--gp-gray-700);
    line-height: 1.4;
}

.gp-headline:first-child {
    padding-top: 0;
}

.gp-headline:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.gp-headline:hover {
    color: var(--gp-black);
}

/* Upcoming Events */
.gp-upcoming__list {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-3);
}

.gp-upcoming__item {
    display: flex;
    align-items: flex-start;
    gap: var(--gp-space-3);
}

.gp-upcoming__date {
    flex-shrink: 0;
    min-width: 44px;
    font-size: 12px;
    color: var(--gp-gray-500);
}

.gp-upcoming__info {
    flex: 1;
}

.gp-upcoming__title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gp-gray-900);
}

.gp-upcoming__item:hover .gp-upcoming__title {
    color: var(--gp-gold-dark);
}

.gp-upcoming__location {
    display: block;
    font-size: 12px;
    color: var(--gp-gray-500);
    margin-top: 2px;
}

/* Partner / Sponsor Blocks */
.gp-partner-section {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-4);
}

.gp-partner-block {
    text-align: center;
}

.gp-partner-block__image-wrap {
    position: relative;
    display: block;
    width: 100%;
    border-radius: var(--gp-radius-lg);
    overflow: hidden;
    line-height: 0; /* Remove inline image gap */
    text-decoration: none; /* When rendered as <a> tag */
}

.gp-partner-block__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* "Learn More" button — overlayed at bottom-center of image */
.gp-partner-block__btn {
    position: absolute;
    bottom: var(--gp-space-3);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--gp-white);
    font-family: var(--gp-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gp-white);
    border-radius: var(--gp-radius-sm);
    white-space: nowrap;
    transition: background 200ms ease, color 200ms ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gp-partner-block__btn:hover {
    background: var(--gp-white);
    color: var(--gp-black);
}

.gp-partner-block__caption {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gp-gray-500);
    margin-top: var(--gp-space-2);
    line-height: 1.4;
}

/* Mobile Headlines (hidden by default, shown when right sidebar hidden) */
.gp-headlines-mobile {
    display: none;
}

/* ============================================
   FOOTER
   ============================================ */
.gp-footer {
    background-color: var(--gp-black);
    padding: var(--gp-space-6) 0;
    text-align: center;
}

.gp-footer__text {
    font-size: 13px;
    color: var(--gp-gray-500);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.gp-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background-color: var(--gp-black);
    padding: var(--gp-space-6);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.gp-mobile-nav.is-open {
    transform: translateX(0);
}

.gp-mobile-nav__close {
    position: absolute;
    top: var(--gp-space-4);
    right: var(--gp-space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-white);
    background: none;
    border: none;
    cursor: pointer;
}

.gp-mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-4);
    padding-top: var(--gp-space-8);
}

.gp-mobile-nav__link {
    font-size: 18px;
    font-weight: 600;
    color: var(--gp-white);
}

/* ============================================
   RESPONSIVE: Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .gp-header__toggle {
        display: none;
    }
}

/* ============================================
   RESPONSIVE: Tablet (< 1250px) - 2 columns, merged sidebar
   At this breakpoint the left sidebar widgets move to the right
   column (above the right sidebar widgets) using display:contents.
   ============================================ */
@media (max-width: 1249px) {
    .gp-hero__inner {
        gap: 32px;
        padding: 48px 24px;
    }
    
    .gp-hero__text {
        flex: 0 0 50%;
    }
    
    .gp-hero__video {
        flex: 0 0 50%;
    }
    
    .gp-hero__title {
        font-size: 30px;
    }
    
    /* Centered hero: reduce padding at tablet */
    .gp-hero--centered .gp-hero__inner {
        padding: 56px 24px;
    }
    
    .gp-header__inner {
        grid-template-columns: 280px 1fr auto;
    }
    
    /* 2-column grid: feed | merged sidebar */
    .gp-grid {
        grid-template-columns: 1fr 300px;
    }
    
    /* Both sidebars become transparent wrappers so their children
       participate directly in the parent grid. */
    .gp-sidebar-left,
    .gp-sidebar-right {
        display: contents;
    }
    
    /* Merged sidebar order: highest-value content first.
       Welcome CTA at top, then headlines, quick links, etc.
       align-self: start prevents cards from stretching to match
       the feed column height when display:contents is active. */
    .gp-widget-welcome    { grid-column: 2; order: 1; align-self: start; }
    .gp-widget-headlines   { grid-column: 2; order: 2; align-self: start; }
    .gp-widget-quicklinks  { grid-column: 2; order: 3; align-self: start; }
    .gp-widget-watchnow   { grid-column: 2; order: 4; align-self: start; }
    .gp-widget-events      { grid-column: 2; order: 5; align-self: start; }
    .gp-widget-partners    { grid-column: 2; order: 6; align-self: start; }
    .gp-widget-social      { grid-column: 2; order: 7; align-self: start; }
    .gp-widget-custom      { grid-column: 2; order: 8; align-self: start; }
    
    /* Feed spans all rows in column 1 so sidebar widgets in column 2
       stack alongside it rather than being pushed below. The large span
       value (50) ensures the feed covers all implicit rows created by
       sidebar widgets. */
    .gp-feed {
        grid-column: 1;
        grid-row: 1 / span 50;
    }
    
    .gp-headlines-mobile {
        display: block;
        margin-bottom: var(--gp-space-4);
    }
}

/* ============================================
   RESPONSIVE: Mobile (< 992px) - Single column, interleaved
   All containers use display:contents so their children become
   direct grid participants. Order values interleave sidebar
   widgets into the feed flow:
   
   1. Welcome card
   2. Featured post
   3. Top Headlines
   4. Quick Links  
   5. Feed posts (remaining)
   6. Partners
   7. Watch Now
   8. Upcoming Events
   9. Custom Block
   10. Load More
   ============================================ */
@media (max-width: 991px) {
    /* Hero stacks vertically on mobile */
    .gp-hero__inner {
        flex-direction: column;
        gap: 24px;
        padding: 32px 16px;
    }
    
    .gp-hero__text {
        flex: none;
        width: 100%;
        text-align: center;
    }
    
    .gp-hero__video {
        flex: none;
        width: 100%;
    }
    
    .gp-hero__title {
        font-size: 26px;
    }
    
    .gp-hero__subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .gp-hero__ctas {
        justify-content: center;
    }
    
    .gp-hero__btn--primary,
    .gp-hero__btn--secondary {
        padding: 12px 22px;
        font-size: 13px;
    }
    
    /* Centered hero: tighten mobile padding */
    .gp-hero--centered .gp-hero__inner {
        padding: 40px 16px;
    }
    
    /* Events bar hidden on mobile — navigation via bottom nav */
    .gp-events-bar {
        display: none;
    }
    
    .gp-main {
        padding-top: 16px;
    }
    
    .gp-header__inner {
        display: flex;
        justify-content: space-between;
    }
    
    .gp-header__nav-section {
        display: none !important;
    }
    
    .gp-header__signin {
        display: none !important;
    }
    
    .gp-header__signup {
        display: none !important;
    }
    
    .gp-header__watch-btn {
        display: none !important;
    }
    
    /* Single-column grid — all containers become transparent */
    .gp-grid {
        grid-template-columns: 1fr !important;
        max-width: 600px;
        margin: 0 auto;
        gap: 16px !important;
    }
    
    .gp-sidebar-left,
    .gp-sidebar-right {
        display: contents !important;
    }
    
    /* Feed becomes transparent; reset tablet grid-row span so
       children participate as individual grid items. */
    .gp-feed {
        display: contents !important;
        grid-row: auto !important;
        grid-column: auto !important;
    }
    
    /* Interleave order: sidebar widgets woven between feed cards.
       Feed cards are direct children of .gp-feed (no wrapper div).
       When .gp-feed becomes display:contents, all cards become
       direct grid children and can be ordered independently.
       
       Order map:
       1  = Featured
       2  = Spotlight
       3  = Welcome
       4  = Headlines
       5  = Feed card #1
       6  = Feed card #2
       7  = Quick Links
       8  = Partners
       9  = Watch Now
       10 = Feed card #3
       11 = Feed card #4
       12 = Social
       13 = Events
       14 = Remaining feed cards
       15 = Custom
       16 = Load More */
    .gp-widget-featured    { order: 1;  grid-column: 1 !important; }
    .gp-widget-spotlight   { order: 2;  grid-column: 1 !important; }
    .gp-widget-welcome     { order: 3;  grid-column: 1 !important; }
    .gp-widget-headlines   { order: 4;  grid-column: 1 !important; }
    .gp-widget-quicklinks  { order: 7;  grid-column: 1 !important; }
    .gp-widget-partners    { order: 8;  grid-column: 1 !important; }
    .gp-widget-watchnow    { order: 9;  grid-column: 1 !important; }
    .gp-widget-social      { order: 12; grid-column: 1 !important; }
    .gp-widget-events      { order: 13; grid-column: 1 !important; }
    .gp-widget-custom      { order: 15; grid-column: 1 !important; }
    .gp-widget-loadmore    { order: 16; grid-column: 1 !important; }
    
    /* No #gp-feed-posts wrapper — feed cards are direct children of .gp-feed
       and become grid items when .gp-feed uses display:contents. */
    
    /* Individual feed card ordering for interleave pattern.
       grid-column: 1 ensures cards participate in the single-column grid.
       IMPORTANT: Generic .gp-feed-card must come FIRST so numbered rules
       override it via cascade order (same specificity, later wins). */
    .gp-feed-card   { order: 14; grid-column: 1 !important; }
    .gp-feed-card-1 { order: 5;  grid-column: 1 !important; }
    .gp-feed-card-2 { order: 6;  grid-column: 1 !important; }
    .gp-feed-card-3 { order: 10; grid-column: 1 !important; }
    .gp-feed-card-4 { order: 11; grid-column: 1 !important; }
    .gp-feed-card-5 { order: 14; grid-column: 1 !important; }
    
    /* Load More button — full width on mobile for easier tap */
    .gp-load-more__btn {
        width: 100%;
        padding: 16px;
        font-size: 15px;
    }
    
    /* Bottom padding so content doesn't hide behind bottom nav */
    .gp-footer {
        padding-bottom: 100px;
    }
}

/* ============================================
   RESPONSIVE: Small Mobile (< 640px)
   ============================================ */
@media (max-width: 639px) {
    .gp-container {
        padding: 0 16px;
    }
    
    .gp-events-bar__inner {
        padding: 0 16px;
        gap: 8px;
    }
    
    .gp-header__inner {
        padding: 0 16px;
    }
    
    .gp-header__logo img,
    .gp-header__logo svg {
        height: 36px;
    }
    
    .gp-main {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .gp-event-chip {
        min-width: 160px;
        padding: 8px 12px;
    }
    
    .gp-event-chip__meta {
        display: none;
    }
    
    .gp-post--featured .gp-post__title,
    .gp-post--spotlight .gp-post__title {
        font-size: 16px;
    }
    
    .gp-post--featured .gp-post__excerpt,
    .gp-post--spotlight .gp-post__excerpt {
        display: none;
    }
    
    .gp-post__play {
        width: 60px;
        height: 60px;
    }
    
    .gp-post--standard .gp-post__media {
        width: 110px;
        height: 82px;
    }
    
    /* Podcast cards keep 16:9 on small mobile */
    .gp-post--podcast .gp-post__media {
        aspect-ratio: 16 / 9;
    }
    
    /* Gym Watch cards keep 16:9 on small mobile */
    .gp-post--gymwatch .gp-post__media {
        aspect-ratio: 16 / 9;
    }
    
    /* Standard card content — tighter spacing on small screens */
    .gp-post--standard .gp-post__excerpt {
        display: none;
    }
    
    /* Tags slightly smaller */
    .gp-tag {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    /* Sidebar join card — full width */
    .gp-card-join {
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
        padding: 20px;
    }
    
    /* Grid padding */
    .gp-grid {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation for load more */
.gp-fade-in {
    animation: gpFadeIn 0.3s ease-out;
}

@keyframes gpFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   FOLLOW / SOCIAL LINKS CARD
   ========================================================================== */

.gp-social-card__links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gp-social-card__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.gp-social-card__link:last-child {
    border-bottom: none;
}

.gp-social-card__link:hover {
    background: #f9fafb;
}

.gp-social-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #000;
    border-radius: 8px;
    flex-shrink: 0;
}

.gp-social-card__icon svg {
    width: 16px;
    height: 16px;
    color: #DFB859;
    fill: #DFB859;
}

.gp-social-card__label {
    color: #333;
    font-size: 13px;
    font-weight: 500;
}