:root {
  --orange:        #B35000;
  --orange-light:  #D4600A;
  --orange-faint:  rgba(191,87,0,0.07);
  --orange-border: rgba(191,87,0,0.22);
  --charcoal:      #111111;
  --slate:         #1B2A3B;
  --warm-gray:     #F5F3F0;
  --off-white:     #FAF9F7;
  --white:         #FFFFFF;
  --border:        #E2DDD8;
  --text-primary:  #1a1a1a;
  --text-secondary:#4a4a4a;
  --text-muted:    #696969;
  --red:           #dc2626;
  --red-faint:     rgba(220,38,38,0.08);
  --red-border:    rgba(220,38,38,0.25);
  --amber:         #d97706;
  --amber-faint:   rgba(217,119,6,0.08);
  --amber-border:  rgba(217,119,6,0.25);
  --green:         #15803d;
  --green-faint:   rgba(21,128,61,0.08);
  --green-border:  rgba(21,128,61,0.22);
  --blue:          #1d4ed8;
  --podcast-red:   #E51D28;
  --yt-red:        #FF0000;
  --spotify-green: #1DB954;
  --apple-purple:  #872EC4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text-primary); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 40px 48px 36px;
}
.page-header-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.page-header-left {}
.page-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.page-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--orange); }
.page-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; color: var(--text-primary);
  letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 10px;
}
.page-desc {
  font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 520px;
}
.header-actions { display: flex; gap: 10px; flex-shrink: 0; align-self: flex-start; padding-top: 4px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--text-secondary);
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 6px;
  text-decoration: none; transition: all 0.2s;
  border: 1px solid var(--orange);
}
.btn-primary:hover { background: var(--orange-light); }

/* ── FILTER BAR ── */
.filter-bar {
  background: transparent;
  border-bottom: none;
  padding: 0;
  margin: 0 0 18px;
}
.filter-inner {
  display: flex; align-items: center; gap: 6px;
  padding: 0;
  flex-wrap: wrap;
}
.filter-btn {
  background: #fff; border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 12.5px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px; cursor: pointer;
  white-space: nowrap; transition: all 0.15s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── MAIN LAYOUT ── */
.main { max-width: 1160px; margin: 0 auto; padding: 48px 48px 80px; }

/* ── FEATURED STORY ── */
.featured-story {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 0;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 48px;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.featured-story:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.featured-image {
  min-height: 340px;
  background: linear-gradient(135deg, var(--slate) 0%, #0f1c2b 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 28px;
}
.featured-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(191,87,0,0.25) 0%, transparent 60%);
}
.featured-image-inner { position: relative; z-index: 1; }
.featured-category {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--orange); color: #fff;
  padding: 4px 10px; border-radius: 4px;
  margin-bottom: 12px;
}
.featured-image-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(20px, 2vw, 27px); font-weight: 800;
  color: #fff; line-height: 1.2; letter-spacing: -0.02em;
  max-width: 400px;
}
.featured-content {
  padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.featured-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.story-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px;
}
.tag-ai { background: rgba(191,87,0,0.07); color: var(--orange); border: 1px solid rgba(191,87,0,0.18); }
.tag-podcast { background: rgba(229,29,40,0.08); color: var(--podcast-red); border: 1px solid rgba(229,29,40,0.2); }
.tag-dac { background: rgba(0,95,115,0.08); color: #005f73; border: 1px solid rgba(0,95,115,0.2); }
.tag-security { background: rgba(220,38,38,0.08); color: var(--red); border: 1px solid rgba(220,38,38,0.2); }
.tag-project { background: rgba(29,78,216,0.08); color: var(--blue); border: 1px solid rgba(29,78,216,0.2); }
.tag-infrastructure { background: rgba(15,118,110,0.08); color: #0f766e; border: 1px solid rgba(15,118,110,0.2); }
.tag-tools { background: rgba(109,40,217,0.08); color: #6d28d9; border: 1px solid rgba(109,40,217,0.2); }
.tag-general { background: rgba(27,42,59,0.08); color: var(--slate); border: 1px solid rgba(27,42,59,0.18); }
.story-date { font-size: 12px; color: var(--text-muted); }
.featured-headline {
  font-family: 'Lora', serif;
  font-size: 22px; font-weight: 600; line-height: 1.35;
  color: var(--text-primary); letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.featured-excerpt {
  font-size: 14px; line-height: 1.7; color: var(--text-secondary);
  margin-bottom: 24px; flex-grow: 1;
}
.featured-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.story-author {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-muted);
}
.author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #D4600A);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.read-more {
  font-size: 13px; font-weight: 700; color: var(--orange);
  display: flex; align-items: center; gap: 5px;
  text-decoration: none;
}
.read-more:hover { text-decoration: underline; }

/* ── SECTION HEADERS ── */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 22px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--text-primary); letter-spacing: -0.015em;
}
.section-link {
  font-size: 13px; font-weight: 600; color: var(--orange);
  text-decoration: none;
}
.section-link:hover { text-decoration: underline; }

/* ── STORIES GRID ── */
.stories-section { margin-bottom: 56px; }
.stories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: all 0.18s;
  display: flex; flex-direction: column;
}
.story-card:hover {
  border-color: #ccc;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.stories-empty {
  grid-column: 1 / -1;
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 28px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.story-image {
  height: 160px;
  display: flex; align-items: flex-end;
  padding: 14px;
  position: relative; overflow: hidden;
}
.story-body { padding: 18px 20px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.story-meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.story-headline {
  font-family: 'Lora', serif;
  font-size: 16px; font-weight: 600; line-height: 1.4;
  color: var(--text-primary); letter-spacing: -0.005em;
  margin-bottom: 8px;
  flex-grow: 1;
}
.story-excerpt {
  font-size: 13px; line-height: 1.6; color: var(--text-muted);
  margin-bottom: 16px;
}
.story-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}

/* Story image gradients by category */
.img-ai       { background: linear-gradient(135deg, #0B0D10 0%, #1B2A3B 60%, rgba(191,87,0,0.3) 100%); }
.img-security { background: linear-gradient(135deg, #1a0a0a 0%, #2d1515 60%, rgba(220,38,38,0.3) 100%); }
.img-project  { background: linear-gradient(135deg, #071530 0%, #0f2456 60%, rgba(29,78,216,0.3) 100%); }
.img-infra    { background: linear-gradient(135deg, #071a17 0%, #0a2820 60%, rgba(15,118,110,0.3) 100%); }
.img-tools    { background: linear-gradient(135deg, #160c2e 0%, #270f52 60%, rgba(109,40,217,0.3) 100%); }
.img-general  { background: linear-gradient(135deg, #111827 0%, #1f2937 60%, rgba(75,85,99,0.4) 100%); }
.img-icon { font-size: 32px; position: absolute; bottom: 14px; right: 16px; opacity: 0.7; }

/* ── DIVIDER ── */
.content-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 0 0 48px;
}

/* ── ET TALK PODCAST ── */
.podcast-section {
  background: var(--slate);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 56px;
}
.podcast-header {
  padding: 36px 40px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
}
.podcast-brand {
  display: flex; align-items: center; gap: 16px;
}
.podcast-logo {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--orange) 0%, #D4600A 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(191,87,0,0.4);
}
.podcast-name {
  font-family: 'Sora', sans-serif;
  font-size: 26px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 6px;
}
.podcast-tagline { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.4; }
.podcast-platforms {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.platform-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.62);
}
.platform-btns { display: flex; gap: 8px; }
.platform-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 7px;
  font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all 0.15s;
  border: 1px solid transparent;
}
.btn-youtube {
  background: rgba(255,0,0,0.15); border-color: rgba(255,0,0,0.3);
  color: #ff6b6b;
}
.btn-youtube:hover { background: rgba(255,0,0,0.25); color: #ff4444; }
.btn-spotify {
  background: rgba(29,185,84,0.15); border-color: rgba(29,185,84,0.3);
  color: #1ed760;
}
.btn-spotify:hover { background: rgba(29,185,84,0.25); }
.btn-apple {
  background: rgba(135,46,196,0.15); border-color: rgba(135,46,196,0.3);
  color: #c084fc;
}
.btn-apple:hover { background: rgba(135,46,196,0.25); }
.podcast-episodes {
  padding: 24px 40px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.episode-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 11px;
  padding: 20px;
  text-decoration: none; color: inherit;
  transition: all 0.15s;
  display: flex; flex-direction: column;
}
.episode-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}
.episode-num {
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
}
.episode-title {
  font-size: 14.5px; font-weight: 700; color: #fff;
  line-height: 1.35; margin-bottom: 10px; flex-grow: 1;
}
.episode-desc {
  font-size: 12.5px; color: rgba(255,255,255,0.65);
  line-height: 1.55; margin-bottom: 14px;
}
.episode-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.episode-duration {
  font-size: 11.5px; color: rgba(255,255,255,0.62);
  display: flex; align-items: center; gap: 5px;
}
.play-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* ── SOCIAL SECTION ── */
.social-section { margin-bottom: 56px; }
.social-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.social-card {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: all 0.18s;
}
.social-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.social-header {
  padding: 20px 24px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.social-brand {
  display: flex; align-items: center; gap: 10px;
}
.social-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.social-icon-yt { background: rgba(255,0,0,0.1); }
.social-icon-ig { background: linear-gradient(135deg, rgba(225,48,108,0.15) 0%, rgba(193,53,132,0.15) 100%); }
.social-icon-li { background: rgba(10,102,194,0.12); color: #0a66c2; font-weight: 800; font-size: 16px; }
.social-icon-apple { background: rgba(135,46,196,0.12); }
.social-icon-spotify { background: rgba(29,185,84,0.12); color: var(--spotify-green); }
.social-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.social-handle { font-size: 12px; color: var(--text-muted); }
.social-follow-btn {
  font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text-secondary);
  background: #fff; transition: all 0.15s;
}
.social-card:hover .social-follow-btn { border-color: var(--orange); color: var(--orange); }
.social-preview {
  background: var(--off-white);
  padding: 16px 24px 20px;
}
.social-preview-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 12px;
}
.social-items { display: flex; flex-direction: column; gap: 10px; }
.social-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.45;
}
.social-item-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0; margin-top: 6px;
}
.social-item-title { font-weight: 600; color: var(--text-primary); }
.social-item-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  margin-bottom: 0;
}
.nl-left {}
.nl-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.nl-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.015em; margin-bottom: 8px;
}
.nl-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 420px; }
.nl-form {
  display: flex; gap: 10px; flex-shrink: 0;
  align-items: center;
}
.nl-input {
  padding: 10px 16px; border-radius: 7px;
  border: 1px solid var(--border); font-size: 14px;
  font-family: inherit; background: #fff;
  width: 260px;
  outline: none; transition: border-color 0.15s;
}
.nl-input:focus { border-color: var(--orange); }
.nl-submit {
  padding: 10px 20px; border-radius: 7px;
  background: var(--orange); color: #fff;
  font-size: 13.5px; font-weight: 700;
  border: none; cursor: pointer; font-family: inherit;
  transition: background 0.15s; white-space: nowrap;
}
.nl-submit:hover { background: var(--orange-light); }
.nl-note { font-size: 11.5px; color: var(--text-muted); margin-top: 8px; text-align: center; }

/* ── PAGE FOOTER ── */
.footer-brand { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); }
.footer-brand span { color: var(--orange); }
@media (max-width: 640px) {
  .main { padding: 32px 20px 60px; }
  .page-header { padding: 28px 20px 24px; }
  .social-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .page-header-inner { flex-direction: column; }
}
