/*!
Theme Name: Æblegård Friskole
Theme URI: https://aeblegaardfriskole.dk/
Author: Jesper Carstens
Author URI: https://jspr.dk/
Description: Tema udviklet til Æblegård Friskole
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: skole
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Æblegård Friskole is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* ==========================================
   ÆBLEGÅRD FRISKOLE - GLOBAL STYLES
   ========================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #fafafa;
}

/* Ingen padding-top nødvendig når header ikke er sticky */

/* ==========================================
   HEADER STYLES
   ========================================== */

/* Header - Normal (ikke sticky) */
.header-wrapper {
    width: 100%;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid #e8e8e8;
	position: relative; /* Tilføj denne */
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

/* Logo section */
.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* WordPress custom logo support */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover,
.custom-logo:hover {
    opacity: 0.8;
}

/* Navigation container */
.nav-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-grow: 1;
}

/* Intra links - minimalistisk og diskret */
/* Intra links - diskrete links øverst */
.intra-links {
    display: flex;
    gap: 2px;
    align-items: center;
}

.intra-links a {
    color: #999 !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    transition: all 0.2s ease;
    border-right: 1px solid #e8e8e8;
}

.intra-links a:last-child {
    border-right: none;
}

.intra-links a:hover {
    color: #000 !important;
    background: none;
}

/* Primary navigation */
.primary-nav {
    position: relative;
	z-index: 1001; /* Tilføj denne */
}

.primary-nav > ul {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.primary-nav > ul > li {
    position: relative;
}

.primary-nav > ul > li > a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 24px;
    display: block;
    transition: all 0.2s ease;
    position: relative;
}

.primary-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #9BC53D;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li.active > a::after {
    transform: scaleX(1);
}

/* Dropdown menu */
.primary-nav > ul > li.has-dropdown > a::before {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #000;
    transition: transform 0.2s ease;
}

.primary-nav > ul > li.has-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    margin-top: 8px;
	z-index: 1002; /* Tilføj denne */
}

.primary-nav > ul > li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #9BC53D;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-menu a:hover {
    background: #fafafa;
    padding-left: 24px;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* ==========================================
   WORDPRESS MENU COMPATIBILITY
   ========================================== */

/* WordPress menu classes support */
.primary-nav .menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.primary-nav .menu-item {
    position: relative;
}

.primary-nav .menu-item > a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 24px;
    display: block;
    transition: all 0.2s ease;
    position: relative;
}

.primary-nav .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #9BC53D;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.primary-nav .menu-item > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
    transform: scaleX(1);
}

/* WordPress dropdown support */
.primary-nav .menu-item-has-children > a::before,
.primary-nav .has-dropdown > a::before {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #000;
    transition: transform 0.2s ease;
}

.primary-nav .menu-item-has-children:hover > a::before,
.primary-nav .has-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

/* WordPress submenu (sub-menu class) */
.primary-nav .sub-menu,
.primary-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    margin-top: 8px;
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
	z-index: 1002; /* Tilføj denne */
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-nav .sub-menu li,
.primary-nav .dropdown-menu li {
    list-style: none;
    border-bottom: 1px solid #f5f5f5;
}

.primary-nav .sub-menu li:last-child,
.primary-nav .dropdown-menu li:last-child {
    border-bottom: none;
}

.primary-nav .sub-menu a,
.primary-nav .dropdown-menu a {
    color: #333 !important;
    text-decoration: none;
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

.primary-nav .sub-menu a::before,
.primary-nav .dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #9BC53D;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.primary-nav .sub-menu a:hover,
.primary-nav .dropdown-menu a:hover {
    background: #fafafa;
    padding-left: 24px;
}

.primary-nav .sub-menu a:hover::before,
.primary-nav .dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.primary-nav .sub-menu a::after {
    display: none !important;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
}

/* Overlay for mobile menu */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ==========================================
   MODERNIZED HERO STYLES - ÆBLEGÅRD FRISKOLE
   Ungt, friskt, hjertevarmt og troværdigt design
   ========================================== */

/* Hero section - balanced height */
.hero-section {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 450px;
    max-height: 650px;
    overflow: hidden;
    background: #000;
    z-index: 1;
}

/* Slider container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual slides med subtil zoom-effekt */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 8s ease-out;
}

/* Subtil Ken Burns effekt på aktive slides (kun desktop) */
@media (min-width: 769px) {
    .hero-slide.active img {
        transform: scale(1.05);
    }
}

/* Overlay - mere subtil og naturlig */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

/* Content container - asymmetrisk og moderne placering */
.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 2;
    max-width: 680px;
    padding: 0 20px;
}

/* Moderne typografi med bedre hierarki */
.hero-title {
    font-size: 30pt;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Split text effekt for dynamik */
.hero-title-highlight {
    display: block;
    color: #9BC53D;
    font-weight: 900;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.65;
    opacity: 0.96;
    max-width: 560px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

/* Moderne accent - organisk form */
.hero-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9BC53D 0%, #B8D96D 100%);
    margin: 0 0 32px 0;
    border-radius: 2px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

/* Hero CTA Buttons - moderne layout */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards;
}

/* Moderne button design */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

/* Hover effekt med subtil skala */
.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.hero-cta:hover::before {
    transform: scaleX(1);
}

/* Primary CTA - moderne grøn med læsbar hover */
.hero-cta-primary {
    background: #9BC53D;
    border-color: #9BC53D;
    color: #000;
    box-shadow: 0 4px 20px rgba(155, 197, 61, 0.3);
}

.hero-cta-primary:hover {
    background: #7FA82D;
    border-color: #7FA82D;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(155, 197, 61, 0.4);
}

.hero-cta-primary:active {
    transform: translateY(-1px) scale(1);
}

/* Secondary CTA - minimalistisk glasmorphism */
.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Navigation dots - moderne minimalistisk design */
.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 8%;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    position: relative;
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
    background: #9BC53D;
    width: 32px;
    border-radius: 4px;
}

.hero-dot.active::after {
    border-color: rgba(155, 197, 61, 0.3);
}

/* Moderne pile-navigation */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    color: white;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.hero-arrow:hover {
    background: rgba(155, 197, 61, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(155, 197, 61, 0.3);
}

.hero-arrow.prev {
    left: 40px;
}

.hero-arrow.next {
    right: 40px;
}

.hero-arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.hero-arrow:hover svg {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .hero-section {
        height: 60vh;
        min-height: 480px;
    }

    .hero-content {
        left: 6%;
        max-width: 580px;
    }

    .hero-nav {
        left: 6%;
    }

    .hero-arrow.prev {
        left: 20px;
    }

    .hero-arrow.next {
        right: 20px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 600px;
        max-height: none;
        padding: 100px 0 60px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        text-align: center;
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero-title-highlight {
        display: inline;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    .hero-accent {
        margin: 0 auto 24px;
        width: 50px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .hero-nav {
        position: absolute;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        margin: 0;
        justify-content: center;
        display: flex;
        width: auto;
        z-index: 3;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    .hero-dot.active {
        width: 24px;
        height: 6px;
    }

    .hero-arrow {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.2);
    }

    .hero-arrow.prev {
        left: 15px;
    }

    .hero-arrow.next {
        right: 15px;
    }

    /* Deaktiver Ken Burns på mobile for performance */
    .hero-slide.active img {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 580px;
        padding: 90px 0 50px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-accent {
        width: 45px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

    .hero-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 13px 24px;
        font-size: 0.9rem;
    }

    .hero-nav {
        position: absolute;
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
        margin: 0;
        gap: 6px;
        display: flex;
        justify-content: center;
        width: auto;
        z-index: 3;
    }

    .hero-dot {
        width: 5px;
        height: 5px;
    }

    .hero-dot.active {
        width: 20px;
        height: 5px;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
    }

    .hero-arrow.prev {
        left: 12px;
    }

    .hero-arrow.next {
        right: 12px;
    }

    .hero-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Accessibility & performance */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide img,
    .hero-cta,
    .hero-dot,
    .hero-arrow,
    .hero-title,
    .hero-subtitle,
    .hero-accent,
    .hero-buttons {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .hero-slide.active img {
        transform: scale(1);
    }
}

/* Print styles */
@media print {
    .hero-arrow,
    .hero-nav {
        display: none;
    }

    .hero-section {
        height: auto;
        min-height: 400px;
    }
}
/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 968px) {
    /* Header adjustments */
    .header-inner {
        padding: 0 20px;
        height: 70px;
    }

    .logo,
    .custom-logo {
        height: 45px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-container {
        display: none;
    }

    /* Mobile menu */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: white;
        padding: 30px 0;
        transition: right 0.3s ease;
        overflow-y: auto;
        border-left: 1px solid #e8e8e8;
        z-index: 999;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu .intra-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 0 20px 0;
        margin: 0 20px 20px 20px;
        border-bottom: 1px solid #e8e8e8;
    }

    .mobile-menu .intra-links a {
        padding: 12px 0;
        border-right: none;
        border-bottom: 1px solid #f5f5f5;
        font-size: 12px;
    }

    .mobile-menu .intra-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu .primary-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .mobile-menu .primary-nav > ul > li > a,
    .mobile-menu .primary-nav .menu-item > a {
        padding: 16px 20px;
        border-bottom: 1px solid #f5f5f5;
    }

    .mobile-menu .primary-nav > ul > li > a::after,
    .mobile-menu .primary-nav .menu-item > a::after {
        display: none;
    }

    .mobile-menu .primary-nav > ul > li.has-dropdown > a::before,
    .mobile-menu .primary-nav .menu-item-has-children > a::before {
        right: 20px;
    }

    .mobile-menu .dropdown-menu,
    .mobile-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        margin: 0;
        padding: 0;
        background: #fafafa;
        display: none;
        animation: slideDown 0.3s ease;
    }

    .mobile-menu .primary-nav > ul > li.has-dropdown.open .dropdown-menu,
    .mobile-menu .primary-nav .menu-item-has-children.open .sub-menu {
        display: block;
    }

    .mobile-menu .dropdown-menu a,
    .mobile-menu .sub-menu a {
        padding: 12px 20px 12px 40px;
    }

    .mobile-menu .dropdown-menu a::before,
    .mobile-menu .sub-menu a::before {
        display: none;
    }

    .mobile-menu .dropdown-menu a:hover,
    .mobile-menu .sub-menu a:hover {
        padding-left: 44px;
        background: #f0f0f0;
    }

    .mobile-overlay {
        display: block;
    }

    /* Hero adjustments */
    .hero-section {
        height: 45vh;
        min-height: 350px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-cta {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-arrow.prev {
        left: 15px;
    }

    .hero-arrow.next {
        right: 15px;
    }

    .hero-arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-arrow {
        display: none;
    }

    .hero-nav {
        bottom: 20px;
    }
}

/* ==========================================
   MAIN CONTENT & LAYOUT
   ========================================== */

.main-content {
    background: #fafafa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -0.4px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #9BC53D;
    margin: 15px auto 0;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    max-width: 620px;
    margin: 15px auto 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .featured-cards {
        padding: 20px 0;
    }

    .featured-cards.no-header {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.35rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* ==========================================
   FEATURED CARDS SECTION - MODERNIZED
   Matches hero slider design aesthetic
   ========================================== */

.featured-cards {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff 0%, #f9fafb 100%);
    position: relative;
}

/* Mindre padding når der ikke er header */
.featured-cards.no-header {
    padding: 60px 0;
}

/* Container */
.featured-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9BC53D 0%, #B8D96D 100%);
    margin: 0 auto 28px;
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Individual Card */
.feature-card {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    border: 20px solid black !important;
    box-shadow: none;
    outline: none;
}

.feature-card::before {
    display: none !important;
    content: none !important;
}

.feature-card:hover {
    transform: translateY(-12px);
}

.feature-card:hover::before {
    display: none !important;
}

/* Card Image */
.card-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .card-image img {
    transform: scale(1.08);
}

/* Image overlay gradient */
.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .card-image::after {
    opacity: 1;
}

.feature-card,
.feature-card::before,
.feature-card::after {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.feature-card::before {
    display: none !important;
}

/* Card Content */
.card-content {
    padding: 40px 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 28px;
    color: #fff;
    opacity: 0.96;
    flex-grow: 1;
}

/* Modern Button */
.card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.card-button svg,
.card-button .arrow {
    transition: transform 0.3s ease;
}

.card-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(8px);
}

.card-button:hover svg,
.card-button:hover .arrow {
    transform: translateX(4px);
}

/* Card Color Variants - Modern Green Gradients */
.card-green-light {
    background: linear-gradient(135deg, #B8D96D 0%, #A5C959 100%);
}

.card-green-medium {
    background: linear-gradient(135deg, #9BC53D 0%, #8AB02D 100%);
}

.card-green-dark {
    background: linear-gradient(135deg, #7FA82D 0%, #6D911F 100%);
}

/* Alternative: Colored content area instead of full card */
.feature-card.content-colored .card-content {
    background: linear-gradient(135deg, #9BC53D 0%, #8AB02D 100%);
}

.feature-card.content-colored {
    background: #fff;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
    .featured-container {
        padding: 0 30px;
    }

    .cards-grid {
        gap: 32px;
    }

    .card-image {
        height: 280px;
    }

    .card-content {
        padding: 35px 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .featured-cards {
        padding: 60px 0;
    }

    .featured-cards.no-header {
        padding: 40px 0;
    }

    .featured-container {
        padding: 0 20px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-accent {
        width: 50px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .card-image {
        height: 260px;
    }

    .card-content {
        padding: 32px 28px;
    }

    .card-title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .card-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .card-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    /* Less aggressive hover on mobile */
    .feature-card:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 480px) {
    .featured-cards {
        padding: 50px 0;
    }

    .card-image {
        height: 240px;
    }

    .card-content {
        padding: 28px 24px;
    }

    .card-title {
        font-size: 1.4rem;
    }

    .card-description {
        font-size: 0.95rem;
    }
}

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .card-button,
    .card-image img,
    .card-image::after,
    .feature-card::before {
        transition-duration: 0.01ms !important;
    }

    .feature-card:hover .card-image img {
        transform: scale(1);
    }

    .feature-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .featured-cards {
        padding: 30px 0;
        background: #fff;
    }

    .cards-grid {
        gap: 20px;
    }

    .feature-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
        break-inside: avoid;
    }

    .card-button {
        display: none;
    }
}
/* ==========================================
   HIGHLIGHTS SECTION - MODERNIZED
   Matches hero and cards design aesthetic
   ========================================== */

.highlights-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

/* Container */
.highlights-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.highlights-header {
    text-align: center;
    margin-bottom: 80px;
}

.highlights-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9BC53D 0%, #B8D96D 100%);
    margin: 0 auto 28px;
    border-radius: 2px;
}

.highlights-heading {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.highlights-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Highlights Grid */
.highlights-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 35px;
}

/* Individual Highlight Card */
.highlight-card {
    background: #fff;
    padding: 45px 30px;
    border-radius: 20px;
    border: 2px solid #f3f4f6;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background gradient on hover */
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9BC53D 0%, #B8D96D 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-card:hover {
    border-color: #9BC53D;
    transform: translateY(-8px);
    background: linear-gradient(to bottom, #ffffff 0%, #f9fdf7 100%);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

/* Green accent card (featured) */
.highlight-green {
    border-color: #9BC53D;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fdf7 100%);
}

.highlight-green::before {
    transform: scaleX(1);
}

/* Icon Container */
.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #f0f9e8 0%, #e8f5d8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-card:hover .highlight-icon {
    background: linear-gradient(135deg, #9BC53D 0%, #8AB02D 100%);
    transform: scale(1.1) rotate(5deg);
}

.highlight-icon svg,
.highlight-icon img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon svg,
.highlight-card:hover .highlight-icon img {
    filter: brightness(0) invert(1);
}

/* Title */
.highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1f2937;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Description */
.highlight-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
}

/* Tablet - 3 columns */
@media (max-width: 1200px) {
    .highlights-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .highlight-card {
        padding: 40px 28px;
    }

    .highlight-icon {
        width: 70px;
        height: 70px;
    }

    .highlight-icon svg,
    .highlight-icon img {
        width: 36px;
        height: 36px;
    }
}

/* Mobile - 2 columns */
@media (max-width: 768px) {
    .highlights-section {
        padding: 70px 0;
    }

    .highlights-container {
        padding: 0 20px;
    }

    .highlights-header {
        margin-bottom: 50px;
    }

    .highlights-accent {
        width: 50px;
        margin-bottom: 24px;
    }

    .highlights-heading {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .highlights-subtitle {
        font-size: 1.05rem;
    }

    .highlights-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .highlight-card {
        padding: 35px 24px;
        border-radius: 16px;
    }

    .highlight-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .highlight-icon svg,
    .highlight-icon img {
        width: 32px;
        height: 32px;
    }

    .highlight-card h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .highlight-card p {
        font-size: 0.9rem;
    }

    /* Less aggressive hover on mobile */
    .highlight-card:hover {
        transform: translateY(-4px);
    }
}

/* Small mobile - 1 column */
@media (max-width: 480px) {
    .highlights-section {
        padding: 60px 0;
    }

    .highlights-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .highlight-card {
        padding: 32px 24px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .highlight-card,
    .highlight-icon,
    .highlight-card::before {
        transition-duration: 0.01ms !important;
    }

    .highlight-card:hover {
        transform: none;
    }

    .highlight-card:hover .highlight-icon {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .highlights-section {
        padding: 40px 0;
    }

    .highlights-wrapper {
        gap: 20px;
    }

    .highlight-card {
        border: 1px solid #e5e7eb;
        break-inside: avoid;
    }

    .highlight-card::before {
        display: none;
    }
}

/* Alternative Layout: Row-based for fewer items */
.highlights-wrapper.row-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

/* Alternative Style: Minimal with no borders */
.highlight-card.minimal {
    border: none;
    background: transparent;
    padding: 40px 25px;
}

.highlight-card.minimal:hover {
    background: linear-gradient(to bottom, #ffffff 0%, #f9fdf7 100%);
    border-radius: 20px;
}

/* ==========================================
   MAP SECTION
   ========================================== */
.map-section {
    padding: 80px 0 0;
    background: #fff;
}
.map-section.no-header {
    padding: 60px 0 0;
}
.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    border: 3px solid #e8e8e8;
}
.map-container iframe {
    display: block;
    width: 100%;
}
/* Transport Info - Flexbox til at sikre ensartet bredde */
.map-transport-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0;
}
.transport-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    flex: 1 1 calc(25% - 19px); /* 25% minus gap for 4 kolonner */
    min-width: 240px;
}
.transport-icon {
    font-size: 1.8rem;
    color: #9BC53D;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.transport-item > div {
    flex: 1;
}
.transport-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 2px 0;
    text-transform: none;
    letter-spacing: normal;
}
.transport-item p {
    font-size: 0.88rem;
    line-height: 1.4;
    color: #888;
    margin: 0;
}
/* Responsive */
@media (max-width: 1024px) {
    .transport-item {
        flex: 1 1 calc(33.333% - 17px); /* 3 kolonner */
        min-width: 220px;
    }
}
@media (max-width: 768px) {
    .map-section {
        padding: 60px 0 0;
    }
    .map-section.no-header {
        padding: 40px 0 0;
    }
    .map-container {
        border-radius: 8px;
        border-width: 2px;
    }
    .map-container iframe {
        height: 350px !important;
    }
    .map-transport-info {
        gap: 18px;
        margin: 25px auto 0;
    }
    .transport-item {
        flex: 1 1 calc(50% - 9px); /* 2 kolonner */
        min-width: 200px;
    }
    .transport-icon {
        font-size: 1.6rem;
        width: 34px;
        height: 34px;
    }
    .transport-item h4 {
        font-size: 0.9rem;
    }
    .transport-item p {
        font-size: 0.85rem;
    }
}
@media (max-width: 640px) {
    .transport-item {
        flex: 1 1 100%; /* 1 kolonne */
        min-width: auto;
    }
    .map-transport-info {
        gap: 15px;
    }
    .transport-item {
        gap: 10px;
    }
}
/* ==========================================
   CTA SECTION - MODERNIZED
   Med valgfri Skoleleder Velkomst
   Matches hero and cards design aesthetic
   ========================================== */

.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #9BC53D 0%, #8AB02D 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

.cta-section::before,
.cta-section::after {
    pointer-events: none;
}

/* Når begge sektioner vises */
.cta-section.has-leader {
    padding: 100px 0;
}

/* Container */
.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ==========================================
   SKOLELEDER VELKOMST
   ========================================== */

.leader-welcome {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.leader-image {
    position: relative;
    overflow: hidden;
    max-width: 280px;
}

.leader-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.leader-image:hover img {
    transform: scale(1.05);
}

/* Decorative element around image */
.leader-image::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    pointer-events: none;
}

.leader-content {
    padding: 20px 0;
}

.leader-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
}

.leader-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 28px;
    color: #fff;
    letter-spacing: -0.02em;
}

.leader-text {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.96);
}

.leader-text p {
    margin-bottom: 18px;
}

.leader-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   CTA CONTENT
   ========================================== */

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-accent {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 auto 28px;
    border-radius: 2px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.96);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   CTA BUTTONS - MODERNIZED
   ========================================== */

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 42px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

/* Primary Button - White */
.cta-primary {
    background: #fff;
    color: #8AB02D;
    border-color: #fff;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(155, 197, 61, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-primary:hover {
    background: #fff;
    color: #7FA82D;
    transform: translateY(-3px) scale(1.02);
}

.cta-primary:hover::before {
    transform: scaleX(1);
}

/* Secondary Button - Outline */
.cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 1024px) {
    .cta-section {
        padding: 100px 0;
    }

    .cta-section.has-leader {
        padding: 80px 0;
    }

    .cta-container {
        padding: 0 30px;
    }

    .leader-welcome {
        gap: 50px;
        margin-bottom: 80px;
    }

    .leader-image {
        max-width: 240px;
    }

    .leader-title {
        font-size: 2.2rem;
    }

    .leader-text {
        font-size: 1.05rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1.15rem;
    }
}

/* ==========================================
   RESPONSIVE - MOBIL
   ========================================== */

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }

    .cta-section.has-leader {
        padding: 70px 0;
    }

    .cta-container {
        padding: 0 20px;
    }

    /* Stacker skoleleder-sektionen på mobil */
    .leader-welcome {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .leader-image {
        max-width: 180px;
        margin: 0 auto;
    }

    .leader-image::after {
        inset: -6px;
        border-width: 2px;
    }

    .leader-content {
        text-align: center;
        padding: 0;
    }

    .leader-eyebrow {
        font-size: 0.8rem;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .leader-title {
        font-size: 1.85rem;
        margin-bottom: 24px;
    }

    .leader-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .leader-text p {
        margin-bottom: 16px;
    }

    .cta-accent {
        width: 50px;
        margin-bottom: 24px;
    }

    .cta-title {
        font-size: 1.85rem;
        margin-bottom: 20px;
    }

    .cta-description {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 16px 36px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 70px 0;
    }

    .leader-image {
        max-width: 160px;
    }

    .leader-title {
        font-size: 1.65rem;
    }

    .leader-text {
        font-size: 0.95rem;
    }

    .cta-title {
        font-size: 1.65rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 32px;
        font-size: 1rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    .cta-button,
    .leader-image img,
    .cta-primary::before {
        transition-duration: 0.01ms !important;
    }

    .cta-button:hover,
    .cta-primary:hover,
    .cta-secondary:hover {
        transform: none;
    }

    .leader-image:hover img {
        transform: none;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .cta-section {
        padding: 40px 0;
        background: #9BC53D;
    }

    .cta-section::before,
    .cta-section::after {
        display: none;
    }

    .leader-image::after {
        display: none;
    }

    .cta-buttons {
        display: none;
    }
}

/* ==========================================
   RESPONSIVE - MAIN CONTENT
   ========================================== */

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid .feature-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .highlights-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .featured-cards {
        padding: 60px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cards-grid .feature-card:last-child {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .highlights-section {
        padding: 70px 0;
    }

    .highlights-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .highlights-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .highlight-card {
        padding: 30px 25px;
    }

    .map-section {
        padding: 70px 0;
    }

    .map-container {
        margin-bottom: 30px;
    }

    .map-container iframe {
        height: 350px;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 25px 20px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-title {
        font-size: 1.7rem;
    }
}

/* ==========================================
   FOOTER STYLES - 3 KOLONNER
   ========================================== */

.footer {
    background: #9BC53D;
    color: #fff;
    padding: 60px 0 0;
    margin-top: 0;  /* Ændret fra 80px til 0 */
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 60px;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-main {
    gap: 25px;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
}

/* School Name & Contact */
.footer-school-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-contact p {
    margin: 4px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-spacing {
    margin-top: 12px !important;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Footer Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-transform: none;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    opacity: 0.95;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(4px);
}

/* Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Footer Leader Info */
.footer-leader {
    padding-top: 0;
    border-top: none;
}

.footer-leader:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.footer-leader + .footer-leader {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-role {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-name {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-leader a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 4px 0;
    transition: opacity 0.2s ease;
    opacity: 0.95;
}

.footer-leader a:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    padding: 20px 0;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
    opacity: 0.9;
}

.footer-legal-links a:hover {
    opacity: 1;
}

.footer-separator {
    opacity: 0.5;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 20px 40px;
        gap: 35px;
    }

    .footer-main {
        gap: 20px;
    }

    .footer-logo-img {
        height: 55px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================
   MAP SECTION
   ========================================== */

.map-section {
    padding: 40px 0 80px;
    background: #fff;
}

.map-section.no-header {
    padding: 60px 0 20px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    border: 3px solid #e8e8e8;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Info text under kort - OPDATERET DESIGN */
.map-info-text {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 35px 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #9BC53D;
}

.map-info-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin: 0 0 1.2em 0;
}

.map-info-text p:last-child {
    margin-bottom: 0;
}

.map-info-text strong {
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
}

.map-info-text a {
    color: #9BC53D;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.map-info-text a:hover {
    color: #7A9B28;
}

.map-info-text ul,
.map-info-text ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.map-info-text li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .map-section {
        padding: 60px 0 0;
    }

    .map-section.no-header {
        padding: 40px 0 0;
    }

    .map-container {
        border-radius: 8px;
        border-width: 2px;
    }

    .map-container iframe {
        height: 350px !important;
    }

    .map-info-text {
        margin: 30px auto 0;
        padding: 25px 20px;
    }

    .map-info-text p {
        font-size: 1rem;
    }

    .map-info-text strong {
        font-size: 1.05rem;
    }
}

/* ==========================================
   PAGE TEMPLATE STYLES
   ========================================== */

/* Page Header */
.page-header {
    background: #fff;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e8e8e8;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #9BC53D;
}

.page-excerpt {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
    margin-top: 25px;
    max-width: 800px;
}

/* ==========================================
   FIX TIL FEATURED IMAGE STØRRELSE
   Erstat den eksisterende .page-featured-image sektion med denne
   ========================================== */

/* Featured Image */
.page-featured-image {
    padding: 50px 0;
    background: #fafafa;
}

.page-featured-image .featured-img {
    width: 100%;
    max-width: 900px;          /* Maksimal bredde */
    height: auto;
    max-height: 500px;         /* Maksimal højde */
    object-fit: cover;         /* Beskærer billedet pænt */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;            /* Centrerer billedet */
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .page-featured-image .featured-img {
        max-width: 800px;
        max-height: 450px;
    }
}

/* Responsive - Mobil */
@media (max-width: 768px) {
    .page-featured-image {
        padding: 30px 0;
    }
    
    .page-featured-image .featured-img {
        max-width: 100%;
        max-height: 400px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .page-featured-image .featured-img {
        max-height: 300px;
    }
}

/* Page Content */
.page-content-wrapper {
    padding: 60px 0 80px;
    background: #fff;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Typography inden i page content */
.page-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5em;
}

.page-content h2 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #000;
    margin-top: 2.5em;
    margin-bottom: 1em;
    letter-spacing: -0.3px;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.page-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-top: 1.8em;
    margin-bottom: 0.7em;
}

.page-content ul,
.page-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.page-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.8em;
}

.page-content a {
    color: #9BC53D;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.page-content a:hover {
    border-bottom-color: #9BC53D;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 2em 0;
}

.page-content blockquote {
    border-left: 4px solid #9BC53D;
    padding: 1.5em 2em;
    margin: 2em 0;
    background: #f8f8f8;
    font-style: italic;
    color: #555;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.page-content table th,
.page-content table td {
    padding: 12px 15px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.page-content table th {
    background: #f8f8f8;
    font-weight: 600;
    color: #000;
}

/* Page Links (multi-page content) */
.page-links {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid #e8e8e8;
    font-size: 1.05rem;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.page-links a:hover {
    background: #9BC53D;
    color: #fff;
}

/* Comments Section */
.page-comments {
    padding: 60px 0;
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
}

/* WordPress Blocks Support */
.page-content .wp-block-image {
    margin: 2em 0;
}

.page-content .wp-block-quote {
    border-left: 4px solid #9BC53D;
    padding: 1.5em 2em;
    margin: 2em 0;
    background: #f8f8f8;
}

.page-content .wp-block-button__link {
    background: #9BC53D;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.page-content .wp-block-button__link:hover {
    background: #8AB02D;
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE - PAGE TEMPLATE
   ========================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px;
    }

    .page-title {
        font-size: 1.9rem;
    }

    .page-excerpt {
        font-size: 1.05rem;
        margin-top: 20px;
    }

    .page-featured-image {
        padding: 30px 0;
    }

    .page-content-wrapper {
        padding: 40px 0 60px;
    }

    .page-content {
        max-width: 100%;
    }

    .page-content p,
    .page-content li {
        font-size: 1rem;
    }

    .page-content h2 {
        font-size: 1.6rem;
        margin-top: 2em;
    }

    .page-content h3 {
        font-size: 1.35rem;
    }

    .page-content h4 {
        font-size: 1.15rem;
    }

    .page-content blockquote {
        padding: 1.2em 1.5em;
        margin: 1.5em 0;
    }

    .page-comments {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }

    .page-content h2 {
        font-size: 1.4rem;
    }
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */

.benefits-section {
    padding: 80px 0;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 20px;
    justify-items: center;
}

/* Maksimum bredde per item for at forhindre de bliver for brede */
.benefit-item {
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 280px;
    width: 100%;
}

.benefit-item:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f0f7e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 48px;
    color: #9BC53D;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: #9BC53D;
    transform: scale(1.1);
}

.benefit-item:hover .benefit-icon i {
    color: #fff;
}

.benefit-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.3;
}

.benefit-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ==========================================
   BENEFITS SECTION - RESPONSIVE
   ========================================== */

@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .benefit-icon {
        width: 80px;
        height: 80px;
    }

    .benefit-icon i {
        font-size: 40px;
    }

    .benefit-title {
        font-size: 1.1rem;
    }

    .benefit-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .benefit-icon {
        width: 100px;
        height: 100px;
    }

    .benefit-icon i {
        font-size: 50px;
    }
}

/* ==========================================
   SINGLE POST STYLES
   ========================================== */

/* Post Header */
.post-header {
    background: #fafafa;
    padding: 40px 0 0;
}

.post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.post-category {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(155, 197, 61, 0.12);
    color: #7A9B28;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.post-category:hover {
    background: #9BC53D;
    color: #fff;
    border-color: #9BC53D;
    transform: translateY(-2px);
}

/* Hero Image with Title Overlay */
.post-hero-wrapper {
    margin: 0 0 20px 0;
}

.post-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    min-height: 450px;
    max-height: 500px;
}

.post-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 450px;
    max-height: 500px;
}

/* Dark gradient overlay at bottom */
.post-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Title content over image */
.post-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 40px;
    z-index: 2;
}

.post-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.8px;
    line-height: 1.2;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 20px;
}

/* Green accent line under title */
.post-hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #9BC53D;
    box-shadow: 0 2px 8px rgba(155, 197, 61, 0.4);
}

/* Title fallback uden billede */
.post-title-no-image {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 18px;
}

.post-title-no-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #9BC53D;
}

/* Post Meta - Under billedet */
.post-meta {
    display: flex;
    gap: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 0;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-right: 20px;
}

.post-meta span::after {
    content: '•';
    position: absolute;
    right: 8px;
    color: #ddd;
    font-weight: 400;
}

.post-meta span:last-child::after {
    display: none;
}

.post-meta i {
    color: #9BC53D;
    font-size: 0.875rem;
    opacity: 0.8;
}

.post-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-meta a:hover {
    color: #9BC53D;
}

/* Post Content */
.post-content-wrapper {
    padding: 40px 0 80px;
    background: #fff;
    margin-top: 0;
}

.post-content {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
}

/* Typography inside post content */
.post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5em;
}

.post-content h2 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #000;
    margin-top: 2.5em;
    margin-bottom: 1em;
    letter-spacing: -0.3px;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.post-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-top: 1.8em;
    margin-bottom: 0.7em;
}

.post-content ul,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.post-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.8em;
}

.post-content a {
    color: #9BC53D;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.post-content a:hover {
    border-bottom-color: #9BC53D;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 2em 0;
}

.post-content blockquote {
    border-left: 4px solid #9BC53D;
    padding: 1.5em 2em;
    margin: 2em 0;
    background: #f8f8f8;
    font-style: italic;
    color: #555;
}

/* Post Footer (Tags) */
.post-footer {
    padding: 40px 0;
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.post-tags i {
    color: #9BC53D;
    font-size: 1.1rem;
}

.tags-label {
    font-weight: 600;
    color: #000;
}

.post-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #9BC53D;
    color: #fff;
    border-color: #9BC53D;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation-wrapper {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-previous,
.nav-next {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: #fff;
    border-color: #9BC53D;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(155, 197, 61, 0.15);
}

.nav-next {
    justify-content: flex-end;
    text-align: right;
}

.nav-icon {
    font-size: 1.5rem;
    color: #9BC53D;
    font-weight: 700;
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.nav-title {
    font-size: 1rem;
    color: #000;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================
   BLOG ARCHIVE / LISTING STYLES
   ========================================== */

.blog-post-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 35px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.blog-post-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.blog-post-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.08);
}

.blog-post-content {
    padding: 35px 35px 35px 0;
    display: flex;
    flex-direction: column;
}

.blog-post-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.blog-post-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(155, 197, 61, 0.12);
    color: #7A9B28;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.blog-post-category:hover {
    background: #9BC53D;
    color: #fff;
    border-color: #9BC53D;
}

.blog-post-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.3;
}

.blog-post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #9BC53D;
}

.blog-post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #999;
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-right: 16px;
}

.blog-post-meta span::after {
    content: '•';
    position: absolute;
    right: 6px;
    color: #ddd;
}

.blog-post-meta span:last-child::after {
    display: none;
}

.blog-post-meta i {
    color: #9BC53D;
    font-size: 0.875rem;
    opacity: 0.8;
}

.blog-post-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post-meta a:hover {
    color: #9BC53D;
}

.blog-post-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #9BC53D;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-post-readmore:hover {
    background: #8AB02D;
    transform: translateX(5px);
}

.blog-post-readmore i {
    transition: transform 0.3s ease;
}

.blog-post-readmore:hover i {
    transform: translateX(3px);
}

/* ==========================================
   RESPONSIVE - SINGLE POST
   ========================================== */

@media (max-width: 768px) {
    .post-header {
        padding: 30px 0 0;
    }

    .post-categories {
        margin-bottom: 20px;
    }

    .post-category {
        padding: 4px 12px;
        font-size: 0.75rem;
    }

    /* Hero adjustments */
    .post-hero {
        min-height: 350px;
        max-height: 400px;
        border-radius: 8px;
    }

    .post-hero-img {
        min-height: 350px;
        max-height: 400px;
    }

    .post-hero-content {
        padding: 35px 25px;
    }

    .post-hero-title {
        font-size: 2rem;
        padding-bottom: 16px;
    }

    .post-hero-title::after {
        width: 60px;
        height: 3px;
    }

    .post-title-no-image {
        font-size: 1.9rem;
        margin-bottom: 6px;
        padding-bottom: 15px;
    }

    .post-meta {
        gap: 15px;
        font-size: 0.825rem;
        margin-bottom: 18px;
        padding-bottom: 0;
    }

    .post-meta span {
        padding-right: 15px;
    }

    .post-meta span::after {
        right: 6px;
    }

    .post-content-wrapper {
        padding: 35px 0 60px;
    }

    .post-content p,
    .post-content li {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.6rem;
    }

    .post-content h3 {
        font-size: 1.35rem;
    }

    .post-footer {
        padding: 30px 0;
    }

    .post-navigation-wrapper {
        padding: 40px 0;
    }

    .nav-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-previous,
    .nav-next {
        padding: 20px;
    }

    .nav-next {
        justify-content: flex-start;
        text-align: left;
    }

    /* Blog Archive */
    .blog-post-card {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 30px;
    }

    .blog-post-image {
        height: 250px;
    }

    .blog-post-content {
        padding: 25px;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-post-meta {
        gap: 12px;
        font-size: 0.825rem;
        margin-bottom: 16px;
    }

    .blog-post-meta span {
        padding-right: 12px;
    }

    .blog-post-meta span::after {
        right: 4px;
    }

    .blog-post-excerpt {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .post-header {
        padding: 20px 0 0;
    }

    /* Hero adjustments */
    .post-hero {
        min-height: 300px;
        max-height: 350px;
        border-radius: 6px;
    }

    .post-hero-img {
        min-height: 300px;
        max-height: 350px;
    }

    .post-hero-content {
        padding: 25px 20px;
    }

    .post-hero-title {
        font-size: 1.5rem;
        padding-bottom: 12px;
    }

    .post-hero-title::after {
        width: 50px;
        height: 3px;
    }

    .post-title-no-image {
        font-size: 1.6rem;
        padding-bottom: 12px;
    }

    .post-content h2 {
        font-size: 1.4rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 0.8rem;
        margin-bottom: 16px;
        padding-bottom: 0;
    }

    .post-meta span {
        padding-right: 0;
    }

    .post-meta span::after {
        display: none;
    }

    .post-categories {
        gap: 6px;
        margin-bottom: 15px;
    }

    .post-category {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .nav-previous,
    .nav-next {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .blog-post-title {
        font-size: 1.3rem;
    }

    .blog-post-content {
        padding: 20px;
    }
}

/* ==========================================
   STAFF GRID WRAPPER
   ========================================== */
.staff-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 55px;
    padding: 50px 0;
    max-width: 1400px;
    margin: 0 auto;
}


/* ===========================================
   STAFF ITEM
   =========================================== */
.staff-item {
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}


/* ===========================================
   BILLEDER
   =========================================== */
.staff-item img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 10px;
    background: #f3f3f3;
    position: relative;
}

/* ===========================================
   NAVN
   =========================================== */
.staff-item h3 {
    font-size: 21px;
    font-weight: 600;
    color: #222;
    margin: 20px 0 6px;
}


/* ===========================================
   STILLING (vises under navn)
   =========================================== */
.staff-item p:nth-of-type(1) {
    font-size: 15px;
    color: var(--moerk-groen, #4e7d2a);
    margin-bottom: 6px;
    font-weight: 500;
}


/* ===========================================
   TELEFON & EMAIL
   =========================================== */
.staff-item p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.staff-item a[href^="mailto"] {
    color: var(--primar-groen, #88bb3f);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: .2s;
}

.staff-item a[href^="mailto"]:hover {
    border-bottom: 1px solid var(--moerk-groen, #4e7d2a);
}


/* ===========================================
   MOBILE LAYOUT
   =========================================== */
@media (max-width: 600px) {
    .staff-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .staff-item::before {
        top: calc(330px - -10px);
    }
}
