/* =========================
   SMC – zentrale Vereinsfarbe
christian k, 2026-01-24 : 18:27
 ========================= */
:root,
.cassiopeia{
  --smc-primary: #009039;                  /* Vereinsgrün */

  /* Cassiopeia sauber anbinden */
  --cassiopeia-color-primary: var(--smc-primary);
  --cassiopeia-color-link:    var(--smc-primary);
  --cassiopeia-color-hover:   var(--smc-primary);
}


/* =========================
   Verlinkte Artikeltitel
   ========================= */

/* Blog- / Kategorieansichten: Titel sind Links */
.com-content-category-blog .item-content h1 a,
.com-content-category-blog .item-content h2 a{
  color: #1f2933;
  text-decoration: none;      /* keine Unterstreichung */
}

/* Hover: nur leicht abdunkeln, nicht unterstreichen */
.com-content-category-blog .item-content h1 a:hover,
.com-content-category-blog .item-content h2 a:hover{
  color: #1f2933;
  text-decoration: underline; /* optional: Orientierung beim Hover */
}

/* Einzelartikel: falls Titel dort ebenfalls verlinkt ist */
.com-content-article h1 a{
  color: var(--smc-primary);
  text-decoration: none;
}

/* =========================
   Blog: Artikel dezent abgrenzen
   ========================= */

.com-content-category-blog .blog-item{
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb; /* sehr helles Grau */
}

/* letzte Linie in Vereinsfarbe */
.com-content-category-blog .blog-item:last-child{
border-bottom: 2px solid var(--smc-primary);
}


/* =========================
   Eigene Topbar mit Logo
   ========================= */

/* Topbar-Grundfläche */
.topbar,
.container-topbar{
  background: #ffffff;
  border-bottom: 2px solid var(--smc-primary);
}

/* Logo-Block */
.smc-topbar-brand a{
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  }

/* Logo */
.smc-topbar-brand img{
  max-height: 96px;
  width: auto;
}

/* Vereinsname */
.smc-topbar-text{
  font-size: 2.1rem;
  font-weight: 600;
  padding: 1.3rem 1rem;
  color: #1f2933;
  white-space: nowrap;
}

/* Mobil: Text ausblenden */
@media (max-width: 900px){
  .smc-topbar-text{
    display: none;
  }
}

/* =========================
   Beitragsbilder anpassen
   ========================= */

.left.item-image {
  max-width: 35%;
  margin: 0 1.0rem 0.5rem 0;
}

.left.item-image img {
  display: block;
  width: 100%;
  height: auto;
  padding: 4px;
  background: #fff;
 }

@media (max-width: 768px) {
  .left.item-image {
    max-width: 100%;
    margin: 0 0 1rem 0;
  }
}


/*
Tabellen - horizontale und vertikale Linien einblenden
*/

.com-content-article table {
    border-collapse: collapse;
}

.com-content-category-blog th,
.com-content-category-blog td,
.com-content-article th,
.com-content-article td {
    border: 1px solid #ccc;
    padding: 0.5rem;
}

/*  
chrisd, 2026-01-24 : 14:30
Youtube Videos ohne PlugIn responsive einbinden
*/
.youtube-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
