/* A searchable editorial collection, retaining Tamam's existing brand assets. */
.editorial-library { width: 100%; }
/* Editorial heroes keep one service label; the body retains every service link. */
body[data-page-type=editorial] .scene-chip:not(.scene-chip-0) { display: none; }
.editorial-tools { padding-block: 10px 30px; }
.editorial-tools .service-search { max-width: 680px; margin-bottom: 24px; }
.editorial-jumps { display: flex; gap: 10px; flex-wrap: wrap; }
.editorial-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 18px; border: 1px solid #b7c2ca; border-radius: 99px; font-weight: 650; font-size: 14px; line-height: 1.4; }
.editorial-jumps a:hover { background: #d6efff; border-color: #25adfe; }
.editorial-group { padding-block: 42px; scroll-margin-top: 110px; }
.editorial-group h2 { font-size: clamp(28px,3vw,44px); line-height: 1.17; margin: 0 0 26px; letter-spacing: -.035em; }
.editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.editorial-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(23px,3vw,38px); border: 1px solid #cbd4da; border-radius: 26px; background: #fff; color: #09151b; gap: 18px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.editorial-card[data-card-industry=home] { --card-accent: #25adfe; }
.editorial-card[data-card-industry=car] { --card-accent: #af52de; }
.editorial-card[data-card-industry=health] { --card-accent: #fa5757; }
.editorial-card[data-card-industry=lifestyle] { --card-accent: #34c759; }
.editorial-card[data-card-industry=general] { --card-accent: #25adfe; }
.editorial-card:hover { transform: translateY(-4px); border-color: var(--card-accent); box-shadow: 0 12px 0 -7px var(--card-accent); }
.editorial-tag { font-size: 12px; font-weight: 650; line-height: 1.4; color: #374650; background: #f0f4f6; padding: 8px 12px; border-radius: 30px; }
.editorial-card strong { font-size: clamp(23px,2.1vw,31px); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.editorial-card p { margin: 0; font-size: 15px; line-height: 1.65; color: #46545d; }
.editorial-read { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 15px; font-size: 14px; font-weight: 650; margin-top: auto; padding-top: 12px; }
.editorial-read > span { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--card-accent); color: #000; font-size: 24px; }
.editorial-card:focus-visible, .editorial-jumps a:focus-visible { outline: 3px solid #09151b; outline-offset: 4px; }
.editorial-card[hidden], .editorial-group[hidden], .editorial-tools [hidden], .editorial-jumps a[hidden] { display: none !important; }
.guide-reading .article > .editorial-byline { font-size: 13px; margin-bottom: 20px; color: #46545d; }
.guide-reading .article > .editorial-disclosure { border: 1px solid #cbd4da; padding: 18px 22px; border-radius: 16px; font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.editorial-local li { margin-block: 16px; line-height: 1.75; color: #46545d; }
.editorial-local strong { color: #09151b; }
.editorial-safety { background: #fff1f1; border-radius: 24px; padding: 28px !important; }
.editorial-next .cta-row { flex-wrap: wrap; }
[dir=rtl] .editorial-group h2, [dir=rtl] .editorial-card strong { letter-spacing: 0; line-height: 1.45; }
@media(max-width: 680px) {
  .editorial-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .editorial-group { padding-block: 28px; scroll-margin-top: 92px; }
  .editorial-tools { padding-block: 0 18px; }
  .editorial-jumps { gap: 8px; }
  .editorial-jumps a { padding: 10px 14px; font-size: 13px; }
  .editorial-card { border-radius: 22px; gap: 14px; }
  .editorial-card strong { font-size: 25px; }
}
@media(prefers-reduced-motion:reduce) { .editorial-card { transition: none; } .editorial-card:hover { transform: none; } }
