body {
    padding-top: 80px;
    /* anpassen je nach Header-Höhe */
    margin: 0;
    /* font-family: Arial, sans-serif; */
    font-family: "Lato", sans-serif;
    color: #3d3d43;
    background: #fff;
    font-size: 18px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    letter-spacing: .001rem;
}

a {
    text-decoration: none;
    /* color: inherit; */
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

h1 {
    font-size: 150%;
}

.h2 {
    font-size: 140%;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Default: KEINE Sidebar → volle Breite */
.no-sidebar .content-wrapper {
    display: block;
}

/* Sidebar vorhanden → 2/1 Layout */
.has-sidebar .content-wrapper {
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    gap: 30px;
}

/* .content-sidebar {
    background: #f5f6f6;
    padding: 20px;
} */

.mod-articles-items li {
    list-style: none;
    background: #f1f8fe;
    padding: 12px;
    margin-bottom: 12px;
}

.mod-articles-items {
    padding-left: 0;
    margin-left: 0;
    margin-top: 0;
}



@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

/* Header Layout */
.header-inner {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
}

.nav-header {
    /* font-size: 112.5%; */
    font-size: 125%;
}

.logo {
    position: relative;
    display: block;
    left: 0;
    top: 0;
    width: 20%;
    height: 100%;
}

/* Navigation */
.nav-top {
    position: relative;
    float: left;
    /* width: 80%; */
    /* height: 20%; */
    /* border: solid 1px red; */

}

.nav {
    position: relative;
    /* width: 80%; */
    /* height: 20%; */
    /* border: solid 1px blue; */
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav li {
    /* position: relative; */
}

.nav a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

/* Dropdown */
.nav li ul {
    display: none;
    position: absolute;
    background: white;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav li:hover ul {
    display: block;
}

.nav .nav-item,
.nav .nav-item a {
    padding: 20px 0;
    /* cursor: pointer; */
}

.nav-item * {
    cursor: pointer;
}

/* .breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    text-decoration: none;
    color: #003366;
}

.breadcrumbs a:hover {
    text-decoration: underline;
} */


.breadcrumbs {
    padding: 18px 0 10px;
    font-size: 100%;
    color: #666;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;

    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li + li::before {
    content: "›";
    margin: 0 8px;
    font-size: 150%;
    color: #999;
}

.breadcrumb a {
    text-decoration: none;
    color: #555;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #003366;
}

.breadcrumb .active {
    color: #111;
    font-weight: 500;
}

/* Burger (Mobile) */
.burger {
    display: none;
    position: absolute;
    right: 5%;
    font-size: 200%;
    cursor: pointer;
}

@media (max-width: 900px) {

    /* .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .burger {
        display: block;
    } */


    .burger {
        display: block;
    }

    .nav-top {
        display: none;

        position: absolute;
        top: 80px;
        left: 0;

        width: 100%;
        background: white;

        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Wenn geöffnet */
    .nav-top.active {
        display: block;
    }

    /* Menü vertikal */
    .nav-top ul {
        flex-direction: column;
        gap: 15px;
    }



}

/* Hero */
.hero {
    height: 0px;
    /* 500px */
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections */
section {
    padding: 0px 0;
    /* 40px 0; */
}

.content {
    margin-top: 40px;
}

/* Cards (für News/Teaser) */
.news .moduletable,
.events .moduletable {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hhu-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hhu-card {
    background: white;
    border: 1px solid #eee;
    transition: 0.3s;
}

.hhu-card:hover {
    transform: translateY(-5px);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

@media (max-width: 900px) {
    .hhu-news-grid {
        grid-template-columns: 1fr;
    }
}


/* Hero Bild */
.article-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Container */
.article-container {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
}

/* Meta */
.article-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

/* Titel */
.article-title {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Inhalt */
.article-content {
    line-height: 1.7;
    font-size: 18px;
}

@media (max-width: 900px) {

    .article-title {
        font-size: 26px;
    }

    .article-hero img {
        height: 250px;
    }
}


.list-title {
    font-size: 125%;
    font-weight: 600;
    /* margin-bottom: 30px; */
    /* border-bottom: 1px solid #ddd; */
    /* padding-bottom: 10px; */
    text-align: left;
    /* margin-left: 0; */
    background: #f1f8fe;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.visually-hidden {
    display: none;
}

#categorylist_header_title {
    display: none;
}

/* Footer */
.footer {
    background: #003863;
    color: #fff;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #444;
    padding: 30px 15px;
    text-align: center;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* padding: 30px 15px; */
    /* justify-content: center; */
    gap: 30px;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-size: 112.5%;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-main {
    padding: 30px 15px;
}