/* ============================================================
   GistKE — Main Stylesheet
   All component styles. Variables defined in style.css
   ============================================================ */

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.site-main {
    padding: var(--space-md) 0 var(--space-xl);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: 56px;
    gap: var(--space-md);
}

/* Logo */
.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 4px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    gap: 10px;                  /* space between custom logo image and text if both shown */
}

/* Custom logo image uploaded via WP Customizer */
.custom-logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text-primary);
    line-height: 1;
    margin-left: 6px;           /* breathing room from left edge / logo image */
}

.logo-accent {
    color: var(--accent);
}

/* Navigation */
.site-header__nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-menu a {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-menu .current-menu-item > a {
    color: var(--accent);
}

/* Header actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.header-search-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}

.header-search-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-tip {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.btn-tip:hover {
    background: var(--accent-hover);
    color: #fff;
}

/* Mobile hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-muted);
    border-radius: 1px;
    transition: all var(--transition);
}

/* Header search bar */
.header-search-bar {
    background: var(--bg-raised);
    border-top: 1px solid var(--border);
    padding: var(--space-md) 0;
}

.search-form {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.search-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.search-input:focus {
    border-color: var(--accent);
}

.search-submit {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background var(--transition);
}

.search-submit:hover {
    background: var(--accent-hover);
}

/* ============================================================
   TICKER STRIP
   ============================================================ */
.ticker-wrap {
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    height: 36px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ticker-live-label {
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

.ticker-overflow {
    overflow: hidden;
    flex: 1;
}

.ticker-track {
    display: flex;
    align-items: center;
    animation: gistke-ticker 32s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes gistke-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-xl);
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--transition);
}

.ticker-item:hover {
    color: var(--accent);
}

.ticker-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* Ticker labels */
.ticker-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 2px 6px;
    border-radius: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ticker-label--breaking {
    background: var(--label-breaking-bg);
    color: var(--label-breaking-text);
}

.ticker-label--video {
    background: var(--label-video-bg);
    color: var(--label-video-text);
}

.ticker-label--exclusive {
    background: var(--label-exclusive-bg);
    color: var(--label-exclusive-text);
}

/* ============================================================
   HEAT BADGES
   ============================================================ */
.heat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    border: 1px solid;
    white-space: nowrap;
    flex-shrink: 0;
}

.heat-badge--sm {
    font-size: 9px;
    padding: 2px 6px;
}

.heat-badge__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.heat--low {
    background: var(--heat-low-bg);
    color: var(--heat-low-text);
    border-color: var(--heat-low-border);
}

.heat--rising {
    background: var(--heat-rising-bg);
    color: var(--heat-rising-text);
    border-color: var(--heat-rising-border);
}

.heat--peak {
    background: var(--heat-peak-bg);
    color: var(--heat-peak-text);
    border-color: var(--heat-peak-border);
}

.heat--critical {
    background: var(--heat-critical-bg);
    color: var(--heat-critical-text);
    border-color: var(--heat-critical-border);
    animation: heat-pulse 2s ease-in-out infinite;
}

@keyframes heat-pulse {
    0%, 100% { border-color: var(--heat-critical-border); }
    50%       { border-color: rgba(255, 76, 0, .3); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    margin-bottom: var(--space-md);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--gap);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Hero Main */
.hero-main {
    position: relative;
    background: var(--bg-card);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
}

.hero-main__thumb {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-main__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hero-main:hover .hero-main__thumb img {
    transform: scale(1.03);
}

.hero-main__thumb--placeholder {
    background: linear-gradient(135deg, #1a0a00 0%, #2a1200 40%, #0a0a14 100%);
}

.hero-main__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.95) 0%,
        rgba(0,0,0,.5) 40%,
        rgba(0,0,0,.1) 100%
    );
    pointer-events: none;
}

.hero-main__content {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
}

.hero-main__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.hero-cat-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 3px 10px;
    border-radius: 2px;
    border: 1px solid var(--accent-border);
    text-decoration: none;
    transition: background var(--transition);
}

.hero-cat-tag:hover {
    background: rgba(255,76,0,.2);
    color: var(--accent);
}

.hero-time {
    font-size: 11px;
    color: var(--text-muted);
}

.hero-main__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: var(--space-md);
}

.hero-main__title-link {
    color: inherit;
    text-decoration: none;
}

.hero-main__title-link:hover {
    color: #fff;
}

.hero-main__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-watch-now,
.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition);
}

.btn-watch-now:hover,
.btn-read-more:hover {
    background: var(--accent-hover);
    color: #fff;
}

.btn-read-more {
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.8);
}

.btn-read-more:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.5);
}

.hero-views,
.hero-comments {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: color var(--transition);
}

.hero-comments:hover {
    color: var(--accent);
}

/* Hero Side Stack */
.hero-side-stack {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.side-card {
    flex: 1;
    position: relative;
    background: var(--bg-card);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    overflow: hidden;
    transition: background var(--transition);
}

.side-card:hover {
    background: var(--bg-hover);
}

.side-card__thumb,
.side-card__thumb--placeholder {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.side-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.side-card:hover .side-card__thumb img {
    transform: scale(1.04);
}

.side-card__thumb--placeholder {
    background: var(--bg-card);
}

.side-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
    pointer-events: none;
}

.side-card__content {
    position: relative;
    z-index: 1;
    padding: var(--space-md);
}

.side-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 6px;
}

.side-card__cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 2px 8px;
    border-radius: 2px;
    border: 1px solid var(--accent-border);
    text-decoration: none;
}

.side-card__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.side-card__title-link {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   HOME LAYOUT — TWO COLUMN
   ============================================================ */
.home-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    align-items: start;
}

.home-layout__sidebar {
    position: sticky;
    top: calc(56px + 36px + var(--space-md)); /* header + ticker + gap */
}

/* ============================================================
   POST GRID
   ============================================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}

/* ============================================================
   POST CARD
   ============================================================ */
.post-card {
    background: var(--bg-card);
    cursor: pointer;
    overflow: hidden;
    transition: background var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    background: var(--bg-hover);
}

.post-card--exclusive {
    border: 1px solid var(--accent-border);
}

/* Card thumbnail */
.post-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-raised);
    overflow: hidden;
}

.post-card__thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.post-card:hover .post-card__img {
    transform: scale(1.04);
}

.post-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-raised);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card__placeholder span {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dim);
}

/* Exclusive / Sponsored badges */
.post-card__exclusive-badge,
.post-card__sponsored-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
}

.post-card__exclusive-badge {
    background: var(--accent);
    color: #fff;
}

.post-card__sponsored-badge {
    background: rgba(0,0,0,.7);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* Video overlay */
.video-thumb-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-raised);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.video-thumb-wrap:hover .video-play-overlay {
    background: rgba(0,0,0,.5);
}

.video-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,76,0,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition);
}

.video-thumb-wrap:hover .video-play-btn {
    transform: scale(1.1);
    background: var(--accent);
}

/* Card body */
.post-card__body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.post-card__category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

.post-card__category:hover {
    color: var(--accent-hover);
}

.post-card__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    flex: 1;
}

.post-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.post-card__title-link:hover {
    color: var(--text-primary);
}

.post-card__excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
    gap: var(--space-sm);
}

.post-card__time {
    font-size: 11px;
    color: var(--text-dim);
}

.post-card__comments {
    font-size: 11px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: color var(--transition);
}

.post-card__comments:hover {
    color: var(--accent);
}

.post-card__share-wa {
    color: #25D366;
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: opacity var(--transition);
    flex-shrink: 0;
}

.post-card__share-wa:hover {
    opacity: .8;
    color: #25D366;
}

/* ============================================================
   LOAD MORE BUTTON
   ============================================================ */
.load-more-wrap {
    text-align: center;
    margin-top: var(--space-lg);
}

.btn-load-more {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 12px var(--space-xl);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-load-more:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.btn-load-more.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.sidebar-widget__title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sidebar-widget__title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--accent);
    border-radius: 1px;
    flex-shrink: 0;
}

/* Heat list */
.heat-list {
    list-style: none;
}

.heat-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.heat-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.heat-list__rank {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--border-light);
    min-width: 24px;
    line-height: 1;
}

.heat-list__body {
    flex: 1;
}

.heat-list__title {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.2;
    margin-bottom: 5px;
    text-decoration: none;
    transition: color var(--transition);
}

.heat-list__title:hover {
    color: var(--accent);
}

/* ============================================================
   TIP WIDGET
   ============================================================ */
.sidebar-widget--tip {
    background: linear-gradient(135deg, #0d0800, #110e00);
    border-color: var(--accent-border);
}

.sidebar-widget__title--tip {
    color: var(--text-secondary);
}

.tip-widget__sub {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.tip-form input,
.tip-form textarea {
    width: 100%;
    background: var(--bg-base);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    outline: none;
    transition: border-color var(--transition);
    margin-bottom: var(--space-sm);
}

.tip-form input:focus,
.tip-form textarea:focus {
    border-color: var(--accent);
}

.tip-form textarea {
    height: 80px;
    resize: vertical;
    line-height: 1.5;
}

.tip-form button[type="submit"] {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
}

.tip-form button[type="submit"]:hover {
    background: var(--accent-hover);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-layout {
    max-width: 820px;
    margin: 0 auto;
}

.single-post {
    margin-bottom: var(--space-xl);
}

/* Sponsored disclosure */
.sponsored-disclosure {
    background: rgba(255,167,38,.08);
    border: 1px solid rgba(255,167,38,.2);
    color: #FFA726;
    font-size: 11px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    text-align: center;
    letter-spacing: .04em;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb__sep {
    color: var(--border-light);
}

/* Single post header */
.single-post__header {
    margin-bottom: var(--space-lg);
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.single-post__cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 3px 10px;
    border-radius: 2px;
    border: 1px solid var(--accent-border);
    text-decoration: none;
}

.single-post__exclusive {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    background: var(--accent);
    color: #fff;
}

.single-post__title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.single-post__sub-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.single-post__comment-count {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

/* Featured image */
.single-post__featured-image {
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.single-post__img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post__img-caption {
    font-size: 12px;
    color: var(--text-muted);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

/* Video player */
.single-post__video-wrap {
    margin-bottom: var(--space-lg);
}

.gistke-video-player {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
}

.gistke-video-poster {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.gistke-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay--large {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: background var(--transition);
}

.gistke-video-poster:hover .video-play-overlay--large {
    background: rgba(0,0,0,.6);
}

.video-play-btn--large {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,76,0,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition);
}

.gistke-video-poster:hover .video-play-btn--large {
    transform: scale(1.08);
    background: var(--accent);
}

.video-play-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gistke-video-iframe-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
}

.gistke-video-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Post content */
.single-post__content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.single-post__content p       { margin-bottom: var(--space-md); }
.single-post__content h2      { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--text-primary); margin: var(--space-xl) 0 var(--space-md); }
.single-post__content h3      { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-primary); margin: var(--space-lg) 0 var(--space-md); }
.single-post__content a       { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.single-post__content a:hover { color: var(--accent-hover); }
.single-post__content ul,
.single-post__content ol      { padding-left: var(--space-lg); margin-bottom: var(--space-md); }
.single-post__content ul li,
.single-post__content ol li   { margin-bottom: var(--space-xs); list-style: disc; }
.single-post__content ol li   { list-style: decimal; }
.single-post__content blockquote {
    border-left: 3px solid var(--accent);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    margin: var(--space-lg) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
}
.single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: var(--space-md) 0;
}
.single-post__content figure {
    margin: var(--space-lg) 0;
}
.single-post__content figcaption {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-xs);
}

/* Post footer */
.single-post__footer {
    border-top: 1px solid var(--border);
    padding-top: var(--space-lg);
}

.single-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.post-tag {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 2px;
    text-decoration: none;
    transition: all var(--transition);
}

.post-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* ============================================================
   SHARE BAR (Phase 2 placeholder — styled now)
   ============================================================ */
.share-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    flex-wrap: wrap;
}

.share-bar__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dim);
    font-weight: 600;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--transition);
    border: none;
    cursor: pointer;
}

.share-btn:hover { opacity: .85; }

.share-btn--whatsapp {
    background: #25D366;
    color: #fff;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 9px 18px;
}

.share-btn--twitter {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.share-btn--copy {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.gistke-pagination {
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
}

.gistke-pagination ul {
    display: flex;
    gap: 4px;
    list-style: none;
}

.gistke-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    padding: 0 var(--space-sm);
}

.gistke-pagination .page-numbers:hover,
.gistke-pagination .current {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent);
}

/* ============================================================
   404 / SEARCH / ARCHIVE
   ============================================================ */
.page-header {
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.page-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

.no-posts {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-xl);
    font-size: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-raised);
    border-top: 1px solid var(--border);
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-col__title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.footer-nav {
    list-style: none;
}

.footer-nav a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
}

.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-dim);
}

.footer-copyright strong {
    color: var(--accent);
}

.footer-legal a {
    font-size: 11px;
    color: var(--text-dim);
    text-decoration: none;
    margin-left: var(--space-md);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--text-muted);
}

/* ============================================================
   MOBILE BOTTOM BAR
   Sticky action bar — single posts only, mobile only
   ============================================================ */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: var(--bg-raised);
        border-top: 1px solid var(--border);
        z-index: 200;
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* Push footer content above bar */
    .site-main--single {
        padding-bottom: 80px;
    }

    .mobile-bar__btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--text-dim);
        text-decoration: none;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        transition: color var(--transition);
        cursor: pointer;
        background: none;
        border: none;
        font-family: var(--font-body);
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bar__btn:hover,
    .mobile-bar__btn:active {
        color: var(--text-secondary);
    }

    .mobile-bar__btn--wa {
        color: #25D366;
    }

    .mobile-bar__btn--wa:hover {
        color: #25D366;
        opacity: .8;
    }

    .mobile-bar__btn--rant:hover,
    .mobile-bar__btn--rant:active {
        color: var(--accent);
    }
}

/* ============================================================
   TELEGRAM-STYLE REACTIONS
   Bubble bar with emoji + count, pop animation
   ============================================================ */
.rant-room__reactions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 0 8px;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-raised);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .1s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: visible;
}

.reaction-btn:hover {
    border-color: var(--accent-border);
    background: var(--accent-dim);
    color: var(--text-primary);
}

.reaction-btn--active {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}

.reaction-btn .reaction-emoji {
    font-size: 16px;
    line-height: 1;
}

.reaction-btn .reaction-count {
    font-size: 12px;
    font-weight: 600;
    min-width: 10px;
    text-align: center;
}

/* Telegram pop animation */
@keyframes rxPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.reaction-btn--pop {
    animation: rxPop 0.35s cubic-bezier(.36,.07,.19,.97);
}

@media (prefers-reduced-motion: reduce) {
    .reaction-btn--pop { animation: none; }
}

/* ============================================================
   REPORT MODAL
   ============================================================ */
.report-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.report-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
}

.report-modal__box {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    width: 100%;
    max-width: 400px;
    z-index: 1;
}

.report-modal__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.report-modal__sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.5;
}

.report-modal__input,
.report-modal__select {
    width: 100%;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.report-modal__input:focus,
.report-modal__select:focus {
    border-color: var(--accent);
}

.report-modal__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 14px;
}

.report-modal__cancel {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
}

.report-modal__cancel:hover { border-color: var(--text-muted); color: var(--text-secondary); }

.report-modal__submit {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.report-modal__submit:hover { background: var(--accent-hover); }
.report-modal__submit:disabled { opacity: .6; cursor: not-allowed; }

.report-modal__feedback {
    margin: 10px 0 0;
    font-size: 12px;
}

/* ============================================================
   INLINE REPLY FORM
   ============================================================ */
.inline-reply-form {
    margin: 8px 0 0 0;
    padding: 12px;
    background: var(--bg-raised);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.rant-cancel-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    margin-left: 6px;
}

.rant-cancel-btn:hover { color: var(--text-secondary); }

.rant-form-msg {
    font-size: 12px;
    margin: 6px 0 0;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.rant-form-msg--error { color: #ef4444; background: rgba(239,68,68,.08); }
.rant-form-msg--success { color: #4CAF50; background: rgba(76,175,80,.08); }

/* comment reported state */
.comment-report-btn.reported {
    color: #ef4444;
    opacity: .7;
    pointer-events: none;
}

/* ============================================================
   VIDEO SPINNER — ad-shield loading state
   Shows during the 1.5s delay before iframe injects
   ============================================================ */
.gistke-video-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0,0,0,.75);
    z-index: 10;
    border-radius: inherit;
}

.gistke-video-spinner__ring {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spinnerRotate 0.75s linear infinite;
}

@keyframes spinnerRotate {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .gistke-video-spinner__ring {
        animation: none;
        border-top-color: var(--accent);
        opacity: .6;
    }
}

.gistke-video-spinner__text {
    font-size: 11px;
    color: rgba(255,255,255,.5);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

/* Loading state on the player container */
.gistke-video-player.loading,
.video-thumb-wrap.loading {
    cursor: wait;
    pointer-events: none;
}

/* Ensure poster is relative-positioned so spinner overlays correctly */
.gistke-video-poster {
    position: relative;
}
