/*
Theme Name: Radio Middleages
Theme URI: https://example.com/
Author: Radio Middleages
Description: Mittelalterliches WordPress-Theme für Radio Middleages – Das Portal für Mittelalter & Reenactment.
Version: 0.32.46
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: radio-middleages
*/

:root{
  --rm-bg:#120e0b;
  --rm-bg2:#211710;
  --rm-panel:#241810;
  --rm-panel2:#302116;
  --rm-gold:#d6a84a;
  --rm-gold-light:#f0cf78;
  --rm-red:#711c20;
  --rm-red-dark:#3d0f12;
  --rm-parchment:#ead6a9;
  --rm-parchment-dark:#c7aa70;
  --rm-text:#f4ead2;
  --rm-muted:#cbbd9e;
  --rm-border:#6f4d24;
  --rm-shadow:0 12px 30px rgba(0,0,0,.55);
  --rm-radius:8px;
  --rm-max:1550px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 50% 0%,rgba(150,90,25,.16),transparent 35%),
    linear-gradient(180deg,#0c0907,#1a120d 45%,#0d0a08);
  color:var(--rm-text);
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.6;
}
a{color:var(--rm-gold-light);text-decoration:none}
a:hover{color:#fff0bd}
img{max-width:100%;height:auto}
.rm-wrap{width:min(100% - 30px,var(--rm-max));margin:auto}

/* Top bar */
.rm-topbar{
  background:#090706;
  border-bottom:1px solid #4b351d;
  font-size:14px;
}
.rm-topbar .rm-wrap{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
}
.rm-topbar a{color:#dfc47f}

/* Header */
.rm-header{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(15,8,5,.9),rgba(35,17,8,.35),rgba(15,8,5,.9)),
    url("assets/images/hero.jpg") center/cover;
  border-bottom:3px solid #8c6128;
  box-shadow:0 8px 22px rgba(0,0,0,.65);
}
.rm-header::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(10,6,4,.78));
  pointer-events:none;
}
.rm-header-inner{
  position:relative;z-index:1;
  min-height:265px;
  display:flex;
  align-items:center;
}
.rm-logo{
  width:380px;
  margin:0 0 -22px 10px;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.8));
}
.rm-header-copy{
  margin:0 0 35px auto;
  max-width:440px;
  padding:20px 30px;
  background:rgba(35,20,10,.75);
  border:1px solid #8c6128;
  color:var(--rm-parchment);
  text-align:center;
  font-size:24px;
  font-weight:bold;
}

/* Navigation */
.rm-nav{
  background:
    linear-gradient(#3a2818,#17100b);
  border-bottom:2px solid #9a6b2c;
  border-top:1px solid #6f4d24;
  box-shadow:var(--rm-shadow);
}
.rm-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
}
.rm-menu li{margin:0}
.rm-menu a{
  display:block;
  padding:14px 20px;
  color:#f1d07b;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:.5px;
  border-right:1px solid #4d351d;
}
.rm-menu a:hover,.rm-menu .current-menu-item>a{
  background:linear-gradient(#701d21,#3c0e11);
  color:#fff1bd;
}

/* Main 3-column layout */
.rm-layout{
  display:grid;
  grid-template-columns:270px minmax(0,1fr) 270px;
  gap:18px;
  padding:22px 0 35px;
}
.rm-sidebar{min-width:0}
.rm-main{min-width:0}

.rm-box{
  margin-bottom:18px;
  background:
    linear-gradient(180deg,rgba(67,43,24,.94),rgba(27,17,11,.98));
  border:1px solid var(--rm-border);
  border-radius:var(--rm-radius);
  box-shadow:var(--rm-shadow);
  overflow:hidden;
}
.rm-box-title{
  margin:0;
  padding:11px 14px;
  background:linear-gradient(90deg,#4d3219,#24150c);
  color:var(--rm-gold-light);
  border-bottom:1px solid #8a5c27;
  font-size:18px;
  text-transform:uppercase;
}
.rm-box-body{padding:15px}
.rm-list{list-style:none;padding:0;margin:0}
.rm-list li{border-bottom:1px solid rgba(214,168,74,.18)}
.rm-list li:last-child{border-bottom:0}
.rm-list a{display:block;padding:9px 2px}

/* Player */
.rm-player{
  text-align:center;
  padding:18px 12px;
}
.rm-play{
  width:76px;height:76px;
  margin:0 auto 10px;
  border-radius:50%;
  border:2px solid #d6a84a;
  background:radial-gradient(circle,#9a702b,#3d2815 68%,#140d08);
  display:grid;place-items:center;
  color:#fff1bd;font-size:30px;
  box-shadow:0 0 18px rgba(214,168,74,.22);
}
.rm-player strong{display:block;color:#f2d27d;font-size:18px}
.rm-player span{color:var(--rm-muted);font-size:14px}

/* Hero */
.rm-hero{
  min-height:365px;
  position:relative;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border:2px solid #8c6128;
  border-radius:9px;
  box-shadow:var(--rm-shadow);
  background:
    linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,.1)),
    url("assets/images/hero.jpg") center/cover;
}
.rm-hero-content{
  width:100%;
  padding:34px 38px 30px;
  text-align:center;
  background:linear-gradient(rgba(8,5,3,.12),rgba(8,5,3,.58),rgba(8,5,3,.72));
}
.rm-hero h1{
  margin:0 0 8px;
  color:#f2ca68;
  font-size:clamp(34px,4vw,62px);
  line-height:1.05;
  text-shadow:2px 3px 0 #28170a,0 0 16px #000;
}
.rm-hero p{
  margin:0 auto 20px;
  max-width:720px;
  font-size:32px;
  font-weight:700;
  color:#f2ca68;
  text-shadow:2px 3px 0 #28170a,0 0 14px #000;
}
.rm-button{
  display:inline-block;
  padding:12px 24px;
  border:1px solid #d5a34b;
  border-radius:6px;
  background:linear-gradient(#8a2926,#3b0d10);
  color:#ffe8a1;
  font-weight:bold;
  text-transform:uppercase;
  box-shadow:0 5px 12px rgba(0,0,0,.45);
}
.rm-button:hover{color:#fff}

/* Feature cards */
.rm-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:18px;
}
.rm-card{
  min-height:150px;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border:1px solid #7e5729;
  border-radius:7px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.8)),
    radial-gradient(circle at 50% 30%,#63451f,#20130c 70%);
  box-shadow:var(--rm-shadow);
}
.rm-card h3{margin:0;color:#f0ca72;font-size:23px}
.rm-card p{margin:3px 0 0;color:#dbc9a4}

/* Parchment */
.rm-parchment{
  margin-top:18px;
  padding:30px 35px;
  color:#332313;
  text-align:center;
  border:1px solid #9e7740;
  border-radius:5px;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.3),transparent 25%),
    linear-gradient(135deg,#f0dfb7,#d7bb82);
  box-shadow:var(--rm-shadow);
}
.rm-parchment h2{
  margin:0 0 10px;
  color:#3b2412;
  font-size:32px;
}
.rm-parchment p{margin:0;font-size:18px}

/* Footer */
.rm-footer{
  background:#080604;
  border-top:2px solid #7d5627;
  padding:24px 0;
  color:#bca77f;
}
.rm-footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

/* WordPress */
.wp-block-image img,.entry-content img{border-radius:5px}
.entry-title{color:#f0ca72}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Responsive */
@media (max-width:1050px){
  .rm-layout{grid-template-columns:220px minmax(0,1fr)}
  .rm-right{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
  .rm-right .rm-box{margin-bottom:0}
  .rm-cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .rm-wrap{width:min(100% - 20px,var(--rm-max))}
  .rm-topbar .rm-wrap{justify-content:center;gap:12px;font-size:12px}
  .rm-header-inner{min-height:210px;display:block;padding-top:15px}
  .rm-logo{display:block;width:min(310px,90%);margin:auto}
  .rm-header-copy{display:none}
  .rm-menu{display:grid;grid-template-columns:repeat(2,1fr)}
  .rm-menu a{text-align:center;padding:11px 8px;font-size:13px}
  .rm-layout{display:block;padding-top:14px}
  .rm-left,.rm-right{display:block}
  .rm-sidebar .rm-box{margin-bottom:14px}
  .rm-hero{min-height:300px}
  .rm-hero-content{padding:25px 15px}
  .rm-hero h1{font-size:36px}
  .rm-hero p{font-size:18px}
  .rm-cards{grid-template-columns:1fr 1fr;gap:10px}
  .rm-card{min-height:125px;padding:12px}
  .rm-card h3{font-size:19px}
  .rm-card p{font-size:13px}
}
@media (max-width:480px){
  .rm-cards{grid-template-columns:1fr}
  .rm-parchment{padding:22px 16px}
  .rm-parchment h2{font-size:25px}
}


/* v0.4 – Header neu, restlicher v0.1-Aufbau bleibt erhalten */
.rm-header{
  position:relative;
  overflow:hidden;
  min-height:260px;
  background:
    linear-gradient(90deg,rgba(5,3,2,.76),rgba(5,3,2,.12) 45%,rgba(5,3,2,.72)),
    url("assets/images/hero-medieval.png") center 46% / cover no-repeat;
  border-bottom:3px solid #8c6128;
  box-shadow:0 10px 26px rgba(0,0,0,.72);
}
.rm-header::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.18),transparent 45%,rgba(4,2,1,.7));
  pointer-events:none;
}
.rm-header-inner{
  position:relative;
  z-index:1;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.rm-header-copy{
  width:min(760px,88%);
  padding:22px 34px 20px;
  text-align:center;
  background:rgba(19,10,5,.72);
  border:1px solid rgba(190,137,55,.78);
  box-shadow:0 8px 25px rgba(0,0,0,.55), inset 0 0 25px rgba(0,0,0,.25);
}
.rm-header-title{
  color:#f0c96b;
  font-size:clamp(40px,5.5vw,70px);
  font-weight:bold;
  line-height:1;
  text-shadow:2px 3px 0 #211208,0 0 18px #000;
}
.rm-header-subtitle{
  margin-top:10px;
  color:#f5ead2;
  font-size:clamp(19px,2.3vw,29px);
  text-shadow:1px 2px 3px #000;
}
.rm-header-motto{
  margin-top:14px;
  padding-top:11px;
  border-top:1px solid rgba(214,168,74,.55);
  color:#d8b66c;
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.rm-header-ornament{
  position:absolute;
  left:50%;bottom:17px;
  transform:translateX(-50%);
  display:flex;gap:35px;
  color:#d8ae5c;
  opacity:.8;
}
.rm-hero{
  background:
    linear-gradient(90deg,rgba(0,0,0,.16),transparent 45%,rgba(0,0,0,.3)),
    url("assets/images/hero-medieval.png") center / cover no-repeat;
}
.rm-social{display:flex;flex-direction:column;gap:8px}
.rm-social .rm-button{margin:0}
.rm-volume{margin-top:14px;color:#b99855;letter-spacing:1px}

@media (max-width:760px){
  .rm-header,.rm-header-inner{min-height:205px}
  .rm-header-copy{padding:18px 16px}
  .rm-header-title{font-size:37px}
  .rm-header-subtitle{font-size:18px}
  .rm-header-motto{font-size:10px;line-height:1.5}
  .rm-header-ornament{bottom:10px}
}

/* v0.5 – Header wirklich zentrieren */
.rm-header-copy{
  margin:0 auto !important;
  position:relative;
  left:auto;
  right:auto;
  transform:none;
}
.rm-header-inner{
  width:100%;
  padding:0 20px;
}
.rm-header-copy{
  max-width:820px;
}
@media (max-width:760px){
  .rm-header-inner{padding:0 10px}
  .rm-header-copy{width:calc(100% - 10px)}
}

/* v0.6 – Logo links + Pergament rechts im Header */
.rm-header{
  min-height:270px;
  background:
    linear-gradient(90deg,rgba(5,3,2,.42),rgba(5,3,2,.08) 52%,rgba(5,3,2,.5)),
    url("assets/images/hero-medieval.png") center 46% / cover no-repeat;
}
.rm-header-inner{
  min-height:270px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}
.rm-header-logo{
  display:block;
  width:330px;
  flex:0 0 330px;
  margin-left:-8px;
  margin-bottom:-28px;
  position:relative;
  z-index:2;
  filter:drop-shadow(0 10px 12px rgba(0,0,0,.85));
}
.rm-header-logo img{
  display:block;
  width:100%;
  height:auto;
}
.rm-header-parchment{
  position:relative;
  width:390px;
  min-height:165px;
  padding:25px 35px;
  margin-right:15px;
  color:#3a2614;
  text-align:center;
  background:
    radial-gradient(circle at 15% 15%,rgba(255,255,255,.32),transparent 26%),
    linear-gradient(135deg,#ead3a0,#cda86c);
  border:1px solid #8d632f;
  box-shadow:0 10px 25px rgba(0,0,0,.62),inset 0 0 20px rgba(93,56,20,.15);
  clip-path:polygon(3% 0,97% 0,100% 8%,98% 93%,95% 100%,5% 100%,0 92%,2% 7%);
}
.rm-header-parchment::before,
.rm-header-parchment::after{
  content:"✦";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  color:#704b20;
  font-size:13px;
}
.rm-header-parchment::before{top:7px}
.rm-header-parchment::after{bottom:5px}
.rm-header-parchment-title{
  font-size:23px;
  line-height:1.35;
  font-weight:bold;
  text-shadow:0 1px rgba(255,255,255,.25);
}
@media (max-width:1050px){
  .rm-header-logo{width:280px;flex-basis:280px}
  .rm-header-parchment{width:340px}
}
@media (max-width:760px){
  .rm-header,.rm-header-inner{min-height:225px}
  .rm-header-inner{
    flex-direction:column;
    justify-content:center;
    gap:0;
    padding:8px 0 14px;
  }
  .rm-header-logo{
    width:205px;
    flex-basis:auto;
    margin:0 auto -18px;
  }
  .rm-header-parchment{
    width:min(330px,92%);
    min-height:auto;
    padding:17px 25px 19px;
    margin:0 auto;
  }
  .rm-header-parchment-title{font-size:17px}
}

/* v0.7 – Header-Proportionen fein angepasst */
.rm-header{
  min-height:245px;
}
.rm-header-inner{
  min-height:245px;
  gap:28px;
  padding:0 10px;
}
.rm-header-logo{
  width:285px;
  flex:0 0 285px;
  margin-left:0;
  margin-bottom:-22px;
}
.rm-header-parchment{
  width:350px;
  min-height:150px;
  padding:22px 28px;
  margin-right:8px;
}
.rm-header-parchment-title{
  font-size:21px;
}
@media (max-width:1050px){
  .rm-header-logo{width:245px;flex-basis:245px}
  .rm-header-parchment{width:315px}
}
@media (max-width:760px){
  .rm-header,.rm-header-inner{min-height:215px}
  .rm-header-inner{padding:8px 0 12px}
  .rm-header-logo{
    width:190px;
    flex-basis:auto;
    margin:0 auto -16px;
  }
  .rm-header-parchment{
    width:min(320px,92%);
    min-height:auto;
    padding:16px 22px 18px;
    margin:0 auto;
  }
  .rm-header-parchment-title{font-size:16px}
}

/* v0.8 – Radio-Player verfeinert */
.rm-player{
  padding:22px 16px 20px;
  text-align:center;
}
.rm-play{
  appearance:none;
  width:78px;
  height:78px;
  margin:0 auto 13px;
  padding:0;
  border-radius:50%;
  border:2px solid #d6a84a;
  background:
    radial-gradient(circle at 38% 32%,#b88731,#60431e 48%,#25170c 78%);
  color:#fff0b7;
  font-family:Arial,sans-serif;
  font-size:29px;
  line-height:78px;
  cursor:pointer;
  box-shadow:
    0 0 0 5px rgba(214,168,74,.07),
    0 0 22px rgba(214,168,74,.28),
    inset 0 0 14px rgba(0,0,0,.5);
  transition:transform .18s ease,box-shadow .18s ease;
}
.rm-play:hover{
  transform:scale(1.05);
  box-shadow:
    0 0 0 5px rgba(214,168,74,.1),
    0 0 30px rgba(214,168,74,.42),
    inset 0 0 14px rgba(0,0,0,.5);
}
.rm-player strong{
  display:block;
  color:#f0ca72;
  font-size:19px;
  text-shadow:1px 2px 3px #000;
}
.rm-player>span{
  display:block;
  margin-top:3px;
  color:#e0cda8;
  font-size:14px;
}
.rm-player-status{
  margin-top:14px;
  color:#c7a965;
  font-family:Arial,sans-serif;
  font-size:10px;
  font-weight:bold;
  letter-spacing:1.3px;
}
.rm-status-dot{
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:5px;
  border-radius:50%;
  background:#c9a14a;
  box-shadow:0 0 8px rgba(201,161,74,.75);
}
.rm-player-line{
  height:3px;
  margin:12px 8px 10px;
  border-radius:4px;
  background:#4d351d;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.8);
  overflow:hidden;
}
.rm-player-line span{
  display:block;
  width:32%;
  height:100%;
  background:linear-gradient(90deg,#8d6428,#e2bb5d);
}
.rm-player-controls{
  display:flex;
  align-items:center;
  gap:8px;
  color:#a98c59;
  font-family:Arial,sans-serif;
  font-size:9px;
  letter-spacing:.7px;
}
.rm-volume-bar{
  flex:1;
  height:5px;
  border-radius:4px;
  background:#4b321b;
  overflow:hidden;
}
.rm-volume-bar span{
  display:block;
  width:78%;
  height:100%;
  background:linear-gradient(90deg,#76501e,#d5aa4f);
}
@media (max-width:760px){
  .rm-play{width:70px;height:70px;line-height:70px}
}

/* v0.9 – echter laut.fm Stream */
.rm-player audio{display:none}
.rm-player-status.is-playing .rm-status-dot{
  background:#d9b455;
  box-shadow:0 0 10px rgba(217,180,85,.95);
}
.rm-volume-input{
  flex:1;
  min-width:60px;
  height:5px;
  accent-color:#c9983b;
  cursor:pointer;
}
.rm-player-controls .rm-volume-bar{display:none}
.rm-player-error{
  min-height:14px;
  margin-top:8px;
  color:#b99561;
  font-family:Arial,sans-serif;
  font-size:10px;
  line-height:1.3;
}

/* v0.17 – aktueller Titel von laut.fm */
.rm-current-song{
  margin:14px 2px 0;
  padding:10px 10px 11px;
  border-top:1px solid rgba(214,168,74,.22);
  border-bottom:1px solid rgba(214,168,74,.18);
  text-align:left;
  background:rgba(0,0,0,.14);
}
.rm-current-label{
  display:block;
  margin-bottom:4px;
  color:#c7a965 !important;
  font-family:Arial,sans-serif;
  font-size:9px !important;
  font-weight:bold;
  letter-spacing:1.4px;
}
.rm-current-song strong{
  display:block;
  color:#f1d58a;
  font-family:Georgia,serif;
  font-size:13px;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:anywhere;
  text-shadow:1px 1px 2px #000;
}


/* v0.17 current song polish */
.rm-now-playing {
    min-width: 0;
}

.rm-now-playing .rm-song {
    display: block;
    min-width: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rm-now-playing .rm-artist {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.rm-now-playing .rm-title {
    display: block;
    margin-top: 2px;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rm-now-playing.rm-song-updated .rm-song {
    animation: rmSongUpdate .35s ease-out;
}

@keyframes rmSongUpdate {
    0%   { opacity: .45; transform: translateY(2px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* v0.17 responsive layout
   Keeps the existing medieval design and player intact.
*/
.rm-site,
.site-container,
.site-layout,
.main-container {
    width: min(100% - 32px, 1550px);
    margin-left: auto;
    margin-right: auto;
}

/* Desktop: use available space while retaining comfortable proportions. */
.site-layout {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) minmax(190px, 230px);
    gap: 12px;
}

.site-layout > *,
.main-content,
.content-area {
    min-width: 0;
}

.hero,
.hero-section,
.rm-hero {
    max-width: 100%;
}

.hero img,
.hero-section img,
.rm-hero img {
    max-width: 100%;
    height: auto;
}

/* Medium laptops / tablets in landscape. */
@media (max-width: 1100px) {
    .rm-site,
    .site-container,
    .site-layout,
    .main-container {
        width: min(100% - 24px, 1100px);
    }

    .site-layout {
        grid-template-columns: 190px minmax(0, 1fr) 190px;
        gap: 10px;
    }

    .main-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Tablet portrait: keep all content accessible and stack the sidebars below. */
@media (max-width: 900px) {
    .rm-site,
    .site-container,
    .site-layout,
    .main-container {
        width: min(100% - 20px, 760px);
    }

    .site-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .left-sidebar,
    .right-sidebar,
    .sidebar-left,
    .sidebar-right {
        width: 100%;
        max-width: none;
    }

    .main-content,
    .content-area {
        width: 100%;
    }

    .left-sidebar { order: 2; }
    .main-content,
    .content-area { order: 1; }
    .right-sidebar { order: 3; }

    .cards,
    .feature-cards,
    .content-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phones: one column, comfortable side padding and no horizontal overflow. */
@media (max-width: 600px) {
    .rm-site,
    .site-container,
    .site-layout,
    .main-container {
        width: calc(100% - 16px);
        max-width: none;
    }

    body {
        overflow-x: hidden;
    }

    .cards,
    .feature-cards,
    .content-cards {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .hero-section .hero-content,
    .rm-hero .hero-content {
        padding: 20px 14px;
    }

    .hero-content h1,
    .hero-section h1,
    .rm-hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
        line-height: 1.08;
    }

    .hero-content p,
    .hero-section p,
    .rm-hero p {
        font-size: 0.95rem;
    }

    .welcome,
    .welcome-section {
        padding: 20px 14px;
    }
}

/* Very small phones. */
@media (max-width: 380px) {
    .rm-site,
    .site-container,
    .site-layout,
    .main-container {
        width: calc(100% - 12px);
    }
}


/* v0.17 simple events */
.rm-next-events {
    margin-top: 12px;
}

.rm-next-events h3 {
    margin: 0 0 12px;
}

.rm-event-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.rm-event-item:last-child {
    border-bottom: 0;
}

.rm-event-title {
    display: block;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.rm-event-date,
.rm-event-time,
.rm-event-location {
    margin-top: 3px;
    font-size: .88rem;
    line-height: 1.3;
}

.rm-no-events {
    font-size: .9rem;
    line-height: 1.4;
}


/* v0.17 event box integration */
.rm-box .rm-next-events {
    margin-top: 0;
}

.rm-box .rm-next-events h3 {
    display: none;
}

.rm-box .rm-event-item {
    padding: 9px 0;
}

.rm-box .rm-event-title {
    color: inherit;
}

.rm-box .rm-event-date {
    font-weight: 700;
    margin-top: 2px;
}


/* v0.17 events heading */
.rm-box .rm-next-events {
    margin-top: 0;
}
.rm-box .rm-next-events h3 {
    display: none;
}
.rm-box .rm-box-body .rm-next-events + .rm-button {
    display: inline-block;
    margin-top: 8px;
}


/* v0.21 event links */
.rm-event-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.rm-event-single {
    width: min(100% - 32px, 1100px);
    margin: 30px auto;
}
.rm-event-detail {
    padding: 30px;
    border: 1px solid rgba(180, 130, 45, .6);
    border-radius: 8px;
    background: rgba(35, 20, 12, .92);
}
.rm-event-meta {
    margin: 18px 0 24px;
    line-height: 1.7;
}
@media (max-width: 600px) {
    .rm-event-single { width: calc(100% - 16px); }
    .rm-event-detail { padding: 20px 14px; }
    .rm-event-links .rm-button { width: 100%; text-align: center; }
}

/* v0.22 – Geschichte */
.rm-history-page{width:min(100% - 32px,1100px);margin:28px auto 40px}
.rm-history-hero{min-height:300px;border:1px solid rgba(190,145,67,.65);border-radius:10px;overflow:hidden;display:flex;align-items:flex-end;background:linear-gradient(rgba(25,13,7,.18),rgba(25,13,7,.84)),url("assets/images/hero-medieval.png") center/cover no-repeat}
.rm-history-hero-overlay{width:100%;padding:42px 38px;background:linear-gradient(transparent,rgba(15,8,4,.9))}
.rm-history-kicker{margin:0 0 8px;letter-spacing:.18em;font-size:.78rem;font-weight:700}
.rm-history-hero h1{margin:0;font-size:clamp(2.2rem,5vw,4rem);line-height:1;letter-spacing:.06em}
.rm-history-hero p{margin:12px 0 0;font-size:1.08rem}
.rm-parchment{margin-top:20px;padding:28px 30px;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.95),rgba(218,188,126,.95));color:#352314;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.rm-parchment h2{margin:0 0 10px;color:#5a3515}
.rm-parchment p{margin:0;line-height:1.7}
.rm-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.rm-history-card{padding:24px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:linear-gradient(145deg,rgba(57,31,17,.97),rgba(28,16,10,.98));box-shadow:0 6px 18px rgba(0,0,0,.18)}
.rm-history-card-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:12px;border:1px solid #b98a45;border-radius:50%;color:#e4c27d;font-weight:700}
.rm-history-card h2{margin:0 0 8px;color:#e4c27d;font-size:1.25rem}
.rm-history-card p{margin:0;color:#eadfce;line-height:1.6}
.rm-history-closing{margin-bottom:0}
@media(max-width:700px){.rm-history-page{width:calc(100% - 16px)}.rm-history-grid{grid-template-columns:1fr}.rm-history-hero{min-height:250px}.rm-history-hero-overlay{padding:30px 20px}.rm-parchment{padding:22px 18px}.rm-history-card{padding:20px}}


/* v0.24 – Geschichte komplett */
.rm-history-sections{display:grid;gap:16px;margin-top:20px}
.rm-history-story{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:28px 30px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:linear-gradient(145deg,rgba(57,31,17,.98),rgba(28,16,10,.98));box-shadow:0 6px 18px rgba(0,0,0,.18)}
.rm-history-story .rm-history-card-icon{margin:0;width:42px;height:42px}
.rm-history-story h2{margin:0;color:#e4c27d;font-size:1.55rem}
.rm-history-period{margin:4px 0 14px;color:#b99561;font-size:.88rem;font-weight:700;letter-spacing:.04em}
.rm-history-story p{margin:0 0 12px;color:#eadfce;line-height:1.72}
.rm-history-story p:last-child{margin-bottom:0}
.rm-history-note{margin-top:16px!important;padding-top:14px;border-top:1px solid rgba(90,53,21,.3);font-size:.9rem}
.rm-history-timeline{margin-top:20px}
.rm-history-timeline-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.rm-history-timeline-grid div{padding:15px;border:1px solid rgba(90,53,21,.28);border-radius:6px;background:rgba(255,255,255,.14)}
.rm-history-timeline-grid strong{display:block;color:#5a3515;margin-bottom:5px}
.rm-history-timeline-grid span{display:block;line-height:1.5}
@media(max-width:800px){.rm-history-timeline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rm-history-story{grid-template-columns:1fr;gap:12px;padding:22px 18px}.rm-history-story .rm-history-card-icon{width:38px;height:38px}.rm-history-story h2{font-size:1.35rem}.rm-history-timeline-grid{grid-template-columns:1fr}.rm-history-note{font-size:.86rem}}


/* v0.25 – Kultur komplett */
.rm-culture-page{width:min(100% - 32px,1100px);margin:28px auto 40px}
.rm-culture-hero{min-height:300px;border:1px solid rgba(190,145,67,.65);border-radius:10px;overflow:hidden;display:flex;align-items:flex-end;background:linear-gradient(rgba(25,13,7,.18),rgba(25,13,7,.84)),url("assets/images/hero-medieval.png") center/cover no-repeat}
.rm-culture-hero-overlay{width:100%;padding:42px 38px;background:linear-gradient(transparent,rgba(15,8,4,.9))}
.rm-culture-kicker{margin:0 0 8px;letter-spacing:.18em;font-size:.78rem;font-weight:700}
.rm-culture-hero h1{margin:0;font-size:clamp(2.2rem,5vw,4rem);line-height:1;letter-spacing:.06em}
.rm-culture-hero p{margin:12px 0 0;font-size:1.08rem}
.rm-culture-sections{display:grid;gap:16px;margin-top:20px}
.rm-culture-story{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:28px 30px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:linear-gradient(145deg,rgba(57,31,17,.98),rgba(28,16,10,.98));box-shadow:0 6px 18px rgba(0,0,0,.18)}
.rm-culture-card-icon{width:42px;height:42px;display:grid;place-items:center;margin:0;border:1px solid #b98a45;border-radius:50%;color:#e4c27d;font-weight:700}
.rm-culture-story h2{margin:0;color:#e4c27d;font-size:1.55rem}
.rm-culture-period{margin:4px 0 14px;color:#b99561;font-size:.88rem;font-weight:700;letter-spacing:.04em}
.rm-culture-story p{margin:0 0 12px;color:#eadfce;line-height:1.72}
.rm-culture-story p:last-child{margin-bottom:0}
.rm-culture-overview{margin-top:20px}
.rm-culture-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.rm-culture-overview-grid div{padding:15px;border:1px solid rgba(90,53,21,.28);border-radius:6px;background:rgba(255,255,255,.14)}
.rm-culture-overview-grid strong{display:block;color:#5a3515;margin-bottom:5px}
.rm-culture-overview-grid span{display:block;line-height:1.5}
.rm-culture-closing{margin-bottom:0}
@media(max-width:800px){.rm-culture-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rm-culture-page{width:calc(100% - 16px)}.rm-culture-hero{min-height:250px}.rm-culture-hero-overlay{padding:30px 20px}.rm-culture-story{grid-template-columns:1fr;gap:12px;padding:22px 18px}.rm-culture-story .rm-culture-card-icon{width:38px;height:38px}.rm-culture-story h2{font-size:1.35rem}.rm-culture-overview-grid{grid-template-columns:1fr}}


/* v0.27 – Events komplett */
.rm-event-detail-kicker{color:#d5a94d;letter-spacing:.16em;font-size:.72rem;font-weight:700;margin-bottom:8px}
.rm-event-detail h1{margin:0;color:#e5bd62;font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.2rem);line-height:1.1}
.rm-event-featured-image{margin:22px 0;border:1px solid rgba(190,145,67,.6);border-radius:7px;overflow:hidden}
.rm-event-featured-image img{display:block;width:100%;height:auto}
.rm-event-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 28px}
.rm-event-meta>div{padding:14px 16px;border:1px solid rgba(177,129,55,.55);border-radius:6px;background:rgba(55,31,17,.65)}
.rm-event-meta span{display:block;color:#b98a42;font-size:.72rem;letter-spacing:.12em;margin-bottom:5px}
.rm-event-meta strong{display:block;color:#f0dfba}
.rm-event-content{font-size:1.02rem;line-height:1.8;color:#f1e5cf}
.rm-event-content h2,.rm-event-content h3{color:#e0b65b;font-family:Georgia,serif}
.rm-event-back{margin-top:28px;padding-top:18px;border-top:1px solid rgba(177,129,55,.35)}
.rm-event-back a{color:#d6ab58;text-decoration:none}
.rm-events-archive{width:min(100% - 32px,1100px);margin:28px auto 45px}
.rm-events-archive-hero{min-height:260px;border:1px solid rgba(190,145,67,.65);border-radius:10px;overflow:hidden;background:linear-gradient(rgba(25,13,7,.2),rgba(25,13,7,.86)),url("assets/images/hero-medieval.png") center/cover no-repeat;display:flex;align-items:flex-end}
.rm-events-archive-overlay{width:100%;padding:38px;background:linear-gradient(transparent,rgba(15,8,4,.92))}
.rm-events-archive-overlay h1{margin:0;color:#f0c86b;font:700 clamp(2.4rem,6vw,4rem)/1 Georgia,serif;letter-spacing:.06em}
.rm-events-archive-overlay p{margin:12px 0 0;max-width:760px;color:#f5ead6;font-size:1.05rem}
.rm-events-intro{margin-top:20px;padding:25px 28px;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.95),rgba(218,188,126,.95));color:#352314;text-align:center}
.rm-events-intro h2{margin:0 0 8px;color:#5a3515;font-family:Georgia,serif}
.rm-events-intro p{margin:0;line-height:1.7}
.rm-events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.rm-event-archive-card{overflow:hidden;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:rgba(35,20,12,.92);display:flex;flex-direction:column}
.rm-event-thumb{display:block;max-height:230px;overflow:hidden}
.rm-event-thumb img{display:block;width:100%;height:230px;object-fit:cover}
.rm-event-archive-body{padding:22px}
.rm-event-archive-date{color:#d2a44d;font-size:.8rem;font-weight:700;letter-spacing:.1em}
.rm-event-archive-body h2{margin:7px 0 12px;font:700 1.45rem/1.2 Georgia,serif}
.rm-event-archive-body h2 a{color:#e4bc66;text-decoration:none}
.rm-event-archive-meta{margin:5px 0;color:#eadcc4}
.rm-event-excerpt{margin:14px 0 18px;color:#d9cbb7;line-height:1.6}
.rm-events-empty{grid-column:1/-1;padding:30px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:rgba(35,20,12,.92);text-align:center}
.rm-events-empty h2{color:#e0b65b;font-family:Georgia,serif}
@media(max-width:700px){.rm-event-meta{grid-template-columns:1fr}.rm-events-grid{grid-template-columns:1fr}.rm-events-archive,.rm-event-single{width:calc(100% - 16px)}.rm-events-archive-overlay{padding:25px 20px}.rm-event-archive-body{padding:18px}.rm-event-thumb img{height:200px}}

/* v0.28 – calendar buttons */
.rm-event-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.rm-event-links .rm-button{display:inline-flex;align-items:center;justify-content:center}


/
/* v0.31.2 – Impressum, Datenschutz & Kontakt */
.rm-legal-page{width:min(100% - 32px,1100px);margin:28px auto 45px}
.rm-legal-card{padding:34px 36px;border:1px solid rgba(177,129,55,.65);border-radius:9px;background:linear-gradient(145deg,rgba(35,20,12,.96),rgba(23,13,8,.98));box-shadow:0 8px 24px rgba(0,0,0,.22);color:#eadfce;line-height:1.75}
.rm-legal-kicker{color:#d5a94d;letter-spacing:.16em;font-size:.72rem;font-weight:700;margin-bottom:8px}
.rm-legal-card h1{margin:0 0 24px;color:#e5bd62;font:700 clamp(2rem,4vw,3.2rem)/1.1 Georgia,serif}
.rm-legal-card h2{margin:28px 0 8px;color:#e0b65b;font:700 1.35rem/1.2 Georgia,serif}
.rm-legal-card p{margin:0 0 12px}
.rm-legal-card a{color:#e2bc68}
.rm-legal-note{margin-top:30px!important;padding-top:16px;border-top:1px solid rgba(177,129,55,.3);font-size:.88rem;color:#bca98e}
.rm-contact-info{margin:20px 0 24px;padding:18px 20px;border:1px solid #b88a45;border-radius:7px;background:linear-gradient(rgba(239,218,169,.95),rgba(218,188,126,.95));color:#352314}
.rm-contact-info a{color:#5a3515}
.rm-contact-form{display:grid;gap:16px;margin-top:24px}
.rm-contact-form label{display:grid;gap:7px;color:#e4c27d;font-weight:700}
.rm-contact-form input[type=text],.rm-contact-form input[type=email],.rm-contact-form textarea{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid rgba(177,129,55,.65);border-radius:6px;background:#24150d;color:#f1e5cf;font:inherit}
.rm-contact-form textarea{resize:vertical;min-height:150px}
.rm-contact-form input:focus,.rm-contact-form textarea:focus{outline:2px solid rgba(224,182,91,.35);border-color:#d1a14d}
.rm-contact-consent{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px!important;font-size:.9rem;font-weight:400!important;color:#d9cbb7!important}
.rm-contact-consent input{margin-top:4px;flex:0 0 auto}
.rm-contact-consent a{font-weight:700}
.rm-form-message{margin:18px 0;padding:14px 16px;border-radius:6px;border:1px solid rgba(177,129,55,.65)}
.rm-form-message.success{background:rgba(74,99,45,.28);color:#dcefc9}
.rm-form-message.error{background:rgba(110,48,34,.35);color:#f0cfc2}
@media(max-width:600px){.rm-legal-page{width:calc(100% - 16px)}.rm-legal-card{padding:24px 18px}.rm-legal-card h1{font-size:2.2rem}}

/* v0.31.4 – Startseite: News-Bereich im gleichen Pergament-Stil wie der Willkommensbereich */
.rm-home-news{
  margin-top:20px;
  padding:28px 30px 30px;
  border:1px solid #b88a45;
  border-radius:8px;
  background:linear-gradient(rgba(239,218,169,.95),rgba(218,188,126,.95));
  color:#352314;
  box-shadow:0 8px 22px rgba(0,0,0,.2);
}
.rm-home-news-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.rm-home-news-kicker{
  margin:0 0 7px;
  color:#6b431e;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.rm-home-news h2{
  margin:0 0 8px;
  color:#5a3515;
  font-size:clamp(25px,3vw,34px);
  line-height:1.15;
}
.rm-home-news-head > div > p:last-child{
  margin:0;
  color:#352314;
  line-height:1.6;
}
.rm-home-news-all{
  flex:0 0 auto;
  text-decoration:none;
}
.rm-home-news-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.rm-home-news-card{
  display:flex;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(139,99,43,.75);
  border-radius:7px;
  background:rgba(255,244,211,.38);
  box-shadow:0 3px 10px rgba(55,31,10,.12);
}
.rm-home-news-image{
  flex:0 0 180px;
  display:block;
  min-height:180px;
}
.rm-home-news-image img{
  display:block;
  width:100%;
  height:100%;
  min-height:180px;
  object-fit:cover;
}
.rm-home-news-body{
  min-width:0;
  padding:18px 18px 16px;
}
.rm-home-news-meta{
  margin-bottom:7px;
  color:#795127;
  font-size:12px;
  font-weight:700;
}
.rm-home-news-card h3{
  margin:0 0 9px;
  font-size:20px;
  line-height:1.25;
}
.rm-home-news-card h3 a{
  color:#5a3515;
  text-decoration:none;
}
.rm-home-news-card h3 a:hover{text-decoration:underline}
.rm-home-news-excerpt{
  color:#352314;
  line-height:1.5;
  font-size:15px;
}
.rm-home-news-more{
  display:inline-block;
  margin-top:13px;
  color:#6b2a1f;
  font-weight:700;
  text-decoration:none;
}
.rm-home-news-more:hover{text-decoration:underline}
.rm-home-news-empty{
  padding:18px;
  border:1px solid rgba(139,99,43,.65);
  border-radius:7px;
  background:rgba(255,244,211,.3);
}
.rm-home-news-empty h3{margin:0 0 7px;color:#5a3515}
.rm-home-news-empty p{margin:0;line-height:1.6}

@media (max-width:900px){
  .rm-home-news-head{align-items:flex-start;flex-direction:column}
  .rm-home-news-grid{grid-template-columns:1fr}
}
@media (max-width:600px){
  .rm-home-news{padding:22px 16px 20px}
  .rm-home-news-card{display:block}
  .rm-home-news-image,
  .rm-home-news-image img{width:100%;height:210px;min-height:210px}
}

/* v0.31.5 – Einzelne Beiträge: volle, gut lesbare Inhaltsbreite */
.rm-post-page{
  width:min(100% - 32px, 1200px);
  margin:28px auto 45px;
}
.rm-post-article{
  padding:30px 34px 34px;
  border:1px solid rgba(177,129,55,.68);
  border-radius:9px;
  background:linear-gradient(145deg,rgba(35,20,12,.97),rgba(20,12,8,.98));
  box-shadow:0 10px 26px rgba(0,0,0,.35);
}
.rm-post-kicker{
  color:#c89b4b;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.06em;
  margin-bottom:8px;
}
.rm-post-title{
  margin:0 0 22px;
  color:#f0c86b;
  font:700 clamp(2rem,4vw,3rem)/1.15 Georgia,"Times New Roman",serif;
}
.rm-post-featured-image{
  margin:0 0 25px;
  border:1px solid rgba(190,145,67,.65);
  border-radius:7px;
  overflow:hidden;
}
.rm-post-featured-image img{
  display:block;
  width:100%;
  height:auto;
}
.rm-post-content{
  color:#f1e5cf;
  font-size:1.05rem;
  line-height:1.8;
}
.rm-post-content p{margin:0 0 1.1em}
.rm-post-content h2,.rm-post-content h3,.rm-post-content h4{
  color:#e2b75d;
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.25;
  margin-top:1.4em;
}
.rm-post-content a{color:#f0cb70;text-decoration:underline}
.rm-post-content ul,.rm-post-content ol{padding-left:1.5em}
.rm-post-back{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid rgba(177,129,55,.35);
}
@media(max-width:600px){
  .rm-post-page{width:calc(100% - 16px);margin-top:18px}
  .rm-post-article{padding:22px 18px 24px}
  .rm-post-title{font-size:2rem}
  .rm-post-content{font-size:1rem;line-height:1.7}
  .rm-post-back .rm-button{width:100%;text-align:center}
}

/* Community dropdown */
.rm-menu-community{position:relative;margin:0}
.rm-community-toggle{
  display:block;
  padding:14px 20px;
  width:100%;
  border:0;
  border-right:1px solid #4d351d;
  background:transparent;
  color:#f1d07b;
  font:inherit;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:.5px;
  cursor:pointer;
}
.rm-community-toggle:hover,
.rm-menu-community.is-open .rm-community-toggle{
  background:linear-gradient(#701d21,#3c0e11);
  color:#fff1bd;
}
.rm-community-arrow{font-size:.65em;margin-left:5px;vertical-align:middle}
.rm-community-dropdown{
  position:absolute;
  z-index:1000;
  top:100%;
  left:0;
  min-width:240px;
  margin:0;
  padding:6px 0;
  list-style:none;
  display:none;
  background:linear-gradient(180deg,#3a2818,#17100b);
  border:1px solid #9a6b2c;
  border-top:0;
  box-shadow:var(--rm-shadow);
}
.rm-menu-community.is-open .rm-community-dropdown{display:block}
.rm-menu-community:hover .rm-community-dropdown{display:block}
.rm-community-dropdown li{margin:0}
.rm-community-dropdown a,
.rm-community-dropdown .rm-community-empty{
  display:block;
  padding:11px 16px;
  border:0;
  color:#f1d07b;
  text-transform:none;
  letter-spacing:0;
  font-weight:bold;
  white-space:nowrap;
}
.rm-community-dropdown a:hover{background:linear-gradient(#701d21,#3c0e11);color:#fff1bd}
.rm-community-empty{font-weight:normal!important;color:#cdb58a!important;font-size:13px}
@media (max-width:760px){
  .rm-menu-community{position:relative}
  .rm-community-toggle{text-align:center;padding:11px 8px;font-size:13px}
  .rm-community-dropdown{position:static;width:100%;min-width:0;border-top:1px solid #9a6b2c}
  .rm-menu-community.is-open{grid-column:1/-1}
  .rm-community-dropdown a,.rm-community-dropdown .rm-community-empty{text-align:center;white-space:normal}
}

/* v0.31.7: Hero text hierarchy */
.rm-hero-content h1 { margin-bottom: 10px; }
.rm-hero-content p { margin-top: 0; }


/* v0.32.1 – verfeinerte mittelalterliche Hero-/Header-Typografie */
.rm-header-center{
  flex:1 1 auto;
  min-width:0;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px 18px 28px;
  margin-left:10px;
}
.rm-header-center h1{
  margin:0;
  max-width:900px;
  color:#f1cf79;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,4.1vw,62px);
  line-height:1.02;
  font-weight:700;
  letter-spacing:.01em;
  text-shadow:2px 3px 0 #241408,0 0 16px rgba(0,0,0,.95);
}
.rm-header-center .rm-header-ornament{
  position:static;
  transform:none;
  width:min(680px,90%);
  margin-top:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:#d9ad50;
  opacity:1;
}
.rm-orn-line{
  height:2px;
  flex:1 1 auto;
  max-width:270px;
  background:linear-gradient(90deg,transparent,#d6a84a 25%,#f0cf78 50%,#d6a84a 75%,transparent);
  box-shadow:0 0 7px rgba(214,168,74,.25);
}
.rm-orn-shield{
  width:52px;
  height:62px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  color:#f0cf78;
  font-size:27px;
  line-height:1;
  background:linear-gradient(145deg,#7d2024,#3b0d10);
  border:2px solid #d6a84a;
  clip-path:polygon(10% 0,90% 0,100% 12%,94% 72%,50% 100%,6% 72%,0 12%);
  box-shadow:0 4px 12px rgba(0,0,0,.65),inset 0 0 8px rgba(255,218,120,.16);
  text-shadow:0 2px 2px #1a0b05;
}
.rm-hero-content{
  padding:30px 30px 28px;
  background:linear-gradient(rgba(8,5,3,.08),rgba(8,5,3,.35),rgba(8,5,3,.66));
}
.rm-hero h1{
  margin:0;
  color:#f1cf79;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(38px,4.4vw,62px);
  line-height:1;
  letter-spacing:.015em;
  text-shadow:2px 3px 0 #28170a,0 0 16px #000;
}
.rm-hero-ornament{
  width:min(620px,82%);
  margin:13px auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.rm-hero-ornament .rm-orn-shield{
  width:46px;
  height:55px;
  flex-basis:46px;
  font-size:24px;
}
.rm-hero-ornament .rm-orn-line{max-width:250px}
.rm-hero .rm-button{
  margin-top:0;
  font-size:18px;
  padding:12px 26px;
  text-transform:uppercase;
}
@media (max-width:1050px){
  .rm-header-center h1{font-size:clamp(30px,4vw,48px)}
  .rm-header-center{padding-left:5px;padding-right:5px}
}
@media (max-width:760px){
  .rm-header-center{order:2;align-self:auto;width:100%;margin:0;padding:6px 10px 14px}
  .rm-header-center h1{font-size:30px;line-height:1.08}
  .rm-header-center .rm-header-ornament{margin-top:9px;width:90%;gap:8px}
  .rm-header-center .rm-orn-shield{width:40px;height:48px;flex-basis:40px;font-size:21px}
  .rm-header-logo{order:1}
  .rm-header-parchment{order:3}
  .rm-hero-content{padding:24px 14px 25px}
  .rm-hero h1{font-size:clamp(34px,10vw,48px)}
  .rm-hero-ornament{width:92%;margin:10px auto 15px}
  .rm-hero-ornament .rm-orn-shield{width:38px;height:46px;flex-basis:38px;font-size:20px}
  .rm-hero .rm-button{font-size:16px;padding:11px 20px}
}


/* v0.32.2 – laut.fm Branding + verfeinertes Hero-Design */
.rm-header-inner{gap:18px}
.rm-header-center{padding-left:8px;padding-right:8px}
.rm-header-center h1{
  font-family:"Old English Text MT","UnifrakturCook",Georgia,"Times New Roman",serif;
  letter-spacing:.01em;
  text-transform:none;
}
.rm-header-lautfm{
  flex:0 0 170px;
  width:170px;
  min-height:120px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#f0cf79;
  text-shadow:1px 2px 3px #000;
}
.rm-lautfm-kicker{
  font-size:14px;
  font-weight:700;
  margin-bottom:3px;
}
.rm-lautfm-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:25px;
  font-weight:800;
  line-height:1;
}
.rm-lautfm-brand img{
  width:36px;
  height:36px;
  object-fit:contain;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.7));
}
.rm-lautfm-station{
  margin-top:5px;
  font-size:13px;
  font-weight:700;
  color:#f0cf79;
}
.rm-header-parchment{flex:0 0 315px;width:315px}

.rm-hero-content{
  position:relative;
  padding-top:30px;
  padding-bottom:62px;
}
.rm-hero h1{
  font-family:"Old English Text MT","UnifrakturCook",Georgia,"Times New Roman",serif;
  font-size:clamp(40px,4.5vw,64px);
  letter-spacing:.015em;
}
.rm-hero .rm-button{position:relative;z-index:2}
.rm-hero-lautfm{
  position:absolute;
  right:26px;
  bottom:16px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#f0cf79;
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  text-shadow:1px 2px 3px #000;
}
.rm-hero-lautfm-brand{display:flex;align-items:center;gap:5px;text-transform:none;letter-spacing:0;font-family:Arial,sans-serif;font-size:22px;color:#fff}
.rm-hero-lautfm-brand img{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.7))}

.rm-cards{gap:12px}
.rm-card{
  min-height:118px;
  padding:16px 18px;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  background:
    linear-gradient(180deg,rgba(22,12,7,.2),rgba(0,0,0,.78)),
    radial-gradient(circle at 50% 25%,#694920,#21140c 72%);
}
.rm-card-icon{
  width:52px;height:52px;flex:0 0 52px;
  display:grid;place-items:center;
  color:#f2c75e;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  border:1px solid #9d6c2c;
  border-radius:50%;
  box-shadow:inset 0 0 12px rgba(214,168,74,.12),0 0 10px rgba(0,0,0,.35);
}
.rm-card h3{font-family:"Old English Text MT","UnifrakturCook",Georgia,"Times New Roman",serif;font-size:22px}
.rm-card p{font-size:13px}

@media (max-width:1050px){
  .rm-header-lautfm{flex-basis:145px;width:145px}
  .rm-header-parchment{flex-basis:280px;width:280px}
  .rm-lautfm-brand{font-size:21px}
  .rm-lautfm-brand img{width:31px;height:31px}
}
@media (max-width:760px){
  .rm-header-inner{gap:0}
  .rm-header-lautfm{order:3;flex:0 0 auto;width:auto;min-height:auto;margin:4px auto 2px}
  .rm-header-parchment{order:4;flex:0 0 auto;width:min(320px,92%)}
  .rm-lautfm-kicker{font-size:12px}
  .rm-lautfm-brand{font-size:20px}
  .rm-lautfm-brand img{width:28px;height:28px}
  .rm-hero-content{padding-bottom:72px}
  .rm-hero-lautfm{right:50%;transform:translateX(50%);bottom:15px}
  .rm-card{min-height:108px}
  .rm-card-icon{width:44px;height:44px;flex-basis:44px;font-size:26px}
  .rm-card h3{font-size:19px}
}


/* v0.32.3 – Header exakt wie im Design: Logo links, Portal mittig, laut.fm rechts, Pergament ganz rechts */
@media (min-width: 761px){
  .rm-header{min-height:265px;}
  .rm-header-inner{
    position:relative;
    width:100%;
    max-width:none;
    min-height:265px;
    height:265px;
    margin:0;
    padding:0;
    display:block;
    overflow:hidden;
  }
  .rm-header-logo{
    position:absolute;
    left:0;
    top:0;
    z-index:4;
    width:275px;
    height:auto;
    margin:0;
  }
  .rm-header-center{
    position:absolute;
    left:50%;
    top:5px;
    transform:translateX(-50%);
    z-index:3;
    width:min(760px,48vw);
    min-width:620px;
    height:auto;
    margin:0;
    padding:0 10px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }
  .rm-header-center h1{
    width:100%;
    max-width:none;
    margin:0;
    text-align:center;
    font-size:clamp(40px,4vw,60px);
    line-height:1.02;
  }
  .rm-header-center .rm-header-ornament{
    width:90%;
    margin:12px auto 0;
  }
  .rm-header-lautfm{
    position:absolute;
    right:315px;
    top:70px;
    z-index:4;
    width:170px;
    min-height:110px;
    margin:0;
  }
  .rm-header-parchment{
    position:absolute;
    right:-25px;
    top:42px;
    z-index:4;
    width:315px;
    min-height:155px;
    margin:0;
    padding:22px 25px;
  }
}

/* Hero: Radio Middleages mittig und mit derselben goldenen Gestaltung */
.rm-hero-content{position:relative;text-align:center;}
.rm-hero h1{
  font-family:"Old English Text MT","UnifrakturCook",Georgia,"Times New Roman",serif;
  color:#f1cf79;
  text-align:center;
  text-shadow:2px 3px 0 #241408,0 0 16px rgba(0,0,0,.95);
}
.rm-hero-ornament{margin:10px auto 16px;}
.rm-hero .rm-button{display:inline-block;}

@media (max-width:760px){
  .rm-header-inner{height:auto;min-height:225px;}
  .rm-header-logo{position:relative;left:auto;top:auto;}
  .rm-header-center{position:relative;left:auto;top:auto;transform:none;min-width:0;}
  .rm-header-lautfm{position:relative;right:auto;top:auto;}
  .rm-header-parchment{position:relative;right:auto;top:auto;}
}


/* v0.32.4 – Hero/Header Design nach der freigegebenen Vorlage */
.rm-header{
  min-height:265px;
  background:
    linear-gradient(90deg,rgba(5,3,2,.30),rgba(5,3,2,.05) 50%,rgba(5,3,2,.34)),
    url("assets/images/hero-medieval.png") center 46% / cover no-repeat;
}
.rm-header-inner{
  min-height:265px;
  width:min(100% - 20px,var(--rm-max));
  margin:0 auto;
  padding:0;
  display:grid;
  grid-template-columns:285px minmax(0,1fr) 250px 350px;
  align-items:center;
  gap:18px;
}
.rm-header-logo{
  width:285px;
  flex:none;
  margin:0;
  align-self:center;
  filter:drop-shadow(0 10px 12px rgba(0,0,0,.85));
}
.rm-header-center{
  min-width:0;
  align-self:center;
  text-align:center;
  padding:0 4px;
}
.rm-header-center h1{
  margin:0;
  color:#f0c96b;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(38px,3.6vw,64px);
  line-height:.98;
  font-weight:800;
  text-shadow:2px 3px 0 #241208,0 0 16px #000;
}
.rm-header-ornament{
  position:static;
  transform:none;
  margin:14px auto 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  width:min(100%,560px);
  color:#e2b85d;
  opacity:1;
}
.rm-orn-line{
  height:2px;
  flex:1;
  max-width:210px;
  background:linear-gradient(90deg,transparent,#d9a942,#f0cf78,#d9a942,transparent);
  box-shadow:0 0 5px rgba(214,168,74,.5);
}
.rm-orn-shield{
  display:grid;
  place-items:center;
  width:58px;
  height:66px;
  color:#f0c96b;
  background:linear-gradient(135deg,#7b161b,#3b0b0e);
  border:2px solid #d7a844;
  clip-path:polygon(14% 0,86% 0,100% 13%,92% 82%,50% 100%,8% 82%,0 13%);
  font-size:30px;
  text-shadow:0 2px 3px #000;
  box-shadow:0 0 12px rgba(214,168,74,.3);
}
.rm-header-tagline{
  margin-top:0;
  color:#e6c66f;
  font-family:Georgia,"Times New Roman",serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:1.1px;
  text-align:center;
  white-space:nowrap;
  text-shadow:1px 2px 3px #000;
}
.rm-header-tagline span{padding:0 4px;color:#f1cd70}
.rm-header-lautfm{
  align-self:center;
  justify-self:center;
  text-align:center;
  color:#f0c96b;
  text-shadow:1px 2px 3px #000;
}
.rm-lautfm-kicker{
  display:block;
  color:#f0c96b;
  font-size:18px;
  font-weight:700;
  margin-bottom:2px;
}
.rm-lautfm-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:30px;
  font-weight:800;
  line-height:1;
}
.rm-lautfm-brand img{width:43px;height:43px;object-fit:contain}
.rm-lautfm-station{
  display:block;
  margin-top:5px;
  color:#e6c66f;
  font-size:15px;
  font-weight:700;
}
.rm-header-parchment{
  width:350px;
  min-height:150px;
  margin:0;
  padding:24px 28px;
  justify-self:end;
  color:#3a2614;
  background:
    radial-gradient(circle at 15% 15%,rgba(255,255,255,.32),transparent 26%),
    linear-gradient(135deg,#ead3a0,#cda86c);
  border:1px solid #8d632f;
  box-shadow:0 10px 25px rgba(0,0,0,.62),inset 0 0 20px rgba(93,56,20,.15);
}
.rm-header-parchment-title{font-size:21px;line-height:1.35}

/* Hero: gleicher ornamentaler Stil wie im Header */
.rm-hero{
  min-height:365px;
  background:
    linear-gradient(90deg,rgba(0,0,0,.10),transparent 48%,rgba(0,0,0,.22)),
    url("assets/images/hero-medieval.png") center / cover no-repeat;
}
.rm-hero-content{
  padding:26px 34px 24px;
  background:linear-gradient(rgba(8,5,3,.04),rgba(8,5,3,.30),rgba(8,5,3,.68));
}
.rm-hero h1{
  margin:0;
  color:#f0c96b;
  font-size:clamp(42px,4.3vw,68px);
  line-height:1;
  text-shadow:2px 3px 0 #28170a,0 0 16px #000;
}
.rm-hero-ornament{
  margin:10px auto 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  width:min(100%,620px);
}
.rm-hero-ornament .rm-orn-line{max-width:240px}
.rm-hero-ornament .rm-orn-shield{width:54px;height:62px;font-size:28px}
.rm-hero .rm-button{margin-top:0}
.rm-hero-lautfm{margin-top:18px}
.rm-hero-lautfm-brand{display:inline-flex;align-items:center;gap:5px;color:#fff;font-family:Arial,sans-serif;font-size:27px;font-weight:800}
.rm-hero-lautfm-brand img{width:39px;height:39px;object-fit:contain;vertical-align:middle}

@media (max-width:1200px){
  .rm-header-inner{grid-template-columns:230px minmax(0,1fr) 190px 285px;gap:10px}
  .rm-header-logo{width:230px}
  .rm-header-parchment{width:285px}
  .rm-lautfm-brand{font-size:24px}.rm-lautfm-brand img{width:36px;height:36px}
  .rm-lautfm-kicker{font-size:15px}.rm-lautfm-station{font-size:13px}
  .rm-header-center h1{font-size:clamp(32px,3.5vw,50px)}
}
@media (max-width:900px){
  .rm-header-inner{grid-template-columns:190px minmax(0,1fr) 235px;}
  .rm-header-logo{width:190px}
  .rm-header-parchment{display:none}
  .rm-header-center h1{font-size:clamp(30px,4.5vw,46px)}
  .rm-header-tagline{font-size:10px;letter-spacing:.6px}
}
@media (max-width:760px){
  .rm-header,.rm-header-inner{min-height:220px}
  .rm-header-inner{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px 0 12px}
  .rm-header-logo{width:170px;margin:0 auto -6px}
  .rm-header-center{order:2;width:100%}
  .rm-header-center h1{font-size:30px;line-height:1.02}
  .rm-header-ornament{margin:7px auto 5px;width:88%;gap:8px}
  .rm-orn-shield{width:42px;height:48px;font-size:22px}
  .rm-header-tagline{font-size:8px;white-space:normal;line-height:1.3}
  .rm-header-lautfm{order:3;display:none}
  .rm-header-parchment{display:block;order:4;width:min(320px,92%);min-height:auto;padding:14px 22px;margin:2px auto 0}
  .rm-header-parchment-title{font-size:15px}
  .rm-hero{min-height:310px}
  .rm-hero-content{padding:22px 12px 20px}
  .rm-hero h1{font-size:36px}
  .rm-hero-ornament{width:92%;gap:7px;margin:8px auto 12px}
  .rm-hero-ornament .rm-orn-shield{width:42px;height:48px;font-size:22px}
  .rm-hero-lautfm{margin-top:12px}
}

/* v0.32.5 – Normale Schrift für Radio Middleages und die Startseiten-Kategorien */
.rm-hero h1,
.rm-card h3{
  font-family:Georgia,"Times New Roman",serif !important;
  font-weight:700;
  letter-spacing:0;
}

.rm-card h3{
  font-size:22px;
}


/* v0.32.6 – Header-Schriften ebenfalls bewusst normal halten */
.rm-header-center h1,
.rm-header-tagline,
.rm-header-parchment-title{
  font-family:Georgia,"Times New Roman",serif !important;
}
.rm-header-center h1{
  font-style:normal;
}


/* v0.32.7 – Schrift endgültig erzwingen: keine Gothic-Schrift bei den Haupttiteln */
.rm-header-center h1,
.rm-hero h1,
.rm-card h3 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
}

/* v0.32.8 – wirklich neutrale Standardschrift für die gewünschten Überschriften */
.rm-header-center h1,
.rm-hero h1,
.rm-card h3{
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}


/* v0.32.10 – Header-Pergament sauber rechts innerhalb des Headerbereichs positionieren.
   Alle übrigen Elemente und das bestehende Design bleiben unverändert. */
@media (min-width: 1201px){
  .rm-header-inner{position:relative;}
  .rm-header-parchment{
    position:absolute;
    right:0;
    top:42px;
    width:320px;
    min-height:138px;
    margin:0;
    padding:20px 24px;
    z-index:5;
  }
}

/* v0.32.13 – Header-Pergament nochmals etwas weiter nach rechts. */
@media (min-width: 1201px){
  .rm-header-parchment{right:-28px;}
}


/* v0.32.25 – Mittelalterfeste & Märkte */
.rm-festivals-page{width:min(100% - 32px,1180px);margin:28px auto 48px}
.rm-festivals-hero{min-height:265px;border:1px solid rgba(190,145,67,.65);border-radius:10px;overflow:hidden;background:linear-gradient(rgba(25,13,7,.16),rgba(25,13,7,.9)),url("assets/images/hero-medieval.png") center/cover no-repeat;display:flex;align-items:flex-end}
.rm-festivals-hero-overlay{width:100%;padding:38px;background:linear-gradient(transparent,rgba(15,8,4,.92))}
.rm-festivals-hero-overlay h1{margin:0;color:#f0c86b;font:700 clamp(2.3rem,5vw,4rem)/1 Arial,Helvetica,sans-serif;letter-spacing:.06em;text-shadow:2px 3px 0 #28170a,0 0 15px #000}
.rm-festivals-hero-overlay p{margin:12px 0 0;max-width:820px;color:#f5ead6;font-size:1.06rem;line-height:1.6}
.rm-festivals-intro{margin-top:20px;padding:26px 30px;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.95),rgba(218,188,126,.95));color:#352314;text-align:center;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.rm-festivals-intro h2,.rm-festivals-note h2{margin:0 0 9px;color:#5a3515;font:700 1.6rem/1.2 Georgia,serif}
.rm-festivals-intro p{margin:0;line-height:1.7}
.rm-festivals-updated{margin-top:9px!important;font-size:.88rem;color:#67441e}
.rm-festival-filters{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:20px 0 4px}
.rm-festival-filter{border:1px solid #9a6b2c;border-radius:999px;padding:9px 15px;background:linear-gradient(#3a2818,#17100b);color:#f1d07b;font-size:.76rem;font-weight:800;letter-spacing:.06em;cursor:pointer}
.rm-festival-filter:hover,.rm-festival-filter.is-active{background:linear-gradient(#701d21,#3c0e11);color:#fff1bd}
.rm-festival-filter-divider{width:1px;height:28px;background:#8c6128;margin:0 2px}
.rm-festival-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.rm-festival-card{padding:20px 20px 18px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:linear-gradient(180deg,rgba(67,43,24,.98),rgba(27,17,11,.99));box-shadow:var(--rm-shadow);min-width:0}
.rm-festival-card[hidden],.rm-festival-empty[hidden]{display:none!important}
.rm-festival-ribbon{display:inline-block;padding:5px 9px;margin-bottom:10px;border:1px solid #a97830;border-radius:4px;background:rgba(92,55,24,.58);color:#ebcb79;font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.rm-festival-date{color:#d9ab53;font-size:.86rem;font-weight:800;line-height:1.45}
.rm-festival-card h2{margin:7px 0 8px;color:#e6bd67;font:700 1.45rem/1.2 Georgia,serif}
.rm-festival-location{color:#f0dfc1;font-weight:700;margin-bottom:5px}
.rm-festival-type{display:inline-block;color:#bfa175;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase}
.rm-festival-card p{margin:13px 0 17px;color:#d9cbb7;line-height:1.65}
.rm-festival-link{display:inline-flex;align-items:center;justify-content:center}
.rm-festival-source{margin-top:10px;color:#a89273;font-size:.76rem}
.rm-festival-source::first-letter{color:#cbaa68}
.rm-festival-empty{grid-column:1/-1;padding:32px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:rgba(35,20,12,.92);text-align:center;color:#eadfce}
.rm-festival-empty h2{color:#e0b65b;font-family:Georgia,serif}
.rm-festivals-note{margin-top:20px;padding:24px 28px;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.95),rgba(218,188,126,.95));color:#352314;line-height:1.7}
.rm-festivals-note p{margin:0}
@media(max-width:760px){.rm-festivals-page{width:calc(100% - 16px)}.rm-festivals-hero-overlay{padding:26px 20px}.rm-festival-grid{grid-template-columns:1fr}.rm-festival-filter-divider{display:none}.rm-festivals-intro{padding:22px 18px}.rm-festival-card{padding:18px}.rm-festivals-note{padding:20px 18px}}


/* v0.32.27 – Alle Beiträge */
.rm-home-news-all{white-space:nowrap}
.rm-posts-page{width:min(100% - 32px, 1200px);margin:28px auto 45px}
.rm-posts-shell{padding:30px 34px 34px;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.95),rgba(218,188,126,.95));color:#352314;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.rm-posts-head{margin-bottom:24px}
.rm-posts-head h1{margin:0 0 8px;color:#5a3515;font-size:clamp(30px,4vw,44px);line-height:1.15}
.rm-posts-head p:last-child{margin:0;line-height:1.65}
.rm-posts-list{display:grid;gap:18px}
.rm-archive-card{display:flex;min-width:0;overflow:hidden;border:1px solid rgba(139,99,43,.75);border-radius:7px;background:rgba(255,244,211,.38);box-shadow:0 3px 10px rgba(55,31,10,.12)}
.rm-archive-image{flex:0 0 220px;display:block;min-height:190px}
.rm-archive-image img{display:block;width:100%;height:100%;min-height:190px;object-fit:cover}
.rm-archive-body{min-width:0;padding:20px}
.rm-archive-body h2{margin:0 0 9px;font-size:24px;line-height:1.25}
.rm-archive-body h2 a{color:#5a3515;text-decoration:none}
.rm-archive-body h2 a:hover{text-decoration:underline}
.rm-archive-body p{margin:0 0 14px;line-height:1.55}
.rm-pagination{margin-top:24px}
.rm-pagination ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.rm-pagination a,.rm-pagination span{display:inline-block;padding:8px 11px;border:1px solid #b88a45;border-radius:6px;background:rgba(255,244,211,.4);color:#5a3515;text-decoration:none}
.rm-pagination .current{font-weight:700;background:#e5c98e}
.rm-posts-back{margin-top:24px}
@media(max-width:700px){.rm-posts-shell{padding:22px 16px 20px}.rm-archive-card{display:block}.rm-archive-image,.rm-archive-image img{width:100%;height:210px;min-height:210px}.rm-archive-body{padding:18px}}


/* v0.32.28 – Mittelalterfeste in der linken Sidebar */
.rm-festival-sidebar-intro{
  margin:0 0 14px;
  color:#decfb9;
  font-size:.9rem;
  line-height:1.55;
}
.rm-festival-sidebar-box .rm-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  box-sizing:border-box;
}


/* v0.32.29 – nächste Mittelalterfeste in der linken Sidebar */
/* v0.32.30 – NÄCHSTE EVENTS entfernt, Mittelalterfeste übernimmt die Sidebar */
.rm-festival-next-list{margin:0}
.rm-festival-next-item{
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.16);
}
.rm-festival-next-item:last-child{border-bottom:0}
.rm-festival-next-title{
  display:block;
  color:inherit;
  font-weight:700;
  line-height:1.25;
  text-decoration:none;
}
.rm-festival-next-title:hover{text-decoration:underline}
.rm-festival-next-date{
  margin-top:3px;
  font-size:.88rem;
  font-weight:700;
  line-height:1.3;
}
.rm-festival-next-location{
  margin-top:3px;
  font-size:.88rem;
  line-height:1.3;
}
.rm-festival-sidebar-box .rm-festival-next-list + .rm-button{
  display:inline-block;
  margin-top:8px;
}


/* v0.32.34 – Länderfilter für die nächsten Mittelalterfeste in der linken Sidebar */
.rm-festival-sidebar-filter{margin:0 0 10px}
.rm-festival-sidebar-filter label{display:block;margin:0 0 5px;color:#d9bf8a;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rm-festival-region-select{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid rgba(183,141,70,.7);border-radius:5px;background:#2b1a10;color:#f0dfc1;font:600 .88rem/1.2 Arial,Helvetica,sans-serif;cursor:pointer}
.rm-festival-region-select:focus{outline:1px solid #d6ad5d;outline-offset:1px}
.rm-festival-next-item[hidden]{display:none!important}
.rm-festival-filter-empty{margin:8px 0 0;color:#cdbba0;font-size:.82rem;line-height:1.4}


/* Visitor counter — compact sidebar style */
.rm-visitor-counter-box{overflow:hidden}
.rm-counter-heading{text-align:center!important;font-size:18px!important;letter-spacing:.02em!important;padding:14px 10px!important}
.rm-visitor-counter{padding:14px 15px 16px;background:linear-gradient(180deg,rgba(49,29,17,.98),rgba(24,13,8,.99));border-radius:0 0 14px 14px}
.rm-counter-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 0;color:#f3e5cf;font-size:16px;line-height:1.25}
.rm-counter-label{font-family:Arial,Helvetica,sans-serif;font-weight:400;white-space:nowrap}
.rm-counter-number{font-family:Arial,Helvetica,sans-serif;font-weight:400;color:#fff;text-align:right;min-width:70px}
@media (max-width:900px){.rm-counter-row{font-size:15px}}

/* v0.32.42 – verfeinerter Besucher-Counter */
.rm-visitor-counter-box{
  overflow:hidden;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.24);
}
.rm-visitor-counter-box .rm-counter-heading{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0!important;
  padding:14px 10px 12px!important;
  background:linear-gradient(180deg,#4a2916 0%,#351d11 100%);
  color:#f1cf82!important;
  border-bottom:1px solid rgba(205,157,72,.8);
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:17px!important;
  line-height:1.1!important;
  letter-spacing:.04em!important;
  text-shadow:0 1px 2px rgba(0,0,0,.55);
}
.rm-visitor-counter-box .rm-counter-heading::before,
.rm-visitor-counter-box .rm-counter-heading::after{
  content:"✦";
  color:#d8a84f;
  font-size:11px;
  opacity:.95;
}
.rm-visitor-counter{
  padding:9px 12px 12px;
  background:
    radial-gradient(circle at 50% 0%,rgba(123,78,33,.16),transparent 48%),
    linear-gradient(180deg,rgba(47,27,15,.99),rgba(21,12,8,.995));
  border-radius:0 0 10px 10px;
}
.rm-counter-row{
  position:relative;
  min-height:30px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:6px 9px;
  border-bottom:1px solid rgba(192,145,68,.18);
  color:#eadfcf;
  font-size:15px;
  line-height:1.2;
  transition:background .15s ease,transform .15s ease;
}
.rm-counter-row:last-child{border-bottom:0}
.rm-counter-row:hover{
  background:rgba(177,126,54,.08);
}
.rm-counter-label{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:600;
  white-space:nowrap;
  letter-spacing:.01em;
}
.rm-counter-number{
  min-width:64px;
  padding-left:10px;
  color:#f3ca73;
  font-family:Arial,Helvetica,sans-serif;
  font-weight:700;
  font-size:16px;
  text-align:right;
  font-variant-numeric:tabular-nums;
  text-shadow:0 1px 2px rgba(0,0,0,.55);
}
.rm-counter-row:nth-child(4) .rm-counter-label::before,
.rm-counter-row:nth-child(5) .rm-counter-label::before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin:0 7px 1px 0;
  border-radius:50%;
  background:#d6a44f;
  box-shadow:0 0 6px rgba(214,164,79,.55);
}
@media (max-width:900px){
  .rm-counter-row{font-size:14px}
  .rm-counter-number{font-size:15px}
}


/* =========================================================
 * Fotos & Videos – v0.32.43
 * ========================================================= */
.rm-media-page{width:min(100% - 30px,1180px);margin:28px auto 50px}
.rm-media-hero{min-height:250px;border:1px solid rgba(190,145,67,.65);border-radius:10px;overflow:hidden;background:linear-gradient(rgba(25,13,7,.2),rgba(25,13,7,.9)),url("assets/images/hero-medieval.png") center/cover no-repeat;display:flex;align-items:flex-end;box-shadow:var(--rm-shadow)}
.rm-media-hero-overlay{width:100%;padding:34px;background:linear-gradient(transparent,rgba(15,8,4,.94))}
.rm-media-hero-overlay h1{margin:0;color:#f0c86b;font:700 clamp(2.2rem,5vw,4rem)/1 Arial,Helvetica,sans-serif;letter-spacing:.06em;text-shadow:2px 3px 0 #28170a,0 0 15px #000}
.rm-media-hero-overlay p{margin:12px 0 0;max-width:820px;color:#f5ead6;font-size:1.05rem;line-height:1.6}
.rm-media-intro{margin-top:20px;padding:25px 30px;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.96),rgba(218,188,126,.96));color:#352314;text-align:center;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.rm-media-intro h2{margin:0 0 8px;color:#5a3515;font:700 1.7rem/1.2 Georgia,serif}
.rm-media-intro p{margin:0;line-height:1.7}
.rm-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.rm-media-card{padding:18px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:linear-gradient(180deg,rgba(67,43,24,.98),rgba(27,17,11,.99));box-shadow:var(--rm-shadow);min-width:0}
.rm-media-card-head{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.rm-media-card-head h2{flex:1 1 220px;margin:0;color:#e6bd67;font:700 1.35rem/1.25 Georgia,serif}
.rm-media-badge{display:inline-block;padding:5px 9px;border:1px solid #a97830;border-radius:4px;background:rgba(92,55,24,.58);color:#ebcb79;font-size:.7rem;font-weight:800;letter-spacing:.09em}
.rm-media-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rm-media-image{display:block;aspect-ratio:4/3;overflow:hidden;border:1px solid rgba(183,141,70,.5);border-radius:6px;background:#100a07}
.rm-media-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.rm-media-image:hover img{transform:scale(1.04)}
.rm-media-video{overflow:hidden;border-radius:6px;background:#080504}
.rm-media-video iframe{width:100%;min-height:300px;display:block;border:0}
.rm-media-video video{width:100%;display:block;max-height:520px;background:#000}
.rm-media-description{margin-top:14px;color:#d9cbb7;line-height:1.65}
.rm-media-description p:last-child{margin-bottom:0}
.rm-media-empty{padding:28px;text-align:center;color:#cdbba0;border:1px dashed rgba(177,129,55,.55);border-radius:6px}
.rm-media-empty-large{grid-column:1/-1}
.rm-media-empty-large h2{color:#e0b65b;font-family:Georgia,serif}
.rm-lightbox{position:fixed;z-index:99999;inset:0;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;padding:30px;cursor:pointer}
.rm-lightbox img{max-width:min(1200px,95vw);max-height:90vh;object-fit:contain;border:2px solid #d6a84a;box-shadow:0 0 30px #000;cursor:default}
.rm-lightbox button{position:absolute;top:15px;right:22px;border:0;background:none;color:#f0cf78;font-size:42px;line-height:1;cursor:pointer}
@media(max-width:760px){.rm-media-page{width:calc(100% - 16px)}.rm-media-grid{grid-template-columns:1fr}.rm-media-hero-overlay{padding:25px 20px}.rm-media-intro{padding:21px 18px}.rm-media-gallery-grid{grid-template-columns:1fr 1fr}.rm-media-video iframe{min-height:220px}}

/* v0.32.44 – Hauptnavigation auf Desktop in einer Reihe */
@media (min-width:761px){
  .rm-menu{flex-wrap:nowrap;white-space:nowrap;width:100%;}
  .rm-menu a,.rm-community-toggle{padding-left:13px;padding-right:13px;font-size:15px;}
  .rm-menu-community{flex:0 0 auto;}
}

/* =========================================================
 * Über uns – v0.32.45
 * ========================================================= */
.rm-about-page{padding:28px 0 52px}
.rm-about-hero{min-height:270px;border:1px solid #8a6128;border-radius:10px;overflow:hidden;background:linear-gradient(rgba(20,9,4,.18),rgba(16,8,4,.88)),url("assets/images/hero-medieval.png") center/cover no-repeat;display:flex;align-items:flex-end;box-shadow:var(--rm-shadow)}
.rm-about-hero-overlay{width:100%;padding:38px;background:linear-gradient(transparent,rgba(12,6,3,.9));text-align:center}
.rm-about-hero h1{margin:0;color:#f0c86b;font:700 clamp(2.3rem,5vw,4rem)/1 Arial,Helvetica,sans-serif;letter-spacing:.06em;text-shadow:2px 3px 0 #28170a,0 0 15px #000}
.rm-about-hero p{margin:12px 0 0;color:#f5ead6;font-size:1.15rem}
.rm-about-parchment{margin-top:20px;padding:30px 34px;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.96),rgba(218,188,126,.96));color:#352314;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.rm-about-parchment h2{margin:0 0 12px;color:#5a3515;font:700 2rem/1.2 Georgia,serif}
.rm-about-parchment p{margin:0 0 12px;line-height:1.75}
.rm-about-parchment p:last-child{margin-bottom:0}
.rm-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.rm-about-card{padding:26px 28px;border:1px solid rgba(177,129,55,.65);border-radius:8px;background:linear-gradient(180deg,rgba(67,43,24,.98),rgba(27,17,11,.99));box-shadow:var(--rm-shadow);color:#eadfce}
.rm-about-icon{font-size:2rem;color:#f0c86b;margin-bottom:8px}
.rm-about-card h2{margin:0 0 12px;color:#e6bd67;font:700 1.55rem/1.2 Georgia,serif}
.rm-about-card p{margin:0;line-height:1.7}
.rm-about-card ul{margin:0;padding-left:20px;line-height:1.85}
.rm-about-radio{margin-top:20px;padding:28px 32px;border:1px solid #8d6428;border-radius:9px;background:linear-gradient(135deg,#34110f,#160b08);box-shadow:var(--rm-shadow);text-align:center}
.rm-about-kicker{color:#d6a84a;font-size:.82rem;font-weight:800;letter-spacing:.16em}
.rm-about-radio h2{margin:6px 0 10px;color:#f0cf78;font:700 2rem/1.2 Georgia,serif}
.rm-about-radio p{max-width:850px;margin:0 auto 18px;color:#eadfce;line-height:1.7}
.rm-about-radio-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border:1px solid #d2a24a;border-radius:7px;background:linear-gradient(#8a2326,#4a0f12);color:#fff0bd;font-weight:800;letter-spacing:.04em;box-shadow:0 5px 16px rgba(0,0,0,.35)}
.rm-about-radio-button:hover{color:#fff;background:linear-gradient(#a02b2f,#5b1115)}
.rm-about-radio-link{margin-top:10px;color:#d6b567;font-size:.88rem;word-break:break-all}
.rm-about-closing{margin-top:20px;padding:30px;text-align:center;border:1px solid #b88a45;border-radius:8px;background:linear-gradient(rgba(239,218,169,.96),rgba(218,188,126,.96));color:#352314;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.rm-about-ornament{color:#7b1e22;font-size:2rem;margin-bottom:5px}
.rm-about-closing h2{margin:0 0 10px;color:#5a3515;font:700 1.65rem/1.3 Georgia,serif}
.rm-about-closing p{margin:5px 0}
@media(max-width:760px){.rm-about-page{padding:16px 8px 36px}.rm-about-hero{min-height:220px}.rm-about-hero-overlay{padding:28px 18px}.rm-about-grid{grid-template-columns:1fr}.rm-about-parchment{padding:22px 18px}.rm-about-card{padding:22px 18px}.rm-about-radio{padding:24px 18px}}
