* { box-sizing: border-box; }

#etn-page {
    width: 1408px;
    margin: 0 auto;
}

/* Ram + etikett på alla block */
[id^="etn-"] {
    border: 1px solid #c00;
    position: relative;
    min-height: 44px;
    padding: 22px 8px 8px;
    margin: 4px 0;
}
[id^="etn-"]::before {
    content: attr(id);
    position: absolute;
    top: 0;
    left: 0;
    font: 11px/1.4 monospace;
    background: #c00;
    color: #fff;
    padding: 1px 6px;
}

/* Radcontainrar – flex, utan egen ram */
#etn-kropp,
#etn-mitten-rad {
    display: flex;
    gap: 10px;
    border: none;
    padding: 0;
    margin: 4px 0;
}
#etn-kropp::before,
#etn-mitten-rad::before { content: none; }

/* Tre toppspalter */
#etn-vanster { width: 300px; flex: none; }
#etn-mitten  { width: 788px; flex: none; }
#etn-hoger   { width: 300px; flex: none; }

/* Mittens underdelning */
#etn-content-col { width: 468px; flex: none; }
#etn-hogerspalt  { width: 310px; flex: none; }

#etn-logo img { max-width: 100%; height: auto; display: block; }

/* Webbfonter, egna filer i ../fonts (SIL OFL, från Fontsource) */
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-wght-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-latin-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-latin-wght-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-latin-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-latin-wght-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/source-sans-3-latin-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/source-sans-3-latin-wght-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

/* Typografi – variablerna sätts av typografi.php utifrån mallstilens flik Typografi */
body {
	font-family: var(--etn-font-brod);
	font-size: var(--etn-storlek-brod);
	line-height: var(--etn-radavstand-brod);
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--etn-font-rubrik);
	line-height: var(--etn-radavstand-rubrik);
}
