/* hide feature label */
.article-list .article .featured-article-badge { display: none; visibility: hidden;}

/* Space between header menu and content */
.com-content #sp-main-body { padding: 30px 0; }

/* white background in the article */
.article-list .article { 
  background-color: white; 
  box-shadow: 4px 4px 6px silver;
  border-radius: 3px; }

/*veröffentlich*/
.article-info { margin-bottom: 0rem; }

/* border space in right colum*/
#sp-left .sp-module .sp-module-title, #sp-right .sp-module .sp-module-title {
    margin: 0 0 0px;
    padding-bottom: 0px;
    border-bottom:0px;
}

/* Rand in der rechten spalte zur umgebung*/
#sp-left .sp-module, #sp-right .sp-module {
  margin-top: 15px;
  padding: 5px;
  background-color: white;
  box-shadow: 4px 4px 6px silver;
  border-radius: 3px;
}


/* ===================================================================
   VEREINS-DESIGN  ·  SV Eintracht Lüttchendorf e.V.
   Vereinsblau #205080 / Weiß  ·  Schriften: Oswald (Titel) + Inter (Text)
   Hinzugefügt 2026-06. Farben zentral über die Variablen unten anpassbar.
   =================================================================== */

/* --- Schriften: lokal gehostet (DSGVO-konform, kein Google-Aufruf) ---
   Variable Fonts: eine Datei deckt alle Gewichte ab.
   Pfade relativ zu dieser Datei (css/ -> ../fonts/...). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/vereinsfonts/Inter-Variable.woff2) format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/vereinsfonts/Oswald-Variable.woff2) format('woff2');
}

/* --- Zentrale Vereinsfarben --- */
:root {
  --verein-blau:        #205080;  /* Logo-Blau (Primaerfarbe) */
  --verein-blau-dunkel: #16395C;  /* Hover / dunkler Akzent  */
  --verein-blau-hell:   #3A75B0;  /* heller Akzent           */
  --verein-text:        #222222;
}

/* --- Fliesstext (ueberschreibt die fehlerhafte 36px-kursiv-Einstellung) --- */
body {
  font-family: 'Inter', -apple-system, "Segoe UI", Arial, sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400;
  line-height: 1.65;
  color: var(--verein-text);
}

/* --- Ueberschriften: sportlich (Oswald), im Vereinsblau --- */
h1, h2, h3, h4, h5, h6,
.sp-page-title h2,
.article-header h1,
.sppb-addon-title {
  font-family: 'Oswald', 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: .3px;
  color: var(--verein-blau-dunkel);
}

/* --- Links --- */
a            { color: var(--verein-blau); }
a:hover,
a:focus      { color: var(--verein-blau-dunkel); }

/* --- Hauptmenue --- */
#sp-menu .sp-megamenu-parent > li > a { font-family: 'Oswald', sans-serif; font-weight: 500; }
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li:hover  > a   { color: var(--verein-blau) !important; }
.sp-megamenu-parent > li.active > a   { box-shadow: inset 0 -3px 0 var(--verein-blau); }

/* --- Buttons im Vereinsblau --- */
.btn-primary, .sppb-btn-primary, button.btn, input[type="submit"] {
  background-color: var(--verein-blau) !important;
  border-color:     var(--verein-blau) !important;
  color: #fff !important;
  border-radius: 4px;
}
.btn-primary:hover, .sppb-btn-primary:hover,
button.btn:hover,  input[type="submit"]:hover {
  background-color: var(--verein-blau-dunkel) !important;
  border-color:     var(--verein-blau-dunkel) !important;
}

/* --- Header: dezenter Schatten --- */
#sp-header { box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* --- Footer im Vereinsblau statt Schwarz --- */
#sp-footer, #sp-bottom {
  background-color: var(--verein-blau-dunkel) !important;
  color: #dbe6f2 !important;
}
#sp-footer a, #sp-bottom a             { color: #cdddee !important; }
#sp-footer a:hover, #sp-bottom a:hover { color: #fff !important; }

/* --- Artikel-Karten: blauer Akzentstreifen oben --- */
.article-list .article { border-top: 3px solid var(--verein-blau); }
.article-list .article .article-title a { color: var(--verein-blau-dunkel); }

/* --- Modul-Titel in den Seitenspalten: blauer Akzentbalken --- */
#sp-left .sp-module-title, #sp-right .sp-module-title {
  font-family: 'Oswald', sans-serif;
  color: var(--verein-blau-dunkel);
  border-left: 4px solid var(--verein-blau);
  padding-left: 10px !important;
}


/* ===================================================================
   PROFI-FEINSCHLIFF 2026-06 · Button "Mitglied werden" + Sponsoren-Raster
   =================================================================== */

/* --- "Mitglied werden" als kompakter Button im Hauptmenü --- */
.sp-megamenu-parent > li > a.nav-btn-mitglied,
a.nav-btn-mitglied {
  display: inline-block;
  vertical-align: middle;               /* mittig zu den anderen Menüpunkten */
  background-color: var(--verein-blau);
  color: #fff !important;
  padding: 7px 16px !important;
  line-height: 1.3 !important;          /* kompakte, eigene Höhe */
  height: auto !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color .2s ease;
}
.sp-megamenu-parent > li > a.nav-btn-mitglied:hover,
a.nav-btn-mitglied:hover {
  background-color: var(--verein-blau-dunkel);
  color: #fff !important;
  box-shadow: none !important;
}

/* --- Sponsoren-Modul: gleichmäßig ausgerichtet, FARBEN BLEIBEN ERHALTEN --- */
.sponsoren-grid .custom { text-align: center; }
.sponsoren-grid img {
  display: block;
  width: 100%;
  max-width: 340px;           /* größer: nutzt den Platz links/rechts besser */
  height: auto;
  margin: 12px auto;
  padding: 14px 18px;
  background: #fff;            /* einheitlicher weißer Hintergrund */
  border: 1px solid #eee;
  border-radius: 4px;
  box-sizing: border-box;
  object-fit: contain;        /* Logo wird nicht verzerrt */
}
.sponsoren-grid br { display: none; }  /* gleichmäßige Abstände statt harter Umbrüche */


/* ===================================================================
   HOCHGLANZ-PASS 2026-06 · moderne Schatten, weiche Karten, Hover-Effekte
   Überschreibt die alten harten Schatten (4px 4px 6px silver).
   =================================================================== */

/* --- Weiche, moderne Schatten statt hartem Schlagschatten --- */
.article-list .article {
  box-shadow: 0 6px 24px rgba(20, 45, 75, .08);
  border-radius: 10px;
  border-top: 3px solid var(--verein-blau);
  padding: 22px 26px;
  margin-bottom: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
/* Sanftes Anheben beim Überfahren */
.article-list .article:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(20, 45, 75, .15);
}

/* --- Sidebar-Module ebenfalls weich --- */
#sp-left .sp-module, #sp-right .sp-module {
  box-shadow: 0 6px 24px rgba(20, 45, 75, .08);
  border-radius: 10px;
  padding: 16px 18px;
}

/* --- Intro-Bilder: abgerundet + dezenter Zoom beim Hover --- */
.article-intro-image,
.article-intro-image.float-left {
  overflow: hidden;
  border-radius: 8px;
}
.article-intro-image img {
  border-radius: 8px;
  transition: transform .4s ease;
  display: block;
  width: 100%;
}
.article-list .article:hover .article-intro-image img {
  transform: scale(1.04);
}

/* --- Datum als dezentes Label --- */
.article-info {
  color: var(--verein-blau);
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .85;
}

/* --- Artikel-Titel: weicher Farbwechsel beim Hover --- */
.article-header h1 a, .article-header h2 a,
.article-list .article .article-title a {
  transition: color .2s ease;
}

/* --- "Weiterlesen" als dezenter Button --- */
.article .readmore a, .items-more a {
  display: inline-block;
  background: transparent;
  color: var(--verein-blau) !important;
  border: 1.5px solid var(--verein-blau);
  padding: 7px 18px;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: .3px;
  text-decoration: none;
  transition: all .2s ease;
}
.article .readmore a:hover, .items-more a:hover {
  background: var(--verein-blau);
  color: #fff !important;
}

/* --- Sanfte Übergänge global für ein hochwertiges Gefühl --- */
a, .btn, .sp-megamenu-parent > li > a, img { transition: color .2s ease, background-color .2s ease, opacity .2s ease; }


/* ===================================================================
   HOCHGLANZ-PASS 2 · Hero-Slider + Premium-Footer
   =================================================================== */

/* --- HERO: Verlauf-Overlay statt blauem Balken, große Schrift --- */
.slideshowck .camera_caption > div {
  background: linear-gradient(to top,
              rgba(16,40,66,.94) 0%,
              rgba(16,40,66,.55) 60%,
              rgba(16,40,66,0) 100%) !important;
  padding: 64px 44px 26px !important;
  border: 0 !important;
}
.slideshowck .camera_caption_title {
  font-family: 'Oswald', sans-serif !important;
  font-size: 2.3rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  letter-spacing: .5px;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  margin-bottom: 6px;
}
.slideshowck .camera_caption_desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.08rem !important;
  color: #e9f1fa !important;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
@media (max-width: 767px) {
  .slideshowck .camera_caption_title { font-size: 1.4rem !important; }
  .slideshowck .camera_caption > div { padding: 40px 20px 16px !important; }
}

/* --- PREMIUM-FOOTER: mehr Luft, klare Spalten --- */
#sp-footer { padding: 48px 0 28px; }
#sp-footer .sp-module { background: none !important; box-shadow: none !important; padding: 0 !important; }
#sp-footer address { font-style: normal; line-height: 1.8; margin-bottom: 16px; }
#sp-footer .sp-module-title,
#sp-footer h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  color: #fff !important;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,.18);
}
/* Footer-Menü als saubere Liste */
#sp-footer ul { list-style: none; padding: 0; margin: 0; }
#sp-footer ul li { margin-bottom: 8px; }
#sp-footer ul li a { position: relative; padding-left: 16px; }
#sp-footer ul li a::before {
  content: "›"; position: absolute; left: 0;
  color: var(--verein-blau-hell);
}

/* --- Footer-Kontakt-Zeilen mit SVG-Icons --- */
.footer-contact { line-height: 2.1; margin: 14px 0; }
.footer-contact a { color: #cdddee !important; }
.footer-contact a:hover { color: #fff !important; }
.footer-contact a svg {
  width: 15px; height: 15px; vertical-align: -2px; margin-right: 9px;
  color: var(--verein-blau-hell);
}

/* --- Social-Icons (SVG): runde Buttons mit Hover --- */
.footer-social { margin-top: 18px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-right: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff !important;
  transition: transform .2s ease, background-color .2s ease;
}
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--verein-blau-hell); transform: translateY(-3px); }


/* ===================================================================
   HOCHGLANZ-PASS 3 · Facebook-Icon in der Topbar + Scroll-Pfeil
   (Font Awesome lädt nicht -> Icons per SVG)
   =================================================================== */

/* --- Topbar: nur Facebook zeigen (übrige Social-Links sind leer/#) --- */
#sp-top1 .social-icons { list-style: none; margin: 0; padding: 0; display: inline-flex; align-items: center; }
#sp-top1 .social-icons li { display: none; }
#sp-top1 .social-icons li.social-icon-facebook { display: inline-block; }
#sp-top1 .social-icons li.social-icon-facebook a span { display: none; }   /* leeres FA-Span */
#sp-top1 .social-icons li.social-icon-facebook a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background-color: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 17px;
  transition: background-color .2s ease;
}
#sp-top1 .social-icons li.social-icon-facebook a:hover { background-color: var(--verein-blau-hell); }

/* --- Scroll-nach-oben-Button: Vereinsblau + weißer Pfeil (SVG) --- */
.sp-scroll-up {
  background-color: var(--verein-blau) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px !important;
  box-shadow: 0 4px 14px rgba(20,45,75,.3);
  transition: background-color .2s ease, transform .2s ease;
}
.sp-scroll-up span { display: none !important; }   /* leeres FA-Icon ausblenden */
.sp-scroll-up:hover {
  background-color: var(--verein-blau-dunkel) !important;
  transform: translateY(-3px);
}


/* ===================================================================
   HOCHGLANZ-PASS 4 · Artikel-Unterseiten (Verein, Vorstand, …)
   Volle Breite -> angenehme Lesebreite zentriert, Bild aufgewertet
   =================================================================== */

/* Inhalt der Einzelartikel auf komfortable Lesebreite zentrieren */
.view-article #sp-component {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

/* Großes Artikelbild: nicht mehr links gefloatet, sondern sauber oben */
.view-article .article-full-image,
.view-article .item-image.float-left {
  float: none !important;
  width: 100%;
  margin: 0 0 30px !important;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20,45,75,.22);   /* deutlich sichtbarer Schatten */
}
.view-article .article-full-image img,
.view-article .item-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Seitentitel & Text etwas luftiger */
.view-article .article-header h1,
.view-article .page-header h1 { margin-bottom: 6px; }
.view-article .article-body p { margin-bottom: 1.15rem; }
.view-article .article-body { font-size: 1.04rem; }

/* --- Vorstands-/Team-Cards: einheitliche Fotos & saubere Karten --- */
/* Bootstrap card-group klebt Karten zusammen -> in Raster mit Abstand auflösen */
.view-article .card-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.view-article .card-group > [class*="col-"] {
  flex: 1 1 21%;          /* 4 gleich breite Spalten */
  min-width: 0;           /* darf unter Inhaltsbreite schrumpfen */
  max-width: none;
  margin: 0;
  padding: 0;
}
.view-article .card-group > [class*="col-"] .card { max-width: none !important; min-width: 0; }
.view-article .card-body { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 767px) {
  .view-article .card-group > [class*="col-"] { flex-basis: 45%; }   /* mobil 2 Spalten */
}

.view-article .card {
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20,45,75,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.view-article .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20,45,75,.15);
}
/* Fotos auf einheitliches Hochformat bringen (Köpfe bleiben oben sichtbar) */
.view-article .card-img-top {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}
.view-article .card-body { padding: 16px 18px; }
.view-article .card-body h1,
.view-article .card-body h2,
.view-article .card-body h3,
.view-article .card-body h4 { margin-bottom: 2px; }


/* ===================================================================
   HOCHGLANZ-PASS 5 · Sponsoren-Seite (itemid-107): einheitliches Logo-Raster
   =================================================================== */

/* Alle Sponsorenlogos auf einheitliche Höhe, zentriert (egal welche Eigengröße) */
.itemid-107 .card-body img {
  max-height: 56px !important;
  width: auto !important;
  height: auto !important;
  max-width: 92% !important;
  object-fit: contain;
  margin: 14px auto !important;
  display: block !important;
}

/* Verzerrte Tabellen-Zellen / Grid-Spalten glätten und mittig ausrichten */
.itemid-107 .card-body table { width: 100% !important; height: auto !important; table-layout: fixed; margin: 0; }
.itemid-107 .card-body td,
.itemid-107 .card-body tr,
.itemid-107 .card-body .col {
  width: auto !important;
  height: auto !important;
  text-align: center !important;
  vertical-align: middle !important;
  padding: 6px 10px !important;
  border: 0 !important;
}

/* Tier-Boxen: dezenter Schatten, aber KEIN Hover-Sprung (große Box soll nicht hüpfen) */
.itemid-107 .card:hover {
  transform: none;
  box-shadow: 0 6px 20px rgba(20,45,75,.08);
}
/* Tier-Überschrift (Hauptsponsoren …) im Vereins-Stil */
.itemid-107 .card-header {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--verein-blau-dunkel);
  background: #f4f7fb;
  border-bottom: 2px solid var(--verein-blau);
}

