/* ═══════════════════════════════════════════════════════════════════
   GLIDESLOPE v4 — 3-Column Resizable Layout
   All classes prefixed gs3- to avoid collisions with stylesheet.css
   Column widths driven by CSS custom properties for instant restore
═══════════════════════════════════════════════════════════════════ */

/* ── CSS custom properties & reset ───────────────────────────── */
/* ── Force header full width regardless of stylesheet.css constraints ── */
header, .site-header, #site-header, .main-header, #main-header,
.header-wrap, #header-wrap, .header-inner, nav, .main-nav,
.navbar, #navbar, .nav-bar {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

:root {
  --gs3-col-left:   18vw;
  --gs3-col-right:  18vw;
  --gs3-col-min:    12vw;
  --gs3-col-max:    28vw;
  --gs3-handle-w:   6px;
  --gs3-border:     #e5e7eb;
  --gs3-border-str: 2px solid #111;
  --gs3-panel-pad:  12px;
  --gs3-font-mono:  'Courier New', 'Courier', monospace;
  --gs3-font-serif: 'Georgia', 'Times New Roman', serif;
  --gs3-font-sans:  'Georgia', 'Times New Roman', serif; /* same as serif - no sans */
}
/* Allow the restore script to override widths before paint */
#gs-col-restore { }

/* ── Breaking ticker ──────────────────────────────────────────── */
.gs3-ticker {
  display: flex; align-items: stretch;
  background: #111; height: 38px; overflow: hidden;
  border-bottom: 1px solid #000;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
}
/* Push page content below fixed ticker */
body { padding-top: 38px !important; }
.gs3-ticker__label {
  display: flex; align-items: center; gap: 7px;
  padding: 0 16px; flex-shrink: 0;
  background: #b91c1c; color: #fff;
  font: 800 .58rem/1 var(--gs3-font-mono);
  letter-spacing: .12em; text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.1);
}
.gs3-ticker__dot {
  width: 6px; height: 6px; background: #fff;
  border-radius: 50%; flex-shrink: 0;
  animation: gs3-blink 1s infinite;
}
@keyframes gs3-blink { 0%,100%{opacity:1} 50%{opacity:.1} }
.gs3-ticker__scroll { flex: 1; overflow: hidden; position: relative; }
.gs3-ticker__track {
  display: flex; align-items: center; white-space: nowrap;
  position: absolute; inset: 0;
  animation: gs3-scroll 90s linear infinite;
}
.gs3-ticker__track:hover { animation-play-state: paused; }
@keyframes gs3-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.gs3-ticker__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 22px; height: 38px;
  color: #f0f0f0; text-decoration: none;
  transition: background .15s;
}
.gs3-ticker__item:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.gs3-ticker__src   { font: 700 .54rem/1 var(--gs3-font-mono); letter-spacing:.09em; text-transform:uppercase; color:rgba(255,255,255,.4); }
.gs3-ticker__ttl   { font-size: .78rem; font-weight: 500; }
.gs3-ticker__snt   { font: 700 .58rem/1 var(--gs3-font-mono); letter-spacing:.05em; text-transform:uppercase; }
.gs3-ticker__sep   { color: rgba(255,255,255,.15); }

/* ── 3-col layout shell ───────────────────────────────────────── */
.gs3-layout {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: calc(100vh - 38px);
  border-bottom: 1px solid var(--gs3-border);
}

/* ── Columns ──────────────────────────────────────────────────── */
.gs3-col {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: var(--gs3-col-min);
}
.gs3-col--left  {
  width: var(--gs3-col-left);
  flex-shrink: 0;
  border-right: var(--gs3-border-str);
  will-change: width;
}
.gs3-col--center {
  flex: 1;
  min-width: 320px;
  border-right: var(--gs3-border-str);
}
.gs3-col--right {
  width: var(--gs3-col-right);
  flex-shrink: 0;
  will-change: width;
}

/* ── Drag handles ─────────────────────────────────────────────── */
.gs3-handle {
  width: var(--gs3-handle-w);
  flex-shrink: 0;
  background: #111;
  cursor: col-resize;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
}
.gs3-handle:hover,
.gs3-handle.gs3-handle--dragging {
  background: #333;
}
.gs3-handle__grip {
  width: 2px;
  height: 32px;
  background: rgba(255,255,255,.25);
  border-radius: 1px;
  pointer-events: none;
}
.gs3-handle:hover .gs3-handle__grip,
.gs3-handle.gs3-handle--dragging .gs3-handle__grip {
  background: rgba(255,255,255,.6);
}

/* ── Panels (sections within columns) ────────────────────────── */
.gs3-panel {
  border-bottom: 1px solid var(--gs3-border);
  padding: var(--gs3-panel-pad);
}
.gs3-panel--flush { padding: 0; }
.gs3-panel--grow  { flex: 1; }
.gs3-panel:last-child { border-bottom: none; }

.gs3-panel__hdr {
  font-family: var(--gs3-font-mono);
  font-size: .88rem; font-weight: 800; line-height: 1;
  letter-spacing: .06em; text-transform: uppercase;
  color: #111;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #111;
  display: flex; align-items: center; gap: 6px;
}

/* ── Live dot ─────────────────────────────────────────────────── */
.gs3-live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #16a34a; border-radius: 50%;
  animation: gs3-glow 1.8s infinite;
  flex-shrink: 0;
}
.gs3-live-dot--sm { width: 5px; height: 5px; }
@keyframes gs3-glow {
  0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(22,163,74,.5)}
  50%{opacity:.6;box-shadow:0 0 0 4px rgba(22,163,74,0)}
}

/* ── Sentiment mini-panel ─────────────────────────────────────── */
.gs3-sent-main { margin-bottom: 10px; }
.gs3-sent-label {
  font-family: var(--gs3-font-serif);
  font-size: 1.25rem; font-weight: 800; line-height: 1;
}
.gs3-sent-score {
  font: 600 .85rem/1 var(--gs3-font-mono);
  opacity: .7; margin-top: 2px;
}
.gs3-sent-gauge { position: relative; margin-top: 8px; }
.gs3-sent-gauge__track {
  height: 5px; border-radius: 3px;
  display: flex; overflow: hidden; gap: 1px;
}
.gs3-sent-gauge__bear { flex:1; background:#fca5a5; border-radius:3px 0 0 3px; }
.gs3-sent-gauge__neut { flex:1; background:#e5e7eb; }
.gs3-sent-gauge__bull { flex:1; background:#86efac; border-radius:0 3px 3px 0; }
.gs3-sent-gauge__pin {
  position: absolute; top: 50%;
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3);
  transform: translate(-50%, calc(-50% - 2px));
  transition: left .4s ease;
}

.gs3-sent-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-top: 10px;
}
.gs3-sent-cell {
  background: #f9fafb; border: 1px solid var(--gs3-border);
  border-radius: 5px; padding: 7px 9px;
}
.gs3-sent-cell__lbl {
  font: 700 .55rem/1 var(--gs3-font-mono);
  letter-spacing: .07em; text-transform: uppercase; color: #9ca3af;
}
.gs3-sent-cell__val {
  font-family: var(--gs3-font-serif);
  font-size: 1.1rem; font-weight: 800; line-height: 1.1; margin-top: 2px;
}
.gs3-sent-cell__sub { font: .55rem/1 var(--gs3-font-mono); color: #9ca3af; margin-top: 2px; }
.gs3-mini-bar {
  height: 3px; background: #e5e7eb; border-radius: 2px; margin-top: 4px; overflow: hidden;
}
.gs3-mini-bar__fill { height: 100%; border-radius: 2px; transition: width .8s; }

.gs3-pulse-ts {
  font: 500 .62rem/1.4 var(--gs3-font-mono);
  color: #9ca3af; margin-top: 10px;
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}

/* ── Live Feed (left column) ──────────────────────────────────── */
.gs3-livefeed { display: flex; flex-direction: column; }
.gs3-livefeed__item {
  display: block; padding: 9px 0;
  border-bottom: 1px solid var(--gs3-border);
  text-decoration: none; color: inherit;
  transition: background .1s;
}
.gs3-livefeed__item:last-child { border-bottom: none; }
.gs3-livefeed__item:hover { background: #fafafa; text-decoration: none; }
.gs3-livefeed__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 3px;
}
.gs3-livefeed__src { font: 700 .55rem/1 var(--gs3-font-mono); letter-spacing:.07em; text-transform:uppercase; color:#9ca3af; }
.gs3-livefeed__age { font: .55rem/1 var(--gs3-font-mono); color: #bbb; }
.gs3-livefeed__ttl {
  font-size: .82rem; font-weight: 600; line-height: 1.3; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gs3-livefeed__sent { font: 700 .55rem/1 var(--gs3-font-mono); letter-spacing:.05em; text-transform:uppercase; margin-top: 3px; }

/* ── Carousel (center) ────────────────────────────────────────── */
.gs3-carousel { position: relative; overflow: hidden; aspect-ratio: 16/7; }
.gs3-slide__img {
  position: absolute; inset: 0;
  background: #1a1a1a;
}
.gs3-slide__img img { width:100%;height:100%;object-fit:cover; }
.gs3-slide__overlay {
  position: relative; z-index: 2; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.55) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 20px 32px;
}
.gs3-slide__overlay a { color: #fff; text-decoration: none; display: block; }
.gs3-slide__meta { font: 700 .65rem/1 var(--gs3-font-mono); letter-spacing:.05em; text-transform:uppercase; color:rgba(255,255,255,.6); margin-bottom:7px; }
.gs3-slide__title { font-family:var(--gs3-font-serif); font-size:1.5rem; line-height:1.15; color:#fff; margin-bottom:7px; }
.gs3-slide__desc {
  font-size:.82rem; line-height:1.5; color:rgba(255,255,255,.8); margin-bottom:10px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.gs3-slide__sent { display:flex; align-items:center; gap:8px; margin-bottom:0; }
.gs3-slide__bar  { flex:1; height:4px; background:rgba(255,255,255,.2); border-radius:2px; position:relative; }
.gs3-slide__pin  { position:absolute; top:50%; width:9px;height:9px; border-radius:50%; border:2px solid rgba(255,255,255,.75); transform:translate(-50%,-50%); }
.swiper-pagination { position:absolute; bottom:10px !important; }
.swiper-pagination-bullet { background:rgba(255,255,255,.4); opacity:1; }
.swiper-pagination-bullet-active { background:#fff; }
.gs3-swiper-btn {
  position:absolute; bottom:12px; right:12px; z-index:5;
  width:32px; height:32px; border:none; border-radius:50%;
  background:rgba(0,0,0,.5); color:#fff; cursor:pointer;
  display:grid; place-items:center; font-size:9px;
}
.gs3-swiper-btn:hover { background:rgba(0,0,0,.8); }

/* ── Headlines feed (center) ──────────────────────────────────── */
.gs3-headlines { display:flex; flex-direction:column; }
.gs3-hl {
  display: grid; grid-template-columns: 86px 1fr;
  gap: 12px; align-items: start;
  padding: 12px var(--gs3-panel-pad);
  border-bottom: 1px solid var(--gs3-border);
  overflow: hidden;
}
.gs3-hl > .gs3-sstrip {
  grid-column: 2 / 3;
  padding-top: 0;
  margin-top: -4px;
}
.gs3-hl:last-child { border-bottom: none; }
.gs3-hl__thumb {
  grid-column: 1;
  grid-row: 1;
  width:86px; height:66px; border-radius:6px; overflow:hidden;
  display:block; background:#f3f4f6; border:1px solid var(--gs3-border);
  text-decoration:none;
  flex-shrink: 0;
  min-width: 0;
}
.gs3-hl__thumb img { width:100%;height:100%;object-fit:cover; }
.gs3-hl__body { grid-column: 2; min-width:0; overflow:hidden; }
.gs3-hl__meta { font:.62rem/1 var(--gs3-font-mono); font-weight:600; color:#9ca3af; margin-bottom:4px; }
.gs3-hl__title {
  font-family:var(--gs3-font-serif); font-size:.95rem; line-height:1.3; margin-bottom:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.gs3-hl__title a { color:#111; text-decoration:none; }
.gs3-hl__title a:hover { text-decoration:underline; }
.gs3-hl__desc {
  font-size:.78rem; line-height:1.5; color:#666;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
@media (max-width:1100px) {
  .gs3-hl { grid-template-columns: 72px 1fr; }
  .gs3-hl > .gs3-sstrip { grid-column: 2 / 3; }
}
@media (max-width:600px) {
  .gs3-hl { grid-template-columns: 60px 1fr; gap: 8px; }
  .gs3-hl__thumb { width:60px; height:48px; }
  .gs3-hl > .gs3-sstrip { grid-column: 1/-1; }
}

/* ── Trending Now (right) ─────────────────────────────────────── */
.gs3-tr {
  display: grid; grid-template-columns: 66px 1fr;
  gap: 9px; align-items: start;
  padding: 9px 0; border-bottom: 1px solid var(--gs3-border);
}
.gs3-tr:last-child { border-bottom: none; }
.gs3-tr__thumb {
  width:66px; height:52px; border-radius:5px; overflow:hidden;
  display:block; background:#f3f4f6; border:1px solid var(--gs3-border);
  text-decoration:none;
}
.gs3-tr__thumb img { width:100%;height:100%;object-fit:cover; }
.gs3-tr__body { min-width:0; }
.gs3-tr__meta { font:.55rem/1 var(--gs3-font-mono); color:#9ca3af; margin-bottom:3px; }
.gs3-tr__title { font-family:var(--gs3-font-serif); font-size:.82rem; font-weight:700; line-height:1.25; margin-bottom:4px; }
.gs3-tr__title a { color:#111; text-decoration:none; }
.gs3-tr__title a:hover { text-decoration:underline; }

/* ── Market Drivers (right) ───────────────────────────────────── */
.gs3-driver {
  border: 1px solid var(--gs3-border); border-radius:7px; overflow:hidden;
  margin-bottom: 9px; background:#fff;
  transition: border-color .15s, box-shadow .15s;
}
.gs3-driver:hover { border-color:#9ca3af; box-shadow:0 2px 8px rgba(0,0,0,.07); }
.gs3-driver:last-child { margin-bottom:0; }
.gs3-driver__img { width:100%; aspect-ratio:16/6; background:#f3f4f6; overflow:hidden; }
.gs3-driver__img img { width:100%;height:100%;object-fit:cover; }
.gs3-driver__body { padding:8px 10px 0; }
.gs3-driver__kw { font:.58rem/1 var(--gs3-font-mono); letter-spacing:.09em; text-transform:uppercase; color:#9ca3af; display:block; margin-bottom:4px; }
.gs3-driver__ttl { font-family:var(--gs3-font-serif); font-size:.82rem; line-height:1.3; color:#111; margin-bottom:5px; }
.gs3-driver__link { font:.7rem/1 var(--gs3-font-mono); font-weight:700; color:#111; text-decoration:none; }
.gs3-driver__link:hover { text-decoration:underline; }

/* ── Topic Clusters (right) ───────────────────────────────────── */
.gs3-topics { display:flex; flex-wrap:wrap; gap:6px; }
.gs3-topic-pill {
  display: inline-block;
  font: 600 .68rem/1 var(--gs3-font-mono);
  letter-spacing: .04em; text-transform: capitalize;
  padding: 5px 11px; border-radius: 999px;
  background: #f3f4f6; border: 1px solid var(--gs3-border);
  color: #374151; text-decoration: none;
  transition: background .12s, border-color .12s;
}
.gs3-topic-pill:hover { background:#e5e7eb; border-color:#9ca3af; text-decoration:none; }

/* ── Shared sentiment strip ───────────────────────────────────── */
.gs3-sstrip {
  display: flex; align-items: center; gap: 6px; padding-top: 6px;
}
.gs3-sstrip__lbl   { font:.62rem/1 var(--gs3-font-mono); font-weight:700; letter-spacing:.05em; text-transform:uppercase; flex-shrink:0; }
.gs3-sstrip__score { font:.68rem/1 var(--gs3-font-mono); font-weight:700; flex-shrink:0; }
.gs3-sstrip__bar   { flex:1; height:4px; background:var(--gs3-border); border-radius:2px; position:relative; }
.gs3-sstrip__pin   { position:absolute; top:50%; width:9px;height:9px; border-radius:50%; border:2px solid #fff; transform:translate(-50%,-50%); box-shadow:0 0 3px rgba(0,0,0,.2); }

/* ── Responsive ───────────────────────────────────────────────── */

/* Large desktop: full 3-column (default, no breakpoint needed) */

/* Landscape tablet / small laptop: hide right column, left + center only */
@media (max-width: 1100px) {
  .gs3-col--right,
  #gs3HandleR { display: none; }
}

/* Portrait tablet (769–1024px): 2-column — left panels stay stacked,
   center carousel + headlines fill the right side beside them */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Keep layout as a row — left | center, right hidden */
  .gs3-layout {
    flex-direction: row;
    align-items: stretch;
  }

  /* Left column: fixed sensible width, scrolls independently */
  .gs3-col--left {
    width: 260px !important;
    min-width: 220px;
    flex-shrink: 0;
    border-right: var(--gs3-border-str) !important;
  }

  /* Center column: fills all remaining space */
  .gs3-col--center {
    flex: 1 !important;
    min-width: 0;
    border-right: none !important;
  }

  /* Right column + its handle stay hidden */
  .gs3-col--right,
  #gs3HandleR { display: none !important; }

  /* Left handle also hidden — no resizing on tablet */
  #gs3HandleL { display: none !important; }

  /* Carousel fills its container naturally */
  .gs3-carousel { aspect-ratio: 16 / 7; }

  /* Headlines - explicit thumb width to prevent image/text overlap */
  .gs3-hl { grid-template-columns: 86px 1fr; gap: 10px; }
  .gs3-hl__thumb { width: 86px; height: 66px; flex-shrink: 0; }
  .gs3-hl__body { min-width: 0; overflow: hidden; }
  .gs3-hl > .gs3-sstrip { grid-column: 2 / 3; }
}

/* Mobile portrait: fully stacked single column */
@media (max-width: 768px) {
  .gs3-layout { flex-direction: column; }
  .gs3-col--left, .gs3-col--center, .gs3-col--right {
    width: 100% !important;
    border-right: none;
    border-bottom: var(--gs3-border-str);
  }
  .gs3-handle { display: none; }
  .gs3-hl { grid-template-columns: 72px 1fr; }
  .gs3-hl > .gs3-sstrip { grid-column: 1/-1; }
}

/* ══════════════════════════════════════════════════════════
   GLIDESLOPE AVIATION THEME — precision, altitude, focus
   Visual language: cockpit instruments, HUD overlays,
   runway centerlines, altimeter aesthetics
══════════════════════════════════════════════════════════ */

/* ── Cockpit instrument panel: sentiment gauge ─────────── */
.gs3-sent-gauge__track {
  background: linear-gradient(90deg, #450a0a 0%, #1e1b4b 45%, #052e16 100%);
  height: 6px !important;
  border-radius: 0 !important;
  gap: 0 !important;
  position: relative;
}
.gs3-sent-gauge__bear { background: transparent !important; }
.gs3-sent-gauge__neut { background: transparent !important; }
.gs3-sent-gauge__bull { background: transparent !important; }
/* Tick marks like an altimeter */
.gs3-sent-gauge__track::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent, transparent calc(10% - 1px),
    rgba(255,255,255,.12) calc(10% - 1px), rgba(255,255,255,.12) 10%
  );
}

/* ── Panel headers: HUD readout style ──────────────────── */
.gs3-panel__hdr { position: relative; }
.gs3-panel__hdr::before,
.gs3-panel__hdr::after {
  content: '';
  position: absolute;
  bottom: -2px;
  width: 8px; height: 8px;
  border-bottom: 2px solid #111;
}
.gs3-panel__hdr::before { left: 0;  border-left:  2px solid #111; }
.gs3-panel__hdr::after  { right: 0; border-right: 2px solid #111; }

/* ── Drag handles: runway centerline ───────────────────── */
.gs3-handle {
  background: #0f172a !important;
  position: relative;
}
.gs3-handle::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.3) 0px, rgba(255,255,255,.3) 6px,
    transparent 6px, transparent 14px
  );
}
.gs3-handle__grip { display: none; }
.gs3-handle:hover { background: #1e293b !important; }

/* ── Carousel: HUD overlay with corner brackets ─────────── */
.gs3-slide__overlay::before,
.gs3-slide__overlay::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  border-color: rgba(255,255,255,.35);
  border-style: solid;
}
.gs3-slide__overlay::before {
  top: 12px; left: 12px;
  border-width: 2px 0 0 2px;
}
.gs3-slide__overlay::after {
  bottom: 12px; right: 12px;
  border-width: 0 2px 2px 0;
}

/* ── Sentiment label: monospace instrument readout ──────── */
.gs3-sent-label {
  font-family: var(--gs3-font-mono) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}
.gs3-sent-score {
  font-family: var(--gs3-font-mono) !important;
  font-size: .85rem !important;
}

/* ── Live feed: radar sweep feel ───────────────────────── */
.gs3-livefeed__item {
  border-left: 2px solid transparent;
  padding-left: 8px !important;
  transition: border-color .15s, background .15s !important;
}
.gs3-livefeed__item:hover {
  border-left-color: #374151;
  background: #fafafa !important;
}

/* ── Trending cards: target reticle thumbnail ───────────── */
.gs3-tr__thumb, .gs3-hl__thumb {
  position: relative; overflow: hidden;
}
.gs3-tr__thumb::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(0,0,0,.08);
  pointer-events: none;
}

/* ── Topic pills: transponder code aesthetic ────────────── */
.gs3-topic-pill {
  font-family: var(--gs3-font-mono) !important;
  font-size: .62rem !important;
  letter-spacing: .06em !important;
  border-radius: 2px !important;
  text-transform: uppercase !important;
  background: #0f172a !important;
  color: rgba(255,255,255,.75) !important;
  border: 1px solid #334155 !important;
  padding: 5px 10px !important;
  transition: background .12s, color .12s !important;
}
.gs3-topic-pill:hover {
  background: #1e293b !important;
  color: #fff !important;
  border-color: #64748b !important;
  text-decoration: none !important;
}

/* ── Sentiment strip: approach path indicator ───────────── */
.gs3-sstrip__bar {
  background: linear-gradient(90deg, 
    rgba(220,38,38,.15) 0%, 
    rgba(156,163,175,.15) 50%, 
    rgba(22,163,74,.15) 100%
  ) !important;
  height: 3px !important;
}

/* ── Column borders: precision engineering lines ────────── */
.gs3-col--left  { border-right: 2px solid #0f172a !important; }
.gs3-col--center { border-right: 2px solid #0f172a !important; }

/* ── Panel section border: instrument divider ───────────── */
.gs3-panel { border-bottom: 1px solid #e5e7eb; }
.gs3-panel:not(.gs3-panel--flush) { padding: 14px !important; }

/* ── Headline titles: crisp editorial type ──────────────── */
.gs3-hl__title a, .gs3-tr__title a {
  font-family: var(--gs3-font-serif) !important;
  font-size: .95rem !important;
  line-height: 1.3 !important;
}
/* ── Slide title: large runway sign font ────────────────── */
.gs3-slide__title {
  font-size: 1.45rem !important;
  font-family: var(--gs3-font-serif) !important;
  letter-spacing: -.01em !important;
}
.gs3-slide__meta {
  letter-spacing: .1em !important;
  font-size: .6rem !important;
}

/* ── myfeed: precise targeting from fetch_user_feed.php ─── */

/* Strip wrapper chrome */
.myfeed-widget-container,
.myfeed-widget-container .mood-card {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 3-col grid */
.myfeed-widget-container .mood-card-body {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px !important;
  padding: 0 !important;
}
@media (max-width: 900px) {
  .myfeed-widget-container .mood-card-body { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .myfeed-widget-container .mood-card-body { grid-template-columns: 1fr !important; }
}

/* Card */
.myfeed-widget-container .story-item {
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #fff !important;
  min-width: 0 !important;
}

/* Image container */
.myfeed-widget-container .story-image-container {
  width: 100% !important;
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: block !important;
  aspect-ratio: unset !important;
  background: repeating-linear-gradient(
    -45deg, #f3f4f6 0px, #f3f4f6 8px, #e9eaeb 8px, #e9eaeb 16px
  ) !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
}
.myfeed-widget-container .story-image-container a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.myfeed-widget-container .story-image-container img.story-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Content area */
.myfeed-widget-container .story-content {
  padding: 10px 12px 4px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-width: 0 !important;
}

/* Source | Date meta */
.myfeed-widget-container .story-meta {
  font-family: 'Courier New', monospace !important;
  font-size: .58rem !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #9ca3af !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Title */
.myfeed-widget-container .story-title {
  font-family: 'Georgia', serif !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #111 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.myfeed-widget-container .story-title a {
  color: #111 !important;
  text-decoration: none !important;
}
.myfeed-widget-container .story-title a:hover {
  text-decoration: underline !important;
}

/* Summary */
.myfeed-widget-container .story-summary {
  font-size: .78rem !important;
  line-height: 1.45 !important;
  color: #6b7280 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Sentiment display */
.myfeed-widget-container .sentiment-display {
  padding: 6px 12px !important;
  border-top: 1px solid #f3f4f6 !important;
}
.myfeed-widget-container .sentiment-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 4px !important;
}
.myfeed-widget-container .sentiment-label {
  font-family: 'Courier New', monospace !important;
  font-size: .58rem !important;
  font-weight: 800 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}
.myfeed-widget-container .sentiment-score {
  font-family: 'Courier New', monospace !important;
  font-size: .65rem !important;
  font-weight: 700 !important;
}
.myfeed-widget-container .sentiment-strip {
  height: 4px !important;
  background: linear-gradient(90deg, #fca5a5 0%, #e5e7eb 50%, #86efac 100%) !important;
  border-radius: 2px !important;
  position: relative !important;
}
.myfeed-widget-container .sentiment-marker {
  position: absolute !important;
  top: 50% !important;
  width: 9px !important; height: 9px !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  transform: translate(-50%, -50%) !important;
  box-shadow: 0 0 3px rgba(0,0,0,.2) !important;
}

/* Action bar */
.myfeed-widget-container .action-button-inline {
  font-family: 'Courier New', monospace !important;
  font-size: .6rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding: 5px 10px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #374151 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background .12s !important;
}
.myfeed-widget-container .action-button-inline:hover {
  background: #f3f4f6 !important;
  text-decoration: none !important;
}
