/* =============================================
   THEME SIDEBAR OVERRIDE FOR NEWSLETTER POSTS
   These rules MUST appear first so they override
   the Total Theme default sidebar layout.
   ============================================= */

/* Hide the Total Theme's default sidebar on newsletter posts */
body.hf-cat-ideas-and-innovations-newsletter #sidebar {
    display: none !important;
}

/* Make primary content area full width when theme sidebar is hidden */
body.hf-cat-ideas-and-innovations-newsletter #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

/* Ensure content-wrap doesn't reserve space for the sidebar */
body.hf-cat-ideas-and-innovations-newsletter #content-wrap {
    overflow: visible;
}

/* Force newsletter grid to use grid layout within full-width primary */
body.hf-cat-ideas-and-innovations-newsletter .newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    max-width: 1100px;
}


/* ══════════════════════════════════════════
   HIDE TOTAL THEME DEFAULT POST CHROME
   ══════════════════════════════════════════
   On newsletter posts we replace the theme's
   title, meta, breadcrumbs, and featured image
   with our own custom article-header block.    */

body.hf-cat-ideas-and-innovations-newsletter .single-post-header,
body.hf-cat-ideas-and-innovations-newsletter .single-post-title,
body.hf-cat-ideas-and-innovations-newsletter .single-blog-header,
body.hf-cat-ideas-and-innovations-newsletter .single-media-above,
body.hf-cat-ideas-and-innovations-newsletter .single-blog-media,
body.hf-cat-ideas-and-innovations-newsletter .single-media,
body.hf-cat-ideas-and-innovations-newsletter .page-header,
body.hf-cat-ideas-and-innovations-newsletter .single-post-meta,
body.hf-cat-ideas-and-innovations-newsletter .meta,
body.hf-cat-ideas-and-innovations-newsletter .newsletter-banner {
    display: none !important;
}

/* Prevent horizontal scrollbar from 100vw breakout sections */
body.hf-cat-ideas-and-innovations-newsletter {
    overflow-x: hidden !important;
}

/* ── Stretch site header and footer to match breakout sections ── */
body.hf-cat-ideas-and-innovations-newsletter #site-header,
body.hf-cat-ideas-and-innovations-newsletter #site-header-inner,
body.hf-cat-ideas-and-innovations-newsletter .site-header,
body.hf-cat-ideas-and-innovations-newsletter .site-header-inner,
body.hf-cat-ideas-and-innovations-newsletter #header-bar-wrap,
body.hf-cat-ideas-and-innovations-newsletter .header-bar-wrap {
    max-width: 100% !important;
    width: 100% !important;
}
body.hf-cat-ideas-and-innovations-newsletter #footer,
body.hf-cat-ideas-and-innovations-newsletter .site-footer,
body.hf-cat-ideas-and-innovations-newsletter #footer-inner,
body.hf-cat-ideas-and-innovations-newsletter .footer-inner,
body.hf-cat-ideas-and-innovations-newsletter #footer-widgets,
body.hf-cat-ideas-and-innovations-newsletter .footer-widgets-wrap,
body.hf-cat-ideas-and-innovations-newsletter #footer-bottom,
body.hf-cat-ideas-and-innovations-newsletter .footer-bottom {
    max-width: 100% !important;
    width: 100% !important;
}

/* Remove default content padding so our header sits flush */
body.hf-cat-ideas-and-innovations-newsletter .entry {
    padding-top: 0 !important;
}
body.hf-cat-ideas-and-innovations-newsletter .entry-content {
    overflow: visible;
}


/* ══════════════════════════════════════════
   FULL-WIDTH BREAKOUT UTILITY
   ══════════════════════════════════════════
   Elements inside .entry-content that need
   to span the full viewport width.            */

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


/* ══════════════════════════════════════════
   ARTICLE HEADER (dark blue hero)
   ══════════════════════════════════════════ */

.article-header {
    background: var(--hf-blue-deep, #0f3554);
    color: #ffffff;
    padding: 56px 32px 0;
    text-align: center;
}

.article-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hf-orange, #e8943a);
    margin-bottom: 16px;
}

.article-header h1 {
    font-family: var(--hf-serif, 'Source Serif 4', Georgia, serif);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 12px;
    color: #ffffff;
}

.article-header .subtitle {
    font-size: 19px;
    line-height: 1.5;
    max-width: 680px;
    margin: 0 auto 8px;
    opacity: 0.9;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 16px 0 32px;
}

.article-meta span {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

.article-meta strong {
    color: #ffffff;
}


/* ══════════════════════════════════════════
   FEATURED IMAGE
   ══════════════════════════════════════════ */

.featured-image-wrap {
    background: var(--hf-blue-deep, #0f3554);
    padding: 0 32px 32px;
}

.featured-image {
    max-width: var(--hf-page-width, 1120px);
    margin: 0 auto;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 20%;
    max-height: 480px;
}

.featured-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
    padding: 40px 24px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    text-align: right;
}


/* ══════════════════════════════════════════
   NEWSLETTER META (date + reading time)
   ══════════════════════════════════════════ */

.newsletter-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hf-sans, 'Source Sans 3', sans-serif);
    font-size: 14px;
    color: var(--hf-text-muted, #888);
    margin-bottom: 24px;
}

.newsletter-meta .newsletter-date {
    display: inline;
}

.newsletter-meta .newsletter-reading-time::before {
    content: "·";
    margin-right: 6px;
    font-weight: 700;
}


/* ══════════════════════════════════════════
   MAIN CONTENT TYPOGRAPHY
   ══════════════════════════════════════════
   Serif headings, styled blockquotes, and
   epigraph treatment matching the mockup.     */

.newsletter-main h2 {
    font-family: var(--hf-serif, 'Source Serif 4', Georgia, serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--hf-text, #1d1d1f);
    margin-top: 40px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hf-blue, #2277bb);
}

.newsletter-main h2:first-child {
    margin-top: 0;
}

.newsletter-main h3 {
    font-family: var(--hf-serif, 'Source Serif 4', Georgia, serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--hf-text, #1d1d1f);
    margin-top: 28px;
    margin-bottom: 10px;
}

.newsletter-main p {
    margin-bottom: 18px;
    line-height: 1.78;
}

.newsletter-main blockquote {
    font-family: var(--hf-serif, 'Source Serif 4', Georgia, serif);
    font-size: 18px;
    font-style: italic;
    color: var(--hf-text-light, #555);
    border-left: 3px solid var(--hf-blue, #2277bb);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--hf-bg-blue-light, #f0f6fb);
    border-radius: 0 6px 6px 0;
    line-height: 1.6;
}

.newsletter-main blockquote p {
    margin-bottom: 0;
}

.newsletter-main .epigraph {
    font-family: var(--hf-serif, 'Source Serif 4', Georgia, serif);
    font-size: 19px;
    font-style: italic;
    color: var(--hf-text-light, #555);
    text-align: center;
    padding: 24px 32px;
    margin: 0 0 32px;
    border-top: 1px solid var(--hf-border, #e2e2e2);
    border-bottom: 1px solid var(--hf-border, #e2e2e2);
    line-height: 1.55;
}

.newsletter-main a {
    color: var(--hf-blue, #2277bb);
    text-decoration: none;
}
.newsletter-main a:hover {
    text-decoration: underline;
}

.newsletter-main ul,
.newsletter-main ol {
    margin-bottom: 18px;
    padding-left: 24px;
    line-height: 1.78;
}

.newsletter-main li {
    margin-bottom: 6px;
}

.newsletter-main strong {
    font-weight: 700;
}

.newsletter-main em {
    font-style: italic;
}


/* ══════════════════════════════════════════
   NEWSLETTER SIDEBAR (injected via PHP)
   ══════════════════════════════════════════ */

.newsletter-sidebar {
    position: sticky;
    top: 32px;
}


/*
 * 2040 Digital — Hybrid Layout Template Styles
 * ==============================================
 * Add this CSS to the bottom of your child theme's style.css,
 * AFTER the design-system.css rules. These styles only apply
 * to pages using the "2040 Hybrid Layout" template.
 *
 * This gives you the editorial sidebar grid from Option C
 * with the B palette, ready for your Services, About, etc.
 */


/* ══════════════════════════════════════════
   TEMPLATE: Full-width hybrid container
   ══════════════════════════════════════════ */

.hf-hybrid-layout {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.hf-hybrid-article {
  width: 100%;
}

/* Page header band */
.hf-page-header {
  background: linear-gradient(135deg, var(--hf-blue-deep) 0%, var(--hf-blue-dark) 100%);
  color: #ffffff;
  padding: var(--hf-space-xl) var(--hf-space-lg);
  text-align: center;
}

.hf-page-title {
  font-family: var(--hf-serif);
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  max-width: var(--hf-page-width);
  margin: 0 auto;
}

/* Content container */
.hf-page-content {
  max-width: var(--hf-page-width);
  margin: 0 auto;
  padding: var(--hf-space-xl) var(--hf-space-lg);
}


/* ══════════════════════════════════════════
   EDITORIAL GRID (Sidebar + Main)
   ══════════════════════════════════════════ */

.hf-editorial-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--hf-space-xl);
  max-width: var(--hf-page-width);
  margin: 0 auto;
  padding: var(--hf-space-xl) var(--hf-space-lg);
  align-items: start;
}

/* Sticky sidebar navigation */
.hf-sidebar-nav {
  position: sticky;
  top: 32px;
}

.hf-sidebar-nav h3 {
  font-family: var(--hf-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--hf-text-muted);
  margin-bottom: var(--hf-space-sm);
}

.hf-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hf-sidebar-nav li {
  margin-bottom: 12px;
}

.hf-sidebar-nav a {
  font-family: var(--hf-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--hf-text-light);
  text-decoration: none;
  padding-left: 12px;
  border-left: 2px solid transparent;
  display: block;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hf-sidebar-nav a:hover,
.hf-sidebar-nav a.active {
  color: var(--hf-blue);
  border-left-color: var(--hf-blue);
}


/* ══════════════════════════════════════════
   SECTION BLOCKS (for page content)
   ══════════════════════════════════════════ */

.hf-section {
  margin-bottom: var(--hf-space-xl);
  padding-bottom: var(--hf-space-lg);
  border-bottom: 1px solid var(--hf-border);
}

.hf-section:last-child {
  border-bottom: none;
}

.hf-section-number {
  font-family: var(--hf-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--hf-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--hf-space-xs);
}

.hf-section-title {
  font-family: var(--hf-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--hf-text);
  padding-bottom: var(--hf-space-xs);
  border-bottom: 2px solid var(--hf-blue);
  margin-bottom: var(--hf-space-sm);
}


/* ══════════════════════════════════════════
   CALLOUT CARDS
   ══════════════════════════════════════════ */

.hf-callout {
  background: var(--hf-bg-warm);
  border-radius: 6px;
  padding: var(--hf-space-md);
  margin: var(--hf-space-md) 0;
  border-left: 3px solid var(--hf-orange);
}

.hf-callout-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hf-orange);
  display: block;
  margin-bottom: 8px;
}

.hf-callout h4 {
  font-family: var(--hf-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--hf-text);
  margin-bottom: 8px;
}

.hf-callout p {
  font-size: 15px;
  color: var(--hf-text-light);
  margin-bottom: 0;
}


/* ══════════════════════════════════════════
   CARD GRIDS (for service listings, etc.)
   ══════════════════════════════════════════ */

.hf-card-grid {
  display: grid;
  gap: var(--hf-space-md);
}

.hf-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hf-cols-3 { grid-template-columns: repeat(3, 1fr); }

.hf-card {
  background: var(--hf-bg);
  border: 1px solid var(--hf-border);
  border-radius: 6px;
  padding: var(--hf-space-md);
  transition: box-shadow 0.2s ease;
}

.hf-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hf-card h3 {
  font-family: var(--hf-serif);
  font-size: 19px;
  margin-bottom: 8px;
}

.hf-card p {
  font-size: 15px;
  color: var(--hf-text-light);
  line-height: 1.6;
}


/* ══════════════════════════════════════════
   FULL-WIDTH BANDS
   ══════════════════════════════════════════ */

.hf-band {
  width: 100%;
  padding: var(--hf-space-xl) var(--hf-space-lg);
}

.hf-band-inner {
  max-width: var(--hf-page-width);
  margin: 0 auto;
}

.hf-band-blue {
  background: var(--hf-blue-deep);
  color: #ffffff;
}

.hf-band-blue h2,
.hf-band-blue h3 {
  color: #ffffff;
  border-bottom-color: var(--hf-orange);
}

.hf-band-warm {
  background: var(--hf-bg-warm);
}

.hf-band-light {
  background: var(--hf-bg-blue-light);
}


/* ══════════════════════════════════════════
   STAT CALLOUT (hero stats)
   ══════════════════════════════════════════ */

.hf-stat {
  text-align: center;
  padding: var(--hf-space-md);
}

.hf-stat-number {
  display: block;
  font-family: var(--hf-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--hf-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.hf-stat-label {
  font-size: 16px;
  color: var(--hf-text-light);
}


/* ══════════════════════════════════════════
   CTA BUTTON VARIANTS
   ══════════════════════════════════════════ */

.hf-btn {
  font-family: var(--hf-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.hf-btn-orange {
  background: var(--hf-orange);
  color: #ffffff;
}
.hf-btn-orange:hover {
  background: var(--hf-orange-hover);
  color: #ffffff;
}

.hf-btn-blue {
  background: var(--hf-blue);
  color: #ffffff;
}
.hf-btn-blue:hover {
  background: var(--hf-blue-dark);
  color: #ffffff;
}

.hf-btn-outline {
  background: transparent;
  border: 2px solid var(--hf-blue);
  color: var(--hf-blue);
}
.hf-btn-outline:hover {
  background: var(--hf-blue);
  color: #ffffff;
}

.hf-btn-white {
  background: #ffffff;
  color: var(--hf-blue-deep);
}
.hf-btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}


/* ══════════════════════════════════════════
   NEWSLETTER EDITORIAL GRID
   ══════════════════════════════════════════
   Two-column layout for newsletter posts:
   main article content + 280px right sidebar.
   Only applies on single newsletter views.    */

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: var(--hf-page-width, 1120px);
  margin: 0 auto;
  padding: 48px 32px;
  align-items: start;
}


/* ══════════════════════════════════════════
   NEWSLETTER SIDEBAR COMPONENTS
   ══════════════════════════════════════════ */

/* Sticky sidebar */
.sidebar { position: sticky; top: 32px; }

/* In This Issue TOC */
.sidebar-toc { margin-bottom: 28px; }
.sidebar-toc h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--hf-text-muted, #888);
  margin-bottom: 14px;
}
.sidebar-toc ul { list-style: none; padding: 0; margin: 0; }
.sidebar-toc li { margin-bottom: 8px; }
.sidebar-toc a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--hf-text-light, #555);
  padding: 6px 12px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
  text-decoration: none;
}
.sidebar-toc a:hover,
.sidebar-toc a.toc-active {
  color: var(--hf-blue, #2277bb);
  border-left-color: var(--hf-blue, #2277bb);
  text-decoration: none;
}

/* Recent Issues list */
.sidebar-recent { margin-bottom: 28px; }
.sidebar-recent h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--hf-text-muted, #888);
  margin-bottom: 14px;
}
.sidebar-recent ul { list-style: none; padding: 0; margin: 0; }
.sidebar-recent li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--hf-border, #e2e2e2);
}
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-recent a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  transition: all 0.2s;
}
.sidebar-recent a:hover { text-decoration: none; }
.sidebar-recent a:hover .recent-title {
  color: var(--hf-blue, #2277bb);
}
.sidebar-recent .recent-issue {
  font-size: 12px;
  font-weight: 700;
  color: var(--hf-orange, #e8943a);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 3px;
}
.sidebar-recent .recent-title {
  font-family: var(--hf-serif, Georgia, serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--hf-text, #1d1d1f);
  line-height: 1.35;
  display: block;
  transition: color 0.2s;
}
.sidebar-recent .recent-date {
  font-size: 13px;
  color: var(--hf-text-muted, #888);
  display: block;
  margin-top: 3px;
}
.sidebar-recent .current-issue .recent-title {
  color: var(--hf-blue, #2277bb);
}
.sidebar-recent .view-all {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hf-blue, #2277bb);
}

/* Sidebar cards (Subscribe, Book, Podcast) */
.sidebar-card {
  border-radius: 8px;
  padding: 24px 20px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-family: var(--hf-serif, Georgia, serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.sidebar-card p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.sidebar-subscribe {
  background: var(--hf-blue-deep, #0f3554);
  color: #ffffff;
}
.sidebar-subscribe h4 { color: #ffffff; }
.sidebar-subscribe p { color: rgba(255,255,255,0.85); }
.sidebar-subscribe .cta-btn {
  display: inline-block;
  background: var(--hf-orange, #e8943a);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.sidebar-subscribe .cta-btn:hover {
  background: var(--hf-orange-hover, #d4832e);
  text-decoration: none;
}

.sidebar-book {
  background: var(--hf-bg-warm, #faf8f5);
  border: 1px solid var(--hf-border, #e2e2e2);
  color: var(--hf-text, #1d1d1f);
}
.sidebar-book h4 { color: var(--hf-text, #1d1d1f); }
.sidebar-book p { color: var(--hf-text-light, #555); }
.sidebar-book .cta-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--hf-blue, #2277bb);
}

.sidebar-podcast {
  background: linear-gradient(135deg, #2c0f6d 0%, #442a95 100%);
  color: #ffffff;
}
.sidebar-podcast h4 { color: #ffffff; }
.sidebar-podcast p { color: rgba(255,255,255,0.85); }
.sidebar-podcast .cta-link {
  font-size: 13px;
  font-weight: 700;
  color: #3bf3fd;
  text-decoration: none;
  border-bottom: 1px solid rgba(59,243,253,0.4);
}
.sidebar-podcast .cta-link:hover {
  border-bottom-color: #3bf3fd;
  text-decoration: none;
}


/* ══════════════════════════════════════════
   CONNECT SECTION (bottom of newsletter)
   ══════════════════════════════════════════ */

.connect-section {
  background: var(--hf-bg-warm, #faf8f5);
  padding: 48px 32px;
}
.connect-inner {
  max-width: var(--hf-page-width, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.connect-section h3 {
  font-family: var(--hf-serif, Georgia, serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--hf-text, #1d1d1f);
  margin-bottom: 12px;
}
.connect-section p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hf-text-light, #555);
  margin-bottom: 16px;
}
.connect-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.connect-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--hf-blue, #2277bb);
  padding: 8px 16px;
  border: 1px solid var(--hf-blue, #2277bb);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.connect-links a:hover {
  background: var(--hf-blue, #2277bb);
  color: #ffffff;
  text-decoration: none;
}
.podcast-platforms {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.podcast-platforms a {
  font-size: 13px;
  font-weight: 600;
  color: var(--hf-text-light, #555);
  padding: 6px 14px;
  background: #ffffff;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--hf-border, #e2e2e2);
  transition: all 0.2s;
}
.podcast-platforms a:hover {
  border-color: var(--hf-blue, #2277bb);
  color: var(--hf-blue, #2277bb);
  text-decoration: none;
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 960px) {
  .hf-editorial-grid {
    grid-template-columns: 1fr;
    padding: var(--hf-space-lg) var(--hf-space-md);
  }

  .hf-sidebar-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--hf-space-md);
    padding-bottom: var(--hf-space-md);
    border-bottom: 1px solid var(--hf-border);
  }

  .hf-sidebar-nav h3 {
    width: 100%;
  }

  .hf-sidebar-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hf-sidebar-nav li {
    margin-bottom: 0;
  }

  .hf-sidebar-nav a {
    border-left: none;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--hf-bg-blue-light);
    font-size: 14px;
  }

  .hf-sidebar-nav a:hover,
  .hf-sidebar-nav a.active {
    background: var(--hf-blue);
    color: #ffffff;
    border-left: none;
  }

  .hf-cols-3 { grid-template-columns: repeat(2, 1fr); }

  .hf-page-title {
    font-size: 32px;
  }

  .hf-stat-number {
    font-size: 42px;
  }

  .connect-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Newsletter grid stacks on tablet */
  body.hf-cat-ideas-and-innovations-newsletter .newsletter-grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter editorial grid stacks */
  .editorial-grid {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 32px;
  }

  .sidebar { position: static; }

  /* TOC becomes horizontal pills on tablet */
  .sidebar-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .sidebar-toc a {
    padding: 8px 14px;
    background: var(--hf-bg-blue-light, #f0f6fb);
    border-radius: 20px;
    border-left: none;
    font-size: 13px;
  }

  /* Article header responsive */
  .article-header h1 { font-size: 32px; }
}

@media (max-width: 600px) {
  .hf-cols-2,
  .hf-cols-3 {
    grid-template-columns: 1fr;
  }

  .hf-page-title {
    font-size: 26px;
  }

  .hf-band {
    padding: var(--hf-space-lg) var(--hf-space-sm);
  }

  .hf-page-content {
    padding: var(--hf-space-lg) var(--hf-space-sm);
  }

  .connect-section {
    padding: 32px 16px;
  }

  /* Article header responsive */
  .article-header { padding: 36px 20px 0; }
  .article-header h1 { font-size: 26px; }

  /* Featured image responsive */
  .featured-image-wrap { padding: 0 16px 16px; }
  .featured-image img { max-height: 280px; object-position: center 20%; }

  /* Article meta stacks on mobile */
  .article-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
}
