/* Editorial articles reuse the main BokaTid typography, header, footer and tokens. */

.article-hero{
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 clamp(54px, 8vw, 92px);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 18%, rgba(25, 177, 95, 0.13), transparent 30%),
    radial-gradient(circle at 8% 82%, rgba(44, 109, 214, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfdfc 0%, #f6f8fb 100%);
}
.article-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: linear-gradient(rgba(19, 35, 50, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 35, 50, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 82%);
}
.article-hero-inner{ position: relative; z-index: 1; max-width: 940px; }
.breadcrumbs{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: .88rem;
}
.breadcrumbs a{ font-weight: 700; }
.article-kicker,
.article-body .section-kicker,
.note-label{
  margin: 0 0 12px;
  color: #0d7840;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article-hero h1{
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.35rem);
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.article-deck{
  max-width: 780px;
  margin: 26px 0 0;
  color: rgba(19, 35, 50, .82);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.62;
}
.article-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: .92rem;
}
.article-meta span{ position: relative; }
.article-meta span + span::before{
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: -13px;
  top: .65em;
  border-radius: 50%;
  background: rgba(19, 35, 50, .28);
}

.article-photo{ margin: 30px 0 36px; }
.article-photo--hero{ margin-top: clamp(32px, 5vw, 48px); margin-bottom: 0; }
.article-photo img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(19, 35, 50, .14);
}
.article-photo figcaption{
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.article-body{ padding: clamp(54px, 7vw, 88px) 0 96px; }
.article-narrow,
.article-wide{ width: min(calc(100% - 40px), 100%); margin-inline: auto; }
.article-narrow{ max-width: 780px; }
.article-wide{ max-width: var(--container); }
.article-body section + section{ margin-top: 72px; }
.article-body h2{
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.article-body h3{
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.article-body p{ margin: 0 0 20px; font-size: 1.06rem; line-height: 1.72; }
.article-body a{ font-weight: 650; }

.publisher-note,
.method-card{
  display: grid;
  gap: 10px 28px;
  margin-bottom: 70px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(25, 177, 95, .24);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(25, 177, 95, .075), rgba(255,255,255,.96));
  box-shadow: 0 18px 55px rgba(19, 35, 50, .07);
}
.publisher-note h2,
.method-card h2{ margin-bottom: 6px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.publisher-note p:last-child,
.method-card p:last-child{ margin-bottom: 0; }
.method-card{ margin: 62px 0 0; border-color: rgba(19, 35, 50, .13); background: var(--bg-alt); box-shadow: none; }

.criteria-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.criteria-list li{
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: .95rem;
  font-weight: 700;
}
.criteria-list li::before{
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: 16px;
  top: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.system-comparison{ margin-top: 88px; }
.vendor-section{
  margin-top: 0 !important;
  padding: 58px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.system-comparison > .vendor-section:last-child{ border-bottom: 1px solid var(--border); }
.vendor-heading{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.vendor-number{ margin: 0 0 5px !important; color: var(--muted); font-size: .78rem !important; font-weight: 850; letter-spacing: .14em; }
.vendor-heading h3{ margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.editorial-badge,
.unverified{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(19, 35, 50, .13);
  border-radius: 999px;
  color: rgba(19, 35, 50, .82);
  background: var(--bg-alt);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.balance-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.balance-card{
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.balance-card span{ color: #0d7840; font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.balance-card strong{ font-size: .98rem; line-height: 1.55; }

.comparison-section{
  margin-top: 96px !important;
  padding-top: 76px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.wide-section-heading{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}
.wide-section-heading h2{ margin-bottom: 0; }
.wide-section-intro{ margin: 0 !important; color: var(--muted); font-size: .98rem !important; }
.table-legend{ display: grid; justify-items: start; gap: 7px; color: var(--muted); font-size: .84rem; }
.table-legend span{ display: flex; align-items: baseline; gap: 8px; }
.table-legend b{ min-width: 1rem; color: var(--text); font-size: 1rem; text-align: center; }

.table-scroll{
  position: relative;
  overflow-x: auto;
  border: 1px solid rgba(19, 35, 50, .15);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(19, 35, 50, .08);
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(19, 35, 50, .28) transparent;
}
.table-scroll:focus-visible{ outline: 3px solid var(--accent-ghost); outline-offset: 3px; }
.comparison-table{
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .91rem;
  line-height: 1.4;
}
.comparison-table caption{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.comparison-table th,
.comparison-table td{
  padding: 15px 14px;
  border-right: 1px solid rgba(19, 35, 50, .08);
  border-bottom: 1px solid rgba(19, 35, 50, .09);
  vertical-align: middle;
  text-align: center;
}
.comparison-table tr > :last-child{ border-right: 0; }
.comparison-table tbody tr:last-child > *,
.comparison-table tfoot tr:last-child > *{ border-bottom: 0; }
.comparison-table thead th{
  color: #f5fff8;
  background: #10261f;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.comparison-table tbody tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(even) th{ background: #fafbfc; }
.comparison-table tbody tr:hover td,
.comparison-table tbody tr:hover th{ background: #f2f7f4; }
.comparison-table th:first-child{
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 210px;
  max-width: 260px;
  text-align: left;
  background: #fff;
  box-shadow: 9px 0 18px -18px rgba(19, 35, 50, .8);
}
.comparison-table thead th:first-child{ z-index: 3; background: #10261f; }
.comparison-table tbody tr:nth-child(even) th:first-child{ background: #fafbfc; }
.comparison-table tbody tr:hover th:first-child{ background: #f2f7f4; }
.comparison-table tfoot th:first-child{ background: #eaf6ef; }
.status{
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
}
.status--yes{ color: #086537; background: rgba(25, 177, 95, .13); }
.status--partial{ color: #805b05; background: rgba(231, 170, 24, .15); }
.status--unknown{ color: #667382; background: #eef1f4; }
.table-disclaimer,
.price-notes{
  margin-top: 18px !important;
  color: var(--muted);
  font-size: .91rem !important;
  line-height: 1.6 !important;
}

.price-table{ min-width: 1050px; }
.price-table th:first-child{ min-width: 180px; }
.price-table th:last-child,
.price-table td:last-child{ min-width: 260px; text-align: left; }
.price-table td strong{ display: block; font-size: 1rem; }
.price-table td small{ display: block; margin-top: 3px; color: var(--muted); }
.price-table .unverified{ max-width: 130px; border-color: rgba(186, 125, 11, .22); color: #725004; background: rgba(231, 170, 24, .12); border-radius: 8px; }
.price-notes{ display: grid; gap: 3px; }
.price-notes p{ margin: 0; font-size: .91rem; }
.journey-cost-note{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 16px;
  color: #eefcf4;
  background: #10261f;
}
.journey-cost-note p{ max-width: 720px; margin: 0; font-size: .97rem; line-height: 1.6; }
.journey-cost-note a{ flex: 0 0 auto; color: #72eeae; text-decoration: none; }

.customer-journey{
  position: relative;
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}
.customer-journey::before{
  content: "";
  position: absolute;
  width: 2px;
  left: 23px;
  top: 28px;
  bottom: 28px;
  background: linear-gradient(180deg, rgba(25, 177, 95, .28), rgba(44, 109, 214, .24));
}
.customer-journey li{
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 66px;
  counter-increment: journey;
}
.customer-journey li::before{
  content: counter(journey, decimal-leading-zero);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(25, 177, 95, .3);
  border-radius: 50%;
  color: #086537;
  background: #f4fbf7;
  font-size: .72rem;
  font-weight: 850;
}
.customer-journey li span{
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: .94rem;
  font-weight: 780;
}
.cost-label{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 5px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cost-label--included{ color: #086537; border-color: rgba(25, 177, 95, .22); background: rgba(25, 177, 95, .11); }
.cost-label--addon{ color: #795506; border-color: rgba(231, 170, 24, .28); background: rgba(231, 170, 24, .13); }
.cost-label--external{ color: #315c8a; border-color: rgba(44, 109, 214, .22); background: rgba(44, 109, 214, .1); }
.cost-label--variable{ color: #6b4d85; border-color: rgba(123, 82, 155, .22); background: rgba(123, 82, 155, .1); }
.cost-label--unknown{ color: #667382; border-color: rgba(102, 115, 130, .2); background: #eef1f4; }
.journey-cost-table,
.payment-table,
.modern-table{ min-width: 1120px; }
.journey-cost-table td,
.payment-table td,
.modern-table td{ min-width: 165px; vertical-align: top; }
.journey-cost-table td small,
.payment-table td small,
.modern-table td small{ display: block; color: var(--muted); font-weight: 500; line-height: 1.5; }
.journey-cost-table tfoot th,
.journey-cost-table tfoot td{
  border-top: 2px solid rgba(19, 35, 50, .16);
  background: #f2f7f4;
  font-size: .96rem;
  font-weight: 850;
}
.journey-cost-table tfoot tr + tr th,
.journey-cost-table tfoot tr + tr td{ border-top-width: 1px; }
.cost-summary{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.cost-summary article{
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
}
.cost-summary span{ display: block; color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.cost-summary strong{ display: block; margin-top: 5px; font-size: 1.15rem; }
.cost-summary small{ display: block; margin-top: 3px; color: var(--muted); line-height: 1.45; }
.faq-list{ display: grid; gap: 10px; margin-top: 28px; }
.faq-list details{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.faq-list summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker{ display: none; }
.faq-list summary::after{ content: "+"; flex: 0 0 auto; color: #0d7840; font-size: 1.35rem; line-height: 1; }
.faq-list details[open] summary::after{ content: "−"; }
.faq-list details p{ margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .98rem; }

.ratings-table{ min-width: 850px; }
.ratings-table th:first-child{ min-width: 300px; }
.ratings-table td{ font-size: 1rem; font-weight: 750; }
.ratings-table tfoot th,
.ratings-table tfoot td{
  padding-block: 18px;
  border-bottom: 0;
  color: #0c5632;
  background: #eaf6ef;
  font-size: 1.08rem;
  font-weight: 900;
}
.rating-explanations{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.rating-explanations article:first-child{ grid-column: span 2; }
.rating-explanations article{
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
}
.rating-explanations h3{ margin-bottom: 8px; font-size: 1.05rem; }
.rating-explanations p{ margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.55; }

.article-cta{
  display: grid;
  gap: 18px;
  margin-top: 76px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(114, 238, 174, .25);
  border-radius: 24px;
  color: #f4fff8;
  background:
    radial-gradient(circle at 92% 12%, rgba(114, 238, 174, .16), transparent 34%),
    #10261f;
  box-shadow: 0 24px 65px rgba(19, 35, 50, .18);
}
.article-cta-label{
  margin: 0 !important;
  color: #72eeae;
  font-size: .76rem !important;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article-cta h2{ max-width: 650px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.article-cta > p:not(.article-cta-label):not(.article-cta-terms){ max-width: 670px; margin: 0; color: rgba(244, 255, 248, .82); }
.article-cta > .article-cta-terms{
  max-width: 720px;
  color: rgba(244, 255, 248, .62);
  font-size: .78rem;
  line-height: 1.55;
}
.article-cta-points{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.article-cta-points li{
  padding: 7px 11px;
  border: 1px solid rgba(244, 255, 248, .18);
  border-radius: 999px;
  color: rgba(244, 255, 248, .9);
  background: rgba(255, 255, 255, .06);
  font-size: .82rem;
  font-weight: 750;
}
.article-cta-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.article-cta .btn-secondary{ background: #fff; }

.use-cases{ margin-top: 100px !important; scroll-margin-top: 90px; }
.use-case-list{ display: grid; gap: 12px; margin: 32px 0 36px; }
.use-case-list article{
  display: grid;
  grid-template-columns: 185px 150px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.use-case-list span{ color: #0d7840; font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.use-case-list h3{ margin: 0; font-size: 1.2rem; }
.use-case-list p{ margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

.sources{ margin-top: 100px !important; padding-top: 72px; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.source-groups{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.source-groups section{
  margin: 0 !important;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
}
.source-groups section:first-child{ grid-column: 1 / -1; }
.source-groups h3{ margin-bottom: 10px; font-size: 1.1rem; }
.source-groups ul{ display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.source-groups li{ color: var(--muted); font-size: .9rem; }
.source-groups a{ color: var(--text); }
.correction-note{
  margin-top: 24px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--bg-alt);
}
.correction-note p{ margin: 5px 0 0; color: var(--muted); font-size: .92rem; }

@media (min-width: 760px){
  .publisher-note{ grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); align-items: start; }
}

@media (max-width: 980px){
  .wide-section-heading{ grid-template-columns: 1fr; align-items: start; }
  .rating-explanations{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-case-list article{ grid-template-columns: 170px minmax(0, 1fr); }
  .use-case-list p{ grid-column: 1 / -1; }
  .journey-cost-note{ align-items: flex-start; flex-direction: column; }
  .cost-summary{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .article-hero{ padding-top: 46px; }
  .article-hero h1{ font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .article-deck{ font-size: 1.07rem; }
  .article-meta{ display: grid; gap: 6px; }
  .article-meta span + span::before{ display: none; }
  .article-photo img{ aspect-ratio: 4 / 3; border-radius: 16px; }
  .article-narrow,
  .article-wide{ width: min(calc(100% - 28px), 100%); }
  .article-body{ padding-top: 42px; }
  .article-body section + section{ margin-top: 54px; }
  .criteria-list,
  .balance-grid,
  .source-groups,
  .rating-explanations{ grid-template-columns: 1fr; }
  .rating-explanations article:first-child{ grid-column: auto; }
  .source-groups section:first-child{ grid-column: auto; }
  .vendor-section{ padding: 44px 0; }
  .vendor-heading{ display: grid; }
  .editorial-badge{ justify-self: start; }
  .balance-card{ min-height: 0; }
  .comparison-section{ margin-top: 72px !important; padding-top: 54px; }
  .comparison-table th:first-child{ min-width: 174px; max-width: 174px; }
  .ratings-table th:first-child{ min-width: 230px; max-width: 230px; }
  .table-scroll::after{
    content: "Svep i sidled →";
    position: sticky;
    left: 14px;
    display: inline-block;
    margin: 10px 14px;
    padding: 5px 8px;
    border-radius: 7px;
    color: var(--muted);
    background: rgba(246, 248, 251, .94);
    font-size: .72rem;
    font-weight: 750;
    pointer-events: none;
  }
  .use-case-list article{ grid-template-columns: 1fr; gap: 8px; }
  .use-case-list p{ grid-column: auto; }
  .customer-journey li{ grid-template-columns: 42px minmax(0, 1fr); gap: 10px; min-height: 61px; }
  .customer-journey::before{ left: 19px; }
  .customer-journey li::before{ width: 40px; height: 40px; }
  .customer-journey li span{ padding: 11px 13px; }
  .cost-summary{ grid-template-columns: 1fr; }
}

@media print{
  .site-header,
  .footer,
  .skip-link{ display: none !important; }
  .article-hero{ padding: 24px 0; background: #fff; }
  .article-hero::after{ display: none; }
  .article-body{ padding: 24px 0; }
  .table-scroll{ overflow: visible; border: 0; box-shadow: none; }
  .comparison-table{ min-width: 0; font-size: 8pt; }
  .comparison-table th,
  .comparison-table td{ padding: 5px; }
  .comparison-table th:first-child{ position: static; min-width: 0; max-width: none; box-shadow: none; }
  .vendor-section,
  .comparison-section{ break-inside: avoid; }
}
