/* cmsms stylesheet: KNK Standard modified: Mittwoch, 30. September 2026 09:55:48 */
/* ==========================================================================
 *  GLOBAL VARIABLES & RESET
 *  ========================================================================== */
:root {
    --knk-red: #D32F2F;
    --knk-red-dark: #B71C1C;
    --knk-black: #121212;
    --knk-white: #FFFFFF;
    --knk-gray: #F4F4F4;
    --knk-text-muted: #777777;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--knk-gray);
    color: #333333;
    line-height: 1.6;
}

h1, h2, h3, .brand-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.text-white {
    color: var(--knk-white);
}

.link-only-color {
   color: var(--knk-red);
   text-decoration: none;
}

/* ==========================================================================
 *  HEADER & NAVIGATION
 *  ========================================================================== */
header {
    background-color: var(--knk-black);
    color: var(--knk-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    gap: 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--knk-white);
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.brand-title {
    font-size: 1.6rem;
    //white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

nav a {
    color: var(--knk-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: var(--knk-red);
}

.btn-ticket {
    background-color: var(--knk-red);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.btn-ticket:hover {
    background-color: var(--knk-red-dark);
    color: var(--knk-white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--knk-white);
}

/* ==========================================================================
 *  STARTSEITE - HERO BEREICH (AUFMACHER)
 *  ========================================================================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('/uploads/images/sitetemplate/background.jpg') top/cover no-repeat;
    background-color: var(--knk-black);
    color: var(--knk-white);
    text-align: center;
    padding: 5rem 1.5rem;
    border-bottom: 5px solid var(--knk-red);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--knk-white);
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--knk-red);
    color: var(--knk-white);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--knk-red-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--knk-white);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    border: 2px solid var(--knk-white);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--knk-white);
    color: var(--knk-black);
}

/* ==========================================================================
 *  UNTERSEITEN BANNER
 *  ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--knk-black) 0%, var(--knk-red-dark) 100%);
    color: var(--knk-white);
    text-align: center;
    padding: 3rem 1rem;
    border-bottom: 5px solid var(--knk-red);
}

.page-banner h1 {
    font-size: 3.5rem;
}

/* ==========================================================================
 *  LAYOUT & CONTAINER
 *  ========================================================================== */
.container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--knk-black);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--knk-red);
    margin: 8px auto 0;
}

/* Grid Layout (für Startseiten-Kacheln & Veranstaltungen) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    //border-top: 5px solid var(--knk-red);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.8rem;
    color: var(--knk-black);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
 *  NACHRICHTEN & TEASER (Startseite + Unterseite) Für die Nachrichten Übersicht in Kurzform
 *  ========================================================================== */
.news-feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-left: 5px solid var(--knk-red);
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-content {
    padding: 1.8rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.card-tag {
    background-color: var(--knk-black);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-date {
    color: var(--knk-text-muted);
    font-size: 0.82rem;
    font-weight: 400;
}

.news-title {
    font-size: 2rem;
    color: var(--knk-black);
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.news-excerpt {
    color: #555555;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--knk-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: auto;
}

.read-more:hover {
    color: var(--knk-red-dark);
    text-decoration: underline;
}

/* ==========================================================================
   NEWS STREAM (ALLE NEWS UNTEREINANDER)
   ========================================================================== */

.news-stream {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* Abstand zwischen den einzelnen News-Karten */
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
}

/* Die einzelne News-Box */
.news-stream .NewsDetail {
  background-color: #ffffff;
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  color: #222222;
  margin: 0; /* Margin wird nun durch das Gap des Stream-Containers gesteuert */
  border-top: 4px solid var(--knk-red, #E50914);
}

/* Header-Kasten */
.NewsDetailHeader {
  position: relative;
  background-color: #f8f9fa;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.NewsDetailTitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 1px;
  color: #111111;
  margin: 0;
  line-height: 1;
  text-align: left;
}

.NewsDetailDate {
  font-size: 0.95rem;
  color: #666666;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.NewsDetailDate::before {
  content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cmVjdCB4PSIzIiB5PSI0IiB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHJ4PSIyIiByeT0iMiIvPjxsaW5lIHgxPSIxNiIgeTE9IjIiIHgyPSIxNiIgeTI9IjYiLz48bGluZSB4MT0iOCIgeTE9IjIiIHgyPSI4IiB5PSI2Ii8+PGxpbmUgeDE9IjMiIHkxPSIxMCIgeDI9IjIxIiB5Mj0iMTAiLz48L3N2Zz4=");
  font-size: 0.9rem;
  display: block;
  height: 18px;
}

/* Content-Bereich */
.NewsDetailContent {
  padding: 2rem 2rem 2.5rem 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
}

.NewsDetailSummary {
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #e2e8f0;
}

.NewsDetailContent p {
  margin-bottom: 1.5rem;
}

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

.NewsDetailContent img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
 *  FOOTER
 *  ========================================================================== */
footer {
    background-color: var(--knk-black);
    color: var(--knk-white);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 4rem;
    border-top: 5px solid var(--knk-red);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-content a {
   color: #ccc;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333333;
    font-size: 0.9rem;
    color: #aaaaaa;
}

.social-media {
   display: flex;
   gap: 8px;
   margin: 8px 0 0 0;
}

/* ==========================================================================
   ALBENÜBERSICHT GRID (ALBUM-KACHELN)
   ========================================================================== */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.album-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.album-cover {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--knk-black);
}

/* Oberer Bereich: Bild mit Badge */
.album-image-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-card:hover .album-cover {
  transform: scale(1.05);
}

/* Badge für Anzahl der Bilder unten rechts im Bild */
.album-count-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Unterer Bereich: Titel unter dem Bild */
.album-info {
  padding: 1.2rem;
  text-align: center;
  background-color: #ffffff;
}

.album-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--knk-black, #1A1A1A);
  margin: 0;
  line-height: 1.3;
}

/* Back Button im Einzel-Album */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    color: var(--knk-red);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.btn-back:hover {
    text-decoration: underline;
}

/* ==========================================================================
   MASONRY GRID FÜR ALBUM-DETAILSEITE
   ========================================================================== */

/* Back Button */
.back-btn {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background-color: #f4f4f4;
  color: #333;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s ease;
  text-decoration: none;
}

.back-btn:hover {
  background-color: #e0e0e0;
}

/* Masonry Grid */
.gallery-masonry {
  column-count: 4;
  column-gap: 1.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

.masonry-item {
  break-inside: avoid;
  /*display: inline-block;*/
  display: flex;
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  background-color: #1a1a1a;
  transition: transform 0.3s ease;
}

.masonry-item:hover {
  transform: translateY(-4px);
}

.masonry-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.92);
  justify-content: center;
  align-items: center;
}

.lightbox-modal.active {
  display: flex !important;
}

.lightbox-content {
  max-width: 85%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  z-index: 100001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  font-size: 2.5rem;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 8px;
  user-select: none;
  z-index: 100000;
  transition: color 0.2s ease, background 0.2s ease;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  color: #E50914;
}

/* ==========================================================================
 *  SPONSOREN - ZENTRIERT
 *  ========================================================================== */

.sponsor-masonry {
    column-count: 4;
    column-gap: 1.5rem;
    max-width: 1000px;  /* Verhindert zu breites Auseinanderziehen */
    margin: 0 auto;     /* ZENTRIERT den gesamten Sponsoren-Bereich */
}

.sponsor-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--knk-red);
}

.sponsor-logo {
    width: 100%;
    height: auto;
    /*max-height: 110px;*/
    object-fit: contain;
    display: block;
}

.sponsor-name {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--knk-black);
    text-align: center;
    font-weight: bold;
}

/* ==========================================================================
 *  HISTORIE & ZEITSTRAHL
 *  ========================================================================== */

/* Einleitung / Kurzzusammenfassung */
.history-intro {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

/* Zeitstrahl Container */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Die vertikale rote Linie in der Mitte */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--knk-red);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

/* Timeline Kachel (Container) */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Die Kreis-Knotenpunkte auf der Linie */
.timeline-item::after {
    content: '';
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 30px;
    height: 30px;
    right: -15px;
    background-color: white;
    border: 3px solid var(--knk-red);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Links- und Rechts-Ausrichtung der Kacheln */
.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -15px;
}

/* Der eigentliche Inhalt-Kasten */
.timeline-content {
    padding: 1.5rem;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--knk-black);
    transition: transform 0.2s, box-shadow 0.2s;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-left-color: var(--knk-red);
}

.timeline-year {
    display: inline-block;
    background-color: var(--knk-black);
    color: var(--knk-white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.timeline-motto {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--knk-red);
    margin-bottom: 0.3rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   KONTAKTSEITE
   ========================================================================== */

.contact-page {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  /*padding: 0 1rem;*/
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--knk-red, #E50914);
}

.contact-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: #111111;
  margin: 0 0 0.5rem 0;
  line-height: 1;
}

.contact-sub {
  color: #666666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}


/* Kontaktdaten Liste */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center; /* Zentriert den Text */
}

.contact-list li {
  display: flex;
  flex-direction: column; /* Stapelt Icon und Text zentriert übereinander */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #333333;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list .icon {
  font-size: 1.6rem;
  line-height: 1;
}

.contact-list a {
  color: var(--knk-red, #E50914);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Anschrift & Details */
.contact-address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222222;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
 *  RESPONSIVE BREAKPOINTS
 *  ========================================================================== */

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--knk-black);
        padding: 1rem 0;
        border-top: 1px solid #333333;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .sponsor-masonry { column-count: 3; }
.gallery-masonry { column-count: 3; }
}

/* Breakpoints für Masonry Responsive */
@media (max-width: 900px) {
    .gallery-masonry { column-count: 2; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Linie nach links verschieben */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 16px;
    }

    .sponsor-masonry { column-count: 2; }
.gallery-masonry { column-count: 2; }
.lightbox-prev {
    left: 10px;
    padding: 8px 12px;
  }
  .lightbox-next {
    right: 10px;
    padding: 8px 12px;
  }

.NewsDetailHeader {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .NewsDetailTitle {
    font-size: 2.2rem;
  }

  .NewsDetailContent {
    padding: 1.5rem;
  }

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

.news-stream {
    gap: 1.5rem;
    margin: 1rem auto;
  }

  .NewsDetailHeader {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .NewsDetailTitle {
    font-size: 2.2rem;
  }

  .NewsDetailContent {
    padding: 1.5rem;
  }
}

@media (max-width: 550px) {
    .gallery-masonry { column-count: 1; }
}

@media (max-width: 480px) {
    .gallery-masonry { column-count: 1; }
}
