/* Archived EPS-branchen pages, styled to sit in plast.dk's content column (.indhold-box).
   Colours are plast.dk's: #00343a text, #087573 accent. */

/* Content headings: semi-bold like plast.dk's own article subheadings. */
#content .indhold-box .fusion-text h2 {
    margin: 2rem 0 0.75rem;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

#content .indhold-box .fusion-text h1.single-title + h2,
#content .indhold-box .fusion-text > h2:first-child {
    margin-top: 0;
}

#content .indhold-box .fusion-text img {
    max-width: 100%;
    height: auto;
}

#content .indhold-box .wp-caption {
    max-width: 100%;
    margin: 1.5rem 0;
}

#content .indhold-box .wp-caption-text {
    margin-top: 0.5rem;
    font-size: 14px;
}

/* [pla_quote]: on these pages it holds the "Kort fortalt" summaries, so it is a summary box, not a pull quote. */
.fusion-body #content .eps-archive-quote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border: 0;
    border-left: 4px solid #087573;
    background: #f2f4f5;
    color: #00343a;
    font-size: 18px;
    line-height: 1.55;
    font-style: normal;
    font-weight: 400;
}

.fusion-body #content .eps-archive-quote::before,
.fusion-body #content .eps-archive-quote::after {
    content: none;
}

.fusion-body #content .eps-archive-quote p {
    margin: 0 0 0.5em;
    font-size: inherit;
    line-height: inherit;
    font-style: normal;
    font-weight: inherit;
    color: inherit;
}

/* The "Kort fortalt:" label on the first line. */
.fusion-body #content .eps-archive-quote p:first-child::first-line {
    font-weight: 600;
}

.fusion-body #content .eps-archive-quote p:last-child {
    margin-bottom: 0;
}

.eps-archive-quote cite {
    display: block;
    margin-top: 0.5em;
    font-size: 16px;
    font-style: normal;
}

.eps-archive-quote cite::before {
    content: '\2014';
}

/* [pla_factbox]: full width of the content column; the old floated half-width box is too narrow here. */
#content .eps-archive-factbox {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f2f4f5;
}

#content .indhold-box .fusion-text .eps-archive-factbox h2 {
    margin: 0 0 0.75rem;
    font-size: 20px;
    font-weight: 600;
}

#content .eps-archive-factbox p:last-child {
    margin-bottom: 0;
}

.eps-archive-notice {
    margin-bottom: 1.5rem;
    font-size: 14px;
    color: #00343a;
}

/* Long URLs and words wrap instead of running out of the white cards and content column.
   The theme sets overflow-wrap on "#content div", so the ID is needed and every nested div is targeted. */
#content .hvide-bokse-box .fusion-layout-column,
#content .hvide-bokse-box .fusion-layout-column *,
#content .indhold-box .fusion-text,
#content .indhold-box .fusion-text * {
    /* break-word, not anywhere: anywhere also shrinks table columns until headers break letter by letter. */
    overflow-wrap: break-word;
    min-width: 0;
}

/* The old content labels figures with <pre>Figur 1:</pre>; show it as a caption label, not code. */
#content .indhold-box .fusion-text pre {
    margin: 1.5rem 0 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: normal;
    color: #00343a;
}

/* Document Library table in the narrow content column. */
#content .indhold-box .document-library-table th,
#content .indhold-box .document-library-table td {
    overflow-wrap: normal;
    font-size: 15px;
    vertical-align: top;
}
