
/* ============================================================
   DOMBOKSFORSKNING.SE - CUSTOM CSS (Marita-restoration)
   ============================================================
   Lägg in via Utseende → Anpassa → Ytterligare CSS
   Trippel-klass på .entry-content för specificitet utan
   Version: 2026-05-19 (responsive-table tillagd)
   ============================================================ */

/* Brödtext - mörkare för läsbarhet (ersätter temats ljusgrå) */
.dfa-prose.entry-content,
.dfa-prose.entry-content p,
.dfa-prose.entry-content li {
  color: #302e27;
}

/* Rubriker - mörk varm brun istället för svart (matchar jordtonspaletten) */
.dfa-prose.entry-content h1,
.dfa-prose.entry-content h2,
.dfa-prose.entry-content h3,
.dfa-prose.entry-content h4,
.dfa-prose.entry-content h5,
.dfa-prose.entry-content h6 {
  color: #203f36;
}

/* Sidans huvudrubrik (entry-title) */
.entry-title,
h1.entry-title,
.post-title {
  color: #203f36;
}

/* Snabbfakta-box */
.dfa-prose.entry-content .df-snabbfakta {
  background: #f8f9fa;
  border-left: 4px solid #203f36;
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 4px;
}
.dfa-prose.entry-content .df-snabbfakta h3 {
  margin: 0 0 12px 0;
  font-size: 1.1em;
  color: #203f36;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dfa-prose.entry-content .df-snabbfakta ul {
  margin: 0;
  padding-left: 20px;
}
.dfa-prose.entry-content .df-snabbfakta li {
  margin-bottom: 6px;
}

/* Marita-byline-box (EEAT) */
.dfa-prose.entry-content .df-byline {
  background: #f3eee0;
  border: 1px solid #e8d9b0;
  padding: 14px 18px;
  margin: 24px 0;
  border-radius: 4px;
  font-size: 0.93em;
  color: #5c4a1f;
}
.dfa-prose.entry-content .df-byline strong {
  color: #203f36;
}

/* Dombok-läsövningsbox - signaturelement från Maritas original */
.dfa-prose.entry-content .df-lasovning {
  background: #fffbf2;
  border: 2px double #203f36;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 4px;
  position: relative;
}
.dfa-prose.entry-content .df-lasovning::before {
  content: "LÄSÖVNING";
  position: absolute;
  top: -11px;
  left: 20px;
  background: #fff;
  padding: 0 10px;
  font-size: 0.78em;
  font-weight: bold;
  letter-spacing: 2px;
  color: #203f36;
}
.dfa-prose.entry-content .df-lasovning .df-domstol {
  font-style: italic;
  color: #460000;
  font-size: 0.95em;
  margin-bottom: 4px;
}
.dfa-prose.entry-content .df-lasovning .df-arkivkalla {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 14px;
}
.dfa-prose.entry-content .df-lasovning .df-original {
  font-family: Georgia, "Times New Roman", serif;
  background: #fff;
  border: 1px solid #e8d4a0;
  padding: 14px 18px;
  margin: 10px 0;
  line-height: 1.7;
  color: #203f36;
  font-size: 1.02em;
}
.dfa-prose.entry-content .df-lasovning .df-tillagd {
  color: #c00000;
}
.dfa-prose.entry-content .df-lasovning .df-forklaring {
  margin-top: 14px;
}
.dfa-prose.entry-content .df-lasovning .df-forklaring strong {
  color: #203f36;
}

/* Lagcitat-box (för 1734-års lag och liknande) */
.dfa-prose.entry-content .df-lagcitat {
  background: #f4f1e8;
  border-left: 4px solid #b8860b;
  padding: 16px 20px;
  margin: 20px 0;
  font-family: Georgia, serif;
}
.dfa-prose.entry-content .df-lagcitat h3 {
  margin: 0 0 10px 0;
  color: #8b4513;
  font-size: 1.05em;
}
.dfa-prose.entry-content .df-lagcitat .df-paragraf {
  margin: 10px 0;
}
.dfa-prose.entry-content .df-lagcitat .df-paragraf strong {
  color: #8b4513;
}

/* Tips-box (samordnad jordton) */
.dfa-prose.entry-content .df-tips {
  background: #efede3;
  border-left: 4px solid #3c6150;
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 4px;
  color: #253d33;
}
.dfa-prose.entry-content .df-tips strong {
  color: #355147;
}

/* Info-box (samordnad jordton, neutral) */
.dfa-prose.entry-content .df-info-box {
  background: #ecebdf;
  border-left: 4px solid #a8905d;
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 4px;
  color: #253d33;
}
.dfa-prose.entry-content .df-info-box strong {
  color: #355147;
}

/* Varning-box (samordnad terrakotta, ej skarp röd) */
.dfa-prose.entry-content .df-varning {
  background: #f5e8d8;
  border-left: 4px solid #c97a4a;
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 4px;
  color: #253d33;
}
.dfa-prose.entry-content .df-varning strong {
  color: #8b3f1f;
}

/* FAQ-styling */
.dfa-prose.entry-content .df-faq {
  margin: 30px 0;
}
.dfa-prose.entry-content .df-faq h2 {
  border-bottom: 2px solid #203f36;
  padding-bottom: 8px;
}
.dfa-prose.entry-content .df-faq h3 {
  color: #203f36;
  margin-top: 22px;
  font-size: 1.1em;
}

/* Källor-sektion */
.dfa-prose.entry-content .df-kallor {
  background: #f5f5f5;
  padding: 18px 22px;
  margin: 30px 0;
  border-radius: 4px;
  font-size: 0.93em;
}
.dfa-prose.entry-content .df-kallor h3 {
  margin: 0 0 10px 0;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}
.dfa-prose.entry-content .df-kallor ul {
  margin: 0;
  padding-left: 20px;
}


/**
 * DF Landskap-styling - CSS för Sverige runt-landskapssidor
 * Färgpalett matchar domboksforskning.se: varma jordtoner
 */

/* ===== INFO-/TIPS-/VARNINGSBOXAR (samordnade med paletten) ===== */
.df-info-box,
.df-tips,
.df-varning {
    margin: 24px 0;
    padding: 16px 20px;
    border-radius: 6px;
    border-left: 4px solid;
    background: #f6f3eb;
    color: #253d33;
    line-height: 1.6;
}

.df-info-box {
    background: #ecebdf;
    border-left-color: #a8905d;
}

.df-tips {
    background: #efede3;
    border-left-color: #3c6150;
}

.df-varning {
    background: #f5e8d8;
    border-left-color: #c97a4a;
}

.df-info-box strong:first-child,
.df-tips strong:first-child,
.df-varning strong:first-child {
    color: #355147;
    display: inline-block;
    margin-right: 4px;
}

.df-info-box p,
.df-tips p,
.df-varning p {
    margin: 0;
}

.df-info-box p + p,
.df-tips p + p,
.df-varning p + p {
    margin-top: 8px;
}

/* "Specialregler för" rubrik i varning-boxar - lite tydligare */
.df-varning strong:first-child {
    color: #8b3f1f;
}

/* ===== NYCKELTAL-GRID (key stats överst) ===== */
.df-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.df-stat-card {
    background: #efede3;
    border: 1px solid #c9cfbf;
    border-radius: 6px;
    padding: 16px 12px;
    text-align: center;
    transition: transform 0.2s ease;
}

.df-stat-card:hover {
    transform: translateY(-2px);
}

.df-stat-number {
    display: block;
    font-size: 1.9em;
    font-weight: 700;
    color: #3c6150;
    line-height: 1.1;
    margin-bottom: 4px;
}

.df-stat-label {
    display: block;
    font-size: 0.85em;
    color: #51594f;
    line-height: 1.3;
}

/* ===== RÄTTSFALL-KORT ===== */
.df-case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
}

.df-case-card {
    background: #f6f3eb;
    border: 1px solid #d9dccd;
    border-left: 4px solid #a8905d;
    border-radius: 6px;
    padding: 20px 24px;
    position: relative;
}

.df-case-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d9dccd;
}

.df-case-year {
    display: inline-block;
    background: #3c6150;
    color: #fff;
    padding: 4px 12px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9em;
    flex-shrink: 0;
    white-space: nowrap;
}

.df-case-title {
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    color: #253d33;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
}

.df-case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
    font-size: 0.88em;
    color: #355147;
}

.df-case-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.df-case-meta-item strong {
    color: #253d33;
}

.df-case-card p {
    margin: 0 0 12px 0;
    color: #253d33;
    line-height: 1.6;
}

.df-case-card p:last-child {
    margin-bottom: 0;
}

.df-case-source {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #c9cfbf;
    font-size: 0.85em;
    color: #355147;
    font-style: italic;
}

.df-case-source strong {
    font-style: normal;
    color: #253d33;
}

/* ===== TIDSLINJE ===== */
.df-timeline {
    position: relative;
    margin: 32px 0;
    padding: 0 0 0 30px;
    list-style: none;
}

.df-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(to bottom, #a8905d, #3c6150);
    border-radius: 2px;
}

.df-timeline-item {
    position: relative;
    margin-bottom: 18px;
    padding-left: 24px;
}

.df-timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3c6150;
    border: 3px solid #f6f3eb;
    box-shadow: 0 0 0 2px #a8905d;
}

.df-timeline-year {
    display: inline-block;
    font-weight: 700;
    color: #3c6150;
    margin-right: 8px;
    font-size: 1.02em;
}

.df-timeline-event {
    color: #253d33;
    line-height: 1.5;
}

/* ===== 2-KOLUMNS LAYOUT ===== */
.df-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.df-two-col-card {
    background: #f6f3eb;
    border: 1px solid #d9dccd;
    border-radius: 6px;
    padding: 20px 24px;
}

.df-two-col-card.df-free {
    border-top: 4px solid #5a8a4f;
}

.df-two-col-card.df-paid {
    border-top: 4px solid #c97a4a;
}

.df-two-col-card h3 {
    margin-top: 0;
    padding-top: 0;
    color: #253d33;
    display: block;
    line-height: 1.3;
}

.df-two-col-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    vertical-align: middle;
}

.df-free .df-two-col-badge {
    background: #5a8a4f;
}

.df-paid .df-two-col-badge {
    background: #c97a4a;
}

.df-two-col-card ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
}

.df-two-col-card li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.df-two-col-card li:last-child {
    margin-bottom: 0;
}

/* ===== CITAT-BLOCK (för originalcitat från domböcker) ===== */
.df-quote {
    margin: 24px 0;
    padding: 20px 28px 20px 36px;
    background: #ecebdf;
    border-left: 5px solid #3c6150;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #253d33;
    position: relative;
    line-height: 1.6;
}

.df-quote::before {
    content: '\201E';
    position: absolute;
    left: 6px;
    top: 8px;
    font-size: 2.6em;
    color: #a8905d;
    line-height: 1;
    font-family: Georgia, serif;
    font-style: normal;
}

.df-quote-source {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 0.88em;
    color: #355147;
}

.df-quote-source::before {
    content: '— ';
}

/* ===== NAMNFORMER-TABELL (snyggare än ul) ===== */
.df-namnformer {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #f6f3eb;
    border: 1px solid #d9dccd;
    border-radius: 6px;
    overflow: hidden;
}

.df-namnformer thead {
    background: #a8905d;
    color: #fff;
}

.df-namnformer th {
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
}

.df-namnformer td {
    padding: 10px 16px;
    border-top: 1px solid #d9dccd;
    color: #253d33;
}

.df-namnformer tr:nth-child(even) td {
    background: #ecebdf;
}

.df-namnformer .df-namnform-old {
    font-weight: 600;
    color: #355147;
}

/* ===== MOBIL ===== */
@media (max-width: 600px) {
    .df-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .df-stat-card {
        padding: 12px 8px;
    }

    .df-stat-number {
        font-size: 1.5em;
    }

    .df-case-card {
        padding: 16px;
    }

    .df-case-card-header {
        flex-direction: column;
        gap: 8px;
    }

    .df-two-col {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .df-quote {
        padding: 16px 20px 16px 30px;
    }

    .df-quote::before {
        font-size: 2em;
    }

    .df-timeline {
        padding-left: 24px;
    }

    .df-namnformer {
        font-size: 0.92em;
    }

    .df-namnformer th, .df-namnformer td {
        padding: 8px 10px;
    }
}

/* ===== DARK MODE ===== */


/**
 * DF EEAT - Visuella stilar för EEAT-element
 * Använder sajtens typsnitt via inherit. Inga inline font-family.
 */

/* ===== SENAST UPPDATERAD-BANNER ===== */
.df-eeat-updated-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px 0;
    padding: 10px 16px;
    background: #fef9f3;
    border-left: 4px solid #a8905d;
    border-radius: 4px;
    font-size: 0.92em;
    color: #51594f;
}

.df-eeat-updated-banner .df-eeat-icon {
    color: #a8905d;
    font-size: 1.1em;
    font-weight: bold;
}

.df-eeat-updated-banner .df-eeat-label {
    font-weight: 600;
}

.df-eeat-updated-banner time {
    font-weight: 500;
}

/* ===== FAKTAGRANSKAT-BADGE ===== */
.df-eeat-factcheck {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 24px 0;
    padding: 14px 18px;
    background: #f0f7f0;
    border-left: 4px solid #5a8a4f;
    border-radius: 4px;
    font-size: 0.94em;
}

.df-eeat-factcheck-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #5a8a4f;
    color: #fff;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    flex-shrink: 0;
}

.df-eeat-factcheck-badge .df-eeat-icon {
    font-size: 1em;
}

.df-eeat-factcheck-meta {
    color: #2c4a26;
    line-height: 1.4;
}

.df-eeat-factcheck-meta strong {
    color: #1a3214;
}

/* ===== KÄLLOR-SEKTION ===== */
.df-eeat-sources {
    margin: 40px 0 32px 0;
    padding: 20px 24px;
    background: #f6f3eb;
    border: 1px solid #d9dccd;
    border-radius: 6px;
}

.df-eeat-sources-title {
    margin: 0 0 16px 0;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #a8905d;
    color: #253d33;
    font-size: 1.2em;
    font-weight: 600;
}

.df-eeat-sources-list {
    margin: 0;
    padding-left: 24px;
    color: #51594f;
    font-size: 0.94em;
    line-height: 1.6;
}

.df-eeat-sources-list li {
    margin-bottom: 8px;
}

.df-eeat-sources-list li:last-child {
    margin-bottom: 0;
}

.df-eeat-sources-list a {
    color: #3c6150;
    text-decoration: underline;
    word-break: break-word;
}

.df-eeat-sources-list a:hover {
    color: #355147;
}

/* ===== FÖRFATTARBOX ===== */
.df-eeat-author-box {
    display: flex;
    gap: 20px;
    margin: 40px 0 24px 0;
    padding: 24px;
    background: #efede3;
    border: 1px solid #c9cfbf;
    border-radius: 6px;
}

.df-eeat-author-avatar {
    flex-shrink: 0;
}

.df-eeat-author-avatar img {
    border-radius: 50%;
    width: 96px;
    height: 96px;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.df-eeat-author-content {
    flex: 1 1 auto;
    min-width: 0;
}

.df-eeat-author-label {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 10px;
    background: #a8905d;
    color: #fff;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.df-eeat-author-name {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.2;
}

.df-eeat-author-name a {
    color: #253d33;
    text-decoration: none;
}

.df-eeat-author-name a:hover {
    color: #3c6150;
}

.df-eeat-author-bio {
    color: #51594f;
    line-height: 1.6;
    font-size: 0.96em;
}

.df-eeat-author-bio p {
    margin: 0 0 10px 0;
}

.df-eeat-author-bio p:last-child {
    margin-bottom: 0;
}

.df-eeat-author-link {
    margin-top: 10px;
    font-size: 0.92em;
}

.df-eeat-author-link a {
    color: #3c6150;
}

.df-eeat-author-articles {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e0d3b8;
    font-size: 0.92em;
}

.df-eeat-author-articles a {
    color: #355147;
    text-decoration: none;
    font-weight: 600;
}

.df-eeat-author-articles a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIV PÅ MOBIL ===== */
@media (max-width: 600px) {
    .df-eeat-author-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        padding: 20px 16px;
    }

    .df-eeat-author-avatar img {
        width: 80px;
        height: 80px;
    }

    .df-eeat-factcheck {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }

    .df-eeat-sources {
        padding: 16px 18px;
    }

    .df-eeat-sources-list {
        padding-left: 20px;
    }

    .df-eeat-updated-banner {
        flex-wrap: wrap;
        font-size: 0.88em;
    }
}

/* Coherent paper/ink presentation; semantic warnings and transcription highlights remain. */
.dfa-prose.entry-content :is(.df-snabbfakta,.df-info,.df-info-box,.df-tips,.df-kallor,.df-internlankar,.df-snabb){background:#f0f1e7;border:1px solid #cfd6c3;border-left:3px solid #59704e;border-radius:0;color:#343d35;padding:20px 24px;margin:25px 0;line-height:1.75;font-size:16px}.dfa-prose.entry-content :is(.df-snabbfakta,.df-info-box,.df-tips,.df-kallor) :is(ul,ol){background:none;border:0;padding-left:23px;margin:12px 0 0}.dfa-prose.entry-content :is(.df-snabbfakta,.df-info-box,.df-tips,.df-kallor)>:last-child{margin-bottom:0}.dfa-prose.entry-content :is(.df-snabbfakta,.df-kallor)>h3{font-family:var(--dfa-body);font-size:17px;font-weight:600;line-height:1.55;letter-spacing:0;text-transform:none;margin:0 0 12px}.dfa-prose.entry-content :is(.df-byline,.df-lagcitat){background:#f3efdf;border-color:#dbccac;color:#575439;border-radius:0}.dfa-prose.entry-content .df-varning{background:#fff2e5;border-color:#bc7748;color:#673e24;border-radius:0}.dfa-prose.entry-content .df-lasovning{background:#f8f4e9;border-color:#6c7758;border-radius:0}.dfa-prose.entry-content .df-lasovning:before{background:var(--dfa-paper);color:var(--dfa-ink)}.dfa-prose.entry-content .df-original{font-family:var(--dfa-heading);color:#333b30}.dfa-prose.entry-content .df-tillagd{color:#b01918}.dfa-prose.entry-content .df-faq h2{border-bottom:1px solid var(--dfa-line);padding-bottom:14px}.dfa-prose.entry-content .df-faq h3{font-size:23px;color:var(--dfa-ink)}.dfa-prose.entry-content :is(.df-info-rubrik,.df-tips-rubrik,.df-internlankar-rubrik){display:block;font-weight:600;color:var(--dfa-ink);margin-bottom:7px}.dfa-prose .df-case-card{border-radius:0;background:#f7f5ec;border-color:#d5d9c9;border-left-color:#a18a50}.dfa-prose .df-case-title{font-family:var(--dfa-heading);letter-spacing:-.02em}.dfa-prose .df-case-year{border-radius:0;background:var(--dfa-ink);font:600 15px/1.6 var(--dfa-body)}.dfa-prose .df-case-meta{font-size:13px}.dfa-prose .df-case-source{font-size:14px}.dfa-prose .df-stats-grid{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}.dfa-prose .df-two-col{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}.dfa-prose :is(.df-two-col-card,.df-stat-card){border-radius:0}.dfa-prose .df-stat-number{font:500 32px/1.25 var(--dfa-heading);color:var(--dfa-ink)}.dfa-prose .df-stat-label{font:15px/1.5 var(--dfa-body)}.dfa-prose .df-eeat-author-box{border-radius:0;background:#f1f1e6;border-color:#ccd3bf;font-size:16px;color:#343d35;line-height:1.75;padding:24px}.dfa-prose .df-eeat-author-box .df-eeat-author-name{font-size:25px;line-height:1.4;margin:0 0 13px}.dfa-prose .df-eeat-author-label{background:none;color:#51634c;padding:0;font-size:10px;margin-bottom:10px;letter-spacing:.1em}.dfa-prose .df-eeat-author-bio{color:#434f3f;font-size:16px;line-height:1.75}.dfa-prose .df-eeat-author-avatar img{width:80px;height:80px;border:0;box-shadow:none;object-fit:cover}.dfa-has-dates .df-eeat-updated-banner{display:none}.dfa-prose .df-eeat-sources{background:#f3f1e6;border-radius:0;border-color:#d5d9c9}.dfa-prose .df-eeat-sources-title{font-size:23px}.dfa-prose .df-eeat-updated-banner{background:#ecefdf;border-left-color:#7b895e;border-radius:0;color:#3a4b31}.dfa-prose .df-eeat-factcheck{border-radius:0}.dfa-prose .df-eeat-factcheck-badge{background:#3e6446}
/* Existing lexicon plugins supply filtering and their entries. */
.dfa-prose .df-lex-intro,.dfa-prose .df-for-intro{background:#eff1e6;padding:20px 23px;border-left:3px solid #8b966b;font-size:17px}.dfa-prose .df-lex-controls,.dfa-prose .df-for-controls{margin:25px 0}.dfa-prose :is(#df-lex-search,#df-for-search){display:block;width:100%;border:1px solid #aebca0;border-radius:0;background:#fffef8;color:var(--dfa-ink);padding:14px 17px;font:17px var(--dfa-body);min-height:50px}.dfa-prose .df-lex-alphabet{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0}.dfa-prose .df-lex-alphabet a{display:grid;place-items:center;min-width:37px;min-height:39px;padding:5px 9px;background:#e9ecde;border:1px solid #c7ceba;border-radius:0;text-decoration:none;color:var(--dfa-ink);font-weight:600}.dfa-prose .df-lex-letter{font-size:38px;border-bottom:1px solid #b9c5ad;padding-bottom:9px;margin-top:32px;color:var(--dfa-ink)}.dfa-prose .df-lex-terms{list-style:none;margin:0;padding:0}.dfa-prose .df-lex-item{padding:13px 0;margin:0;border-bottom:1px solid #e0e3d6;background:none}.dfa-prose .df-lex-term-link{font-size:20px;font-family:var(--dfa-heading)}.dfa-prose .df-lex-summary,.dfa-prose .df-lex-synonyms{display:block;font:16px/1.75 var(--dfa-body);color:#52604e;margin-top:6px}.dfa-prose .df-for-filters{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.dfa-prose .df-for-filter{background:#ecedde;color:#344f3b;padding:9px 13px;border:1px solid #c4ccb5;border-radius:0;font:14px/1.5 var(--dfa-body)}.dfa-prose .df-for-filter-active{background:var(--dfa-ink);color:#fff}.dfa-prose .df-for-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.dfa-prose .df-for-card{min-width:0;border:1px solid #d1d8c2;border-radius:0;background:#f7f6ed}.dfa-prose .df-for-card-link{display:block;text-decoration:none}.dfa-prose .df-for-card-image img{display:block;width:100%;height:auto}.dfa-prose .df-for-card-body{padding:19px}.dfa-prose .df-for-card-title{font-size:23px;line-height:1.4;margin:0 0 12px}.dfa-prose :is(.df-for-card-usage,.df-for-card-synonyms){font:15px/1.7 var(--dfa-body);color:#59654f}
/* The interactive tools keep their own JavaScript, data and paleography rendering. */
.dfa-prose :is(.dfm-wrapper,.dfh-wrapper,.dfd-wrapper){font-family:var(--dfa-body);font-size:16px;line-height:1.6;border-radius:0;border-color:#b7c1aa;min-width:0}.dfa-prose :is(.dfm-header,.dfh-header,.dfd-header){background:#e2e7d5;border-color:#aebb97}.dfa-prose :is(.dfm-title,.dfh-title,.dfd-title){font:500 25px/1.4 var(--dfa-heading);color:var(--dfa-ink);margin:0 0 10px}.dfa-prose :is(.dfm-tabs,.dfh-tabs,.dfd-tabs){border-color:#697e55}.dfa-prose :is(.dfm-tab,.dfh-tab,.dfd-tab){white-space:normal;line-height:1.4;font-size:14px;min-height:49px;border-radius:0}.dfa-prose :is(.dfm-tab-active,.dfh-tab-active,.dfd-tab-active){background:var(--dfa-ink);color:#fff;border-color:var(--dfa-ink)}.dfa-prose :is(.dfm-panel,.dfh-panel,.dfd-panel) h3{font:500 22px/1.45 var(--dfa-heading);margin:0 0 16px}.dfa-prose :is(.dfm-btn-primary,.dfh-btn-primary,.dfd-btn-primary){background:var(--dfa-ink);color:#fff;border-radius:0;min-height:45px}.dfa-prose :is(.dfm-btn-primary,.dfh-btn-primary,.dfd-btn-primary):hover{background:#355f46}.dfa-prose :is(.dfm-select,.dfh-select,.dfd-select,.dfm-input,.dfh-input,.dfd-input){border-color:#9eaf8b;min-height:44px;border-radius:0}.dfa-prose .dfh-alfabet-grid,.dfa-prose .dfh-fraser-grid{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}.dfa-prose :is(.dfm-wrapper,.dfh-wrapper,.dfd-wrapper) table{display:table;margin:15px 0}.dfa-prose :is(.dfm-wrapper,.dfh-wrapper,.dfd-wrapper) :is(td,th){font-size:14px;min-width:0}.dfa-prose :is(.dfm-wrapper,.dfh-wrapper,.dfd-wrapper) button:disabled{cursor:default}.dfa-prose :is(.dfm-wrapper,.dfh-wrapper,.dfd-wrapper) svg{max-width:100%}
.dfa-prose .lpp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.dfa-prose .lpp-item{min-width:0}.dfa-prose .lpp-item__title{font-size:23px}.dfa-prose .lpp-item__img img{width:100%;height:auto}.dfa-prose .lpp-item__meta{font-size:13px}.dfa-prose .lpp-item__excerpt{font-size:16px}
@media(max-width:640px){.dfa-prose.entry-content :is(.df-snabbfakta,.df-info,.df-info-box,.df-tips,.df-kallor,.df-internlankar,.df-snabb,.df-varning,.df-byline){padding:16px;font-size:15px}.dfa-prose .df-case-card{padding:18px}.dfa-prose .df-case-card-header{gap:9px}.dfa-prose .df-case-title{font-size:21px}.dfa-prose .df-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dfa-prose .df-stat-number{font-size:28px}.dfa-prose .df-stat-label{font-size:13px}.dfa-prose .df-for-grid,.dfa-prose .lpp-grid{grid-template-columns:1fr}.dfa-prose .df-eeat-author-box{padding:19px;gap:17px}.dfa-prose .df-eeat-author-box .df-eeat-author-name{font-size:23px}.dfa-prose :is(.dfm-title,.dfh-title,.dfd-title){font-size:22px}.dfa-prose :is(.dfm-panel,.dfh-panel,.dfd-panel){padding:16px}.dfa-prose :is(.dfm-header,.dfh-header,.dfd-header){padding:17px}.dfa-prose .df-lex-alphabet a{min-width:35px}.dfa-prose .df-lex-intro,.dfa-prose .df-for-intro{padding:16px;font-size:16px}.dfa-prose .df-lex-item{font-size:16px}.dfa-prose .df-lex-term-link{font-size:21px}}
/* Dynamically generated tool results are native tables, not article scroll blocks. */
.dfa-prose.entry-content :is(.dfm-wrapper,.dfh-wrapper,.dfd-wrapper) table{display:table;width:100%;margin:15px 0}
.dfa-prose.entry-content :is(.dfm-wrapper,.dfh-wrapper,.dfd-wrapper) :is(th,td){min-width:0;font-size:14px}
