/*
 * Front styles for long category descriptions generated by mennica_catdesc.
 * Intentionally does not style .new_cat_desc, #category-description or
 * .category-description, so the theme keeps full control of the top category
 * header with product/category tiles.
 */

.mcd-cat--long {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 32px;
    color: #222;
    font-size: 16px;
    line-height: 1.65;
}

.mcd-cat--long *,
.seo-faq *,
.seo-search-tags *,
.seo-popular-cats * {
    box-sizing: border-box;
}

.mcd-cat--long h2 {
    margin: 34px 0 16px;
    color: #171717;
    font-family: inherit;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: 0;
}

.mcd-cat--long p {
    margin: 0 0 18px;
    color: #222;
    font-size: 16px;
    line-height: 1.65;
}

.mcd-cat--long ul {
    margin: 12px 0 24px 22px;
    padding: 0;
}

.mcd-cat--long li {
    margin: 0 0 7px;
    padding-left: 4px;
}

.mcd-cat--long a {
    color: #8a6a1d;
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 106, 29, .28);
    transition: color .15s, border-color .15s, background-color .15s;
}

.mcd-cat--long a:hover {
    color: #5f4812;
    border-bottom-color: #5f4812;
}

.seo-faq {
    margin: 36px 0 28px;
    padding: 24px;
    border: 1px solid #e6d8b6;
    border-radius: 6px;
    background: #fffaf0;
}

.seo-faq h2 {
    margin: 0 0 16px;
    color: #171717;
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: 0;
}

.seo-faq details {
    margin: 0;
    padding: 13px 0;
    border-top: 1px solid #e6d8b6;
}

.seo-faq details:first-of-type {
    border-top: 0;
}

.seo-faq summary {
    cursor: pointer;
    color: #1f1f1f;
    font-weight: 600;
    line-height: 1.45;
}

.seo-faq p {
    margin: 10px 0 0;
    color: #3a3a3a;
}

.seo-search-tags,
.seo-popular-cats {
    margin: 28px 0 0;
}

.seo-search-tags h2,
.seo-popular-cats h2 {
    margin: 0 0 14px;
    color: #171717;
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: 0;
}

.seo-search-tags__list,
.seo-popular-cats__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-search-tags__list a,
.seo-popular-cats__list a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #e3d4ae;
    border-radius: 5px;
    background: #fff;
    color: #6f5516;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
}

.seo-search-tags__list a:hover,
.seo-popular-cats__list a:hover {
    border-color: #c9a84c;
    background: #fff8e6;
    color: #171717;
}

@media (max-width: 767px) {
    .mcd-cat--long {
        font-size: 15px;
        line-height: 1.6;
    }

    .mcd-cat--long h2 {
        font-size: 24px;
    }

    .seo-faq {
        padding: 18px;
    }

    .seo-faq h2,
    .seo-search-tags h2,
    .seo-popular-cats h2 {
        font-size: 23px;
    }
}
