/* ===================================
   Featured Article Responsive Design
   =================================== */

/* Tablet Breakpoint: 1024px and below */
@media (max-width: 1024px) {
  .lc-plugin-wrapper .lc-featured-article-card {
    padding: 20px;
  }

  body.lc-route-topic .lc-plugin-wrapper .lc-featured-article-card.lc-plugin-main-content {
    padding-left: 20.52px !important;
    padding-right: 20.52px !important;
  }

  .lc-plugin-wrapper .lc-featured-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Hide TOC on tablets and mobile - only show on large screens (1025px+) */
  .lc-plugin-wrapper .lc-toc-sidebar {
    display: none;
  }

  .lc-plugin-wrapper .lc-article-prose h1 {
    font-size: 36px;
  }

  .lc-plugin-wrapper .lc-article-prose h2 {
    font-size: 28px;
    margin: 36px 0 20px 0;
  }

  .lc-plugin-wrapper .lc-article-prose h3 {
    font-size: 22px;
    margin: 24px 0 14px 0;
  }
}

/* Tablet Breakpoint: 768px and below */
@media (max-width: 768px) {
  .lc-plugin-wrapper .lc-featured-article-card {
    padding: 16px;
    margin: 0 auto;
  }

  body.lc-route-topic .lc-plugin-wrapper .lc-featured-article-card.lc-plugin-main-content {
    padding-left: 13.68px !important;
    padding-right: 13.68px !important;
  }

  .lc-plugin-wrapper .lc-featured-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 24px;
  }

  .lc-plugin-wrapper .lc-article-meta-section {
    margin-bottom: 24px;
  }

  .lc-plugin-wrapper .lc-article-meta {
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
  }

  .lc-plugin-wrapper .lc-article-prose {
    font-size: 15px;
    line-height: 1.7;
  }

  .lc-plugin-wrapper .lc-article-prose h1 {
    font-size: 32px;
    margin: 32px 0 16px 0;
  }

  .lc-plugin-wrapper .lc-article-prose h2 {
    font-size: 26px;
    margin: 28px 0 16px 0;
  }

  .lc-plugin-wrapper .lc-article-prose h3 {
    font-size: 20px;
    margin: 20px 0 12px 0;
  }
}

/* Mobile Breakpoint: 480px and below */
@media (max-width: 480px) {
  .lc-plugin-wrapper .lc-featured-article-card {
    padding: 12px;
    margin: 0 auto;
  }

  body.lc-route-topic .lc-plugin-wrapper .lc-featured-article-card.lc-plugin-main-content {
    padding-left: 13.68px !important;
    padding-right: 13.68px !important;
  }

  .lc-plugin-wrapper .lc-featured-image-placeholder {
    min-height: 240px;
  }

  .lc-plugin-wrapper .lc-article-meta {
    gap: 8px;
    font-size: 12px;
  }

  .lc-plugin-wrapper .lc-author-avatar {
    width: 14px;
    height: 14px;
  }

  .lc-plugin-wrapper .lc-meta-item svg {
    width: 14px;
    height: 14px;
  }

  .lc-plugin-wrapper .lc-article-prose {
    font-size: 14px;
    line-height: 1.65;
  }

  .lc-plugin-wrapper .lc-article-prose h1 {
    font-size: 28px;
    margin: 24px 0 12px 0;
  }

  .lc-plugin-wrapper .lc-article-prose h2 {
    font-size: 22px;
    margin: 20px 0 12px 0;
  }

  .lc-plugin-wrapper .lc-article-prose h3 {
    font-size: 18px;
    margin: 16px 0 10px 0;
  }

  .lc-plugin-wrapper .lc-article-prose ul,
  .lc-plugin-wrapper .lc-article-prose ol {
    padding-left: 16px;
  }

  .lc-plugin-wrapper .lc-meta-item {
    font-size: 0.8rem;
  }
}
