/* rbo.at – Richtung A „Werkstatt, sorgfältig aufgefrischt“ (Test 17.11.2026, nicht live) */

/* 1 Schrift größer, dunkler */
body { color: #222; }
[role="main"] p, [role="main"] li, .news > article p { font-size: 16px; line-height: 1.6; color: #222; }
.news > article h2 { font-size: 20px; line-height: 1.3; }
.news > article h2 a { text-decoration: none; }
.news > article h2 a:hover { text-decoration: underline; }

/* 2 Shop-Knöpfe: Blau weg, Orange gedämpft, schlicht */
[role="banner"] .shop-links a { box-shadow: none; border-radius: 0 0 3px 3px; letter-spacing: .02em; }
[role="banner"] .shop-links .market { background-color: #0a5224; }
[role="banner"] .shop-links .new { background-color: #c96a12; }
[role="banner"] .shop-links .market:hover, [role="banner"] .shop-links .new:hover { transform: none; filter: brightness(1.12); }

/* 4 News-Liste: weiß, Trennlinien, „weiter“ unter dem Text */
.news { background: #fff !important; }
.news > article { border-bottom: 1px solid #dcdcdc; padding-bottom: 22px; margin-bottom: 22px; }
.news > article:last-of-type { border-bottom: 0; }
.news img { border: 1px solid #dcdcdc; padding: 3px; background: #fff; }
.news > article a.more { float: none; display: inline-block; margin-top: 6px; font-size: 15px; font-weight: 700; text-decoration: none; }
.news > article a.more:hover { text-decoration: underline; }

/* 5 Seitenleiste: Knöpfe einheitlich */
.promo { border: 1px solid #d5ddd7; background: #f4f6f4; border-radius: 3px; }

/* 3 Fußzeile lesbar */
footer a, .page-container > footer a, .width-limiter > footer a { color: #a8e0b8 !important; }
footer { font-size: 15px; line-height: 1.6; }

/* 7 Cookie-Hinweis ruhiger */
.cookie-consent { box-shadow: 0 1px 4px rgba(0,0,0,.2) !important; border-radius: 3px !important; font-size: 14px !important; }

/* --- Nachbesserung 17.11.2026 abends --- */

/* Bildlauf (Karussell) von der größeren Schrift ausnehmen */
.carousel p { font-size: inherit; line-height: inherit; }

/* Shop-Knöpfe am PC: nicht mehr als „Lappen“ unter dem Balken, sondern frei mit Abstand */
@media (min-width: 901px) {
  [role="banner"] .shop-links { top: 166px; height: auto; grid-gap: 10px; }
  [role="banner"] .shop-links .market,
  [role="banner"] .shop-links .new { padding: 12px 20px !important; border-radius: 3px; height: auto; font-size: 15px; }
  /* Kurzlinks rechts oben: nebeneinander, lesbar */
  [role="banner"] .quick-links { display: flex; gap: 16px; }
  [role="banner"] .quick-links li { list-style: none; margin: 0; }
  [role="banner"] .quick-links a { font-size: 13px; color: #ffffff; text-decoration: none; }
  [role="banner"] .quick-links a:hover { text-decoration: underline; }
}

/* Seitenleiste Startseite: drei gleich breite Knöpfe untereinander */
.col.small > .promo { display: block; float: none; width: auto; border: 0; background: none; padding: 0; margin: 0 0 8px; border-radius: 0; }
.col.small > .promo p { margin: 0; font-size: 15px; }
.col.small > .promo p a { display: block; background: #0F7635; color: #fff; padding: 11px 16px; border-radius: 3px; font-weight: 700; text-decoration: none; box-shadow: none; }
.col.small > .promo p a:hover { background: #0a5224; }
.col.small > .promo:last-of-type { margin-bottom: 24px; }

/* Startseiten-Bildlauf (PC und Handy): Kasten im echten Seitenverhältnis der ausgelieferten Bannerbilder (1337 x 390),
   ohne Verzerrung (cover). Vorher am PC 480 px hoch → links/rechts abgeschnitten; am Handy 0,3545 + 100 % → gestaucht. */
ul.carousel { height: auto; aspect-ratio: 1337 / 390; }
ul.carousel > li > a { height: auto; aspect-ratio: 1337 / 390; }
ul.carousel > li { background-size: cover; }

/* Fotos einer verlinkten Galerie direkt im News-Beitrag (news/view.phtml): ruhiges Raster, quadratische Ausschnitte */
.news-galerie { clear: both; margin: 28px 0 20px; padding-top: 16px; border-top: 1px solid #dcdcdc; }
.news-galerie h2 { font-size: 20px; margin: 0 0 12px; }
.news-galerie-anzahl { font-weight: normal; color: #555; font-size: 15px; }
.news-galerie ul.gallery-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.news-galerie ul.gallery-images li { float: none; width: auto; height: auto; margin: 0; padding: 0; border: 0; list-style: none; }
.news-galerie ul.gallery-images li::before { content: none; }
.news-galerie ul.gallery-images li a { display: block; width: auto; padding: 0; background: none; border: 0; }
.news-galerie ul.gallery-images img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid #dcdcdc; }
.news-galerie ul.gallery-images h2 { display: none; }
