/**
 * Workplace Economies Theme Styles
 * Brand Color Palette - CSS Custom Properties
 */

:root {
  /* Primary Colors - Blue */
  /* Use for main CTAs, links, and primary interactive elements */
  --primary-900: #1e3a8a;
  --primary-700: #1d4ed8;
  --primary-600: #2563eb;
  --primary-500: #3b82f6;
  --primary-400: #60a5fa;
  --primary-300: #93c5fd;
  --primary-100: #dbeafe;

  /* Secondary Colors - Purple */
  /* Use for accents, highlights, and secondary actions */
  --secondary-900: #581c87;
  --secondary-700: #7e22ce;
  --secondary-600: #9333ea;
  --secondary-500: #a855f7;
  --secondary-400: #c084fc;
  --secondary-300: #d8b4fe;
  --secondary-100: #f3e8ff;

  /* Success Colors - Green */
  /* Use for status messages and positive feedback */
  --success-700: #15803d;
  --success-600: #16a34a;
  --success-500: #22c55e;
  --success-400: #4ade80;
  --success-100: #dcfce7;

  /* Warning Colors - Orange */
  /* Use for alerts and important notices */
  --warning-700: #c2410c;
  --warning-600: #ea580c;
  --warning-500: #f97316;
  --warning-400: #fb923c;
  --warning-100: #ffedd5;

  /* Error Colors - Red */
  /* Use for error messages and destructive actions */
  --error-700: #b91c1c;
  --error-600: #dc2626;
  --error-500: #ef4444;
  --error-400: #f87171;
  --error-100: #fee2e2;

  /* Neutral Colors */
  /* Use for text, backgrounds, borders, and UI elements */
  --neutral-900: #111827;
  --neutral-800: #1f2937;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --neutral-50: #f9fafb;

  /* Gradient for CTA buttons */
  --gradient-cta: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--secondary-500) 100%
  );
}

/* ============================================
   Global/Base Styles (from default.hbs)
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #ffffff;
}

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

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ============================================
   Brand Name Styling
   Usage: {{> brand-name}}
   Can be used in headings, navigation, etc.
   ============================================ */

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  white-space: nowrap;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
}

.brand-initial {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 0;
  line-height: 1;
  color: #111827;
}

.brand-rest {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-weight: 100;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #111827;
}

/* ============================================
   Navigation (from partials/navigation.hbs)
   ============================================ */

.site-nav {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Logo Styles */
.site-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: #111827;
  flex-shrink: 0;
}

.site-nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.site-nav-logo-text-short {
  display: none;
}

/* Brand name sizing in navigation */
.site-nav-logo .brand-initial {
  font-size: 1.5rem;
}

.site-nav-logo .brand-rest {
  font-size: 1.2rem;
}

/* Navigation Menu */
.site-nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.site-nav-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}

.site-nav-item a:hover {
  color: #3b82f6;
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Subscribe Button */
.site-nav-subscribe {
  background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition:
    opacity 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}

.site-nav-subscribe:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Hamburger Menu */
.site-nav-hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.site-nav-hamburger span {
  width: 24px;
  height: 2.5px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.site-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 200;
  padding: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.site-nav-drawer.active {
  transform: translateX(0);
}

.site-nav-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.site-nav-drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: #111827;
}

.site-nav-close {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  border-radius: 8px;
}

.site-nav-close:hover {
  background: #f3f4f6;
}

.site-nav-close svg {
  width: 24px;
  height: 24px;
}

.site-nav-drawer-menu {
  list-style: none;
  padding: 24px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.site-nav-drawer-menu li a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  transition: color 0.2s;
}

.site-nav-drawer-menu li a:hover {
  color: #3b82f6;
}

.site-nav-drawer-subscribe {
  background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  margin: 0 24px 32px 24px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}

.site-nav-drawer-subscribe:hover {
  opacity: 0.9;
}

.site-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 150;
}

.site-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Navigation responsive */
@media (max-width: 768px) {
  .site-nav-container {
    padding: 16px 20px;
  }

  .site-nav-logo-text-full {
    display: none;
  }

  .site-nav-logo-text-short {
    display: block;
  }

  .site-nav-center {
    display: none;
  }

  .site-nav-subscribe {
    display: none;
  }

  .site-nav-hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .site-nav-drawer,
  .site-nav-overlay {
    display: none !important;
  }
}

/* ============================================
   Footer (from partials/footer.hbs)
   ============================================ */

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 30px 40px;
  margin-top: 80px;
}

.site-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid #374151;
  text-align: center;
  font-size: 0.875rem;
}

.site-footer-bottom p {
  margin: 5px 0;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 20px;
    margin-top: 60px;
  }
}

/* ============================================
   Subscribe / Signup Box
   Usage: {{> subscribe-box}}
   ============================================ */

.subscribe-box {
  width: 100%;
  padding: 0 1rem;
}

.subscribe-box-inner {
  max-width: 38rem;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.08),
    0 4px 10px -2px rgba(0, 0, 0, 0.04);
}

.subscribe-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary-500);
}

.subscribe-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.subscribe-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
}

.subscribe-description {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  margin-bottom: 1.75rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form {
  margin-bottom: 1rem;
}

.subscribe-form-group {
  display: flex;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

.subscribe-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: var(--neutral-900);
  background: #ffffff;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.subscribe-input::placeholder {
  color: var(--neutral-400);
}

.subscribe-input:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.subscribe-button {
  padding: 0.75rem 1.5rem;
  background: var(--gradient-cta);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.subscribe-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.subscribe-button:active {
  transform: translateY(0);
}

.subscribe-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.subscribe-message {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
}

.subscribe-message-success {
  color: var(--success-700);
  background: var(--success-100);
}

.subscribe-message-error {
  color: var(--error-700);
  background: var(--error-100);
}

.subscribe-disclaimer {
  font-size: 0.8125rem;
  color: var(--neutral-500);
  margin: 0;
}

/* Subscribe box responsive */
@media (max-width: 480px) {
  .subscribe-form-group {
    flex-direction: column;
  }

  .subscribe-button {
    width: 100%;
  }

  .subscribe-box-inner {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .subscribe-icon svg {
    width: 3rem;
    height: 3rem;
  }

  .subscribe-title {
    font-size: 1.75rem;
  }

  .subscribe-description {
    font-size: 1rem;
  }

  .subscribe-box-inner {
    padding: 3rem 2.5rem;
  }
}
/* This file will be merged into theme.css - includes all remaining styles from templates */
/* Use this command to consolidate: cat theme.css theme-complete.css > theme-new.css && mv theme-new.css theme.css */

/* ============================================
   HOMEPAGE (index.hbs) STYLES  
   ============================================ */

.homepage-subscribe-wrapper {
  margin-bottom: 3rem;
}

.homepage-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #faf5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.homepage-content {
  max-width: 56rem;
  width: 100%;
  text-align: center;
  padding: 2rem 0;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.homepage-logo {
  width: 4rem;
  height: 4rem;
}

.site-title {
  font-size: 2rem;
  font-weight: 400;
  color: #111827;
  line-height: 1;
}

.site-title .brand-initial {
  font-size: 2.2rem;
}

.site-title .brand-rest {
  font-size: 1.75rem;
}

.coming-soon-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1d4ed8;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.main-headline {
  font-size: 1.5rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
  line-height: 1.2;
}

.tagline {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.feature-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
}

.feature-icon-blue {
  color: #2563eb;
}

.feature-icon-purple {
  color: #9333ea;
}

.feature-icon-green {
  color: #10b981;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: #4b5563;
}

.social-section {
  color: #6b7280;
  font-size: 0.875rem;
}

.social-label {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover {
  color: #2563eb;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .homepage-container {
    padding: 2rem;
  }

  .homepage-logo {
    width: 5rem;
    height: 5rem;
  }

  .site-title {
    font-size: 2.5rem;
  }

  .site-title .brand-initial {
    font-size: 3rem;
  }

  .site-title .brand-rest {
    font-size: 2.4rem;
  }

  .coming-soon-badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2.5rem;
  }

  .main-headline {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .tagline {
    font-size: 1.25rem;
    margin-bottom: 4rem;
  }

  .features-grid {
    margin-bottom: 5rem;
  }

  .feature-icon {
    width: 3rem;
    height: 3rem;
  }
}

@media (min-width: 1024px) {
  .site-title {
    font-size: 3rem;
  }

  .site-title .brand-initial {
    font-size: 4rem;
  }

  .site-title .brand-rest {
    font-size: 3.2rem;
  }

  .main-headline {
    font-size: 2.25rem;
  }
}

/* ============================================
   POST TEMPLATE (post.hbs) STYLES
   ============================================ */

.post-full {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}

.post-full-header {
  margin: 0 0 50px;
}

.post-full-tags {
  margin: 0 0 10px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-full-tags a {
  color: #3b82f6;
  text-decoration: none;
}

.post-full-title {
  margin: 0 0 15px;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

.post-full-custom-excerpt {
  margin: 0 0 30px;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #6b7280;
}

.post-full-byline {
  display: flex;
  align-items: center;
  margin: 30px 0 0;
}

.author-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 10px 0 0;
}

.author-avatar {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.author-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name a {
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}

.byline-meta-content {
  color: #6b7280;
  font-size: 0.875rem;
}

.byline-episode-number,
.byline-duration {
  color: #6b7280;
  font-size: 0.875rem;
}

.byline-episode-number .byline-episode-value {
  font-weight: 600;
  color: #8b5cf6;
}

.post-full-image {
  margin: 50px 0;
}

.post-full-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-full-content {
  font-size: 1.125rem;
  line-height: 1.75;
}

.post-full-content h2,
.post-full-content h3,
.post-full-content h4 {
  margin: 2em 0 1em;
  font-weight: 700;
}

.post-full-content p {
  margin: 0 0 1.5em;
}

.post-full-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: auto calc(50% - 50vw);
  transform: translateX(calc(50vw - 50%));
}

.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.post-full-subscribe {
  margin: 80px 0 0;
  padding: 60px;
  text-align: center;
  background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 100%);
  border-radius: 12px;
}

.post-full-subscribe h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 700;
}

.post-full-subscribe p {
  margin: 0 0 30px;
  font-size: 1.125rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .post-full {
    padding: 40px 20px;
  }

  .post-full-title {
    font-size: 2rem;
  }

  .post-full-custom-excerpt {
    font-size: 1rem;
  }

  .post-full-subscribe {
    padding: 40px 20px;
  }
}

/* ============================================
   PAGE TEMPLATE (page.hbs) STYLES
   ============================================ */

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}

.page-header {
  margin: 0 0 50px;
  text-align: center;
}

.page-title {
  margin: 0 0 15px;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

.page-excerpt {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #6b7280;
}

.page-image {
  margin: 50px 0;
}

.page-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-content {
  font-size: 1.125rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .page {
    padding: 40px 20px;
  }

  .page-title {
    font-size: 2rem;
  }
}

/* ============================================
   ERROR PAGE (error.hbs) STYLES
   ============================================ */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 100%);
  padding: 40px 20px;
}

.error-content {
  text-align: center;
  max-width: 500px;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.error-description {
  font-size: 1.5rem;
  color: #6b7280;
  margin: 0 0 40px;
}

.error-link {
  display: inline-block;
  padding: 12px 32px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.error-link:hover {
  background: #2563eb;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }

  .error-description {
    font-size: 1.25rem;
  }
}

/* ============================================
   TAG & AUTHOR ARCHIVE PAGES STYLES
   ============================================ */

.tag-header,
.author-header {
  padding: 80px 40px 50px;
  text-align: center;
  background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 100%);
}

.tag-header-content,
.author-header-content {
  max-width: 720px;
  margin: 0 auto;
}

.author-profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
  object-fit: cover;
}

.tag-title,
.author-title {
  margin: 0 0 15px;
  font-size: 3rem;
  font-weight: 700;
}

.tag-description,
.author-bio {
  margin: 0 0 15px;
  font-size: 1.25rem;
  color: #6b7280;
}

.tag-meta,
.author-meta {
  margin: 0 0 15px;
  font-size: 0.875rem;
  color: #9ca3af;
}

.author-website {
  display: inline-block;
  padding: 8px 20px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.author-website:hover {
  background: #2563eb;
}

.post-feed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-card-image-link {
  display: block;
  overflow: hidden;
}

.post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-card-image {
  transform: scale(1.05);
}

.post-card-content {
  flex: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.post-card-content-link {
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.post-card-primary-tag {
  margin: 0 0 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #3b82f6;
  font-weight: 600;
}

.post-card-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.post-card-excerpt {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}

.post-card-meta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .tag-header,
  .author-header {
    padding: 40px 20px;
  }

  .tag-title,
  .author-title {
    font-size: 2rem;
  }

  .post-feed {
    padding: 40px 20px;
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ARTICLES/BLOG/PODCAST PAGE SHARED STYLES
   ============================================ */

.articles-page {
  min-height: 100vh;
  background: #ffffff;
}

.articles-header {
  padding: 60px 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.articles-header-inner {
  max-width: 800px;
}

.articles-header-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.articles-header-icon {
  flex-shrink: 0;
}

.articles-page-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0;
  color: #111827;
}

.articles-page-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

.articles-subscribe-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.articles-subscribe-cta-inner {
  background: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 40%,
    #a855f7 70%,
    #c084fc 100%
  );
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Podcast-Specific CTA Gradient */
.articles-subscribe-cta-inner-podcast {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
}

/* Blog-specific CTA Gradient */
.articles-subscribe-cta-inner-blog {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
}

/* Sponsors-specific CTA Gradient */
.articles-subscribe-cta-inner-sponsors {
  background: linear-gradient(
    135deg,
    #f59e0b 0%,
    #fb923c 40%,
    #fbbf24 70%,
    #fcd34d 100%
  );
}

.articles-subscribe-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.articles-subscribe-cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.articles-subscribe-cta-btn {
  flex-shrink: 0;
  background: #ffffff;
  color: #6366f1;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}

.articles-subscribe-cta-btn-sponsors {
  color: #f59e0b;
}

.articles-subscribe-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.articles-list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.articles-section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 32px;
}

/* Featured (First) Article/Post Card */
.article-card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  margin-bottom: 32px;
  transition: box-shadow 0.25s;
}

.article-card-featured:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.article-card-featured-image-link {
  display: block;
  text-decoration: none;
}

.article-card-featured-image {
  width: 100%;
  height: 380px;
  min-height: 380px;
  max-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-card-featured-image-placeholder {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

/* Podcast placeholder gradient */
.article-card-featured-image-placeholder-podcast {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
}

/* Blog placeholder gradient */
.article-card-featured-image-placeholder-blog {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
}

.article-card-featured-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(168, 85, 247, 0.2) 100%
  );
}

.article-card-featured-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-card-featured-title {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin: 0 0 12px;
}

/* Shared Card Meta */
.article-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.article-card-tag {
  display: inline-block;
  background: #eff6ff;
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: capitalize;
  border: 1px solid #dbeafe;
}

/* Podcast tag colors */
.article-card-tag-podcast {
  background: #f5f3ff;
  color: #8b5cf6;
  border-color: #ede9fe;
}

/* Blog tag colors */
.article-card-tag-blog {
  background: #d1fae5;
  color: #10b981;
  border-color: #a7f3d0;
}

.article-card-reading-time {
  font-size: 0.8rem;
  color: #9ca3af;
}

.article-card-episode-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.03em;
}

.article-card-title-link {
  text-decoration: none;
  color: inherit;
}

.article-card-title-link:hover {
  text-decoration: none;
}

.article-card-title-link:hover h3 {
  color: #3b82f6;
}

.article-card-author-date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #6b7280;
}

.article-card-author,
.article-card-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-card-author svg,
.article-card-date svg {
  opacity: 0.5;
}

.article-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6b7280;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.article-card-tag-pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #374151;
  background: #ffffff;
}

.article-card-tags-list:empty {
  display: none;
}

/* Read Buttons */
.article-card-read-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.article-card-read-btn-primary {
  background: #3b82f6;
  color: #ffffff;
  border: none;
}

/* Podcast button */
.article-card-read-btn-primary-podcast {
  background: #8b5cf6;
}

/* Blog button */
.article-card-read-btn-primary-blog {
  background: #10b981;
}

.article-card-read-btn-primary:hover {
  background: #2563eb;
  text-decoration: none;
  color: #ffffff;
}

.article-card-read-btn-outline {
  background: transparent;
  color: #374151;
  border: 1px solid #d1d5db;
}

.article-card-read-btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  text-decoration: none;
  color: #111827;
}

/*  Grid Cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}

.article-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.article-card-inner {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card-grid-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin: 0 0 10px;
}

.article-card .article-card-excerpt {
  flex: 1;
}

.article-card .article-card-read-btn-outline {
  display: block;
  width: 100%;
  margin-top: auto;
}

/* Empty State */
.articles-empty {
  text-align: center;
  padding: 80px 20px;
  color: #9ca3af;
  font-size: 1.1rem;
}

/* Subscribe Modal (used in articles/blog/podcast pages) */
.subscribe-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.subscribe-modal-overlay.active {
  display: flex;
}

.subscribe-modal {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  position: relative;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.subscribe-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  border-radius: 8px;
  z-index: 1;
  transition:
    color 0.2s,
    background 0.2s;
  line-height: 0;
}

.subscribe-modal-close:hover {
  color: #374151;
  background: #f3f4f6;
}

.subscribe-modal .subscribe-box {
  box-shadow: none;
  border: none;
  margin: 0;
}

/* Articles/Blog/Podcast responsive */
@media (max-width: 900px) {
  .article-card-featured {
    grid-template-columns: 1fr;
  }

  .article-card-featured-image {
    min-height: 240px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .articles-header {
    padding: 40px 20px 30px;
  }

  .articles-page-title {
    font-size: 2rem;
  }

  .articles-subscribe-cta {
    padding: 0 20px;
  }

  .articles-subscribe-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .articles-list-section {
    padding: 30px 20px 40px;
  }

  .article-card-featured-content {
    padding: 24px 20px;
  }

  .article-card-inner {
    padding: 20px;
  }
}

/* ============================================
   SPONSORS PAGE SPECIFIC STYLES
   ============================================ */

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.sponsor-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}

.sponsor-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.sponsor-card-inner {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.sponsor-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.sponsor-logo-placeholder {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.sponsor-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sponsor-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.3;
}

.sponsor-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 16px;
  flex: 1;
}

.sponsor-meta {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.sponsor-level {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: capitalize;
  border: 1px solid;
  background: #fef3c7;
  color: #f59e0b;
  border-color: #fde68a;
}

.sponsor-learn-more {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  background: transparent;
  color: #374151;
  border: 1px solid #d1d5db;
  transition: all 0.2s;
  margin-top: auto;
}

.sponsor-learn-more:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  text-decoration: none;
  color: #111827;
}

@media (max-width: 900px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

/* Component/util classes for inline style replacements */
.section-padding {
  padding: 3rem 1.5rem;
}
/* ========================================
   Home-2 (Magazine-Style Homepage) Styles
   ======================================== */

/* ============================================
   Homepage 2 Styles
   ============================================ */

/* Hero Section */
.home2-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #faf5ff 100%);
  text-align: center;
  padding: 5rem 1.5rem 2rem;
}

.home2-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.home2-hero-logo {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  display: block;
}

.home2-hero-title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--neutral-900);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.home2-hero-title .brand-initial {
  font-size: 2.2rem;
}

.home2-hero-title .brand-rest {
  font-size: 1.75rem;
}

.home2-hero-description {
  font-size: 1.125rem;
  color: var(--neutral-600);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Shared Section Styles */
.home2-section {
  padding: 3rem 1.5rem 0;
}

.home2-section-recent {
  padding-bottom: 4rem;
}

.home2-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Section Heading with Blue Accent Line */
.home2-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 2rem;
}

.home2-heading-line {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--primary-500);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================
   Category Cards (Like Homepage)
   ============================================ */

.home2-section-categories {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.home2-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.home2-category-card {
  background: white;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: block;
}

.home2-category-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.home2-category-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  display: block;
}

.home2-category-card-podcast .home2-category-card-icon {
  color: var(--secondary-600);
}

.home2-category-card-article .home2-category-card-icon {
  color: var(--primary-600);
}

.home2-category-card-blog .home2-category-card-icon {
  color: var(--success-600);
}

.home2-category-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.home2-category-card-description {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin: 0;
}

/* Tablet and up: 3 columns */
@media (min-width: 640px) {
  .home2-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home2-category-card-icon {
    width: 3rem;
    height: 3rem;
  }
}

/* ============================================
   Posts Grid - Three Columns
   ============================================ */

.home2-section-posts {
  padding-bottom: 2.5rem;
}

.home2-columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Each col-group: category button + posts stacked together */
.home2-col-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Each column of posts */
.home2-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Post Cards */
.home2-post-card {
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
}

.home2-post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Color-coded post cards - hover effects only */
.home2-post-card-podcast:hover {
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.home2-post-card-article:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.home2-post-card-blog:hover {
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.home2-post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home2-post-card-link:hover {
  text-decoration: none;
}

.home2-post-card-inner {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* Post Badges at Top */
.home2-post-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.home2-post-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.home2-post-badge-podcast {
  background: var(--primary-100);
  color: var(--primary-700);
}

.home2-post-badge-category {
  background: var(--neutral-100);
  color: var(--neutral-700);
}

.home2-post-badge-article-cat {
  background: var(--secondary-100);
  color: var(--secondary-700);
}

.home2-post-badge-blog-cat {
  background: var(--success-100);
  color: var(--success-700);
}

.home2-post-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
  line-height: 1.4;
}

.home2-post-card-link:hover .home2-post-card-title {
  color: var(--primary-600);
}

.home2-post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Tags at Bottom */
.home2-post-card-tags {
  margin-top: 0.25rem;
}

.home2-post-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}

.home2-post-tag-podcast {
  color: var(--primary-600);
}

.home2-post-tag-article {
  color: var(--secondary-600);
}

.home2-post-tag-blog {
  color: var(--success-600);
}

.home2-tag-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Tablet: 3 columns for posts */
@media (min-width: 768px) {
  .home2-columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home2-hero-title {
    font-size: 2.5rem;
  }

  .home2-hero-title .brand-initial {
    font-size: 3rem;
  }

  .home2-hero-title .brand-rest {
    font-size: 2.4rem;
  }

  .home2-hero-logo {
    width: 5rem;
    height: 5rem;
  }

  .home2-hero-description {
    font-size: 1.25rem;
  }
}

/* ============================================
   Old Grid Styles (Removed)
   ============================================ */

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  .home2-columns-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .home2-hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .home2-hero-title {
    font-size: 1.5rem;
  }

  .home2-hero-title .brand-initial {
    font-size: 1.75rem;
  }

  .home2-hero-title .brand-rest {
    font-size: 1.4rem;
  }

  .home2-hero-logo {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
  }

  .home2-hero-description {
    font-size: 1rem;
  }

  .home2-section {
    padding: 2.5rem 1.25rem 0;
  }

  .home2-section-heading {
    font-size: 1.5rem;
  }

  .home2-heading-line {
    width: 36px;
  }

  /* Category cards and posts single column */
  .home2-categories-grid,
  .home2-columns-grid {
    grid-template-columns: 1fr;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .home2-hero {
    padding: 6rem 2rem 5rem;
  }

  .home2-hero-title {
    font-size: 3rem;
  }

  .home2-hero-title .brand-initial {
    font-size: 4rem;
  }

  .home2-hero-title .brand-rest {
    font-size: 3.2rem;
  }

  .home2-hero-logo {
    width: 6rem;
    height: 6rem;
  }

  .home2-hero-description {
    font-size: 1.25rem;
  }

  .home2-featured-title {
    font-size: 1.75rem;
  }
}

/* ============================================
   Featured Podcast Card (authoritative block)
   ============================================ */

/* Gradient border via background-clip trick */
.home2-featured-card {
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%) border-box;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 0;
}

.home2-featured-body {
  display: flex;
  align-items: stretch;
  min-height: 220px;
}

/* Left: image/art — 1/3 width desktop */
.home2-featured-art {
  flex: 0 0 33.333%;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 220px;
  position: relative;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home2-featured-art-podcast {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
}

.home2-featured-art-article {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
}

.home2-featured-art-blog {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
}

.home2-featured-art-icon {
  width: 64px;
  height: 64px;
  opacity: 0.7;
}

.home2-featured-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Featured overlay badge on the image */
.home2-featured-overlay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #f59e0b;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* Right: content area */
.home2-featured-content {
  flex: 1;
  min-width: 0;
  padding: 1.75rem 2rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home2-featured-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.home2-featured-title-row .home2-featured-title-link {
  flex: 1;
  min-width: 0;
}

.home2-featured-title-row .home2-badge {
  flex-shrink: 0;
  margin-top: 4px;
}

.home2-featured-title-link {
  text-decoration: none;
  color: inherit;
}

.home2-featured-title-link:hover {
  text-decoration: none;
}

.home2-featured-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0;
  line-height: 1.3;
}

.home2-featured-title-link:hover .home2-featured-title {
  color: var(--primary-600);
}

/* Badges — outlined style */
.home2-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.home2-badge-podcast {
  background: var(--secondary-100);
  color: var(--secondary-700);
  border: 1px solid var(--secondary-300);
}

.home2-badge-article {
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-300);
}

.home2-badge-blog {
  background: var(--success-100);
  color: var(--success-700);
  border: 1px solid var(--success-400);
}

.home2-badge-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Meta items (date, reading time) */
.home2-featured-meta,
.home2-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0.75rem;
}

.home2-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.home2-meta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.home2-featured-excerpt {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.home2-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.home2-featured-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

.home2-featured-tags-podcast .home2-featured-tag {
  background: var(--secondary-100);
  color: var(--secondary-700);
}

.home2-featured-tags-blog .home2-featured-tag {
  background: var(--success-100);
  color: var(--success-700);
}

.home2-featured-tags-article .home2-featured-tag {
  background: var(--primary-100);
  color: var(--primary-700);
}

.home2-featured-footer {
  display: flex;
  justify-content: flex-end;
}

/* Listen Now / Read More Button */
.home2-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-cta);
  color: white;
  padding: 12px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  min-width: 160px;
  justify-content: center;
  align-self: flex-start;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.home2-listen-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

.home2-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.home2-btn-icon-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mobile: image 1/4 width */
@media (max-width: 639px) {
  .home2-featured-body {
    flex-direction: row;
  }

  .home2-featured-art {
    flex: 0 0 25%;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 180px;
  }

  .home2-featured-content {
    padding: 1.25rem;
  }

  .home2-featured-title {
    font-size: 1.125rem;
  }

  .home2-featured-overlay-badge {
    font-size: 0.6875rem;
    padding: 4px 8px;
    white-space: normal;
    text-align: center;
    max-width: calc(100% - 16px);
  }
}

/* ============================================
   Category Cards (Like Homepage)
   ============================================ */

.home2-section-categories {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.home2-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.home2-category-card {
  background: white;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: block;
}

.home2-category-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.home2-category-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  display: block;
}

.home2-category-card-podcast .home2-category-card-icon {
  color: var(--secondary-600);
}

.home2-category-card-article .home2-category-card-icon {
  color: var(--primary-600);
}

.home2-category-card-blog .home2-category-card-icon {
  color: var(--success-600);
}

.home2-category-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.home2-category-card-description {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin: 0;
}

/* Tablet and up: 3 columns */
@media (min-width: 640px) {
  .home2-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home2-category-card-icon {
    width: 3rem;
    height: 3rem;
  }
}

/* ============================================
   Posts Grid - Three Columns
   ============================================ */

.home2-section-posts {
  padding-bottom: 2.5rem;
}

.home2-columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Each col-group: category button + posts stacked together */
.home2-col-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Each column of posts */
.home2-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Post Cards */
.home2-post-card {
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
}

.home2-post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Color-coded post cards - hover effects only */
.home2-post-card-podcast:hover {
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.home2-post-card-article:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.home2-post-card-blog:hover {
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.home2-post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home2-post-card-link:hover {
  text-decoration: none;
}

.home2-post-card-inner {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* Post Badges at Top */
.home2-post-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.home2-post-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.home2-post-badge-podcast {
  background: var(--primary-100);
  color: var(--primary-700);
}

.home2-post-badge-category {
  background: var(--neutral-100);
  color: var(--neutral-700);
}

.home2-post-badge-article-cat {
  background: var(--secondary-100);
  color: var(--secondary-700);
}

.home2-post-badge-blog-cat {
  background: var(--success-100);
  color: var(--success-700);
}

.home2-post-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
  line-height: 1.4;
}

.home2-post-card-link:hover .home2-post-card-title {
  color: var(--primary-600);
}

.home2-post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Tags at Bottom */
.home2-post-card-tags {
  margin-top: 0.25rem;
}

.home2-post-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}

.home2-post-tag-podcast {
  color: var(--primary-600);
}

.home2-post-tag-article {
  color: var(--secondary-600);
}

.home2-post-tag-blog {
  color: var(--success-600);
}

.home2-tag-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Tablet: 3 columns for posts */
@media (min-width: 768px) {
  .home2-columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home2-hero-title {
    font-size: 2.5rem;
  }

  .home2-hero-title .brand-initial {
    font-size: 3rem;
  }

  .home2-hero-title .brand-rest {
    font-size: 2.4rem;
  }

  .home2-hero-logo {
    width: 5rem;
    height: 5rem;
  }

  .home2-hero-description {
    font-size: 1.25rem;
  }
}
/* Episode number badge on home-2 podcast cards — purple */
.home2-post-badge-episode-num {
  background: var(--secondary-100);
  color: var(--secondary-700);
}

/* Article column badges and tags — blue */
.home2-post-badge-article-cat {
  background: var(--primary-100);
  color: var(--primary-700);
}

.home2-post-tag-article {
  color: var(--primary-600);
}

/* Podcast card: thumbnail + content row layout */
.home2-post-card-inner-podcast {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0;
  min-height: 0;
}

.home2-podcast-thumbnail {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 0;
  overflow: hidden;
  background: var(--primary-100);
}

.home2-podcast-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home2-podcast-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem 0.5rem 0;
}

/* Duration pushed to top-right of the episode badges row */
.home2-duration-top {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--neutral-500);
}

/* =====================================================
   home2-post-card partial — unified card layout
   ===================================================== */

/* Row layout: thumbnail left, body right */
.home2-card-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

/* Thumbnail */
.home2-card-thumb {
  flex-shrink: 0;
  width: 68px;
  overflow: hidden;
  background: var(--neutral-100);
}

.home2-post-card-podcast .home2-card-thumb {
  background: var(--primary-100);
}
.home2-post-card-article .home2-card-thumb {
  background: var(--secondary-100);
}
.home2-post-card-blog .home2-card-thumb {
  background: var(--success-100);
}

.home2-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.home2-card-body {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Top line: badge left, meta right */
.home2-card-topline {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 1.25rem;
}

.home2-card-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  flex-shrink: 0;
}

.home2-post-card-podcast .home2-card-badge-episode {
  background: var(--primary-100);
  color: var(--primary-700);
}

.home2-post-card-article .home2-card-badge-category {
  background: var(--secondary-100);
  color: var(--secondary-700);
}

.home2-post-card-blog .home2-card-badge-category {
  background: var(--success-100);
  color: var(--success-700);
}

/* Duration / read-time pushed to right */
.home2-card-right {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--neutral-400);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Title */
.home2-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
  line-height: 1.35;
}

.home2-post-card-podcast .home2-post-card-link:hover .home2-card-title {
  color: var(--primary-600);
}
.home2-post-card-article .home2-post-card-link:hover .home2-card-title {
  color: var(--secondary-600);
}
.home2-post-card-blog .home2-post-card-link:hover .home2-card-title {
  color: var(--success-600);
}

/* Date */
.home2-card-date {
  font-size: 0.7rem;
  color: var(--neutral-400);
}
