/* Editorial layout inherits the theme typography, palette and button components. */
.haptelle-news-article--editorial { background: #fff0e5; color: var(--text); }
.haptelle-news-article--editorial > .container-full-2 { width: calc(100% - 60px); max-width: 1440px; padding-inline: 0; margin-inline: auto; }
.haptelle-news-editorial { margin: 0 auto; }
.haptelle-news-editorial .haptelle-news-editorial-hero,
.haptelle-news-detail-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 48px; padding: 48px 0; }
.haptelle-news-editorial-heading h1 { margin-bottom: 24px; }
.haptelle-news-editorial-excerpt { margin: 0; }
.haptelle-news-editorial .haptelle-news-article-meta { margin-bottom: 24px; }
.haptelle-news-editorial .haptelle-news-article-visual { border-radius: 16px; aspect-ratio: 1.68 / 1; }
.haptelle-news-editorial .haptelle-news-article-visual img { object-fit: cover; object-position: center; }
.haptelle-news-detail-highlights,
.haptelle-news-detail-story,
.haptelle-news-detail-banner,
.haptelle-news-detail-why,
.haptelle-news-detail-related { margin-top: 0; }
.haptelle-news-detail-highlights { padding: 48px 40px; background: #f2dfcf; }
.haptelle-news-detail-story { background: transparent; }
.haptelle-news-detail-why { padding: 48px 40px; background: #fff; }
.haptelle-news-detail-related { margin-top: 48px; padding: 40px; background: #f2dfcf; }
.haptelle-news-detail-highlights h2,
.haptelle-news-detail-why h2 { margin-bottom: 32px; text-align: center; }
.haptelle-news-detail-highlights ol { display: grid; width: fit-content; gap: 24px; max-width: 100%; padding: 0; margin: 0 auto; list-style: none; }
.haptelle-news-detail-highlights li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 24px; font-weight: 300; }
.haptelle-news-detail-number { display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-wa-zdy-3); color: var(--bg-wa-zdy-5); font-size: 20px; font-weight: 500; }
.haptelle-news-detail-story.without-image { grid-template-columns: minmax(0, 1fr); }
.haptelle-news-detail-story-copy p,
.haptelle-news-detail-why-copy p { margin: 0 0 20px; }
.haptelle-news-detail-story-copy .haptelle-news-detail-cta { display: flex; width: fit-content; margin: 12px auto 0; }
.haptelle-news-detail-why { text-align: center; }
.haptelle-news-detail-why-copy { max-width: 960px; margin: 0 auto 32px; text-align: left; }
.haptelle-news-detail-related-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.haptelle-news-detail-related-heading a { color: var(--bg-wa-zdy-5); }
.haptelle-news-detail-gallery { position: relative; min-width: 0; }
.haptelle-news-detail-gallery-track { display: flex; overflow: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 16px; }
.haptelle-news-detail-gallery-track::-webkit-scrollbar { display: none; }
.haptelle-news-detail-gallery-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: .72 / 1; scroll-snap-align: start; }
.haptelle-news-detail-gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.haptelle-news-detail-gallery-prev,
.haptelle-news-detail-gallery-next { position: absolute; top: 50%; z-index: 1; display: flex; width: 36px; height: 48px; transform: translateY(-50%); border: 0; background: rgba(255, 255, 255, .4); align-items: center; justify-content: center; color: #fff; font-size: 33px; cursor: pointer; }
.haptelle-news-detail-gallery-prev { left: 0; }
.haptelle-news-detail-gallery-next { right: 0; }
.haptelle-news-detail-gallery button:focus-visible { outline: 2px solid #80600f; outline-offset: 2px; }

.haptelle-news-detail-banner { overflow: hidden; margin: 0 0 48px; border-radius: 16px; }
.haptelle-news-detail-banner img { display: block; width: 100%; height: auto; border-radius: 16px; }
.haptelle-news-detail-banner a { display: block; }

.haptelle-news-detail-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }


@media (max-width: 767px) {
 .haptelle-news-article--editorial > .container-full-2 { width: calc(100% - 30px); }
 .haptelle-news-editorial .haptelle-news-editorial-hero,
 .haptelle-news-detail-story { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0; }
 .haptelle-news-detail-story .haptelle-news-detail-gallery { order: -1; }
 .haptelle-news-detail-highlights,
 .haptelle-news-detail-story,
 .haptelle-news-detail-banner,
 .haptelle-news-detail-why,
 .haptelle-news-detail-related { margin-top: 0; }
 .haptelle-news-detail-highlights,
 .haptelle-news-detail-why,
 .haptelle-news-detail-related { padding: 32px 18px; }
 .haptelle-news-detail-related { margin-top: 28px; }
 .haptelle-news-detail-banner { margin: 0 0 28px; border-radius: 12px; }
 .haptelle-news-detail-gallery-track,
 .haptelle-news-detail-gallery-slide img,
 .haptelle-news-detail-banner img { border-radius: 12px; }
 .haptelle-news-detail-highlights ol { width: 100%; }
 .haptelle-news-detail-highlights li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
 .haptelle-news-detail-number { width: 44px; height: 44px; font-size: 16px; }
 .haptelle-news-detail-related-grid { grid-template-columns: minmax(0, 1fr); }
 .haptelle-news-detail-related-heading { align-items: baseline; gap: 16px; }
 .haptelle-news-editorial .tf-btn { white-space: normal !important; max-width: 100%; text-align: center; }
}

/* Haptelle Design System V1.1: Paper (Blush Whisper light scale). */
.haptelle-news-editorial .haptelle-news-detail-highlights,
.haptelle-news-editorial .haptelle-news-detail-why {
  background-color: #fffaf6;
}

.haptelle-news-detail-banner-card { min-width: 0; border-radius: 13px; background: #fffaf6; }
.haptelle-news-detail-banner-card-media { position: relative; aspect-ratio: 16 / 9; }
.haptelle-news-detail-banner-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13px 13px 0 0; }
.haptelle-news-detail-banner-card time { position: absolute; inset: 10px 10px auto auto; padding: 4px 10px; border-radius: 999px; background: #fffaf6; color: var(--bg-wa-zdy-5); font-size: 14px; line-height: 22px; }
.haptelle-news-detail-banner-card h3 { margin: 0; padding: 16px; font-size: clamp(18px, 1.15vw, 20px); line-height: 1.3; font-weight: 500; }
.haptelle-news-detail-banner-card a:hover,
.haptelle-news-detail-banner-card a:focus-visible { text-decoration: underline; }

@media (max-width: 767px) {
  .haptelle-news-editorial-heading > h1 { text-align: center; }
}
