/* ── MAIN CONTENT ── */
.main {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  background: var(--cream);
  padding: 60px 64px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 520px;
  position: relative;
}

.hero-content {
  max-width: 560px;
}

/* Eyebrow styling */
.hero-eyebrow {
  font-family: 'Inter', sans-serif; /* Clean sans-serif */
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.accent-line {
  width: 2px;
  height: 20px;
  background-color: #c1a062; /* Gold color */
}

/* Main Title: "The Economic Forum" */
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 5.0rem; /* Make it very large */
  line-height: 0.9;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Subtitle: "Understand Economics..." */
.hero-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem; /* Noticeably smaller than the main title */
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Color Classes */
.dark {
  color: #001f3f; /* Deep Navy */
}

.gold {
  color: #c1a062; /* Gold */
}

/* Description text - stays serif to match the image */
.hero-desc {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #475569;
  max-width: 580px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 14px 26px;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--navy-light);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13px 26px;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

/* Logo badge */
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.badge-circle {
  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG globe/arrow icon placeholder */
.badge-svg {
  width: 500px;
  height: 500px;
}



/* ── TICKER ── */
.ticker-wrap {
  background: var(--navy);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  width: 100%;
}

.ticker-inner {
  display: flex;
  width: max-content;
  animation: ticker 80s linear infinite;
}

.ticker-inner:hover {
  animation-play-state: paused;
  /* Optional: pauses on hover like a real news ticker */
}

.ticker-track {
  display: flex;
  flex-shrink: 0;
}

.ticker-item {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.ticker-wrap::before,
.ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}



/* ── CONTENT GRID ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  padding: 40px 64px 60px;
}

/* The Floor section */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.section-title svg {
  color: var(--gold);
}

.view-all {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all:hover {
  color: var(--gold-light);
}

.floor-card {
  border: 1.5px dashed #ccc;
  border-radius: 2px;
  background: #fff;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floor-empty {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: #9ca3af;
}

/* Quick Links */
.quick-links-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  padding: 20px;
}

.quick-links-title {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: opacity 0.15s;
}

.quick-link-item:last-child {
  border-bottom: none;
}

.quick-link-item:hover {
  opacity: 0.7;
}

.ql-icon {
  width: 28px;
  height: 28px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.ql-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.ql-sub {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* --- Latest from The Floor Section Styles --- */

#latestFloorPosts {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Space between cards */
}

.home-post-card {
    background-color: #fcf6e5; /* Beige/cream background */
    border-left: 4px solid #c9a84c; /* Gold accent border */
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 0 4px 4px 0;
    text-align: left;
    max-width: 1100px;
}

.home-post-card:hover {
    background-color: #f7eed5; /* Slightly darker beige on hover */
    transform: translateX(6px); /* Nudge to the right */
    box-shadow: 4px 4px 15px rgba(0,0,0,0.05);
}

/* Typography & Content Inside Cards */
.hp-title {
    color: #0f1f3d;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.hp-body {
    color: #4a5568;
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Metadata (Author, Time, Comments) */
.hp-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 12px;
}

.hp-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2d3748;
}

.hp-av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #c9a84c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Reactions (Likes/Dislikes) */
.hp-reactions {
    display: flex;
    gap: 15px;
    color: #a0aec0;
}

.hp-reactions span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

