/**
 * Home May 2025 — Blog / Nyheter section (loads after new-home.css)
 * Scoped: body.page-template-home-new-may-2026 .hnm-blog
 */

body.page-template-home-new-may-2026 .hnm-blog {
    padding: clamp(48px, 8vw, 96px) 0;
    background: var(--hdr-bg, #f4f6f9);
    border-top: 1px solid var(--hdr-border, #e2e6ea);
}

body.page-template-home-new-may-2026 .hnm-blog .wrapper {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(0, 0, 0);
}

/* ── Section header ─────────────────────────────────────────── */
body.page-template-home-new-may-2026 .hnm-blog__header {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 24px);
    margin-bottom: clamp(28px, 4vw, 44px);
    text-align: center;
}

@media (min-width: 768px) {
    body.page-template-home-new-may-2026 .hnm-blog__header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        text-align: left;
    }
}

body.page-template-home-new-may-2026 .hnm-blog__header-main {
    max-width: 640px;
}

body.page-template-home-new-may-2026 .hnm-blog__eyebrow {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hdr-red, #b80000);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

body.page-template-home-new-may-2026 .hnm-blog__eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--hdr-red, #b80000);
    border-radius: 1px;
}

body.page-template-home-new-may-2026 .hnm-blog__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--hdr-navy, #003b6b);
    line-height: 1.2;
    margin: 0 0 10px;
}

body.page-template-home-new-may-2026 .hnm-blog__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--hdr-muted, #5d6b7a);
}

body.page-template-home-new-may-2026 .hnm-blog__actions {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
}

@media (min-width: 768px) {
    body.page-template-home-new-may-2026 .hnm-blog__actions {
        justify-content: flex-end;
        margin-left: auto;
    }
}

body.page-template-home-new-may-2026 .hnm-blog__archive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--hdr-white, #fff);
    background: var(--hdr-navy, #003b6b);
    border: 2px solid var(--hdr-navy, #003b6b);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

body.page-template-home-new-may-2026 .hnm-blog__archive:hover {
    background: #002a4f;
    border-color: #002a4f;
    color: var(--hdr-white, #fff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 59, 107, 0.25);
}

body.page-template-home-new-may-2026 .hnm-blog__archive svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

body.page-template-home-new-may-2026 .hnm-blog__archive:focus-visible {
    outline: 2px solid var(--hdr-red, #b80000);
    outline-offset: 3px;
}

/* ── Slider shell ───────────────────────────────────────────── */
body.page-template-home-new-may-2026 .hnm-blog .slider-container.hnm-blog__slider-shell {
    position: relative;
    padding: 0 clamp(0, 5vw, 0);
    margin: 0;
}

body.page-template-home-new-may-2026 .hnm-blog .posts-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

body.page-template-home-new-may-2026 .hnm-blog .posts-slider .slick-slide {
    height: auto;
}

body.page-template-home-new-may-2026 .hnm-blog .posts-slider .slick-slide > div {
    height: 100%;
}

/* ── Cards ─────────────────────────────────────────────────── */
body.page-template-home-new-may-2026 .hnm-blog .featured-card.hnm-blog-card {
    margin: 0 10px;
    border-radius: var(--hdr-radius, 8px);
    border: 1px solid var(--hdr-border, #e2e6ea);
    box-shadow: var(--hdr-shadow, 0 2px 12px rgba(0, 0, 0, 0.07));
    background: var(--hdr-white, #fff);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-template-home-new-may-2026 .hnm-blog .featured-card.hnm-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

body.page-template-home-new-may-2026 .hnm-blog .post-thumbnail-wrapper {
    aspect-ratio: 16 / 10;
    background: var(--hdr-bg, #f4f6f9);
}

body.page-template-home-new-may-2026 .hnm-blog .image-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(12, 28, 46, 0.55) 0%, transparent 50%);
}

body.page-template-home-new-may-2026 .hnm-blog .featured-card:hover .featured-image {
    transform: scale(1.04);
}

body.page-template-home-new-may-2026 .hnm-blog .archive-overlay {
    top: 12px;
    left: 12px;
}

body.page-template-home-new-may-2026 .hnm-blog .overlay-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--hdr-navy, #003b6b);
    border: 1px solid var(--hdr-border, #e2e6ea);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-template-home-new-may-2026 .hnm-blog .post-content-wrapper {
    padding: clamp(18px, 2.5vw, 24px);
    background: var(--hdr-white, #fff);
}

body.page-template-home-new-may-2026 .hnm-blog .post-date {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hdr-muted, #5d6b7a);
    margin-bottom: 8px;
}

body.page-template-home-new-may-2026 .hnm-blog .hnm-blog-card__title {
    margin: 0 0 10px;
    font-size: clamp(14px, 1.35vw, 18px);
    font-weight: 700;
    line-height: 1.35;
}

body.page-template-home-new-may-2026 .hnm-blog .hnm-blog-card__title a {
    color: var(--hdr-navy, #003b6b);
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.page-template-home-new-may-2026 .hnm-blog .hnm-blog-card__title a:hover {
    color: var(--hdr-red, #b80000);
}

body.page-template-home-new-may-2026 .hnm-blog .hnm-blog-card__excerpt {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

body.page-template-home-new-may-2026 .hnm-blog .read-more-btn {
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
    color: var(--hdr-navy, #003b6b);
    border: 2px solid var(--hdr-navy, #003b6b);
}

body.page-template-home-new-may-2026 .hnm-blog .read-more-btn:hover {
    background: var(--hdr-navy, #003b6b);
    color: var(--hdr-white, #fff);
    border-color: var(--hdr-navy, #003b6b);
}

body.page-template-home-new-may-2026 .hnm-blog .read-more-btn:focus-visible {
    outline: 2px solid var(--hdr-red, #b80000);
    outline-offset: 3px;
}

body.page-template-home-new-may-2026 .hnm-blog .read-more-btn .arrow {
    transition: transform 0.2s ease;
}

body.page-template-home-new-may-2026 .hnm-blog .read-more-btn:hover .arrow {
    transform: translateX(4px);
}

/* ── Nav arrows ─────────────────────────────────────────────── */
body.page-template-home-new-may-2026 .hnm-blog .slider-prev,
body.page-template-home-new-may-2026 .hnm-blog .slider-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: var(--hdr-white, #fff);
    border: 1px solid var(--hdr-border, #e2e6ea);
    box-shadow: var(--hdr-shadow, 0 2px 12px rgba(0, 0, 0, 0.07));
    color: var(--hdr-navy, #003b6b);
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-prev:hover,
body.page-template-home-new-may-2026 .hnm-blog .slider-next:hover {
    background: var(--hdr-navy, #003b6b);
    color: var(--hdr-white, #fff);
    border-color: var(--hdr-navy, #003b6b);
}

body.page-template-home-new-may-2026 .hnm-blog .slider-prev:focus-visible,
body.page-template-home-new-may-2026 .hnm-blog .slider-next:focus-visible {
    outline: 2px solid var(--hdr-red, #b80000);
    outline-offset: 3px;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-prev .nav-icon,
body.page-template-home-new-may-2026 .hnm-blog .slider-next .nav-icon {
    font-size: 0;
    line-height: 0;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-prev .nav-icon svg,
body.page-template-home-new-may-2026 .hnm-blog .slider-next .nav-icon svg {
    width: 18px;
    height: 18px;
}

body.page-template-home-new-may-2026 .hnm-blog button.slider-prev.slick-arrow,
body.page-template-home-new-may-2026 .hnm-blog button.slider-next.slick-arrow {
    background: var(--hdr-white, #fff);
    border: 1px solid var(--hdr-border, #e2e6ea);
}

/* ── Dots ───────────────────────────────────────────────────── */
body.page-template-home-new-may-2026 .hnm-blog .slider-dots {
    margin-top: clamp(24px, 3vw, 36px);
}

body.page-template-home-new-may-2026 .hnm-blog .slider-dots .slick-dots {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-dots .slick-dots li {
    position: static;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    display: flex;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-dots .slick-dots li button {
    background: var(--hdr-border, #e2e6ea);
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-dots .slick-dots li button:before {
    display: none !important;
    content: none !important;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-dots .slick-dots li.slick-active button {
    background: var(--hdr-red, #b80000);
    width: 28px;
    border-radius: 8px;
}

body.page-template-home-new-may-2026 .hnm-blog .slider-dots .slick-dots li button:hover {
    background: var(--hdr-navy, #003b6b);
}

/* ── Empty state ───────────────────────────────────────────── */
body.page-template-home-new-may-2026 .hnm-blog .hnm-blog__empty {
    text-align: center;
    padding: clamp(40px, 6vw, 64px);
    background: var(--hdr-white, #fff);
    border: 1px dashed var(--hdr-border, #e2e6ea);
    border-radius: var(--hdr-radius, 8px);
    color: var(--hdr-muted, #5d6b7a);
}

body.page-template-home-new-may-2026 .hnm-blog .hnm-blog__empty h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--hdr-navy, #003b6b);
}

@media (prefers-reduced-motion: reduce) {
    body.page-template-home-new-may-2026 .hnm-blog .featured-card.hnm-blog-card,
    body.page-template-home-new-may-2026 .hnm-blog .featured-image,
    body.page-template-home-new-may-2026 .hnm-blog .hnm-blog__archive {
        transition: none;
    }
    body.page-template-home-new-may-2026 .hnm-blog .featured-card.hnm-blog-card:hover {
        transform: none;
    }
}
