/* Leikurinn.is 1.4.1 — breiðara og einfaldara fréttamiðilsútlit */
.page-shell { width: min(calc(100% - 48px), 1440px); }

/* Einfaldari haus, án slagorðastiku og pilluhnapps */
.v141-site-header .site-header-main,
.v141-site-header .site-header-row { height: 74px; }
.v141-site-header .site-header-row { gap: 34px; }
.v141-site-header .v14-desktop-nav { margin-left: 12px; }
.v141-site-header .v14-desktop-nav a { padding-inline: 12px; font-size: .75rem; }
.v141-site-header .v14-desktop-nav a::after { inset-inline: 12px; }
.v141-scores-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; border-left: 1px solid rgba(255,255,255,.16); padding: 0 4px 0 18px; color: #eef6f1; font-size: .75rem; font-weight: 780; }
.v141-scores-link i { color: var(--v14-green); font-size: .9rem; }
.v141-scores-link:hover { color: var(--v14-green); }
.v141-site-header .v14-subnav > div { justify-content: space-between; }
.v141-site-header .v14-subnav nav { margin-left: 0; }
.v141-site-header .v14-subnav time { color: #89928c; font-size: .61rem; font-weight: 650; }
.v141-site-header .v14-search { top: 74px; }

/* Efnisstika */
.v141-topic-label { flex: 0 0 auto; color: #1f2a23; font-size: .64rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.v14-newsline > div { min-height: 48px; }
.v14-topic-nav { margin-left: 0; }
.v14-topic-nav a { border: 0; border-radius: 0; background: transparent; padding: 7px 9px; }
.v14-topic-nav a:hover { border: 0; background: transparent; }

/* Flokkasíður */
.v141-category-page { padding-block: 42px 84px; }
.v141-category-header { display: flex; align-items: end; justify-content: space-between; gap: 42px; border-bottom: 2px solid var(--v14-ink); padding: 8px 0 30px; }
.v141-category-header h1 { margin: 0; color: var(--v14-ink); font-size: clamp(3rem,5vw,4.8rem); line-height: .95; letter-spacing: -.055em; font-weight: 860; }
.v141-category-header p { max-width: 760px; margin: 15px 0 0; color: var(--v14-muted); font-size: .94rem; line-height: 1.65; }
.v141-category-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px 22px; padding-bottom: 5px; }
.v141-category-header nav a { display: inline-flex; align-items: center; gap: 9px; color: #314038; font-size: .7rem; font-weight: 790; white-space: nowrap; }
.v141-category-header nav a i { color: #0b8e4b; font-size: .62rem; }
.v141-category-header nav a:hover { color: #08783d; }
.v141-category-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 44px; margin-top: 34px; }
.v141-category-layout.has-sidebar { grid-template-columns: minmax(0,1fr) 320px; }
.v141-category-main { min-width: 0; }
.v141-category-lead { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.72fr); overflow: hidden; border-block: 1px solid #cfd7d0; background: #fff; }
.v141-category-lead-image { display: block; overflow: hidden; min-height: 430px; background: #dfe6df; }
.v141-category-lead-image img,
.v141-category-lead-image .image-fallback { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.v141-category-lead:hover .v141-category-lead-image img { transform: scale(1.02); }
.v141-category-lead-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,4vw,55px); }
.v141-category-lead-copy time { color: #78827b; font-size: .66rem; font-weight: 650; }
.v141-category-lead-copy h2 { margin: 12px 0 15px; font-size: clamp(2rem,3.1vw,3.65rem); line-height: 1; letter-spacing: -.055em; font-weight: 850; }
.v141-category-lead-copy h2 a { color: var(--v14-ink); }
.v141-category-lead-copy p { margin: 0; color: var(--v14-muted); font-size: .83rem; line-height: 1.65; }
.v141-read-link { display: inline-flex; align-items: center; gap: 13px; width: max-content; margin-top: 23px; color: #08783d; font-size: .7rem; font-weight: 850; }
.v141-read-link:hover { gap: 17px; }
.v141-category-section-title { display: flex; align-items: center; gap: 22px; margin: 44px 0 20px; }
.v141-category-section-title h2 { margin: 0; font-size: 1.75rem; line-height: 1; letter-spacing: -.045em; }
.v141-category-section-title span { height: 1px; flex: 1; background: #cfd7d0; }
.v141-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 22px; }
.has-sidebar .v141-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.v141-category-grid .lk-news-card { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.v141-category-grid .lk-news-card-image { overflow: hidden; aspect-ratio: 16/10; border-radius: 12px; background: #dfe6df; }
.v141-category-grid .lk-news-card-body { padding: 13px 1px 0; }
.v141-category-grid .lk-card-meta { justify-content: flex-start; gap: 8px; color: #7c867f; }
.v141-category-grid .lk-card-meta a { display: none; }
.v141-category-grid .lk-news-card h2 { margin: 8px 0 7px; font-size: clamp(1rem,1.35vw,1.25rem); line-height: 1.16; }
.v141-category-grid .lk-news-card p { color: var(--v14-muted); font-size: .74rem; line-height: 1.5; -webkit-line-clamp: 2; }
.v141-category-grid .lk-card-link { display: none; }
.v141-category-sidebar { display: grid; align-content: start; gap: 28px; position: sticky; top: 132px; }
.v141-category-sidebar .sidebar-panel { border-radius: 14px; box-shadow: none; }

/* Fótur */
.v141-footer { padding-top: 18px; }
.v141-footer .footer-top { padding-block: 54px 48px; }

@media (max-width: 1180px) {
    .page-shell { width: min(calc(100% - 36px),1440px); }
    .v141-category-layout.has-sidebar { grid-template-columns: minmax(0,1fr) 300px; gap: 32px; }
    .v141-category-lead { grid-template-columns: 1.25fr .75fr; }
    .v141-category-lead-image { min-height: 390px; }
}

@media (max-width: 980px) {
    .v141-site-header .site-header-main, .v141-site-header .site-header-row { height: 68px; }
    .v141-site-header .v14-search { top: 68px; }
    .v141-category-layout.has-sidebar { grid-template-columns: 1fr; }
    .has-sidebar .v141-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .v141-category-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 800px) {
    .v141-site-header .v14-search { top: 68px; }
    .v141-category-page { padding-block: 28px 60px; }
    .v141-category-header { display: block; }
    .v141-category-header h1 { font-size: clamp(2.75rem,10vw,4.1rem); }
    .v141-category-header nav { justify-content: flex-start; margin-top: 22px; }
    .v141-category-lead { grid-template-columns: 1fr; }
    .v141-category-lead-image { min-height: 0; aspect-ratio: 16/9; }
    .v141-category-lead-copy { padding: 25px 22px 29px; }
    .v141-category-grid, .has-sidebar .v141-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .page-shell { width: min(calc(100% - 24px),1440px); }
    .v141-site-header .site-header-main, .v141-site-header .site-header-row { height: 62px; }
    .v141-site-header .v14-search { top: 62px; }
    .v141-scores-link { width: 38px; justify-content: center; border: 0; padding: 0; }
    .v141-scores-link span { display: none; }
    .v141-topic-label { display: none; }
    .v141-category-page { padding-top: 23px; }
    .v141-category-header { padding-bottom: 22px; }
    .v141-category-header p { font-size: .84rem; }
    .v141-category-header nav { display: grid; gap: 11px; }
    .v141-category-lead-copy h2 { font-size: 2rem; }
    .v141-category-grid, .has-sidebar .v141-category-grid { grid-template-columns: 1fr; gap: 27px; }
    .v141-category-grid .lk-news-card { display: grid; grid-template-columns: 124px minmax(0,1fr); gap: 13px; }
    .v141-category-grid .lk-news-card-image { aspect-ratio: 1.12; }
    .v141-category-grid .lk-news-card-body { padding-top: 2px; }
    .v141-category-grid .lk-news-card p { display: none; }
    .v141-category-sidebar { grid-template-columns: 1fr; }
}
