/* =========================================================
   BG/BRG Schwechat – my-overrides.css (SAUBER)
   Ort: /media/templates/site/tp_business/my-overrides.css
   ========================================================= */

/* 0) WICHTIG: Keine Test/Diagnose-Regeln hier drin lassen.
      (kein body::after, keine outlines, kein hotpink) */

/* 1) Grundtypografie: ruhig & professionell */
body{
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;     /* wenn dir 15 zu klein ist: auf 16 setzen */
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* Überschriften: saubere Hierarchie */
h1{ font-size: 32px !important; line-height: 1.2 !important; font-weight: 700 !important; }
h2{ font-size: 26px !important; line-height: 1.25 !important; font-weight: 700 !important; }
h3{ font-size: 21px !important; line-height: 1.3 !important; font-weight: 600 !important; }
h4{ font-size: 18px !important; line-height: 1.35 !important; font-weight: 600 !important; }

p, ul, ol{ margin: 0 0 1em 0 !important; }

/* 2) Luft am Rand für Artikel/Blog/Übersichten */
.item-page,
.com-content-article,
.com-content-category-blog,
.com-content-category-featured,
.blog-items,
.blog-item,
.astroid-article-text{
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}
@media (max-width: 768px){
  .item-page,
  .com-content-article,
  .com-content-category-blog,
  .com-content-category-featured,
  .blog-items,
  .blog-item,
  .astroid-article-text{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* 3) Inline-Fontgrößen aus Artikeln neutralisieren */
.astroid-article-text span[style*="font-size"]{
  font-size: inherit !important;
}

/* 4) Startseite: Boxen/Karten überall gleich (damit Bausteine zusammenpassen) */
.moduletable,
.astroid-module,
.card-layout,
.card-body,
.card{
  background: rgba(255,255,255,0.28) !important;
  background-image: none !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

.moduletable,
.astroid-module,
.card-body{
  padding: 12px 14px !important;
}

/* Modul-Titel */
.moduletable h3,
.astroid-module h3,
.card-body h3,
.moduletable .module-title,
.astroid-module .module-title{
  margin: 0 0 10px 0 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

/* 5) Aktuelle Themen (Latest News) kompakter */
.latestnews,
ul.latestnews,
.latestnews li,
.latestnews-mod-list li,
.mod-articleslatest__link,
.mod-articleslatest a{
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.latestnews li,
.latestnews-mod-list li{
  padding: 6px 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
.latestnews li:last-child,
.latestnews-mod-list li:last-child{
  border-bottom: 0 !important;
}

/* 6) Termine/Events rechts kompakter */
.allevents,
.mod-events,
.events,
.eventlist,
.event,
.event-title,
.event-date,
.event-time,
.mod-event,
.mod-eventlist,
.calendar,
.calendar .event,
.calendar a{
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* 7) Linke Tools (Sidebar): Rahmen weniger hart */
.sidebar a,
.sidebar .btn,
.sidebar .button,
.sidebar .mod-custom a{
  border: 1px solid rgba(0,0,0,0.18) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important;
}
.sidebar a,
.sidebar .btn,
.sidebar .button{
  font-size: 14px !important;
  font-weight: 600 !important;
}
/* Termine-Modul gezielt kleiner (nur dieses Modul) */
.termine-box,
.termine-box *{
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* Titel etwas stärker, aber nicht größer */
.termine-box a,
.termine-box .event-title,
.termine-box .title{
  font-weight: 600 !important;
}

/* Meta-Zeilen (Uhrzeit/Datum) minimal kleiner */
.termine-box small,
.termine-box time,
.termine-box .date,
.termine-box .time{
  font-size: 13px !important;
}

