/* Shared chrome for the comparison templates.
 *
 * The SEO remediation replaces a number of heading and bold elements with
 * neutral elements: a card title is not a document heading, and a card title is
 * not bold emphasis. The rules below reproduce the appearance the replaced
 * elements had, so the pages look exactly as they did before.
 */

/* Comparison card titles (were bold labels). */
.dd-hub.cp .cp-card .dd-card-title {
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--navy);
    font-weight: 700;
}

/* Product name on the comparison detail cards. */
.dd-hub.cp .cp-prod .dd-card-title {
    color: var(--navy);
    line-height: 1.3;
    font-weight: 700;
}

/* Pros and cons panel titles (were panel headings). */
.dd-hub.cp .cp-pcc .dd-card-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
}

/* Product name in the "all reviewed products" table. */
.dd-hub.cp .cp-t .dd-card-title {
    font-weight: 700;
}

/* Prose sub-headings that were demoted to keep a page inside its heading budget. */
.dd-hub.ar .ar-prose .dd-subhead {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 30px 0 8px;
    padding-left: 12px;
    border-left: 4px solid var(--teal);
    color: var(--color-navy);
}
.dd-hub.ar .ar-prose .dd-subhead--h4 {
    font-size: 1rem;
    margin: 20px 0 6px;
    padding-left: 0;
    border-left: 0;
    color: var(--teal2);
}

/* Scenario card titles keep their own smaller treatment. */
.dd-hub.ar .ar-prose .ar-sc .dd-subhead {
    font-size: 1.02rem;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    color: var(--teal2);
}

/* Body copy that used <strong>/<b>. */
.dd-hub.ar .ar-prose .dd-em {
    font-weight: 700;
}
.dd-hub.ar .ar-vc .dd-em {
    display: block;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.dd-hub.ar .ar-pc .dd-em {
    display: block;
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin: 12px 0 8px;
}
.dd-hub.ar .ar-pro .dd-em {
    color: var(--green);
}
.dd-hub.ar .ar-con .dd-em {
    color: var(--amber);
}

/* Related card titles (were card headings). */
.dd-hub .related-card .dd-card-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
}
