/* Extends the existing Smartmacherei guide typography and colours. */
.hero.short.matter-hero { min-height: 470px; }
.matter-hero h1 { max-width: 13em; font-size: clamp(40px, 5.8vw, 70px); line-height: 1.04; }
.matter-hero .wrap { padding-bottom: 46px; }
.matter-hero::after { background: linear-gradient(90deg,rgba(6,24,38,.88),rgba(6,24,38,.35)),linear-gradient(180deg,rgba(6,24,38,.5),transparent 40%); }
.matter-breadcrumb { padding-top: 24px; font-size: 14px; }
.matter-intro.block { padding: 48px 0 36px; }
.matter-intro .lede { max-width: 52em; }
.matter-intro p + p { margin-top: 18px; max-width: 65em; }
.catalog-date { font-size: 14px; font-weight: 600; }
.matter-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.matter-categories a { background: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--line); }
.matter-categories a:hover, .matter-pagination a:hover { border-color: var(--deep); }
.matter-catalog.block { padding: 48px 0 64px; background: #e4eef4; scroll-margin-top: 20px; }
.matter-catalog h2 { max-width: none; }
.matter-shortcuts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0; font-size: 15px; font-weight: 600; }
.matter-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 28px 0 20px; background: #fff; border-radius: 18px; padding: 24px; }
.matter-filters label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.matter-filters .search-field { grid-column: span 2; }
.matter-filters input, .matter-filters select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #8ba5b5; border-radius: 8px; background: #fff; color: var(--ink); font: 400 16px var(--body); }
.matter-filters input::placeholder { color: #597180; opacity: 1; }
.reset-filters { align-self: end; min-height: 46px; border: 1px solid #8ba5b5; border-radius: 8px; background: #eef4f8; color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
#matter-result-count { font-size: 18px; font-weight: 600; color: var(--ink); margin: 16px 0 8px; }
.catalog-help { max-width: 65em; font-size: 14px; margin-bottom: 24px; }
.matter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.matter-product { padding: 26px; border-radius: 16px; background: #fff; overflow-wrap: anywhere; }
.product-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.product-heading h3 { font-size: 23px; line-height: 1.18; margin-top: 6px; }
.manufacturer { color: var(--soft); font-size: 14px; }
.save-product { flex-shrink: 0; border: 1px solid #8ba5b5; border-radius: 8px; padding: 9px 11px; font: 600 13px var(--body); color: var(--ink); background: #fff; cursor: pointer; }
.save-product[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.connection { color: #07588f; font-size: 15px; font-weight: 700; margin-top: 18px; }
.function { font-size: 14px; margin-top: 6px; }
.product-note { font-size: 14px; margin-top: 16px; }
.product-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; font-size: 15px; font-weight: 600; }
.certificate-details { margin-top: 20px; color: var(--soft); font-size: 13px; }
.certificate-details summary { cursor: pointer; padding: 8px 0; }
.certificate-details p { margin-top: 10px; font-size: 13px; }
.certificate-details ul { max-height: 230px; overflow: auto; padding-left: 18px; line-height: 1.8; }
.matter-empty { grid-column: 1/-1; padding: 30px; background: #fff; border-radius: 16px; }
.matter-empty p { margin-top: 12px; }
#matter-more { margin-top: 26px; cursor: pointer; }
.matter-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.matter-pagination a { padding: 10px 14px; border-radius: 8px; border: 1px solid #8ba5b5; background: #fff; font-size: 14px; text-decoration: none; }
.matter-pagination [aria-current="page"] { color: #fff; background: var(--deep); }
.category-filter-link { margin-top: 18px; }
.matter-selection { margin-top: 32px; padding: 26px; border-radius: 16px; background: #fff; }
.matter-selection ul { list-style: none; padding: 0; }
.matter-selection li { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; margin: 16px 0; }
.matter-selection li span { font-size: 14px; grid-column: 1; color: var(--text); }
.matter-selection li button { grid-column: 2; grid-row: 1/3; align-self: center; border: none; background: transparent; color: var(--deep); text-decoration: underline; cursor: pointer; }
.matter-selection > button { border: none; cursor: pointer; }
#matter-copy-status { margin-top: 12px; font-size: 14px; }
.matter-guide h2 { max-width: 23em; margin-top: 48px; }
.matter-guide h2:first-child { margin-top: 0; }
.matter-guide p { margin-top: 20px; max-width: 65em; }
.matter-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin: 32px 0 48px; }
.matter-explanation h3 { font-size: 24px; }
.matter-explanation p { margin-top: 12px; }
[hidden] { display: none !important; }
@media(max-width:760px) { .matter-filters { grid-template-columns: 1fr 1fr; padding: 18px; } .matter-grid,.matter-explanation { grid-template-columns: 1fr; } .matter-product { padding: 22px; } .hero.short.matter-hero { min-height: 440px; } .matter-hero .sub { font-size: 17px; max-width: 26em; } .matter-hero h1 { max-width: 11em; } .matter-catalog h2 { font-size: 32px; } }
@media(max-width:430px) { .matter-filters { grid-template-columns: 1fr; } .matter-filters .search-field { grid-column: auto; } .matter-categories a { font-size: 13px; padding: 9px 12px; } .product-heading h3 { font-size: 21px; } .matter-hero .wrap { padding-bottom: 36px; } }
