/**
 * Blog standalone (/blog) — not loaded via PrestaShop theme asset pipeline.
 * Hero uses same markup/behaviour as brand listing (manufacturer.tpl) — see manufacturer.css + body#blog rules below.
 * Listing: fixed-height image + object-fit cover.
 */

/* -------------------------------------------------------------------------
   Blog page layout — align with brand listing (full-width strip under header)
   ------------------------------------------------------------------------- */

body#blog .breadcrumb {
  display: none !important;
}

/* Horizontal gutters: blog templates replace theme container — avoid edge-to-edge content */
body#blog {
  --ctm-blog-gutter-x: 1rem;
  --ctm-blog-gutter-bottom: 1.5rem;
}

@media (min-width: 576px) {
  body#blog {
    --ctm-blog-gutter-x: 1.25rem;
  }
}

@media (min-width: 768px) {
  body#blog {
    --ctm-blog-gutter-x: 1.75rem;
    --ctm-blog-gutter-bottom: 2rem;
  }
}

@media (min-width: 1200px) {
  body#blog {
    --ctm-blog-gutter-x: 2.5rem;
    --ctm-blog-gutter-bottom: 2.5rem;
  }
}

body#blog .ctm-blog-listing,
body#blog .ctm-blog-article-body,
body#blog .ctm-blog-slider-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-left: var(--ctm-blog-gutter-x);
  padding-right: var(--ctm-blog-gutter-x);
}

@media (max-width: 767px) {
  body#blog .ctm-blog-listing {
    padding-left: 0;
    padding-right: 0;
  }
}

body#blog .ctm-blog-slider-section {
  padding-bottom: var(--ctm-blog-gutter-bottom);
  margin-top: 1.5rem;
}

body#blog .manufacturer-header {
  min-height: auto;
  border-bottom: 1px solid var(--light-gray);
  padding: 0 !important;
  margin-bottom: 0;
}

body#blog .manufacturer-video-img {
  position: relative;
  width: 100%;
}

body#blog .manufacturer-video-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 30%);
  z-index: 1;
  pointer-events: none;
}

body#blog .manufacturer-video-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Title block: replaces single absolute h1; keeps subtitle under title */
body#blog .ctm-blog-hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  z-index: 2;
  padding: 0 1rem;
  text-align: center;
  pointer-events: none;
  width: calc(100% - 25px);
}

body#blog .ctm-blog-hero-text .manufacturer-banner-title {
  position: static;
  margin: 0 0 0.35rem;
  padding: 0;
  font-weight: 600;
  font-size: 45px;
  color: #fff;
  text-shadow: 0 1px 3px rgb(0 0 0 / 45%);
  pointer-events: none;
}

body#blog .ctm-blog-hero-sub {
  margin: 0;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 3px rgb(0 0 0 / 45%);
}

body#blog .ctm-blog-hero-text h1 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body#blog .ctm-blog-hero-text p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  body#blog .ctm-blog-hero-text {
    text-align: left;
  }

  body#blog .ctm-blog-hero-text h1 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body#blog .ctm-blog-hero-text .manufacturer-banner-title {
    font-size: 30px;
  }
}

/* Category chips row (blog index) */
body#blog .ctm-blog-category-badges {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-left: var(--ctm-blog-gutter-x);
  padding-right: var(--ctm-blog-gutter-x);
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  body#blog .ctm-blog-category-badges {
    padding-left: var(--ctm-blog-gutter-x);
    padding-right: var(--ctm-blog-gutter-x);
  }
}

body#blog .ctm-blog-category-badges-scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

@media (max-width: 767px) {
  body#blog .ctm-blog-category-badges-scroll {
    flex-wrap: nowrap;
    padding-bottom: 15px;
  }

  /* hide scrollbar */
  body#blog .ctm-blog-category-badges-scroll::-webkit-scrollbar {
    display: none;
  }
}

body#blog .ctm-blog-category-badge {
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #212529;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

body#blog .ctm-blog-category-badge:hover,
body#blog .ctm-blog-category-badge:focus-visible {
  color: #AD6F55;
  border-color: #adb5bd;
}

body#blog .ctm-blog-category-badge.is-active {
  border-color: #6c757d;
  background: #fff;
}

body#blog .ctm-blog-article-search-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-left: var(--ctm-blog-gutter-x);
  padding-right: var(--ctm-blog-gutter-x);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

body#blog .ctm-blog-article-search {
  max-width: 52rem;
  margin: 0 auto;
}

body#blog .ctm-blog-article-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

body#blog .ctm-blog-article-search-input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 10px;
}

body#blog .ctm-blog-article-search-submit {
  flex-shrink: 0;
  border-radius: 10px;
}

@media (max-width: 767px) {
  body#blog .ctm-blog-article-search-row {
    display: block;
  }

  body#blog .ctm-blog-article-search-input {
    flex: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 0;
  }

  body#blog .ctm-blog-article-search-submit {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0.5rem;
  }
}

/* -------------------------------------------------------------------------
   Listing cards — contain images, fixed height, cover
   ------------------------------------------------------------------------- */
body#blog .ctm-blog-listing {
  margin-top: 1.75rem;
  padding-top: 0;
  padding-bottom: var(--ctm-blog-gutter-bottom);
}

@media (min-width: 768px) {
  body#blog .ctm-blog-listing {
    margin-top: 2.25rem;
  }
}

/*
 * Theme grid uses float-based columns; different card heights cause cards to
 * wrap to the wrong side.  Override with CSS Grid on the blog listing only.
 */
body#blog .ctm-blog-cards {
  --ctm-blog-card-img-h: 220px;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

body#blog .ctm-blog-cards::after {
  display: none !important;
}

body#blog .ctm-blog-cards>.ctm-blog-list-col {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  body#blog .ctm-blog-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 992px) {
  body#blog .ctm-blog-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.ctm-blog-card {
  overflow: hidden;
}

/* margin-bottom on columns now handled by grid gap */

body#blog .ctm-blog-card-text {
  box-sizing: border-box;
  padding: 1.25rem;
}

@media (max-width: 767px) {
  body#blog .ctm-blog-card-text {
    padding-left: var(--ctm-blog-gutter-x);
    padding-right: var(--ctm-blog-gutter-x);
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  body#blog .ctm-blog-listing .ctm-blog-pagination {
    padding-left: var(--ctm-blog-gutter-x);
    padding-right: var(--ctm-blog-gutter-x);
  }

  body#blog .ctm-blog-listing>.alert {
    margin-left: var(--ctm-blog-gutter-x);
    margin-right: var(--ctm-blog-gutter-x);
  }
}

body#blog .ctm-blog-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

body#blog .ctm-blog-card-title a {
  color: #212529;
  text-decoration: none;
}

body#blog .ctm-blog-card-title a:hover {
  color: #AD6F55;
}

@media (max-width: 767px) {
  body#blog .ctm-blog-card-title {
    margin-bottom: 0.25rem;
  }

  body#blog .ctm-blog-card-title a {
    font-size: 24px;
    font-weight: 600;
    color: #282828;
    margin-top: 10px;
    display: block;
  }
}

body#blog .ctm-blog-card-sub {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

body#blog .ctm-blog-card-readmore {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #AD6F55;
  text-decoration: none;
}

body#blog .ctm-blog-card-readmore:hover {
  color: #0a58ca;
  text-decoration: underline;
}

.ctm-blog-card .ctm-blog-card-img-wrap {
  display: block;
  width: 100%;
  height: var(--ctm-blog-card-img-h);
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.ctm-blog-card .ctm-blog-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

/* -------------------------------------------------------------------------
   Article body — boxed prose column (desktop), explicit type scale
   ------------------------------------------------------------------------- */
body#blog .ctm-blog-article-body {
  margin-top: 0;
  padding-top: 1.25rem;
  padding-bottom: var(--ctm-blog-gutter-bottom);
}

body#blog .ctm-blog-back-nav {
  margin-bottom: 1rem;
}

/* “Torna al blog” — link-style, no chip border (inside article box) */
body#blog a.ctm-blog-back-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
  color: #6c757d !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0;
  padding: 0.15rem 0;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

body#blog a.ctm-blog-back-btn:hover,
body#blog a.ctm-blog-back-btn:focus {
  color: #495057 !important;
  background-color: transparent !important;
  text-decoration: underline !important;
}

body#blog a.ctm-blog-back-btn:focus {
  outline: 2px solid #AD6F55;
  outline-offset: 2px;
}

body#blog .ctm-blog-back-nav-icon {
  margin-right: 0.35em;
  opacity: 0.9;
}

body#blog .ctm-blog-reading-time {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: #666;
  letter-spacing: 0.01em;
}

body#blog .ctm-blog-reading-time[hidden] {
  display: none !important;
}

body#blog .ctm-blog-share {
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body#blog .ctm-blog-share-heading {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.65rem;
}

body#blog .ctm-blog-share-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body#blog .ctm-blog-share-list li {
  margin: 0;
  padding: 0;
}

body#blog .ctm-blog-share-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: #212529;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body#blog .ctm-blog-share-icon {
  flex-shrink: 0;
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  vertical-align: middle;
  pointer-events: none;
}

body#blog .ctm-blog-share-btn .ctm-blog-share-icon path {
  fill: currentColor;
}

body#blog a.ctm-blog-share-btn:hover,
body#blog a.ctm-blog-share-btn:focus,
body#blog button.ctm-blog-share-btn:hover,
body#blog button.ctm-blog-share-btn:focus {
  color: #ad6f55;
  border-color: #adb5bd;
  background: #f8f9fa;
}

body#blog .ctm-blog-share-facebook:hover,
body#blog .ctm-blog-share-facebook:focus {
  color: #0866ff;
}

body#blog .ctm-blog-share-twitter:hover,
body#blog .ctm-blog-share-twitter:focus {
  color: #0f1419;
}

body#blog .ctm-blog-share-linkedin:hover,
body#blog .ctm-blog-share-linkedin:focus {
  color: #0a66c2;
}

body#blog .ctm-blog-share-whatsapp:hover,
body#blog .ctm-blog-share-whatsapp:focus {
  color: #25d366;
}

body#blog .ctm-blog-share-telegram:hover,
body#blog .ctm-blog-share-telegram:focus {
  color: #229ed9;
}

body#blog button.ctm-blog-share-copy {
  font-family: inherit;
}

@media (min-width: 768px) {
  body#blog .ctm-blog-article-body {
    padding-top: 1.75rem;
  }
}

/* Article shell: back link + prose share one card */
body#blog .ctm-blog-article-box {
  box-sizing: border-box;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 1rem 2rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  /* Mobile full-bleed media: gutter (section) + this horizontal padding */
  --ctm-blog-article-bleed-total: calc(var(--ctm-blog-gutter-x) + 1rem);
}

body#blog .ctm-blog-article-body .rte-content {
  box-sizing: border-box;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  font-family: inherit;
  font-size: 1.0625rem;
  /* 17px */
  font-weight: 400;
  line-height: 1.65;
  color: #1a1a1a;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

body#blog .ctm-blog-article-body .rte-content>*:first-child {
  margin-top: 0;
}

body#blog .ctm-blog-article-body .rte-content>*:last-child {
  margin-bottom: 0;
}

body#blog .ctm-blog-ending-cta {
  margin: 1.5rem 0 0;
  padding: 0;
  text-align: center;
}

body#blog .ctm-blog-ending-btn {
  font-weight: 600;
  border-radius: 10px;
}

body#blog .ctm-blog-category-products {
  margin-top: 1.75rem;
  padding-top: 0.25rem;
}

body#blog .ctm-blog-category-products-title {
  margin: 0 0 1rem;
  font-weight: 600;
}

/* Headings */
body#blog .ctm-blog-article-body .rte-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
}

body#blog .ctm-blog-article-body .rte-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #1a1a1a;
}

body#blog .ctm-blog-article-body .rte-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
}

body#blog .ctm-blog-article-body .rte-content h2+h3 {
  margin-top: 0.75rem;
}

/* Body text */
body#blog .ctm-blog-article-body .rte-content p {
  margin: 0 0 1rem;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.65;
}

body#blog .ctm-blog-article-body .rte-content p:last-child {
  margin-bottom: 0;
}

body#blog .ctm-blog-article-body .rte-content strong,
body#blog .ctm-blog-article-body .rte-content b {
  font-weight: 700;
  color: #111;
}

body#blog .ctm-blog-article-body .rte-content em,
body#blog .ctm-blog-article-body .rte-content i {
  font-style: italic;
  font-weight: inherit;
}

body#blog .ctm-blog-article-body .rte-content a {
  color: #AD6F55;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body#blog .ctm-blog-article-body .rte-content a:hover {
  color: #0a58ca;
}

/* Lists */
body#blog .ctm-blog-article-body .rte-content ul,
body#blog .ctm-blog-article-body .rte-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  font-size: 1em;
  line-height: 1.65;
}

body#blog .ctm-blog-article-body .rte-content ul {
  list-style-type: disc;
}

body#blog .ctm-blog-article-body .rte-content ol {
  list-style-type: decimal;
}

body#blog .ctm-blog-article-body .rte-content li {
  margin: 0.35rem 0;
  font-weight: 400;
}

body#blog .ctm-blog-article-body .rte-content li>ul,
body#blog .ctm-blog-article-body .rte-content li>ol {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

/* Nested list markers */
body#blog .ctm-blog-article-body .rte-content ul ul {
  list-style-type: circle;
}

body#blog .ctm-blog-article-body .rte-content ul ul ul {
  list-style-type: square;
}

/* Media & quotes */
body#blog .ctm-blog-article-body .rte-content img,
body#blog .ctm-blog-article-body .rte-content video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 4px;
}

/* Mobile: immagini / video a tutta larghezza viewport (breakout dal padding sezione + box) */
@media (max-width: 767px) {

  body#blog .ctm-blog-article-body .rte-content img,
  body#blog .ctm-blog-article-body .rte-content video,
  body#blog .ctm-blog-article-body .rte-content picture {
    box-sizing: border-box;
    display: block;
    width: calc(100% + 2 * var(--ctm-blog-article-bleed-total));
    max-width: none;
    margin-left: calc(-1 * var(--ctm-blog-article-bleed-total));
    margin-right: calc(-1 * var(--ctm-blog-article-bleed-total));
    border-radius: 0;
  }

  body#blog .ctm-blog-article-body .rte-content picture img {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  body#blog .ctm-blog-article-body .rte-content figure {
    box-sizing: border-box;
    display: block;
    width: calc(100% + 2 * var(--ctm-blog-article-bleed-total));
    max-width: none;
    margin-left: calc(-1 * var(--ctm-blog-article-bleed-total));
    margin-right: calc(-1 * var(--ctm-blog-article-bleed-total));
    border-radius: 0;
  }

  body#blog .ctm-blog-article-body .rte-content figure img {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
}

body#blog .ctm-blog-article-body .rte-content blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 4px solid rgba(0, 0, 0, 0.15);
  font-size: 1em;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: #333;
  background: rgba(0, 0, 0, 0.03);
}

body#blog .ctm-blog-article-body .rte-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

body#blog .ctm-blog-article-body .rte-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  font-weight: 500;
  padding: 0.15em 0.4em;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
}

body#blog .ctm-blog-article-body .rte-content pre {
  margin: 1rem 0;
  padding: 1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

body#blog .ctm-blog-article-body .rte-content pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

@media (min-width: 768px) {
  body#blog .ctm-blog-article-box {
    max-width: 46rem;
    padding: 2rem 2.25rem 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }
}

@media (min-width: 1200px) {
  body#blog .ctm-blog-article-box {
    max-width: 48rem;
    padding: 2.25rem 2.5rem 3rem;
  }

  body#blog .ctm-blog-article-body .rte-content {
    font-size: 1.125rem;
    /* 18px body on large screens */
  }
}

/* FAQ block (allineata alla colonna articolo) */
body#blog .ctm-blog-faq {
  box-sizing: border-box;
  max-width: 42rem;
  margin: 1.75rem auto 0;
  padding: 1.25rem 1rem 1.75rem;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  color: #1a1a1a;
}

body#blog .ctm-blog-faq-title {
  margin: 0 0 1rem;
  padding: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  color: #111;
}

body#blog .ctm-blog-faq-list {
  margin: 0;
  padding: 0;
}

body#blog .ctm-blog-faq-item {
  margin: 0 0 1.25rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body#blog .ctm-blog-faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

body#blog .ctm-blog-faq-q {
  margin: 0 0 0.5rem;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a;
}

body#blog .ctm-blog-faq-a {
  margin: 0;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.65;
  color: #333;
}

@media (min-width: 768px) {
  body#blog .ctm-blog-faq {
    max-width: 46rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
}

@media (min-width: 1200px) {
  body#blog .ctm-blog-faq {
    max-width: 48rem;
  }
}

/* -------------------------------------------------------------------------
   Slider (“more articles”) — plain DOM, no PS widgets
   ------------------------------------------------------------------------- */
.ctm-blog-slider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
}

.ctm-blog-slider-viewport {
  overflow-x: auto;
  flex: 1 1 auto;
  min-width: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.ctm-blog-slider-track {
  display: flex;
  gap: 1rem;
}

.ctm-blog-slider-card {
  display: flex;
  flex-direction: row;
  flex: 0 0 min(92vw, 400px);
  max-width: min(92vw, 400px);
  min-height: 118px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  align-items: stretch;
}

.ctm-blog-slider-card-media {
  display: block;
  flex: 0 0 44%;
  max-width: 200px;
  min-width: 132px;
  position: relative;
  align-self: stretch;
  background: #eee;
}

.ctm-blog-slider-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ctm-blog-slider-card-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ctm-blog-slider-card-title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: #6b7280;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.ctm-blog-slider-card-title a {
  color: inherit;
  text-decoration: none;
}

.ctm-blog-slider-card-title a:hover {
  color: #4b5563;
}

.ctm-blog-slider-card-sub {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: #868e96;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.ctm-blog-slider-btn {
  flex: 0 0 auto;
  border: 1px solid #ccc;
  background: #f8f8f8;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.ctm-blog-slider-btn:hover {
  background: #eee;
}

@media (max-width: 767px) {
  .ctm-blog-cards {
    --ctm-blog-card-img-h: 200px;
  }
}