/* Rules extracted from repeated inline styles.
   Selectors target existing component classes/ids so the HTML markup
   only needs the inline `style="..."` attributes removed. */

/* ---------- Body ---------- */
body.bodyBackground { overflow-y: scroll; overflow-x: hidden; }

/* ---------- Site header & mobile header ---------- */
#MobileHeader_container,
#mm,
.MobileHeaderMenu_expandCollapseContainer__1rweD { background-color: rgba(255, 255, 255, 1); }

.MobileHeader_titleText__1M62s {
    color: rgba(121, 121, 121, 1);
    font-family: Arial;
    font-weight: bold;
    font-style: normal;
}

/* ---------- Mobile menu links ---------- */
#mm a {
    background-color: rgba(255, 255, 255, 1);
    color: rgba(121, 121, 121, 1);
    font-size: 16px;
    line-height: 3;
    font-family: Arial;
}
#mm a.MobileHeaderMenu_current__2Nelz { font-weight: bold; }

/* ---------- Mobile menu arrows ---------- */
.MobileHeaderMenu_arrowDown__1Dv_Z,
.MobileHeaderMenu_arrowUp__2THXC {
    color: rgba(121, 121, 121, 1);
    height: 8px;
    width: 8px;
}
.MobileHeaderMenu_arrowDown__1Dv_Z { margin-top: -4px; }
.MobileHeaderMenu_arrowUp__2THXC   { margin-top: 4px; }

/* ---------- Burger menu icon ---------- */
#MobileHeader_burgerMenuIcon > span { background-color: rgba(121, 121, 121, 1); }

/* ---------- Blue top hero background ---------- */
.BackgroundPreview_backgroundComponent__3Dr5e {
    background-color: rgba(30, 156, 203, 1);
    min-height: 171px;
}

/* ---------- Site title (orange serif heading) ----------
   Specificity note: onewebstatic/06715b917c.css loads AFTER custom.css
   and defines .textheading1 with grey Rokkitt. We use a two-class
   selector to outweigh it without needing !important. */
.textheading1.mobile-oversized,
.extra .textheading1,
.mobileTopLevelComponents .textheading1 {
    color: rgba(245, 162, 73, 1);
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

/* Mobile: reduce site title so "Redningshunden-" fits on one line
   (Trebuchet is wider than Rokkitt; 40px overflows the mobile hero column). */
@media (max-width: 500px) {
    .extra .textheading1,
    .mobileTopLevelComponents .textheading1 {
        font-size: 32px !important;
    }
}

/* ---------- Utility classes for text content ---------- */
.rd-text-center   { text-align: center; }
.rd-text-left     { text-align: left; }
.rd-bold          { font-weight: bold; }
.rd-indent        { padding-left: 15px; }
.rd-indent-left   { text-align: left; padding-left: 15px; }

/* Links-siden: bullet-lister med eksterne links */
ul.rd-link-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 8px 0 24px;
}
ul.rd-link-list li {
    margin-left: 0;
    padding: 3px 0;
}
.rd-w950          { width: 950px; }
.rd-clear         { clear: both; }
.rd-overflow      { overflow: hidden; }
.rd-text-black    { color: rgba(0, 0, 0, 1); }
.rd-arial14       { color: rgba(0, 0, 0, 1); font-family: ArialMT; font-size: 14px; }
.rd-courier14     { color: rgba(0, 0, 0, 1); font-family: CourierNewPSMT; font-size: 14px; }

/* Red headings on the front page */
.rd-heading-red-lg {
    color: rgba(121, 12, 5, 1);
    font-size: 20px;
    font-weight: bold;
}
.rd-heading-red-xl {
    color: rgba(121, 12, 5, 1);
    font-size: 36px;
    font-weight: bold;
}
.rd-link-lg { font-size: 20px; font-weight: bold; }

/* Arkiv year pages: prøve/event title (bold blue) */
.rd-event-title { color: rgba(30, 156, 203, 1); }

/* Privatlivs-politik body text */
.rd-p14           { font-size: 14px; }
.rd-text-black-14 { color: rgba(0, 0, 0, 1); font-size: 14px; }
/* Ekstra plads under datoen øverst + højrestillet */
p.rd-p14.rd-date  { margin-bottom: 28px; text-align: right; }
/* Privatlivs-politik section headings — visually match "Foderaftale"-headings på oplysninger-siderne.
   Uses !important to override .cellnormal .textnormal which is loaded later in 06715b917c.css. */
.rd-text-bb-14    { font-weight: bold !important; color: rgba(30, 156, 203, 1) !important; font-size: 18px !important; }

/* Fjern hvid 1px border på alle .cellnormal celler (kom fra 06715b917c.css).
   Den gav en tydelig hvid "streg" mellem grå tabelceller på næsten alle sider. */
td.cellnormal { border: none !important; }

/* ---------- Gallery prev/next navigation (desktop only) ----------
   Sits in .menu-offwhite bar on each gallery index page. Skjules på mobil. */
.menu-offwhite nav.rd-gallery-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 20px;
    line-height: 1.2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}
.menu-offwhite nav.rd-gallery-nav a {
    color: rgba(60, 60, 60, 1);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40%;
}
.menu-offwhite nav.rd-gallery-nav a:hover {
    background: rgba(30, 156, 203, 0.2);
    color: rgba(121, 12, 5, 1);
}
.menu-offwhite nav.rd-gallery-nav .rd-gallery-nav-next {
    text-align: right;
    margin-left: auto;
}
/* Skjul gallery-nav på mobil (menuen er alligevel skjult der) */
@media (max-width: 768px) {
    .menu-offwhite nav.rd-gallery-nav {
        display: none;
    }
}

/* Samarbejdspartnere table cell borders */
.rd-cell-border {
    border-width: 1px 1px 1px 1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    height: 20px;
}

/* Give cellnormal cells breathing room on desktop */
td.cellnormal { padding: 20px 24px; }

/* Gallery images: full column width with vertical spacing */
.rd-gallery-img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    display: inline-block;
}

/* ---------- Mobile: shrink fixed-width tables to viewport ----------
   Konkurrencer subpages use Table_texttable__2GrpI with inline width:950px.
   On the mobile-cloned copy the table would overflow; force 100% width. */
@media (max-width: 500px) {
    .mobileTopLevelComponents .Table_texttable__2GrpI,
    .mobile-moved .Table_texttable__2GrpI {
        width: 100% !important;
        max-width: 100%;
    }
    .mobileTopLevelComponents .Table_texttable__2GrpI td,
    .mobile-moved .Table_texttable__2GrpI td {
        width: auto !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
    .mobileTopLevelComponents .Table_texttable__2GrpI td p,
    .mobile-moved .Table_texttable__2GrpI td p {
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
}

/* ---------- Samarbejdspartnere: partner logos ----------
   Desktop: logo floats right of text (mimics old floating layout).
   Mobile: logo displays centered above text. */
.rd-partner-logo {
    text-align: center;
    margin: 8px 0;
}
.rd-partner-logo img {
    max-width: 140px;
    height: auto;
    display: inline-block;
}
.rd-partner-logo.rd-partner-ad img {
    max-width: 300px;
}
@media (min-width: 769px) {
    .rd-partner-logo:not(.rd-partner-ad) {
        float: right;
        margin: 0 0 10px 20px;
    }
}

/* ---------- Mobile: stack multi-column samarbejdspartnere table ---------- */
@media (max-width: 768px) {
    .mobileTopLevelComponents .Table_texttable__2GrpI colgroup,
    .mobileTopLevelComponents .Table_texttable__2GrpI col {
        display: none !important;
    }
    .mobileTopLevelComponents .Table_texttable__2GrpI,
    .mobileTopLevelComponents .Table_texttable__2GrpI tbody,
    .mobileTopLevelComponents .Table_texttable__2GrpI tr {
        display: block;
        width: 100% !important;
    }
    .mobileTopLevelComponents .Table_texttable__2GrpI td {
        display: block;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        border: none;
        padding: 12px 15px !important;
        box-sizing: border-box;
    }
    /* Hide "empty" cells that only contain a <br> placeholder */
    .mobileTopLevelComponents .Table_texttable__2GrpI td.rd-cell-border > .styles_contentContainer__lrPIa
        > p.mobile-undersized-upper:only-child > br:only-child {
        display: none;
    }
    /* Hide absolute-positioned floats on mobile (decorative partner logos) */
    .mobileTopLevelComponents .Preview_float__1PmYU {
        display: none !important;
    }
}

/* ---------- Mobile: make current page name prominent in header ----------
   The MobileHeader already shows the page title. Enlarge it so users
   can see which menu point they're on without opening the burger. */
@media (max-width: 768px) {
    #MobileHeader_container {
        min-height: 56px;
    }
    .MobileHeader_titleText__1M62s {
        font-size: 20px !important;
        color: rgba(30, 156, 203, 1) !important;
    }
}

/* ---------- Sub-navigation ----------
   Konkurrencer subnav sits inside .menu-blue and matches bestyrelse/om
   .subitem pattern: current item has light-gray "tab" background,
   inactive items are bold black text on the blue bar. */
.menu-divider .menu-blue:has(> .rd-subnav) {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 32px;
}
.menu-divider .menu-blue:has(> .rd-subnav) > .rd-subnav {
    align-items: stretch;
}
.rd-subnav a { display: flex; align-items: center; }
.menu-divider .menu-offwhite:has(> .rd-year-nav) {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rd-year-nav,
.rd-subnav {
    display: inline-flex;
    flex-wrap: nowrap;
    line-height: 1;
}
.rd-year-nav {
    gap: 4px;
}
.rd-subnav a {
    display: inline-block;
    padding: 13px 15px 0px;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    line-height: 1;
}
.rd-year-nav a {
    display: inline-block;
    padding: 4px 12px;
    color: rgba(60, 60, 60, 1);
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    border-radius: 3px;
    line-height: 1;
}
.rd-subnav a:hover { background: rgba(235, 235, 235, 0.5); }
.rd-year-nav a:hover { background: rgba(30, 156, 203, 0.2); color: rgba(121, 12, 5, 1); }
.rd-subnav a.rd-subnav-current {
    background: rgb(235, 235, 235);
    color: #000;
}
.rd-year-nav a.rd-year-nav-current {
    background: rgba(30, 156, 203, 1);
    color: #fff;
}

/* ---------- DM podium (Historie-siden) — dual view ----------
   Desktop: aligned-column table (medal | name | dog | by | point).
   Mobile: single-line paragraph per placing. */
.rd-podium.rd-desktop-only {
    margin: 8px auto;
    border-collapse: collapse;
    table-layout: fixed;
    width: 860px;
    max-width: 100%;
}
.rd-podium.rd-desktop-only td {
    padding: 4px 10px;
    vertical-align: middle;
}
/* Default: SAR DM tables (4 cols: medal | name | dog | by) — wide by-col for "god (247 point) · DM-titel" */
.rd-podium.rd-desktop-only .rd-podium-medal { width: 40px; text-align: center; }
.rd-podium.rd-desktop-only .rd-podium-name  { width: 200px; }
.rd-podium.rd-desktop-only .rd-podium-dog   { width: 260px; }
.rd-podium.rd-desktop-only .rd-podium-by    { width: 260px; color: rgba(90, 90, 90, 1); white-space: nowrap; }
.rd-podium.rd-desktop-only .rd-podium-point { width: 90px; text-align: right; font-weight: bold; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Klassisk DM 2005-2011 tables have 5 cols (adds point) — rebalance widths so point ikke bliver klippet */
.rd-podium.rd-desktop-only:has(.rd-podium-point) .rd-podium-name  { width: 180px; }
.rd-podium.rd-desktop-only:has(.rd-podium-point) .rd-podium-dog   { width: 200px; }
.rd-podium.rd-desktop-only:has(.rd-podium-point) .rd-podium-by    { width: 220px; white-space: normal; }

.rd-podium-line {
    max-width: 380px;
    margin: 12px auto;
}
.rd-podium-line-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.rd-podium-point-m {
    font-weight: bold;
}
.rd-podium-line-body {
    text-align: center;
    padding: 2px 12px 0;
}

/* Toggle desktop / mobile at 768px breakpoint */
@media (min-width: 769px) {
    .rd-mobile-only { display: none !important; }
}
@media (max-width: 768px) {
    .rd-desktop-only { display: none !important; }
}

/* ==========================================================
   FRONTPAGE (index-forslag.html) — new hero + navigation layout
   ========================================================== */

/* 1. Velkomst */
.rd-frontpage-welcome {
    text-align: center;
    margin: 20px auto 32px;
    max-width: 720px;
}
.rd-frontpage-welcome h1 {
    color: rgba(30, 156, 203, 1);
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 10px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}
.rd-frontpage-welcome p {
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    color: rgba(50, 50, 50, 1);
}

/* 2. Fremhævet nyhed — hero card */
.rd-frontpage-highlight {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(30, 156, 203, 0.08);
    border-left: 6px solid rgba(30, 156, 203, 1);
    padding: 20px;
    margin: 0 0 20px;
    border-radius: 4px;
}
.rd-frontpage-highlight img {
    width: 280px;
    max-height: 190px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.rd-highlight-text {
    flex: 1;
}
.rd-highlight-text h2 {
    color: rgba(121, 12, 5, 1);
    font-size: 22px;
    margin: 0 0 8px;
    line-height: 1.25;
}
.rd-frontpage-highlight.rd-highlight-blue .rd-highlight-text h2 {
    color: rgba(30, 156, 203, 1);
}
.rd-highlight-text p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.4;
}

/* Sekundær fremhævelse (upcoming event) */
.rd-frontpage-upcoming {
    background: rgba(245, 162, 73, 0.15);
    border-left: 6px solid rgba(245, 162, 73, 1);
    padding: 14px 20px;
    margin: 0 0 40px;
    border-radius: 4px;
    text-align: center;
}
.rd-frontpage-upcoming p {
    margin: 0;
    font-size: 15px;
}
.rd-frontpage-upcoming p + p {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(245, 162, 73, 0.5);
}

/* Section titles (Udforsk / Seneste) */
.rd-frontpage-section-title {
    text-align: center;
    color: rgba(30, 156, 203, 1);
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

/* 3. Udforsk / genveje — grid of cards */
.rd-frontpage-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 40px;
}
.rd-shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(200, 200, 200, 1);
    border-radius: 6px;
    text-decoration: none !important;
    color: rgba(60, 60, 60, 1);
    transition: all 0.2s ease;
    text-align: center;
    min-height: 0;
}
.rd-shortcut-card:hover {
    background: rgba(30, 156, 203, 0.10);
    border-color: rgba(30, 156, 203, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.rd-shortcut-icon {
    font-size: 30px;
    margin-bottom: 8px;
    line-height: 1;
}
.rd-shortcut-title {
    font-size: 17px;
    font-weight: bold;
    color: rgba(121, 12, 5, 1);
    margin-bottom: 4px;
}
.rd-shortcut-desc {
    font-size: 13px;
    color: rgba(90, 90, 90, 1);
    line-height: 1.3;
}

/* 4. Seneste resultater — compact list */
.rd-frontpage-recent {
    background: rgba(240, 240, 240, 0.55);
    padding: 16px 24px;
    border-radius: 4px;
    margin: 0 0 32px;
}
.rd-frontpage-recent p {
    margin: 8px 0;
    line-height: 1.45;
    font-size: 15px;
}
.rd-frontpage-recent-more {
    text-align: right;
    margin-top: 14px !important;
    padding-top: 10px;
    border-top: 1px solid rgba(200, 200, 200, 0.6);
}

/* Info-teaser (bottom) */
.rd-frontpage-info-teaser {
    text-align: center;
    padding: 12px 20px;
    background: rgba(30, 156, 203, 0.04);
    border-radius: 4px;
    margin: 0 0 20px;
}
.rd-frontpage-info-teaser p {
    margin: 0;
    font-size: 14px;
}

/* Mobile: stack highlight & 2-col shortcuts */
@media (max-width: 700px) {
    .rd-frontpage-shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }
    .rd-frontpage-highlight {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .rd-frontpage-highlight img {
        width: 100%;
        max-width: 320px;
    }
}
@media (max-width: 460px) {
    .rd-frontpage-shortcuts {
        grid-template-columns: 1fr;
    }
    .rd-frontpage-welcome h1 { font-size: 22px; }
}

/* ==========================================================
   HEADINGS — semantisk hierarki på alle sider
   h1 = sidetitel (én pr. side) - 22px blå
   h2 = hovedsektion (fx "SAR DM 2026") - 22px blå
   h3 = underafsnit (fx "DM 2011 — Aalborg") - 20px blå
   h4 = detalje (fx "Rundering klasse A") - 16px sort bold
   ========================================================== */
h1.rd-page-title,
h2.rd-section-title,
h3.rd-subsection-title,
h4.rd-detail-title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
}
h1.rd-page-title {
    color: rgba(30, 156, 203, 1);
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 12px;
}
h2.rd-section-title {
    color: rgba(30, 156, 203, 1);
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 12px;
}
h3.rd-subsection-title {
    color: rgba(60, 60, 60, 1);
    font-size: 18px;
    font-weight: bold;
    margin: 16px 0 10px;
}
h4.rd-detail-title {
    color: inherit;
    font-size: 16px;
    font-weight: bold;
    margin: 12px 0 6px;
}

/* ==========================================================
   Redningshunden — blade-arkiv: 3-kolonne grid pr. år
   ========================================================== */
.rd-blade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px);
    gap: 20px;
    margin: 10px 0 24px;
    justify-content: center;
    justify-items: center;
}
.rd-blade-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
}
.rd-blade-card img {
    max-height: 200px;
    max-width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 6px;
    display: block;
}
.rd-blade-card a.link1 {
    display: block;
    padding: 2px 0;
}
@media (max-width: 700px) {
    .rd-blade-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
    .rd-blade-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Privatlivs-politik — semantisk liste-styling
   ========================================================== */
.rd-p-list {
    padding-left: 24px;
    margin: 6px 0 12px;
}
.rd-p-list li {
    font-size: 14px;
    line-height: 1.5;
    margin: 4px 0;
}
.rd-p-list ol,
.rd-p-list ul {
    margin: 4px 0 4px;
    padding-left: 22px;
}
ul.rd-p-list-nomark {
    list-style-type: none;
    padding-left: 0;
}
/* Fed "underoverskrift" der introducerer en liste — brug lidt luft over */
.rd-p-subhead {
    margin-top: 14px !important;
    margin-bottom: 4px;
}

/* ==========================================================
   Generalforsamlinger — kolonner af PDF-referater
   ========================================================== */
.rd-gf-columns {
    column-count: 3;
    column-gap: 40px;
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 700px) {
    .rd-gf-columns { column-count: 2; column-gap: 24px; }
}
@media (max-width: 460px) {
    .rd-gf-columns { column-count: 1; }
}

/* ==========================================================
   Bestyrelsen — 3-kolonne kort med profilbilleder + kontakt-blok
   ========================================================== */
.rd-board-wrap-grey {
    max-width: 950px;
    margin: 0 auto;
    padding: 30px 24px 40px;
    background: rgba(235, 235, 235, 1);
}
.rd-board-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}
.rd-board-intro {
    text-align: center;
    color: #666;
    margin: 0 0 32px 0;
    font-size: 15px;
}
.rd-board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}
.rd-board-card {
    background: #fff;
    border: 1px solid #d5d9dd;
    border-radius: 8px;
    padding: 22px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 260px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.rd-board-card:hover {
    box-shadow: 0 3px 12px rgba(30, 156, 203, 0.15);
    transform: translateY(-2px);
}
.rd-board-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin-bottom: 14px;
}
.rd-role-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 12px;
    background: #e6eef2;
    color: #4a6572;
    margin-bottom: 10px;
}
.rd-role-badge.rd-role-lead {
    background: rgba(30, 156, 203, 1);
    color: #fff;
}
.rd-board-name {
    font-size: 19px;
    font-weight: 600;
    color: #222;
    margin: 0 0 14px 0;
    line-height: 1.3;
}
.rd-board-mail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 8px 14px;
    background: rgba(30, 156, 203, 1);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
}
.rd-board-mail:hover {
    background: rgba(20, 130, 175, 1);
    text-decoration: none;
}
.rd-board-mail::before {
    content: "✉";
    font-size: 15px;
}
.rd-contact-block {
    background: #fff;
    border-left: 4px solid rgba(30, 156, 203, 1);
    padding: 24px 28px;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
}
.rd-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rd-contact-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a6572;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.rd-contact-item a {
    color: rgba(30, 156, 203, 1);
    font-weight: 500;
    text-decoration: none;
}
.rd-contact-item a:hover {
    text-decoration: underline;
}
.rd-contact-name {
    font-size: 15px;
    color: #333;
    margin-bottom: 2px;
}
.rd-board-card-slim {
    min-height: 150px;
    justify-content: center;
}
@media (max-width: 700px) {
    .rd-board-grid { grid-template-columns: repeat(2, 1fr); }
    .rd-contact-block { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
    .rd-board-grid { grid-template-columns: 1fr; }
}

/* Galleri: lille tekst nederst hen over et billede (fx sted/disciplin) */
.rd-gallery-fig {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.rd-gallery-fig .rd-gallery-img {
    display: block;
}
.rd-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 14px;
    text-align: left;
}
