:root {
    --bg-main: #12126c;
    --bg-main-rgb: 18, 18, 108;
    --radius-default: 20px;
    --panel: #13198a;
    --panel-border: #09d5d2;
    --text-main: #f3f7ff;
    --text-soft: #bed5ff;
    --accent: #00e9bf;
    --font-main: "Ubuntu Condensed", "Trebuchet MS", "Gill Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-main);
    background:
        radial-gradient(1200px 700px at 70% -10%, #2d3cb8 0%, transparent 55%),
        var(--bg-main);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("/static/images/fcneuhadern-engraving-from-logo.c29e50029af1.png");
    background-size: 190px 190px;
    background-repeat: repeat;
    background-position: 0 0;
    opacity: 0.16;
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

a {
    color: var(--accent);
}

.container {
    width: min(1160px, 88vw);
    margin: 0 auto;
}

.site-header {
    padding: 1rem 0;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand {
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.08em;
    font-size: 1.05rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
}

.auth-status {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.auth-link {
    text-decoration: none;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    color: var(--text-main);
}

.auth-link:hover {
    color: var(--accent);
}

.editor-btn,
.editor-btn-secondary,
.editor-btn-third {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.editor-btn {
    color: #08104f;
    background: linear-gradient(135deg, #22f3cb 0%, var(--accent) 100%);
    border-color: #49ffe1;
    box-shadow: 0 10px 24px rgba(0, 233, 191, 0.28);
}

.editor-btn:hover,
.editor-btn:focus-visible {
    color: #08104f;
    background: linear-gradient(135deg, #5dffe0 0%, #10f7cf 100%);
    transform: translateY(-1px);
}

.editor-btn-secondary {
    color: var(--text-main);
    background: linear-gradient(135deg, #2936a7 0%, #1a228d 100%);
    border-color: rgba(9, 213, 210, 0.8);
    box-shadow: 0 10px 24px rgba(9, 213, 210, 0.2);
}

.editor-btn-secondary:hover,
.editor-btn-secondary:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, #3645bf 0%, #2531a6 100%);
    transform: translateY(-1px);
}

.editor-btn-third {
    color: var(--text-soft);
    background: rgba(var(--bg-main-rgb), 0.22);
    border-color: rgba(190, 213, 255, 0.55);
}

.editor-btn-third:hover,
.editor-btn-third:focus-visible {
    color: #ffffff;
    background: rgba(190, 213, 255, 0.2);
    border-color: rgba(190, 213, 255, 0.82);
    transform: translateY(-1px);
}

.editor-btn:focus-visible,
.editor-btn-secondary:focus-visible,
.editor-btn-third:focus-visible {
    outline: 3px solid rgba(9, 213, 210, 0.45);
    outline-offset: 2px;
}

.auth-section {
    max-width: 540px;
    margin-inline: auto;
}

.auth-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    padding: 1rem;
    background: linear-gradient(180deg, #172091, #121777);
}

.auth-card h1 {
    margin: 0 0 0.8rem;
    color: var(--accent);
}

.auth-form {
    display: grid;
    gap: 0.55rem;
}

.auth-form label {
    color: var(--text-soft);
}

.auth-form input {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    background: #0f1570;
    color: var(--text-main);
    padding: 0.55rem 0.65rem;
}

.auth-form button {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    background: #0f1570;
    color: var(--accent);
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    font-size: 1rem;
}

.auth-error {
    border: 1px solid #ff6d86;
    border-radius: var(--radius-default);
    background: rgba(255, 109, 134, 0.12);
    color: #ffd3dc;
    padding: 0.55rem 0.65rem;
}

main.container {
    padding-bottom: 2.5rem;
}

.news-slider {
    width: calc(100vw - 60px);
    margin-left: calc(50% - 50vw + 30px);
    margin-right: calc(50% - 50vw + 30px);
    margin-top: 0.2rem;
    margin-bottom: calc(1.2rem + 20px);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-default);
    overflow: hidden;
    height: 60vh;
    background:
        radial-gradient(1200px 700px at 70% -10%, #2d3cb8 0%, transparent 55%),
        var(--bg-main);
}

.slider-track {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
    background:
        radial-gradient(1200px 700px at 70% -10%, #2d3cb8 0%, transparent 55%),
        var(--bg-main);
}

.slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.slide-overlay {
    position: absolute;
    max-width: 56ch;
    background: linear-gradient(135deg, rgba(var(--bg-main-rgb), 0.88), rgba(var(--bg-main-rgb), 0.62));
    border-radius: var(--radius-default);
    padding: 0.7rem 0.9rem;
    backdrop-filter: blur(2px);
    border-width: 0;
    border-style: solid;
    border-color: var(--overlay-border-color, rgba(9, 213, 210, 0.45));
}

.overlay-pos--bottom-left {
    left: clamp(0.8rem, 4vw, 2.5rem);
    bottom: 2.3rem;
}

.overlay-pos--bottom-right {
    right: clamp(0.8rem, 4vw, 2.5rem);
    bottom: 2.3rem;
}

.overlay-pos--bottom-center {
    left: 50%;
    bottom: 2.3rem;
    transform: translateX(-50%);
}

.overlay-style--teal {
    background: linear-gradient(135deg, rgba(var(--bg-main-rgb), 0.88), rgba(var(--bg-main-rgb), 0.62));
}

.overlay-style--white {
    background: linear-gradient(135deg, rgba(var(--bg-main-rgb), 0.88), rgba(var(--bg-main-rgb), 0.62));
}

.overlay-style--dark {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));
}

.overlay-style--minimal {
    background: transparent;
    backdrop-filter: none;
}

/* Border-Seiten */
.overlay-border--all          { border-width: 1px; }
.overlay-border--top          { border-width: 1px 0 0 0; }
.overlay-border--bottom       { border-width: 0 0 1px 0; }
.overlay-border--left         { border-width: 0 0 0 1px; }
.overlay-border--right        { border-width: 0 1px 0 0; }
.overlay-border--top-bottom   { border-width: 1px 0 1px 0; }
.overlay-border--top-left     { border-width: 1px 0 0 1px; }
.overlay-border--top-right    { border-width: 1px 1px 0 0; }
.overlay-border--bottom-left  { border-width: 0 0 1px 1px; }
.overlay-border--bottom-right { border-width: 0 1px 1px 0; }
.overlay-border--left-right   { border-width: 0 1px 0 1px; }
.overlay-border--none         { border-width: 0; }

/* Border-Typ */
.overlay-border-type--solid  { border-style: solid; }
.overlay-border-type--dashed { border-style: dashed; }
.overlay-border-type--dotted { border-style: dotted; }

.slide-overlay h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    color: var(--accent);
}

.slide-overlay p {
    margin: 0.3rem 0 0;
    color: var(--text-soft);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(12, 22, 105, 0.66);
    color: #fefefe;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.slider-arrow.prev {
    left: 15rem;
}

.slider-arrow.next {
    right: 15rem;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    transition: transform 180ms ease, width 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.slider-dot.is-active {
    width: 26px;
    background: #fefefe;
    border-color: #fefefe;
    transform: translateY(-1px);
}

.news-slider .slider-arrow {
    border-color: var(--accent);
    color: var(--accent);
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
}

.news-slider .slider-dot {
    border-color: var(--accent);
}

.news-slider .slider-dot.is-active {
    background: var(--accent);
}

.hero {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: clamp(2rem, 4vw, 3.2rem);
    align-items: center;
    margin: 1rem 0 2rem;
}

.hero-logo {
    width: 100%;
    border-radius: var(--radius-default);
    transform: perspective(900px) rotateY(-4deg) rotateX(1.5deg);
    box-shadow:
        0 2px 0 #fefefe,
        0 14px 24px rgba(0, 0, 0, 0.4),
        0 0 18px rgba(254, 254, 254, 0.25);
}

.hero-text {
    font-size: 1.35rem;
    line-height: 1.45;
    max-width: 42ch;
    margin: 0;
    padding-left: 0.45rem;
    overflow-wrap: break-word;
}

.section-block {
    margin: 2rem 0;
}

.editor-flex-grid {
    --grid-desktop: 1fr 1fr;
    --grid-tablet: 1fr 1fr;
    --grid-mobile: 1fr;
    display: grid;
    grid-template-columns: var(--grid-desktop);
    gap: 0.8rem;
    margin: 0.8rem 0;
}

.editor-flex-grid__item {
    border: 1px solid rgba(9, 213, 210, 0.45);
    border-radius: var(--radius-default);
    padding: 0.7rem 0.9rem;
    background: rgba(18, 32, 116, 0.18);
}

.editor-flex-grid__item > *:first-child {
    margin-top: 0;
}

.editor-flex-grid__item > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .editor-flex-grid {
        grid-template-columns: var(--grid-tablet);
    }
}

@media (max-width: 760px) {
    .editor-flex-grid {
        grid-template-columns: var(--grid-mobile);
    }
}

.section-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 1.2rem;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1rem;
    text-align: center;
}

.training-grid h3 {
    margin: 0;
    font-size: 1.6rem;
    font-family: var(--font-main);
}

.training-grid p {
    margin-top: 0.35rem;
    font-size: 1.1rem;
}

.feature-post {
    display: grid;
    grid-template-columns: minmax(260px, 520px) 1fr;
    gap: 1rem;
    align-items: center;
}

.feature-post img {
    width: 100%;
    border-radius: var(--radius-default);
}

.feature-post h3 {
    color: var(--accent);
    font-size: 1.7rem;
    margin: 0;
}

.feature-post p {
    color: var(--text-soft);
}

.featured-slider {
    position: relative;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    background: linear-gradient(180deg, #172091, #121777);
    overflow: hidden;
    min-height: 300px;
}

.featured-track {
    position: relative;
    min-height: 300px;
}

.featured-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 280ms ease;
    pointer-events: none;
}

.featured-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.featured-slide-content {
    height: 100%;
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(260px, 520px) 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}

.featured-slide-content img {
    width: 100%;
    height: 100%;
    max-height: 270px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-default);
    background: #0d1361;
    padding: 0.35rem;
}

.featured-slide-content h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--accent);
}

.featured-slide-content p {
    color: var(--text-soft);
    margin: 0.6rem 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.featured-empty {
    border: 1px dashed var(--panel-border);
    border-radius: var(--radius-default);
    padding: 1rem;
    margin: 0;
}

.featured-empty h3 {
    margin: 0;
}

.detail-post {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    background: linear-gradient(180deg, #172091, #121777);
    padding: 1.2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 0.8rem;
}

.detail-post h1 {
    margin-top: 0;
    color: var(--accent);
}

.detail-post-image {
    display: block;
    width: min(760px, 100%);
    max-height: 420px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-default);
    background: #0d1361;
    padding: 0.4rem;
}

.detail-post-excerpt {
    font-size: 1.2rem;
    color: var(--text-soft);
}

.detail-post-content {
    font-size: 1.1rem;
    line-height: 1.5;
}

.detail-post-content img {
    display: block;
    max-width: 100%;
    height: auto !important;
}

.detail-post-content figure {
    margin: 0.8rem auto;
    max-width: 100%;
}

.detail-post-content figure img {
    width: 100%;
    height: auto;
}

.detail-post-content .img-size-thumb {
    width: 15% !important;
}

.detail-post-content figure.img-size-thumb {
    width: 15% !important;
}

.detail-post-content .img-size-small {
    width: 30% !important;
}

.detail-post-content figure.img-size-small {
    width: 30% !important;
}

.detail-post-content .img-size-medium {
    width: 50% !important;
}

.detail-post-content figure.img-size-medium {
    width: 50% !important;
}

.detail-post-content .img-size-large {
    width: 75% !important;
}

.detail-post-content figure.img-size-large {
    width: 75% !important;
}

.detail-post-content .img-size-default {
    width: auto !important;
    max-width: 100%;
}

.detail-post-content figure.img-size-default {
    width: auto !important;
    max-width: 100%;
}

@media (max-width: 980px) {
    .detail-post-content .img-size-thumb,
    .detail-post-content figure.img-size-thumb {
        width: 35% !important;
    }

    .detail-post-content .img-size-small,
    .detail-post-content figure.img-size-small {
        width: 55% !important;
    }
}

@media (max-width: 760px) {
    .detail-post-content figure,
    .detail-post-content figure.image,
    .detail-post-content figure.image-style-align-left,
    .detail-post-content figure.image-style-align-right,
    .detail-post-content figure.image-style-side,
    .detail-post-content .img-size-thumb,
    .detail-post-content .img-size-small,
    .detail-post-content .img-size-medium,
    .detail-post-content .img-size-large,
    .detail-post-content figure.img-size-thumb,
    .detail-post-content figure.img-size-small,
    .detail-post-content figure.img-size-medium,
    .detail-post-content figure.img-size-large,
    .detail-post-content figure[style*='width'] {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .detail-post-content figure img,
    .detail-post-content figure[style*='width'] img,
    .detail-post-content img[style*='width'] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1rem;
}

.news-posts-carousel {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    background: linear-gradient(180deg, #172091, #121777);
    padding: 0.9rem;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    transition: opacity 180ms ease;
}

.news-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    background: linear-gradient(180deg, #172091, #121777);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.news-cards-grid[data-visible-count="1"] .news-card {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
}

.news-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    background: #0d1361;
    padding: 0.4rem;
}

.news-body {
    padding: 0.9rem;
}

.news-body h3 {
    margin: 0;
    color: var(--accent);
    font-size: 1.45rem;
}

.news-body p {
    color: var(--text-soft);
    min-height: 3.2em;
}

.news-cards-controls {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 0.8rem;
}

.news-cards-controls .slider-arrow {
    position: static;
    transform: none;
}

.news-cards-controls .slider-dots {
    position: static;
    transform: none;
    justify-content: center;
}

.events-block {
    max-width: 540px;
}

.events-block h3 {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.event-item {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.event-date {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.event-time {
    margin: 0;
    min-height: 1.15rem;
    color: var(--text-soft);
}

.event-item h4 {
    margin: 0.15rem 0 0;
    color: var(--accent);
    font-size: 1.9rem;
}

.event-item h4 a {
    color: inherit;
    text-decoration: none;
}

.event-item h4 a:hover {
    text-decoration: underline;
}

.event-detail {
    max-width: 980px;
    margin-inline: auto;
}

.event-detail h1 {
    margin: 0;
    color: var(--accent);
    font-size: clamp(2rem, 4vw, 3rem);
}

.event-detail-meta {
    margin: 0.35rem 0 1rem;
    color: var(--text-soft);
    font-size: 1.2rem;
}

.event-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(95px, 1fr));
    gap: 0.6rem;
    margin: 0.8rem 0 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-default);
    padding: 0.45rem;
    background: linear-gradient(180deg, #172091, #121777);
}

.event-countdown article {
    background: #111986;
    border-radius: var(--radius-default);
    text-align: center;
    padding: 0.45rem 0.2rem;
}

.event-countdown strong {
    display: block;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    color: #49e8df;
}

.event-countdown article:nth-child(2) strong {
    color: #8e6bff;
}

.event-countdown article:nth-child(3) strong {
    color: #38e597;
}

.event-countdown article:nth-child(4) strong {
    color: #ff6d86;
}

.event-countdown span {
    color: var(--text-soft);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-box {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    padding: 1rem;
    margin: 0.9rem 0;
    background: linear-gradient(180deg, #172091, #121777);
}

.event-detail-image {
    display: block;
    width: min(900px, 100%);
    max-height: 520px;
    margin: 0.9rem auto;
    border-radius: var(--radius-default);
    object-fit: contain;
    object-position: center;
    background: #0d1361;
    padding: 0.4rem;
}

.event-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.event-facts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-facts li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.6rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(9, 213, 210, 0.35);
}

.event-facts li:last-child {
    border-bottom: 0;
}

.event-content {
    line-height: 1.55;
}

.event-content .editor-box {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    padding: 0.9rem;
    margin: 0.8rem 0;
    background: linear-gradient(180deg, #172091, #121777);
}

.event-content .editor-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 0.8rem 0;
}

.event-content .editor-card-title {
    margin: 0 0 0.45rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.event-content .editor-facts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.event-content .editor-facts-list li {
    border-bottom: 1px solid rgba(9, 213, 210, 0.35);
    padding: 0.45rem 0;
}

.event-content .editor-facts-list li:last-child {
    border-bottom: 0;
}

.event-content .editor-fact-label {
    color: var(--accent);
    margin-right: 0.35rem;
}

.event-content .editor-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--panel-border);
    border-radius: 50%;
    margin-right: 0.35rem;
    color: var(--accent);
}

.event-content .editor-border-cyan {
    border: 1px solid var(--panel-border);
}

.event-content .editor-radius-sm {
    border-radius: var(--radius-default);
}

.event-content .editor-radius-lg {
    border-radius: var(--radius-default);
}

.event-content .editor-mb-sm {
    margin-bottom: 0.5rem;
}

.event-content .editor-mb-md {
    margin-bottom: 1rem;
}

.event-content .editor-mb-lg {
    margin-bottom: 1.5rem;
}

.event-content img,
.event-content figure {
    max-width: 100%;
}

.event-next-link-wrap {
    margin-top: 1.1rem;
    display: flex;
    justify-content: flex-end;
}

.event-next-link {
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--accent);
}

.event-next-link:hover {
    text-decoration: underline;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    align-items: stretch;
}

.location-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    padding: 1rem;
    background: var(--panel);
    display: grid;
    grid-template-rows: auto auto;
    gap: 0.9rem;
}

.location-card h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    margin: 0;
    padding-top: 30px;
    text-align: center;
}

.location-card-rows {
    display: grid;
    gap: 0.7rem;
    padding: 0 0.35rem 0.7rem;
}

.location-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
}

.location-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.location-row-text {
    margin: 0;
    text-align: left;
    line-height: 1.4;
}

.location-row a {
    text-align: left;
    text-decoration: none;
    color: var(--accent);
}

.location-row a:hover {
    text-decoration: underline;
}

.map-image {
    width: 100%;
    border-radius: var(--radius-default);
}

.contact-block {
    margin-bottom: 2.5rem;
}

.contact-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-default);
    background: var(--panel);
    padding: 0.8rem 1rem;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.45rem 1rem;
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    justify-self: end;
}

.site-footer {
    text-align: center;
    padding: 1.3rem 0 2rem;
}

.site-footer h2 {
    margin: 0;
    font-size: 3rem;
    font-family: var(--font-main);
}

.footer-top-link {
    color: var(--text-main);
    text-decoration: none;
}

.footer-brand-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.footer-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 999px;
}

.footer-top-link:hover {
    color: var(--accent);
}

.site-footer p {
    margin: 0.25rem 0 0.5rem;
}

.site-footer small {
    color: var(--text-soft);
}

@media (max-width: 920px) {
    .hero,
    .feature-post,
    .location-grid,
    .featured-slide-content {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .training-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-card a {
        justify-self: start;
    }

    .footer-brand-logo {
        width: 42px;
        height: 42px;
    }

    .news-slider {
        height: 30vh;
    }

    .hero-text {
        max-width: 100%;
        padding-inline: 0.35rem;
    }

    .featured-slider,
    .featured-track,
    .featured-slide-content {
        min-height: 250px;
    }

    .featured-slide-content img {
        max-height: 220px;
    }

    .event-grid-two {
        grid-template-columns: 1fr;
    }

    .event-content .editor-grid-two {
        grid-template-columns: 1fr;
    }

    .event-countdown {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: minmax(230px, 360px) 1fr;
        gap: 2.2rem;
    }

    .hero-text {
        padding-left: 0.25rem;
        max-width: 34ch;
    }

    .news-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1rem;
    }

    .hero-logo {
        max-width: min(340px, 92vw);
    }

    .hero-text {
        max-width: min(38ch, 92vw);
        margin-inline: auto;
        padding-inline: 0.5rem;
        padding-left: 0;
    }

    .news-slider .slide img {
        object-fit: cover;
        object-position: center;
    }

    .news-slider .slider-arrow.prev {
        left: 0.5rem;
    }

    .news-slider .slider-arrow.next {
        right: 0.5rem;
    }

    .news-cards-grid {
        grid-template-columns: 1fr;
    }

    .news-cards-grid .news-card[hidden] {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(1160px, 93vw);
    }

    .news-grid {
        gap: 0.75rem;
    }

    .news-cards-grid {
        gap: 0.7rem;
    }

    .news-card img {
        aspect-ratio: 4 / 3;
    }

    .news-body {
        padding: 0.75rem;
    }

    .news-body h3 {
        font-size: 1.25rem;
    }

    .news-cards-controls {
        grid-template-columns: 34px 1fr 34px;
        gap: 0.5rem;
    }

    .news-slider {
        height: 40vh;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .news-slider .slider-arrow.prev {
        left: 0.25rem;
    }

    .news-slider .slider-arrow.next {
        right: 0.25rem;
    }

    .overlay-pos--bottom-left,
    .overlay-pos--bottom-right,
    .overlay-pos--bottom-center {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 1.8rem;
        transform: none;
        max-width: none;
    }
}
