/* --------------------------------------
   SixZeroX Design System
----------------------------------------- */

@import url("design-system.css");
@import url("typography.css");
@import url("layout.css");
@import url("buttons.css");
@import url("cards.css");


/* Components */
@import url("components/homepage-sections.css?v=4");
@import url("components/hero.css");
@import url("components/quick-links.css");
@import url("components/weekly-events.css");
@import url("components/news-home.css");
@import url("components/identity.css");
@import url("components/disciplines.css");
@import url("components/location.css");
@import url("components/join.css");
@import url("components/footer.css");
@import url("components/menu-future.css");
@import url("components/news.css");

/* Pages */
@import url("pages/home.css");
@import url("pages/sport.css");
@import url("pages/dabei-sein.css");
@import url("pages/termine.css");
@import url("pages/content-pages.css");
@import url("pages/gesellschaft.css");
@import url("pages/tradition.css");

/* --------------------------------------------------
   KPHSG Offline Page
--------------------------------------------------- */

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body.offline-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;
    box-sizing: border-box;

    background: #f7f8fa;

    font-family: "Segoe UI", Arial, sans-serif;
    color: #233238;
}

.maintenance-container {
    width: 100%;
    max-width: 700px;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0 auto;
    padding: 50px 40px;
    box-sizing: border-box;

    text-align: center;
}

.club-logo {
    display: block;

    width: 140px;
    max-width: 60%;
    height: auto;

    margin: 0 auto 55px;
}

.maintenance-container h1 {
    margin: 0;

    color: #1f6174;

    font-size: clamp(2rem, 5vw, 2.7rem);
    line-height: 1.15;
    font-weight: 700;
}

.subtitle {
    margin: 18px 0 28px;

    font-size: clamp(1.5rem, 3vw, 1.35rem);
    line-height: 1.5;
    font-weight: 500;
}

.text {
    max-width: 620px;

    margin: 0 auto 40px;

    color: #5f6b70;

    font-size: 1.05rem;
    line-height: 1.75;
}

.login-box {
    width: 100%;
    max-width: 340px;

    margin: 0 auto;
    text-align: left;
}

.login-box input {
    width: 100%;

    margin-bottom: 15px;
    padding: 12px 16px;

    box-sizing: border-box;

    border: 1px solid #d9dfe2;
    border-radius: 10px;

    background: #fff;

    font: inherit;
}

.login-box button {
    width: 100%;

    padding: 12px 16px;

    border: 0;
    border-radius: 10px;

    background: #1f6174;
    color: #fff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;
}

.login-box button:hover,
.login-box button:focus {
    background: #184c5a;
}

@media (max-width: 600px) {
    body.offline-page {
        align-items: flex-start;
        padding-top: 40px;
    }

    .maintenance-container {
        padding: 30px 10px;
    }

    .club-logo {
        width: 140px;
        margin-bottom: 28px;
    }
}

.text:after{

    content:"";

    display:block;

    width:80px;
    height:2px;

    background:#d8b46a;

    margin:40px auto 0;

}


.mod-articles-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --------------------------------------------------
   Header - transparent hero overlay
-------------------------------------------------- */

.sx-header {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;

    width: 100%;

    padding-top: 1.25rem;
    padding-bottom: 1.25rem;

    padding-left: max(
        1.5rem,
        calc((100vw - var(--sx-container-width)) / 2 + 1.5rem)
    );

    padding-right: max(
        1.5rem,
        calc((100vw - var(--sx-container-width)) / 2 + 1.5rem)
    );

    box-sizing: border-box;

    z-index: 1000;

    background: transparent;
    
    transition: 
      background 250ms ease,
      box-shadow 250ms ease,
}


/* Neutralize Cassiopeia container behaviour inside header */

.sx-header > .grid-child {
    width: auto;
    max-width: none;

    margin: 0;
    padding: 0;
}


.sx-header .navbar-brand {
    margin: 0;
    padding: 0;
}


/* Menu sits beside logo instead of being pushed to far right */

.sx-header .container-nav {
    margin-left: clamp(2.5rem, 4vw, 4.5rem);
}


/* Logo */

.sx-header .brand-logo img {
    display: block;

    width: auto;
    height: 90px;
}


/* Navigation */

.sx-header .mod-menu {
    gap: clamp(1.25rem, 2vw, 2rem);
}


.sx-header .mod-menu > li > a,
.sx-header .mod-menu > li > span {
    color: #124f50;

    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;
}

.sx-header.is-scrolled {

    position: fixed !important;

    top: 0;
    left: 0;
    width: 100%;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(10px);

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);

}


.sx-header.is-scrolled .brand-logo img {

    height: 60px;

}


.sx-header.is-scrolled .mod-menu > li > a {

    color: var(--sx-color-primary-dark);

}

/* --------------------------------------------------
   Mobile Header
-------------------------------------------------- */

.sx-menu-toggle {

    display: none;

}

@media (max-width: 1023px) {


    .sx-header {

        position: fixed;

        top: 0;
        left: 0;

        background: transparent;
        box-shadow: none;

        padding-top: 1rem;
        padding-bottom: 1rem;

    }


    .sx-header.is-scrolled {

        background: rgba(255,255,255,0.96);

        backdrop-filter: blur(10px);

        box-shadow: 0 4px 15px rgba(0,0,0,0.08);

    }


    .sx-header .brand-logo img {

        height: 60px;

    }


    .sx-header .grid-child.container-nav {

        display: none;

    }


    .sx-menu-toggle {

        display: block;

        margin-left: auto;

        border: none;

        background: transparent;

        color: var(--sx-color-primary-dark);

        font-size: 1.8rem;

        line-height: 1;

        cursor: pointer;

    }
    
    .sx-header,
    .sx-header > *,
    .sx-header .grid-child,
    .sx-header .container-nav {
        background: transparent !important;
    }

}

/* --------------------------------------------------
   Mobile Fullscreen Menu
-------------------------------------------------- */

.sx-mobile-menu {

    position: fixed;
    inset: 0;
    
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    z-index: 1100;

    background: var(--sx-color-primary-dark);

    color: #ffffff;

    opacity: 0;

    visibility: hidden;

    transform: translateX(100%);

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;

}


.sx-mobile-menu.is-open {

    opacity: 1;

    visibility: visible;

    transform: translateX(0);

}


.sx-mobile-menu__inner {

    display: flex;

    flex-direction: column;

    height: 100%;

    padding: 2rem 2rem 2rem;

    box-sizing: border-box;

}


.sx-mobile-menu a {

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #ffffff;

    text-decoration: none;

}

.sx-mobile-menu__logo img {

    width: 80px;
    height: auto;

    display: block;
    margin-bottom: 1.3rem;


}

.sx-mobile-menu__main a {

    padding: 0.8rem 0;

    font-size: 1.6rem;

    font-weight: 600;

}


.sx-mobile-menu__quick a {

    padding: .6rem 0;

    font-size: 1.1rem;

}


.sx-mobile-menu__member a {

    font-size: 1.2rem;

    font-weight: 600;

}


.sx-mobile-menu__divider {

    height: 1px;

    margin: 1.5rem 0;

    background: rgba(255,255,255,.25);

}

.sx-mobile-menu__close {

   position: fixed;

   top: 1.5rem;
   right: 1.5rem;

   background: none;
   border: none;

   color: white;

   font-size: 2rem;
   line-height: 1;

   cursor: pointer;

}

