/* Inline <style> of sections/kcq-article-pro-sge.liquid (lines 190-935), ported unmodified except for trailing
   whitespace. Enqueued only for articles on the kcq-pro-sge template (functions.php), as the section only prints it there. */
  /* =========================================
     BASE STYLES (DESKTOP DEFAULT)
     ========================================= */
  .cbdfx-article-template {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #111;
    font-size: 20px;
    line-height: 1.8;
    width: 100%;
    position: relative;
  }

  .cbdfx-article-template * {
    box-sizing: border-box;
  }

  .cbdfx-article-template img,
  .cbdfx-article-template video,
  .cbdfx-article-template iframe {
    max-width: 100%;
    height: auto;
  }

  /* --- LINK STYLING --- */
  .cbdfx-article-template a {
    color: #1a73e8;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .cbdfx-article-template a:hover {
    color: #1557b0;
  }

  .cbdfx__article p a,
  .cbdfx__article li a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }

  .cbdfx__article p a:hover,
  .cbdfx__article li a:hover {
    text-decoration-thickness: 2px;
  }

  /* --- BREADCRUMBS --- */
  .cbdfx-article-template .cbdfx__breadcrumbs {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    font-size: 0.9rem;
  }

  .cbdfx-article-template .cbdfx__breadcrumbs a {
    color: #666;
  }

  .cbdfx-article-template .cbdfx__breadcrumbs span {
    color: #999;
    margin: 0 8px;
  }

  /* --- HERO SECTION --- */
  .cbdfx-article-template .cbdfx__hero {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .cbdfx-article-template .cbdfx__hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .cbdfx-article-template .cbdfx__hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin: 0;
  }

  .cbdfx-article-template .cbdfx__hero-author {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #666;
  }

  .cbdfx-article-template .cbdfx__hero-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #e0e0e0;
  }

  .cbdfx-article-template .cbdfx__hero-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cbdfx-article-template .cbdfx__hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
  }

  .cbdfx-article-template .cbdfx__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* --- FEATURED PRODUCT ---
     This block has markup but has never had a stylesheet, because qck.hero_product was populated on
     zero articles and it therefore never rendered. Enabling the custom.qck_product_1 fallback made
     it visible for the first time: unstyled, full-bleed at the viewport edge, with an 800x600 image
     and an edge-to-edge button.

     Styled here as a compact horizontal card on the page container's 1300px column so it lines up
     with the article layout below it, and collapses to a stacked card on narrow screens. The markup
     is untouched. */
  .cbdfx-article-template .kcq__hero-product {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .cbdfx-article-template .kcq__hero-product h2 {
    font-size: 20px;
    margin: 0 0 12px;
  }
  .cbdfx-article-template .kcq__hero-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: inherit;
  }
  .cbdfx-article-template .kcq__hero-link:hover { border-color: #0d9488; }
  .cbdfx-article-template .kcq__hero-link img {
    width: 160px;
    height: 120px;
    object-fit: contain;
    flex: 0 0 auto;
  }
  .cbdfx-article-template .kcq__hero-info { min-width: 0; }
  .cbdfx-article-template .kcq__hero-info h3 { font-size: 18px; margin: 0 0 6px; }
  .cbdfx-article-template .kcq__price { margin: 0 0 12px; font-weight: 600; }
  .cbdfx-article-template .kcq__shop-now-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    background: #0d9488;
    color: #fff;
    font-weight: 600;
  }
  @media (max-width: 600px) {
    .cbdfx-article-template .kcq__hero-link { flex-direction: column; align-items: flex-start; }
    .cbdfx-article-template .kcq__hero-link img { width: 100%; height: auto; }
  }

  /* --- MAIN LAYOUT --- */
  .cbdfx-article-template .cbdfx__page {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px;
    gap: 60px;
  }

  .cbdfx-article-template .cbdfx__article {
    flex: 1 1 70%;
    max-width: 780px;
    min-width: 0;
  }

  .cbdfx-article-template .cbdfx__sidebar {
    flex: 0 0 320px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
  }

  /* --- TYPOGRAPHY --- */
  .cbdfx-article-template .cbdfx__article h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-top: 48px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #111;
  }

  .cbdfx-article-template .cbdfx__article h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #111;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .cbdfx-article-template .cbdfx__article p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5em;
    font-size: 1.05rem;
  }

  /* =========================================
     SGE ANSWER BOX - SEMANTIC VERSION
     ========================================= */
  .sge-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left: 4px solid #22c55e;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }

  .sge-box .sge-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px 0;
    line-height: 1.4;
  }

  .sge-box .sge-header {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 16px 0 8px 0;
    line-height: 1.4;
  }

  .sge-box .sge-header:first-of-type {
    margin-top: 0;
  }

  .sge-box .sge-text {
    font-size: 0.95rem;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.6;
  }

  .sge-box .sge-text:last-child {
    margin-bottom: 0;
  }

  /* Semantic list styling with proper hanging indent */
  .sge-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
  }

  .sge-box ul:last-child {
    margin-bottom: 0;
  }

  .sge-box li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
  }

  .sge-box li:last-child {
    margin-bottom: 0;
  }

  .sge-box li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: 600;
  }

  /* Numbered list variant */
  .sge-box ol {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    counter-reset: sge-counter;
  }

  .sge-box ol:last-child {
    margin-bottom: 0;
  }

  .sge-box ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    counter-increment: sge-counter;
  }

  .sge-box ol li::before {
    content: counter(sge-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: 600;
  }

  /* --- SIDEBAR WIDGETS --- */
  .cbdfx-article-template .cbdfx__sidebar-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    display: block;
  }

  .cbdfx-article-template .cbdfx__sidebar-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin: 0 0 15px 0;
    color: #111;
  }

  .cbdfx-article-template .cbdfx__sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .cbdfx-article-template .cbdfx__sidebar-list li {
    margin-bottom: 10px;
  }

  .cbdfx-article-template .cbdfx__sidebar-list a {
    color: #1a73e8;
    font-size: 0.9rem;
    line-height: 1.5;
    display: block;
  }

  /* Sidebar Recent Articles */
  .cbdfx__article-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 15px;
  }

  .cbdfx__article-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
  }

  .cbdfx__article-thumb--placeholder {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: #eee;
    flex-shrink: 0;
  }

  .cbdfx__article-info {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .cbdfx__article-info a {
    color: #111;
    font-weight: 500;
    text-decoration: none;
  }

  .cbdfx__article-info a:hover {
    color: #1a73e8;
  }

  .article-meta {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
  }

  .cbdfx__collapsible-items {
    display: none;
  }

  .cbdfx__collapsible-items.active {
    display: block;
  }

  .cbdfx__show-more-btn {
    background: none;
    border: none;
    color: #1a73e8;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    margin-top: 10px;
  }

  /* Sidebar Categories */
  .cbdfx__category-link {
    display: inline-block;
    background: #f4f4f4;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 0 4px 8px 0;
    font-size: 0.85rem;
    text-decoration: none;
  }

  .cbdfx__category-link:hover {
    background: #e0e0e0;
  }

  /* Sidebar CTA */
  .cbdfx__cta-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
  }

  /* Sidebar Products */
  .cbdfx-article-template .kcq__product-card--sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid #d9e3f0;
    display: block;
    text-decoration: none;
    color: inherit;
    margin-top: 10px;
  }

  .cbdfx-article-template .kcq__product-card--sidebar img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 10px;
  }

  .cbdfx-article-template .kcq__shop-now-btn {
    width: 100%;
    padding: 12px 20px;
    background: #00B1B0;
    color: #fff;
    border: none;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
    display: block;
    text-align: center;
  }

  /* Footer Products */
  .cbdfx-article-template .kcq__footer-products {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 20px;
  }

  .cbdfx-article-template .kcq__footer-products h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
  }

  .cbdfx-article-template .kcq__footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .cbdfx-article-template .kcq__product-card--footer {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
  }

  .cbdfx-article-template .kcq__product-card--footer img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #f9f9f9;
  }

  .cbdfx-article-template .kcq__footer-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* --- SIGNUP FORM --- */
  .cbdfx-article-template .cbdfx__signup {
    max-width: 900px;
    margin: 80px auto 60px auto;
    padding: 40px 20px;
    text-align: center;
    background: #f9fafb;
    border-radius: 12px;
  }

  .cbdfx-article-template .cbdfx__signup h2 {
    margin-top: 0;
  }

  .cbdfx-article-template .cbdfx__signup-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
  }

  .cbdfx-article-template .cbdfx__signup input[type="email"] {
    width: 360px;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
  }

  .cbdfx-article-template .cbdfx__signup button {
    padding: 12px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
  }

  .cbdfx-article-template .cbdfx__signup button:hover {
    background: #333;
  }

  /* Mobile TOC */
  .mobile-toc-wrapper {
    display: none;
  }

  /* FAQ Accordion */
  .faq-accordion-wrapper {
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
  }

  .faq-item {
    border-bottom: 1px solid #e0e0e0;
  }

  .faq-item summary {
    padding: 18px 0;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
  }

  .faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 18px;
    font-size: 1.5rem;
    color: #00B1B0;
  }

  .faq-item[open] summary::after {
    content: '−';
  }

  /* =========================================
     MOBILE STYLES
     ========================================= */
  @media (max-width: 900px) {
    .cbdfx-article-template {
      overflow-x: hidden;
      width: 100%;
    }

    .cbdfx-article-template .cbdfx__page {
      flex-direction: column;
      padding: 20px 15px;
      gap: 40px;
    }

    .cbdfx-article-template .cbdfx__sidebar {
      width: 100%;
      order: 2;
    }

    .cbdfx__sidebar-section--toc {
      display: none;
    }

    .mobile-toc-wrapper {
      display: block;
      background: #f9f9f9;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      margin-bottom: 30px;
    }

    .mobile-toc-details summary {
      padding: 15px 20px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
    }

    .cbdfx-article-template .cbdfx__hero {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .cbdfx-article-template .cbdfx__hero-image {
      height: 250px;
    }

    /* Mobile SGE Box */
    .sge-box {
      padding: 16px 18px;
    }

    .sge-box .sge-title {
      font-size: 1rem;
    }

    .sge-box .sge-header {
      font-size: 0.95rem;
    }

    .sge-box .sge-text,
    .sge-box li {
      font-size: 0.9rem;
    }

    /* Mobile Footer Products */
    .cbdfx-article-template .kcq__footer-products {
      display: block;
      padding: 0 15px;
      margin: 40px auto;
    }

    .cbdfx-article-template .kcq__footer-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .cbdfx-article-template .kcq__product-card--footer img {
      height: 160px;
    }

    .cbdfx-article-template .kcq__footer-info {
      padding: 12px;
      gap: 8px;
    }

    .cbdfx-article-template .kcq__footer-info h3 {
      font-size: 0.9rem;
      margin-bottom: 0;
    }

    .cbdfx-article-template .kcq__footer-info .kcq__price {
      font-size: 1rem;
    }

    .cbdfx-article-template .kcq__footer-info .kcq__shop-now-btn {
      padding: 8px 12px;
      font-size: 0.85rem;
    }

    /* Mobile Signup Form */
    .cbdfx-article-template .cbdfx__signup {
      margin: 40px 15px;
      padding: 25px 15px;
    }

    .cbdfx-article-template .cbdfx__signup-form {
      flex-direction: column;
      width: 100%;
    }

    .cbdfx-article-template .cbdfx__signup input[type="email"] {
      width: 100%;
    }

    .cbdfx-article-template .cbdfx__signup button {
      width: 100%;
    }
  }

/* WordPress serves the original upload, not the Shopify image_url renditions the section requests; these two rules give
   the rendered boxes the rendition's shape (measured on live: thumbs 60x60, featured product 301x226 at 375). */
/* Recent Articles: image_url: width: 100, height: 100, crop: 'center' (square crop; object-fit: cover is set above). */
.cbdfx-article-template .cbdfx__article-thumb { aspect-ratio: 1 / 1; }
/* Featured Product: image_url: width: 800, height: 600 (fit and padded to 800x600; object-fit: contain is set above). */
.cbdfx-article-template .kcq__hero-link img { aspect-ratio: 4 / 3; }
