/* Weierken catalogue and product-detail fixes 1.3.5 */

/*
 * Product-detail hero: use opaque high-contrast colours and a selector that
 * wins over the general typography rules loaded by the theme.
 */
.single-weierken_product .product-hero {
    color: #fff;
    background: #071e17;
}

.single-weierken_product .product-hero .product-hero-copy h1 {
    color: #fff;
}

.single-weierken_product .product-hero .product-hero-copy .lede {
    color: #eef6f2;
}

.single-weierken_product .product-hero .product-hero-copy .breadcrumbs,
.single-weierken_product .product-hero .product-hero-copy .breadcrumbs a {
    color: #d6e5de;
}

.single-weierken_product .product-hero .product-hero-copy .eyebrow {
    color: #bfe8d6;
}

.single-weierken_product .product-hero .product-hero-copy .check-list li,
.single-weierken_product .product-hero .product-hero-copy .dark-text li {
    color: #f4f8f6;
}

.single-weierken_product .product-hero .product-hero-copy .check-list li::before {
    color: #fff;
    background: #db7c2f;
}

.single-weierken_product .product-hero .product-hero-copy .product-context-links a {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .34);
}

.single-weierken_product .product-hero .product-hero-copy .product-context-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}

/* Exact category directory generated from the supplied workbook. */
.workbook-category-section {
    background: #f2eee6;
}

.workbook-category-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.workbook-category-group {
    padding: clamp(26px, 3vw, 40px);
    border: 1px solid rgba(18, 32, 25, .12);
    background: #fff;
}

.workbook-category-group header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 20px;
    align-items: end;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(18, 32, 25, .12);
}

.workbook-category-group header .micro {
    grid-column: 1 / -1;
    margin: 0;
}

.workbook-category-group header h3 {
    margin: 0;
    font-size: clamp(1.65rem, 2.5vw, 2.4rem);
}

.workbook-category-group header span {
    color: #5f6b65;
    font-size: .78rem;
    font-weight: 650;
    white-space: nowrap;
}

.workbook-category-group ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
    padding: 12px 0 0;
    list-style: none;
}

.workbook-category-group li {
    margin: 0;
    border-bottom: 1px solid rgba(18, 32, 25, .08);
}

.workbook-category-group li a {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    color: #1d332a;
    font-size: .82rem;
    line-height: 1.35;
}

.workbook-category-group li a:hover {
    color: #176148;
}

.workbook-category-group li strong {
    display: grid;
    flex: 0 0 28px;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #176148;
    background: #eef4ef;
    border-radius: 50%;
    font-size: .68rem;
}

@media (max-width: 900px) {
    .workbook-category-directory {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .workbook-category-group ul {
        grid-template-columns: 1fr;
    }
}
