/*
Theme Name: SOLA Chiemgau
Theme URI: https://sola-chiemgau.de/
Author: SOLA Chiemgau
Description: Anmeldungs-Theme im Look von sola-chiemgau.de. Nachtblau, Lagerfeuer-Orange und das SOLA-Logo rund um die MUI-Formulare.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: sola-chiemgau
*/

/* latin-ext */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/baloo-2-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/baloo-2-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/baloo-2-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/baloo-2-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/baloo-2-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/baloo-2-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Caveat Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/caveat-brush-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Caveat Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/caveat-brush-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --orange: #f09c23;
    --sun: #ffd166;
    --ink: #2b2622;
    --night: #0d1221;
    --paper: #fffaf4;
    --notice: #fff1d6;
    --font-display: "Baloo 2", ui-rounded, system-ui, sans-serif;
    --font-body: "Nunito", system-ui, sans-serif;
    --font-hand: "Caveat Brush", "Segoe Print", cursive;
    --container: 64rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #fff;
    background: var(--night);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 6px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--sun);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(42rem 22rem at 92% -6rem, rgba(255, 190, 90, 0.22), transparent 70%),
        radial-gradient(26rem 16rem at -6rem 8rem, rgba(240, 156, 35, 0.14), transparent 68%),
        var(--night);
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    min-height: 6.25rem;
    padding-block: 0.75rem;
    position: relative;
}

.brand,
.custom-logo-link {
    display: inline-flex;
    flex: none;
    line-height: 0;
    text-decoration: none;
}

.brand__logo,
.custom-logo {
    width: 84px;
    height: 84px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.nav-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    position: relative;
}

.nav-toggle__bars {
    margin-inline: auto;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
}

.nav a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a {
    background: var(--orange);
    color: var(--ink);
}

.nav li {
    position: relative;
}

.nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 20;
    min-width: 12rem;
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    background: #171e33;
    border-radius: 1rem;
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7);
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
    display: grid;
}

.nav .sub-menu a {
    border-radius: 0.7rem;
}

.site-main {
    flex: 1;
    width: min(100% - 2rem, var(--container));
    margin: 0.5rem auto 3.5rem;
    display: grid;
    gap: 1.5rem;
}

.sheet {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.6rem);
    border-radius: 1.6rem;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.75);
}

.sheet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--orange), var(--sun));
}

.sheet__title {
    margin: 0.35rem 0 1.35rem;
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.015em;
}

.sheet__title a {
    color: inherit;
    text-decoration: none;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin: 0 0 1rem;
}

.entry-content p:empty {
    display: none;
    margin: 0;
}

.entry-content a {
    color: #c56e00;
    font-weight: 800;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 1.5rem 0 0.6rem;
}

.entry-content .has-text-align-center {
    text-align: center;
}

.entry-content p.has-text-align-center {
    margin: 0;
    padding: 0.15rem 1.1rem;
    background: var(--notice);
    font-weight: 800;
}

.entry-content p.has-text-align-center:first-of-type {
    padding-top: 0.95rem;
    border-radius: 1rem 1rem 0 0;
}

.entry-content p.has-text-align-center + p.has-text-align-center {
    padding-bottom: 0.95rem;
    border-radius: 0 0 1rem 1rem;
}

.site-footer {
    padding: 1.25rem 0 1.6rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

.site-footer__mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.site-footer__mail svg,
.site-footer__mail:hover {
    color: var(--orange);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.25rem;
}

.site-footer__legal a {
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu a {
    text-decoration: none;
}

#event-registration-form-root {
    margin-top: 1.6rem;
    font-family: var(--font-body);
    color: var(--ink);
}

#event-registration-form-root .MuiTypography-root,
#event-registration-form-root .MuiFormLabel-root,
#event-registration-form-root .MuiFormControlLabel-label,
#event-registration-form-root .MuiInputBase-input,
#event-registration-form-root .MuiMenuItem-root,
.MuiMenu-paper,
.MuiPickersPopper,
.MuiDialog-root {
    font-family: var(--font-body);
}

#event-registration-form-root .MuiTypography-h4,
#event-registration-form-root .MuiTypography-h5,
#event-registration-form-root .MuiTypography-h6 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-top: 0.35rem;
}

#event-registration-form-root .MuiFormLabel-root {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

#event-registration-form-root .MuiFormLabel-asterisk {
    color: #d4841a;
}

#event-registration-form-root .MuiOutlinedInput-notchedOutline {
    border-color: rgba(43, 38, 34, 0.28);
    border-radius: 12px;
}

#event-registration-form-root .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,
#event-registration-form-root .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
    border-color: var(--orange);
}

#event-registration-form-root .MuiOutlinedInput-root.Mui-focused {
    box-shadow: 0 0 0 3px rgba(240, 156, 35, 0.28);
    border-radius: 12px;
}

#event-registration-form-root .MuiCheckbox-root.Mui-checked,
#event-registration-form-root .MuiRadio-root.Mui-checked,
#event-registration-form-root .MuiCheckbox-root.MuiCheckbox-indeterminate {
    color: var(--orange);
}

#event-registration-form-root .MuiLink-root {
    color: #c56e00;
    font-weight: 800;
}

#event-registration-form-root .MuiButton-contained {
    --variant-containedBg: var(--orange);
    --variant-containedColor: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    background-color: var(--orange);
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 1.7rem 0.8rem;
    box-shadow: 0 4px rgba(0, 0, 0, 0.25);
}

#event-registration-form-root .MuiButton-contained:hover {
    background-color: #ffb03a;
    box-shadow: 0 6px rgba(0, 0, 0, 0.25);
}

#event-registration-form-root .MuiButton-contained:active {
    box-shadow: 0 2px rgba(0, 0, 0, 0.25);
}

#event-registration-form-root .MuiButton-contained.Mui-disabled {
    color: rgba(43, 38, 34, 0.45);
    background-color: #f3d7a4;
}

#event-registration-form-root .MuiAlert-root {
    margin-top: 1.25rem;
    border-radius: 1rem;
    font-family: var(--font-body);
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% - 0.4rem);
        left: 0;
        right: 0;
        z-index: 30;
        padding: 0.5rem;
        border-radius: 1.1rem;
        background: #171e33;
        box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    }

    .site-nav.is-open {
        display: block;
    }

    .nav,
    .nav .sub-menu {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
        justify-items: stretch;
        position: static;
        min-width: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav a,
    .nav .sub-menu a {
        display: flex;
        width: 100%;
        justify-content: flex-start;
    }

    .brand__logo,
    .custom-logo {
        width: 68px;
        height: 68px;
    }

    .site-header__bar {
        min-height: 5rem;
    }

    .site-footer__inner,
    .site-footer__legal {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
