/* ============================================================
   Hjem / Feed — mørkt nordlys (XxxNorway)
   BYTT KUN variablene under ved overføring til andre testsider.
   ============================================================ */
:root {
    --blog-accent:     #00d9a3;
    --blog-accent-2:   #00b386;
    --blog-bg:         #040e0c;
    --blog-bg-soft:    #081612;
    --blog-card:       #0c1a16;
    --blog-card-hover: #10221c;
    --blog-ink:        #e6f5ef;
    --blog-muted:      #7a9e92;
    --blog-border:     rgba(0, 217, 163, 0.14);
    --blog-on-accent:  #04120d;
    --blog-header-bg:  rgba(4, 14, 12, 0.94);
    --blog-radius:     4px;
    --blog-gap:        3px;
    --blog-shadow:     0 8px 28px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body.blogg {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 217, 163, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 120, 180, 0.08), transparent 50%),
        linear-gradient(180deg, #050f0d 0%, var(--blog-bg) 40%, #030a08 100%);
    color: var(--blog-ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Header ─────────────────────────────────────────────── */
.blog-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--blog-header-bg);
    backdrop-filter: saturate(1.2) blur(12px);
    border-bottom: 1px solid var(--blog-border);
}
.blog-header-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0.55rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.blog-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.blog-brand-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--blog-accent);
}
.blog-brand-tag {
    font-size: 0.65rem;
    color: var(--blog-muted);
    font-weight: 500;
}
.blog-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.blog-nav-serif { gap: 0.85rem; }
.blog-nav-link {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 0.92rem;
    color: var(--blog-muted);
    padding-bottom: 0.1rem;
    border-bottom: 1px solid transparent;
}
.blog-nav-link:hover { color: var(--blog-accent); border-bottom-color: var(--blog-accent); }
.blog-nav-link.is-active {
    color: var(--blog-accent);
    font-weight: 700;
    border-bottom-color: var(--blog-accent);
}
.blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--blog-border);
    background: var(--blog-card);
    color: var(--blog-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.blog-btn:hover { border-color: var(--blog-accent); color: var(--blog-accent); }
.blog-btn-primary {
    background: linear-gradient(135deg, var(--blog-accent), var(--blog-accent-2));
    border-color: transparent;
    color: var(--blog-on-accent);
}
.blog-btn-primary:hover { color: var(--blog-on-accent); filter: brightness(1.08); }
.blog-btn-ghost { background: transparent; }
.blog-btn-danger { color: #f08080; border-color: rgba(240, 128, 128, 0.35); }
.blog-btn-danger:hover { border-color: #f08080; color: #f08080; }

/* ── Feed: tett kvadrat-grid ────────────────────────────── */
.blog-wrap--feed {
    max-width: 980px;
    margin: 0 auto;
    padding: 0.65rem 0.65rem 2.5rem;
}
.blog-feed-nav {
    margin-bottom: 0.75rem;
}
.blog-node-title {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.35rem 0 0;
    color: var(--blog-ink);
}
.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--blog-muted);
    font-size: 0.82rem;
}
.blog-back:hover { color: var(--blog-accent); }

.blog-grid--tight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--blog-gap);
}

/* ── Kort-fane (Fettegodt-proposjoner, nordlys-tema) ───── */
.blog-grid--kort {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
    width: 100%;
}
.blog-kort-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 0.55rem;
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.blog-kort-card:hover { border-color: rgba(0, 217, 163, 0.45); }
.blog-kort-card--branch { background: linear-gradient(145deg, rgba(0, 217, 163, 0.06), var(--blog-card)); }
.blog-kort-card--empty { border-style: dashed; }
.blog-kort-card--add {
    border-style: dashed;
    padding: 0;
    background: rgba(0, 217, 163, 0.03);
}
.blog-kort-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    min-height: 0;
}
.blog-kort-link--static { cursor: default; }
.blog-kort-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--blog-bg-soft);
    border: 1px solid rgba(0, 217, 163, 0.12);
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}
.blog-kort-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-kort-media--empty {
    background: linear-gradient(145deg, rgba(0, 217, 163, 0.05), var(--blog-bg-soft));
}
.blog-kort-title {
    margin: 0.65rem 0.2rem 0.15rem;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.35;
    color: var(--blog-ink);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
}
.blog-kort-title--muted { color: var(--blog-muted); font-weight: 500; }
.blog-kort-draft {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    background: rgba(4, 14, 12, 0.85);
    color: var(--blog-accent);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.blog-kort-menu {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 4;
}
.blog-kort-menu-btn {
    list-style: none;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    border: 1px solid var(--blog-border);
    background: rgba(4, 14, 12, 0.88);
    color: var(--blog-accent);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.blog-kort-menu-btn::-webkit-details-marker { display: none; }
.blog-kort-menu[open] .blog-kort-menu-btn {
    border-color: var(--blog-accent);
    background: rgba(0, 217, 163, 0.15);
}
.blog-kort-menu-panel {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    min-width: 11rem;
    padding: 0.4rem;
    background: rgba(4, 14, 12, 0.96);
    border: 1px solid var(--blog-border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.blog-kort-menu-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    align-items: center;
}
.blog-kort-menu-input {
    flex: 1 1 100%;
    min-width: 0;
    padding: 0.28rem 0.4rem;
    font-size: 0.72rem;
    border: 1px solid var(--blog-border);
    border-radius: 4px;
    background: var(--blog-card);
    color: var(--blog-ink);
}
.blog-kort-menu-file {
    flex: 1 1 100%;
    font-size: 0.68rem;
    color: var(--blog-muted);
}
.blog-kort-menu-panel .blog-btn {
    font-size: 0.68rem;
    padding: 0.22rem 0.45rem;
    width: 100%;
    justify-content: center;
}
.blog-kort-menu-panel form { margin: 0; }
.blog-kort-add-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
    min-height: 100%;
    padding: 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--blog-muted);
    font: inherit;
}
.blog-kort-add-btn:hover { color: var(--blog-accent); }
.blog-kort-add-plus {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    color: var(--blog-accent);
}
.blog-kort-add-label { font-size: 0.78rem; }

/* ── Landing (3 hovedkort + sidekolonne) ───────────────── */
.blog-wrap--landing {
    max-width: min(1480px, 96vw);
    padding-left: clamp(1rem, 2.5vw, 2.25rem);
    padding-right: clamp(1rem, 2.5vw, 2.25rem);
}
.blog-header--landing .blog-header-inner,
.blog-header--landing {
    max-width: min(1480px, 96vw);
    margin: 0 auto;
    padding-left: clamp(1rem, 2.5vw, 2.25rem);
    padding-right: clamp(1rem, 2.5vw, 2.25rem);
}
.blog-header--landing {
    padding: 0.75rem 0.85rem 0.55rem;
}
.blog-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}
.blog-landing-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-decoration: none;
}
.blog-landing-brand .blog-brand-name {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.blog-landing-brand .blog-brand-tag {
    font-size: 0.82rem;
    margin-top: 0.2rem;
    max-width: 42rem;
}
.blog-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.blog-nav-landing {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    padding-top: 0.15rem;
    border-top: 1px solid var(--blog-border);
}
.blog-nav-landing .blog-nav-link {
    font-family: inherit;
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 600;
}
.blog-landing-page-header {
    min-height: clamp(2.5rem, 5vw, 4rem);
    margin-top: 0.75rem;
    border-bottom: 1px solid var(--blog-border);
}
.blog-admin-menu { position: relative; }
.blog-admin-menu-btn {
    list-style: none;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    border: 1px solid var(--blog-border);
    background: var(--blog-card);
    color: var(--blog-ink);
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.blog-admin-menu-btn::-webkit-details-marker { display: none; }
.blog-admin-menu-panel {
    position: absolute;
    top: calc(100% + 0.3rem);
    right: 0;
    min-width: 9rem;
    padding: 0.4rem;
    background: rgba(4, 14, 12, 0.97);
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    z-index: 30;
}
.blog-admin-menu-panel .blog-btn { width: 100%; justify-content: center; }

.blog-landing {
    display: flex;
    flex-direction: column;
    gap: clamp(1.35rem, 2.2vw, 2rem);
    width: 100%;
}
.blog-landing-rows {
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
}
.blog-landing-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 340px);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
}
.blog-landing-main {
    min-width: 0;
}
.blog-landing-side {
    min-width: 0;
}
.blog-landing-row--tools {
    margin-bottom: 0.35rem;
    min-height: 0;
}
.blog-landing-col-add {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}
.blog-landing-col-add-btn {
    list-style: none;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    border: 1px solid var(--blog-border);
    background: var(--blog-card, rgba(4, 14, 12, 0.88));
    color: var(--blog-accent);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.blog-landing-col-add-btn:hover {
    border-color: var(--blog-accent-2, rgba(0, 217, 163, 0.45));
    color: var(--blog-ink, #fff);
}
.blog-landing-slot-add {
    margin: 0;
    min-height: clamp(7rem, 14vw, 10rem);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}
.blog-landing-slot-add--main {
    border: 1px dashed var(--blog-border);
    border-radius: 10px;
    background: rgba(0, 217, 163, 0.03);
    padding: 0.45rem;
}
.blog-landing-slot-add--side {
    width: 100%;
    min-height: clamp(4.75rem, 5.5vw, 5.5rem);
    justify-content: flex-end;
    align-items: flex-start;
}
.blog-landing-side {
    display: flex;
    align-items: stretch;
}
.blog-landing-side .blog-kort-card--side {
    width: 100%;
}
/* Én rad — 3 hovedkort side om side */
.blog-grid.blog-grid--landing-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.4vw, 1.25rem);
    width: 100%;
}
.blog-grid--landing-side {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}
.blog-grid--landing-side .blog-kort-card--side {
    height: auto;
    min-height: 0;
}
.blog-grid--landing-side .blog-kort-card--side .blog-kort-title {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.blog-tree-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--blog-muted);
    margin-top: 0.35rem;
}
.blog-tree-crumbs a:hover { color: var(--blog-accent); }
.blog-tree-sep { opacity: 0.5; }

.blogg-kort-page:not(.blogg-landing-page) .blog-kort-card--main {
    height: 100%;
    min-height: 380px;
    max-height: min(480px, 42vh);
    padding: 0.55rem;
}
.blogg-kort-page:not(.blogg-landing-page) .blog-kort-card--main .blog-kort-link {
    height: 100%;
}
.blogg-kort-page:not(.blogg-landing-page) .blog-kort-card--main .blog-kort-media {
    aspect-ratio: unset;
    height: 62%;
    min-height: 0;
    flex-shrink: 0;
    border-radius: 4px;
}
.blog-kort-card--main .blog-kort-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0.2rem 0;
    overflow: hidden;
}
.blog-kort-card--main .blog-kort-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.blog-kort-excerpt {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--blog-muted);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.blog-kort-excerpt--muted { font-style: italic; }

.blog-kort-card--side {
    height: auto;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
}
.blog-kort-card--side:hover { border-color: transparent; }
.blog-kort-card--side .blog-kort-link {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    height: auto;
}
.blog-kort-card--side .blog-kort-media {
    width: 5.25rem;
    height: 5.25rem;
    aspect-ratio: 1;
    flex-shrink: 0;
    border-radius: 0;
}
.blog-kort-card--side .blog-kort-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.1rem 0 0;
}
.blog-kort-card--side .blog-kort-title {
    margin: 0;
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.blog-kort-card--side .blog-kort-excerpt {
    display: none;
}
.blog-kort-card--side.blog-kort-card--add,
.blog-kort-card--main.blog-kort-card--add {
    height: auto;
    min-height: 118px;
}
.blog-kort-card--main.blog-kort-card--add { min-height: 380px; }

.blog-promo-wrap { max-width: 720px; }
.blog-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.blog-promo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    background: var(--blog-card);
    font-weight: 700;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.blog-promo-card:hover {
    border-color: var(--blog-accent);
    background: var(--blog-card-hover);
}

/* ── Postmal / oppskrift (kun admin-editor) ─────────────── */
.blog-editor--recipe {
    max-width: 760px;
}
.post-recipe-template-row {
    margin-bottom: 1rem;
}
.post-recipe-section {
    margin-bottom: 1.1rem;
}
.post-recipe-section--nested {
    margin-top: 0.65rem;
}
.post-recipe-block {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.55rem;
}
.post-recipe-label {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
}
.post-recipe-guides {
    margin: 0;
    padding: 0.65rem 0.85rem 0.75rem 1.35rem;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.82rem;
    line-height: 1.45;
}
.post-recipe-guides li { margin: 0.2rem 0; }
.post-recipe-block--title .post-recipe-label { background: #2fa84f; }
.post-recipe-block--title .post-recipe-guides li::marker { color: #2fa84f; }
.post-recipe-block--intro .post-recipe-label { background: #e67e22; }
.post-recipe-block--intro .post-recipe-guides li::marker { color: #e67e22; }
.post-recipe-block--subheading .post-recipe-label { background: #9b59b6; }
.post-recipe-block--subheading .post-recipe-guides li::marker { color: #9b59b6; }
.post-recipe-block--actions .post-recipe-label { background: #3498db; }
.post-recipe-block--actions .post-recipe-guides li::marker { color: #3498db; }
.post-recipe-block--conclusion .post-recipe-label { background: #e74c3c; }
.post-recipe-block--conclusion .post-recipe-guides li::marker { color: #e74c3c; }

.post-recipe-write {
    margin-top: 0.35rem;
}
.post-recipe-write-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blog-muted);
    margin-bottom: 0.28rem;
}
.post-recipe-input,
.post-recipe-textarea {
    width: 100%;
}
.post-recipe-tip {
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.85rem;
    background: rgba(0, 0, 0, 0.12);
}
.post-recipe-tip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}
.post-recipe-tip-num {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blog-accent);
}
.post-recipe-tip-actions {
    margin: 0.35rem 0 1rem;
}
.post-recipe-remove {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
}
.post-recipe-block--listitems .post-recipe-label { background: #2980b9; }
.post-recipe-block--listitems .post-recipe-guides li::marker { color: #2980b9; }
.post-recipe-block--toc .post-recipe-label { background: #d4a017; }
.post-recipe-block--toc .post-recipe-guides li::marker { color: #d4a017; }

.blog-article-body .post-toc {
    margin: 1rem 0 1.4rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    background: rgba(0, 217, 163, 0.04);
}
.blog-article-body .post-toc ol {
    margin: 0;
    padding-left: 1.2rem;
}
.blog-article-body .post-toc a {
    color: var(--blog-accent);
    text-decoration: none;
}
.blog-article-body .post-toc a:hover { text-decoration: underline; }
.blog-article-body .post-conclusion-heading {
    font-size: 1.1rem;
    margin: 1.4rem 0 0.45rem;
}

.post-recipe-legacy {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px dashed var(--blog-border);
    border-radius: 8px;
}

.blog-article-body h2 {
    font-size: 1.2rem;
    margin: 1.4rem 0 0.55rem;
}
.blog-article-body .post-actions {
    margin: 0.4rem 0 1rem;
    padding-left: 1.2rem;
}
.blog-article-body .post-actions li {
    margin: 0.25rem 0;
}
.blog-article-body .post-conclusion {
    margin-top: 1.2rem;
    font-weight: 600;
}

.blog-kort-feed-admin {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 3;
}
.blog-kort-feed-admin .blog-btn {
    font-size: 0.68rem;
    padding: 0.22rem 0.45rem;
}
a.blog-kort-card--add {
    text-decoration: none;
    color: inherit;
    display: flex;
}

@media (max-width: 960px) {
    .blog-landing-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .blog-grid.blog-grid--landing-main {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 0.85rem;
    }
    .blog-kort-card--main {
        height: auto;
        min-height: 0;
        max-height: none;
    }
    .blog-kort-card--main .blog-kort-media {
        height: auto;
        aspect-ratio: 16 / 10;
    }
    .blog-grid--landing-side {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.65rem;
    }
    .blog-grid--landing-side .blog-kort-card--side {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: min(100%, 14rem);
    }
}
@media (max-width: 960px) {
    .blog-grid--kort { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .blog-grid--kort { grid-template-columns: 1fr; }
    .blog-grid--landing-side { grid-template-columns: 1fr; }
}

.blog-tile {
    position: relative;
    aspect-ratio: 1;
    background: var(--blog-card);
    overflow: hidden;
    border-radius: var(--blog-radius);
}
.blog-tile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    padding: 0.5rem;
}
.blog-tile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.blog-tile-post:hover .blog-tile-img { transform: scale(1.04); }
.blog-tile-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 0.45rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    background: linear-gradient(transparent, rgba(4, 14, 12, 0.88));
    opacity: 0;
    transition: opacity 0.2s ease;
}
.blog-tile-post:hover .blog-tile-caption { opacity: 1; }

.blog-tile-icon {
    font-size: 1.25rem;
    color: var(--blog-accent);
    opacity: 0.85;
}
.blog-tile-icon-lg { font-size: 1.75rem; }
.blog-tile-label {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 0.82rem;
    color: var(--blog-ink);
    margin-top: 0.35rem;
    line-height: 1.3;
}
.blog-tile-plus {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    color: var(--blog-accent);
}

.blog-tile-slot,
.blog-tile-add {
    border: 1px dashed rgba(0, 217, 163, 0.35);
    background: rgba(0, 217, 163, 0.04);
}
.blog-tile-slot:hover,
.blog-tile-add:hover {
    border-color: var(--blog-accent);
    background: rgba(0, 217, 163, 0.08);
}
.blog-tile-link--empty .blog-tile-label { color: var(--blog-muted); font-size: 0.72rem; }

.blog-tile-branch {
    background: linear-gradient(145deg, rgba(0, 217, 163, 0.08), var(--blog-card));
    border: 1px solid var(--blog-border);
}
.blog-tile-branch:hover { background: var(--blog-card-hover); }

.blog-tile-add {
    border-style: dashed;
    padding: 0;
}
.blog-tile-add button {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
    width: 100%;
    height: 100%;
}

.blog-tile-draft {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    z-index: 2;
    background: rgba(4, 14, 12, 0.82);
    color: var(--blog-accent);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.blog-tile-admin {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.35rem;
    background: rgba(4, 14, 12, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.blog-tile-admin form { margin: 0; }
.blog-tile:hover .blog-tile-admin {
    opacity: 1;
    pointer-events: auto;
}

/* ── Legacy kort (enkeltinnlegg m.m.) ───────────────────── */
.blog-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.5rem 0.65rem 3rem;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}
.blog-card {
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.blog-card-img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    background: var(--blog-bg-soft);
}
.blog-card-noimg {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--blog-bg-soft);
    color: var(--blog-accent);
}
.blog-card-body { padding: 0.9rem 1rem; }
.blog-card-title { font-size: 1rem; font-weight: 700; margin: 0; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--blog-muted); margin: 0.4rem 0 0; }
.blog-card-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--blog-border);
    font-size: 0.75rem;
    color: var(--blog-muted);
}
.blog-card-admin {
    display: flex;
    gap: 0.35rem;
    padding: 0 1rem 0.9rem;
    flex-wrap: wrap;
}
.blog-card-draft {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(4, 14, 12, 0.85);
    color: var(--blog-accent);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
}

/* ── Enkeltinnlegg ──────────────────────────────────────── */
.blog-article { max-width: 720px; margin: 0 auto; padding: 1.5rem 0.65rem 3rem; }
.blog-article-img {
    width: 100%;
    border-radius: var(--blog-radius);
    box-shadow: var(--blog-shadow);
    margin-bottom: 1.2rem;
}
.blog-article h1 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
}
.blog-article-date { color: var(--blog-muted); font-size: 0.8rem; margin-bottom: 1.2rem; }
.blog-article-body { font-size: 1rem; color: var(--blog-ink); }
.blog-article-body p { margin: 0 0 1rem; }

body.blogg.blogg-article-page {
    background: #f0f4f1;
    color: #2d2d2d;
}
body.blogg.blogg-article-page .blog-article {
    max-width: 38rem;
    margin: 0 auto;
    padding: 1.1rem 1.1rem 2.75rem;
    border: 1px solid var(--blog-frame, rgba(45, 45, 45, 0.16));
    border-radius: 10px;
}
body.blogg.blogg-article-page .blog-article .blog-back {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #5a635f;
    font-size: 0.82rem;
}
body.blogg.blogg-article-page .blog-article-img {
    display: block;
    width: 100%;
    max-height: 16rem;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(45, 45, 45, 0.08);
    margin: 0 0 1rem;
}
body.blogg.blogg-article-page .blog-article h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    color: #2d2d2d;
    margin: 0 0 0.35rem;
}
body.blogg.blogg-article-page .blog-article-date {
    color: #8e9694;
    font-size: 0.78rem;
    margin: 0 0 0.9rem;
}
body.blogg.blogg-article-page .blog-article-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #3d4543;
}
body.blogg.blogg-article-page .blog-article-body p {
    margin: 0 0 0.85rem;
}
body.blogg.blogg-article-page .blog-article-body h2 {
    font-size: 1.05rem;
    margin: 1.15rem 0 0.4rem;
    color: #2d2d2d;
}
body.blogg.blogg-article-page .blog-editor-actions {
    margin-top: 1.1rem;
}

@media (max-width: 640px) {
    body.blogg.blogg-article-page .blog-article {
        max-width: 100%;
        padding: 0.85rem 0.9rem 2.25rem;
    }
    body.blogg.blogg-article-page .blog-article-img {
        max-height: 12.5rem;
        border-radius: 8px;
    }
    body.blogg.blogg-article-page .blog-article h1 {
        font-size: 1.15rem;
    }
    body.blogg.blogg-article-page .blog-article-body {
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

/* ── Editor ─────────────────────────────────────────────── */
.blog-editor { max-width: 38rem; margin: 0 auto; padding: 1.1rem 1.1rem 2.75rem; }
.blog-editor h1 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.blog-editor-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.blog-editor-maler { position: relative; }
.blog-editor-maler-btn {
    list-style: none;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    border: 1px solid var(--blog-border);
    background: var(--blog-card, #fff);
    color: var(--blog-ink);
    font-size: 1.05rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.blog-editor-maler-btn::-webkit-details-marker,
.blog-editor-maler-btn::marker { display: none; content: ''; }
.blog-editor-maler-panel {
    position: absolute;
    top: calc(100% + 0.3rem);
    right: 0;
    min-width: 12.5rem;
    padding: 0.4rem;
    background: #fff;
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(42, 49, 48, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 20;
}
.blog-editor-maler-panel .blog-btn {
    width: 100%;
    justify-content: flex-start;
}
.blog-editor-maler-panel .blog-btn.is-active {
    border-color: #3f4e4a;
}
.blog-editor-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1.1rem;
}
.blog-editor-row .blog-input { min-width: 12rem; }
body.blogg.blogg-editor-page {
    background: #f0f4f1;
    color: #2d2d2d;
}
.blog-field { margin-bottom: 0.9rem; }
.blog-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--blog-muted);
}
.blog-input, .blog-textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--blog-border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--blog-card);
    color: var(--blog-ink);
}
.blog-input:focus, .blog-textarea:focus {
    outline: none;
    border-color: var(--blog-accent);
    box-shadow: 0 0 0 2px rgba(0, 217, 163, 0.15);
}
.blog-textarea { min-height: 220px; resize: vertical; line-height: 1.55; }
.blog-check { display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; }
.blog-editor-actions { display: flex; gap: 0.4rem; align-items: center; margin-top: 1.1rem; flex-wrap: wrap; }
.blog-img-preview {
    max-width: 200px;
    border-radius: 6px;
    border: 1px solid var(--blog-border);
    margin-top: 0.4rem;
}

/* ── Footer ─────────────────────────────────────────────── */
.blog-footer {
    border-top: 1px solid var(--blog-border);
    padding: 1.2rem 0.65rem;
    text-align: center;
    color: var(--blog-muted);
    font-size: 0.75rem;
}

@media (max-width: 640px) {
    .blog-header-top { flex-direction: column; align-items: stretch; }
    .blog-header-actions { justify-content: flex-end; }
    .blog-nav-landing { gap: 0.65rem; }
    .blog-grid--tight { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .blog-grid--tight { grid-template-columns: repeat(3, 1fr); }
}

/* Landing: lys sage som referansebildet — body.blogg-gradienten må slås av her */
body.blogg.blogg-landing-page {
    --blog-bg: #f0f4f1;
    --blog-bg-soft: #e4ebe7;
    --blog-card: #ffffff;
    --blog-ink: #2d2d2d;
    --blog-muted: #6b7471;
    --blog-border: rgba(63, 78, 74, 0.12);
    --blog-accent: #3f4e4a;
    --blog-accent-2: #5c6b65;
    --blog-header-bg: #3f4e4a;
    --blog-on-accent: #ffffff;
    --blog-radius: 10px;
    background: var(--blog-bg, #f0f4f1);
    color: var(--blog-ink, #2d2d2d);
}
body.blogg.blogg-landing-page .blog-header--landing {
    background: var(--blog-header-bg, #3f4e4a);
    border-bottom: none;
    backdrop-filter: none;
}
body.blogg.blogg-landing-page .blog-brand-name,
body.blogg.blogg-landing-page .blog-nav-link,
body.blogg.blogg-landing-page .blog-admin-menu-btn {
    color: #ffffff;
}
body.blogg.blogg-landing-page .blog-brand-tag,
body.blogg.blogg-landing-page .blog-nav-link {
    color: rgba(255, 255, 255, 0.78);
}
body.blogg.blogg-landing-page .blog-nav-link.is-active,
body.blogg.blogg-landing-page .blog-nav-link:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}
body.blogg.blogg-landing-page .blog-nav-landing {
    border-top-color: rgba(255, 255, 255, 0.14);
}
body.blogg.blogg-landing-page .blog-admin-menu-btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}
body.blogg.blogg-landing-page .blog-admin-menu-panel {
    background: var(--blog-menu-bg, #2a3331);
    border-color: rgba(255, 255, 255, 0.22);
}
body.blogg.blogg-landing-page .blog-admin-menu-panel .blog-btn,
body.blogg.blogg-landing-page .blog-admin-menu-panel .blog-btn-ghost {
    color: #f4f7f5;
    border-color: rgba(255, 255, 255, 0.32);
    background: transparent;
}
body.blogg.blogg-landing-page .blog-admin-menu-panel .blog-btn:hover,
body.blogg.blogg-landing-page .blog-admin-menu-panel .blog-btn-ghost:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
body.blogg.blogg-landing-page .blog-landing-page-header {
    display: none;
}
body.blogg.blogg-landing-page .blog-footer {
    border-top-color: rgba(63, 78, 74, 0.12);
    color: #6b7471;
}
.blogg-landing-page {
    --blog-bg: #f0f4f1;
    --blog-bg-soft: #e4ebe7;
    --blog-card: #ffffff;
    --blog-ink: #2d2d2d;
    --blog-muted: #6b7471;
    --blog-border: rgba(63, 78, 74, 0.12);
    --blog-accent: #3f4e4a;
    --blog-accent-2: #5c6b65;
}
.blogg-landing-page .blog-wrap.blog-wrap--feed,
.blogg-landing-page .blog-wrap--landing {
    max-width: min(1720px, 98vw);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 3.5vw, 3.25rem);
    padding-right: clamp(1.25rem, 3.5vw, 3.25rem);
}
.blogg-landing-page .blog-header--landing,
.blogg-landing-page .blog-header--landing .blog-header-inner {
    max-width: min(1720px, 98vw);
    padding-left: clamp(1.25rem, 3.5vw, 3.25rem);
    padding-right: clamp(1.25rem, 3.5vw, 3.25rem);
}
.blogg-landing-page .blog-landing {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
    width: 100%;
}
.blog-landing-compose {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.35rem;
}
.blog-landing-compose-menu {
    position: relative;
}
.blog-landing-compose-menu > .blog-landing-col-add-btn::-webkit-details-marker {
    display: none;
}
.blog-landing-compose-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 13.5rem;
    padding: 0.45rem;
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 8px 24px rgba(42, 49, 48, 0.12);
    z-index: 30;
}
.blog-landing-compose-panel .blog-btn {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}
.blogg-landing-page .blog-landing-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 26rem);
    gap: 1.75rem;
    align-items: stretch;
}
.blogg-landing-page .blog-landing-main,
.blogg-landing-page .blog-landing-side {
    height: auto;
    min-height: 0;
}
.blogg-landing-page .blog-grid.blog-grid--landing-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 1.5rem;
    width: 100%;
    height: auto;
    align-items: stretch;
}
.blogg-landing-page .blog-landing-card.blog-kort-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
.blogg-landing-page .blog-landing-card:hover {
    border-color: transparent;
}
.blogg-landing-page .blog-landing-card .blog-kort-link {
    display: grid;
    height: auto;
    min-height: 0;
    gap: 0;
    color: inherit;
}
.blogg-landing-page .blog-landing-card .blog-kort-media {
    position: relative;
    overflow: hidden;
    border: none;
    background: #dce6e0;
}
.blogg-landing-page .blog-landing-card .blog-kort-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blogg-landing-page .blog-landing-card .blog-kort-menu {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 8;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--side .blog-kort-menu {
    left: 0.35rem;
    right: auto;
}
.blog-kort-menu-btn::marker { content: ''; }
.blog-kort-menu-btn::-webkit-details-marker { display: none; }
.blogg-landing-page .blog-landing-card .blog-kort-menu-btn {
    background: rgba(255, 255, 255, 0.94);
    color: #3f4e4a;
    border-color: rgba(63, 78, 74, 0.16);
}
.blogg-landing-page .blog-landing-card .blog-kort-menu-panel {
    background: #ffffff;
    border-color: rgba(63, 78, 74, 0.14);
    box-shadow: 0 8px 24px rgba(42, 49, 48, 0.14);
}

/* Store kort: bilde i toppkant, tekst i fast spor under */
.blogg-landing-page .blog-landing-card.blog-kort-card--main {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--blog-frame, rgba(45, 45, 45, 0.16));
    box-shadow: none;
    height: 100%;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--main .blog-kort-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--main .blog-kort-media {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    border-radius: 10px 10px 0 0;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--main .blog-kort-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 1rem 1.05rem 1.15rem;
    min-height: 0;
    flex: 1 1 auto;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--main .blog-kort-body--await-title {
    min-height: 0;
}
.blogg-landing-page .blog-kort-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    min-height: 0;
}
.blogg-landing-page .blog-kort-tag {
    display: inline-flex;
    align-items: center;
    background: var(--blog-tag-bg, #5c6b65);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.22rem 0.48rem;
    border-radius: 4px;
    line-height: 1.2;
    white-space: nowrap;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--main .blog-kort-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2d2d2d;
    min-height: calc(1.3em * 3);
    max-height: calc(1.3em * 3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--main .blog-kort-excerpt {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #5a635f;
    min-height: calc(1.5em * 3);
    max-height: calc(1.5em * 3);
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.blogg-landing-page .blog-kort-more {
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    color: var(--blog-more, #5c6b65);
}
.blogg-landing-page .blog-kort-card--main.blog-kort-card--add {
    display: none;
}

/* Små kort: bilde venstre, tittel+tekst høyre, tette rader ned til bunnen av de store */
.blogg-landing-page .blog-landing-side,
.blogg-landing-page .blog-grid.blog-grid--landing-side {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blogg-landing-page .blog-grid.blog-grid--landing-side {
    justify-content: space-between;
    gap: 0.55rem;
    width: 100%;
}
.blogg-landing-page .blog-grid--landing-side .blog-kort-card--side,
.blogg-landing-page .blog-landing-card.blog-kort-card--side {
    height: auto;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--blog-frame, rgba(45, 45, 45, 0.16));
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}
.blogg-landing-page .blog-side-hz,
.blogg-landing-page .blog-grid--landing-side .blog-kort-link {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 0.8rem;
    height: auto !important;
}
.blogg-landing-page .blog-grid--landing-side .blog-kort-media {
    width: 6.5rem !important;
    height: 6.5rem !important;
    max-width: 6.5rem;
    flex: 0 0 6.5rem !important;
    aspect-ratio: 1;
    border-radius: 0;
    position: relative;
}
.blogg-landing-page .blog-grid--landing-side .blog-kort-body {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.15rem 0 0;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
}
.blogg-landing-page .blog-grid--landing-side .blog-kort-body--await-title {
    min-height: 0;
}
.blogg-landing-page .blog-grid--landing-side .blog-kort-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2d2d2d;
    height: auto;
    max-height: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.blogg-landing-page .blog-grid--landing-side .blog-kort-excerpt {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #5a635f;
    height: auto;
    max-height: 2.8em;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.blogg-landing-page .blog-landing-card.blog-kort-card--side .blog-kort-meta,
.blogg-landing-page .blog-landing-card.blog-kort-card--side .blog-kort-date,
.blogg-landing-page .blog-landing-card.blog-kort-card--side .blog-kort-tag {
    display: none;
}
.blogg-landing-page .blog-kort-date {
    margin: 0;
    font-size: 0.75rem;
    color: #8e9694;
    line-height: 1.2;
    white-space: nowrap;
}
.blogg-landing-page .blog-landing-row--tools .blog-landing-side {
    display: flex;
    justify-content: flex-end;
}
.blogg-landing-page .blog-landing-break {
    width: 100%;
    margin: clamp(0.35rem, 1.2vw, 0.85rem) 0;
}
.blogg-landing-page .blog-landing-break-add {
    margin: 0;
    display: flex;
    justify-content: center;
}
.blogg-landing-page .blog-kort-card--break {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--blog-frame, rgba(45, 45, 45, 0.16));
    box-shadow: none;
}
.blogg-landing-page .blog-kort-card--break .blog-kort-link {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: clamp(8.5rem, 16vw, 12.5rem);
    height: auto;
}
.blogg-landing-page .blog-kort-card--break .blog-kort-media {
    width: 100%;
    height: 100%;
    min-height: clamp(8.5rem, 16vw, 12.5rem);
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
}
.blogg-landing-page .blog-kort-card--break .blog-kort-body {
    padding: clamp(0.9rem, 1.8vw, 1.35rem) clamp(1rem, 2.2vw, 1.65rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.blogg-landing-page .blog-kort-card--break .blog-kort-title {
    margin: 0;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.blogg-landing-page .blog-kort-card--break .blog-kort-excerpt {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.blogg-landing-page .blog-kort-card--break.blog-kort-card--empty .blog-kort-link {
    grid-template-columns: 1fr;
}
.blogg-landing-page .blog-kort-card--break.blog-kort-card--empty .blog-kort-media {
    min-height: clamp(7rem, 14vw, 10rem);
}
.blogg-landing-page .blog-kort-card--break {
    border-radius: 10px;
}
.blogg-landing-page .blog-kort-card--main .blog-kort-media img {
    border-radius: 10px 10px 0 0;
}
.blogg-landing-page .blog-grid--landing-side .blog-kort-card--side .blog-kort-media img {
    border-radius: 14px;
}

@media (max-width: 900px) {
    .blogg-landing-page .blog-landing-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .blogg-landing-page .blog-grid.blog-grid--landing-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .blogg-landing-page .blog-kort-card--break .blog-kort-link {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .blogg-landing-page .blog-kort-card--break .blog-kort-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 700px) {
    .blogg-landing-page .blog-grid.blog-grid--landing-main {
        grid-template-columns: 1fr;
    }
}
