/* /vergleich category hub; shares the editorial palette of the content pages. */
.ht-compare{color:#18213c;padding-bottom:56px}
.ht-compare-head{padding:8px 0 32px;border-bottom:1px solid #e8ecf1;margin-bottom:8px}
.ht-compare-head h1{margin:0 0 14px;font-size:2.4rem;font-weight:700;letter-spacing:-.8px;line-height:1.14;max-width:760px}
.ht-compare-intro{margin:0;font-size:1.06rem;line-height:1.55;color:#48536b;max-width:720px}
.ht-compare-stats{display:flex;gap:40px;margin-top:22px;flex-wrap:wrap}
.ht-compare-stat-value{display:block;font-size:1.5rem;font-weight:700;color:#18213c;line-height:1.2}
.ht-compare-stat-label{display:block;font-size:.85rem;color:#6b7891;margin-top:2px}

.ht-compare-section{padding-top:40px}
.ht-compare-section h2{margin:0;font-size:1.6rem;font-weight:700;letter-spacing:-.4px}
/* Heading and its note sit on one baseline while they fit, then stack. */
.ht-compare-section-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.ht-compare-section-note{font-size:.92rem;color:#6b7891}
.ht-compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:22px;align-items:stretch}

.ht-compare-card{display:flex;flex-direction:column;gap:15px;padding:24px;border:1px solid #e3e8ef;border-radius:12px;background:#fff}
.ht-compare-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ht-compare-card h3{margin:0;font-size:1.22rem;font-weight:600;letter-spacing:-.2px;line-height:1.3}
.ht-compare-card h3 a{color:#18213c;text-decoration:none}
.ht-compare-card h3 a:hover{color:var(--content-blue,#0276db);text-decoration:none}
.ht-compare-card-text{margin:0;font-size:.95rem;line-height:1.55;color:#48536b}
.ht-compare-badge{flex-shrink:0;font-size:.75rem;font-weight:600;color:#48536b;background:#f2f5f9;border-radius:999px;padding:5px 10px;white-space:nowrap}
/* Pushes the footer link to the bottom so cards of unequal text length still
   line their call-to-action up across a row. */
.ht-compare-card-foot{margin-top:auto}
.ht-compare-link{color:var(--content-blue,#0276db);font-weight:700;font-size:.92rem;text-decoration:none}
.ht-compare-link:hover{color:#0267bf;text-decoration:none}

.ht-compare-chips{display:flex;flex-wrap:wrap;gap:8px}
.ht-compare-chip{font-size:.82rem;font-weight:600;color:#18213c;background:#f5f7fa;border:1px solid #e3e8ef;border-radius:6px;padding:7px 11px;text-decoration:none;line-height:1.25}
.ht-compare-chip:hover{border-color:#bcd3ea;background:#f4f8fc;color:#18213c;text-decoration:none}

/* The young categories carry too few offers to hold their own in a grid sorted
   by size, so they get an inverted card above the main grid instead. */
.ht-compare-card-featured{background:#18213c;border-color:#18213c;color:#fff}
.ht-compare-card-featured h3 a{color:#fff}
.ht-compare-card-featured h3 a:hover{color:#16ea9e}
.ht-compare-card-featured .ht-compare-card-text{color:#cdd5e3}
.ht-compare-card-featured .ht-compare-badge{color:#cdd5e3;background:#2a3554}
.ht-compare-card-featured .ht-compare-chip{color:#fff;background:#2a3554;border-color:#3d4a6e}
.ht-compare-card-featured .ht-compare-chip:hover{background:#354162;border-color:#4d5c85;color:#fff}
/* Turquoise on the dark card clears 4.5:1; the blue link colour does not. */
.ht-compare-card-featured .ht-compare-link{color:#16ea9e}
.ht-compare-card-featured .ht-compare-link:hover{color:#3df2b0}

.ht-compare-card-help{border-color:#cfe3f7;background:#f4f9fe}
.ht-compare-card-help h3{font-size:1.22rem}
.ht-compare-card-help p{margin:0;font-size:.95rem;line-height:1.55;color:#3d4a63}

/* Legend: explains the two link levels, so the chips are not read as filters
   of the category page above them. */
.ht-compare-legend{margin-top:44px;padding:26px 28px;border:1px solid #e3e8ef;border-radius:12px;background:#fafbfd}
.ht-compare-legend h2{margin:0 0 16px;font-size:1.15rem;font-weight:700}
.ht-compare-legend dl{display:grid;grid-template-columns:minmax(180px,220px) 1fr;gap:10px 24px;margin:0}
.ht-compare-legend dt{font-weight:700;font-size:.92rem;color:#18213c}
.ht-compare-legend dd{margin:0;font-size:.92rem;line-height:1.55;color:#48536b}

@media (max-width:991px){
    .ht-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ht-compare-head h1{font-size:2rem}
}
@media (max-width:767px){
    .ht-compare-grid{grid-template-columns:minmax(0,1fr);gap:16px}
    .ht-compare-head h1{font-size:1.7rem}
    .ht-compare-stats{gap:24px}
    /* Chips are the main tap target on a phone, so they get full height. */
    .ht-compare-chip{padding:10px 13px}
    /* Term over definition: two columns leave no usable width on a phone. */
    .ht-compare-legend{padding:20px}
    .ht-compare-legend dl{grid-template-columns:minmax(0,1fr);gap:4px}
    .ht-compare-legend dd{margin-bottom:12px}
}
