/* Radio Iserlohn – modernes Erscheinungsbild für das Theme Kadence */
body.ri-modern{--g:#94c11e;--gd:#6f9213;--ink:#212934;--tx:#4a4e57;--gr:#636567;--soft:#f4f5f6;--line:#e3e5e8;-webkit-font-smoothing:antialiased}

/* Links im Inhalt */
body.ri-modern .entry-content a:not(.wp-block-button__link):not(.button):not([class*="rih-"]):not([class*="rim-"]):not([class*="ris-"]){color:var(--gd);text-decoration:underline;text-decoration-color:rgba(111,146,19,.35);text-underline-offset:3px}
body.ri-modern .entry-content a:hover{text-decoration-color:var(--g)}
body.ri-modern h1,body.ri-modern h2,body.ri-modern h3{letter-spacing:-.01em}

/* Kopfbereich */
body.ri-modern .site-top-header-wrap .site-header-row-container-inner{background:var(--g)}
body.ri-modern .site-top-header-wrap .header-html,body.ri-modern .site-top-header-wrap .header-html a{color:var(--ink);font-size:13.5px;font-weight:600;text-decoration:none}
body.ri-modern .site-top-header-wrap .header-html a:hover{text-decoration:underline}
body.ri-modern .secondary-navigation .menu > li > a{font-size:13.5px;font-weight:600;padding-top:.4em;padding-bottom:.4em}
body.ri-modern .secondary-navigation .menu > li > a:hover{text-decoration:underline}
body.ri-modern .site-main-header-wrap .site-header-row-container-inner{box-shadow:0 2px 18px rgba(33,41,52,.08)}
body.ri-modern .main-navigation .primary-menu-container > ul > li.menu-item > a{font-weight:600;font-size:15px;position:relative;padding-left:.9em;padding-right:.9em}
body.ri-modern .main-navigation .primary-menu-container > ul > li.menu-item > a::after{content:"";position:absolute;left:.9em;right:.9em;bottom:calc(50% - 1.05em);height:3px;border-radius:2px;background:var(--g);transform:scaleX(0);transition:transform .2s ease}
body.ri-modern .main-navigation .primary-menu-container > ul > li.menu-item:hover > a::after,body.ri-modern .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,body.ri-modern .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after{transform:scaleX(1)}
body.ri-modern .main-navigation .primary-menu-container > ul > li.menu-item > a .dropdown-nav-toggle{opacity:.6}
body.ri-modern .header-navigation .header-menu-container ul ul.sub-menu{background:#fff;border-top:3px solid var(--g);border-radius:0 0 12px 12px;box-shadow:0 14px 34px rgba(33,41,52,.16);overflow:hidden;padding:6px 0}
body.ri-modern .header-navigation .header-menu-container ul ul li.menu-item > a{color:var(--ink);font-weight:500;font-size:14.5px;padding:.7em 1.4em;width:240px;border-bottom:0}
body.ri-modern .header-navigation .header-menu-container ul ul li.menu-item > a:hover{background:var(--soft);color:var(--gd)}
body.ri-modern .search-toggle-open{color:var(--ink)}
body.ri-modern .custom-logo{max-height:none}

/* Handy-Menü */
body.ri-modern #mobile-drawer .drawer-inner{background:var(--ink)}
body.ri-modern #mobile-drawer .drawer-content{padding-top:10px}
body.ri-modern .mobile-navigation ul li > a,body.ri-modern .mobile-navigation ul li .drawer-nav-drop-wrap > a{font-size:22px;font-weight:700;color:#fff;padding-top:.55em;padding-bottom:.55em}
body.ri-modern .mobile-navigation ul ul li > a,body.ri-modern .mobile-navigation ul ul li .drawer-nav-drop-wrap > a{font-size:17px;font-weight:500;color:rgba(255,255,255,.8)}
body.ri-modern .mobile-navigation ul li.current-menu-item > a,body.ri-modern .mobile-navigation ul li > a:hover{color:var(--g)}
body.ri-modern .mobile-navigation .drawer-sub-toggle{color:#fff}
body.ri-modern .mobile-html{color:rgba(255,255,255,.75);font-size:15px;margin-top:22px;line-height:1.9}
body.ri-modern .mobile-html a{color:var(--g)}
body.ri-modern .menu-toggle-open{color:var(--ink)}
body.ri-modern .menu-toggle-open .menu-toggle-icon{font-size:26px}

/* Seitentitel */
body.ri-modern .entry-hero .entry-hero-container-inner{background:var(--ink)}
body.ri-modern .entry-hero .entry-header .entry-title,body.ri-modern .entry-hero .archive-title{color:#fff}
body.ri-modern .entry-hero .entry-title::after,body.ri-modern .entry-hero .archive-title::after{content:"";display:block;width:56px;height:5px;border-radius:3px;background:var(--g);margin:14px auto 0}
body.ri-modern .entry-hero .kadence-breadcrumbs,body.ri-modern .entry-hero .kadence-breadcrumbs a,body.ri-modern .entry-hero .entry-meta,body.ri-modern .entry-hero .entry-meta a{color:rgba(255,255,255,.75)}

/* Inhalt als Karte */
body.ri-modern .content-bg,body.ri-modern .entry.content-bg{border-radius:16px;box-shadow:0 2px 16px rgba(33,41,52,.07)}
body.ri-modern .entry-content-wrap{padding:2.6rem 2.8rem}
body.ri-modern .entry-content img{border-radius:10px}

/* Beitragslisten */
body.ri-modern .loop-entry{border-radius:14px;overflow:hidden;box-shadow:0 2px 14px rgba(33,41,52,.07);transition:transform .18s ease,box-shadow .18s ease}
body.ri-modern .loop-entry:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(33,41,52,.14)}
body.ri-modern .loop-entry .post-thumbnail-inner img{transition:transform .3s ease}
body.ri-modern .loop-entry .entry-content-wrap{padding:1.2rem 1.4rem 1.4rem}
body.ri-modern .loop-entry .entry-title{font-size:19px;line-height:1.35}
body.ri-modern .loop-entry .entry-title a{color:var(--ink);text-decoration:none}
body.ri-modern .loop-entry .entry-title a:hover{color:var(--gd)}
body.ri-modern .loop-entry .entry-taxonomies a{background:var(--g);color:var(--ink);border-radius:999px;padding:2px 10px;font-weight:600}
body.ri-modern .loop-entry .more-link-wrap a,body.ri-modern .loop-entry .post-more-link{color:var(--gd);font-weight:700}

/* Seitenleiste */
body.ri-modern #secondary .widget{background:#fff;border-radius:14px;padding:22px 24px;box-shadow:0 2px 14px rgba(33,41,52,.07)}
body.ri-modern #secondary .widget-title{font-size:17px;color:var(--ink)}
body.ri-modern #secondary a{color:var(--tx);text-decoration:none}
body.ri-modern #secondary a:hover{color:var(--gd)}

/* Formulare */
body.ri-modern input[type="text"],body.ri-modern input[type="email"],body.ri-modern input[type="tel"],body.ri-modern input[type="url"],body.ri-modern input[type="search"],body.ri-modern input[type="number"],body.ri-modern textarea,body.ri-modern select{border:2px solid var(--line);border-radius:10px}
body.ri-modern input:focus,body.ri-modern textarea:focus,body.ri-modern select:focus{border-color:var(--g);outline:0;box-shadow:0 0 0 3px rgba(148,193,30,.2)}
body.ri-modern .wpcf7-submit,body.ri-modern input[type="submit"]{font-weight:700}
body.ri-modern .pagination .page-numbers{border-radius:999px}
body.ri-modern .pagination .page-numbers.current{background:var(--g);border-color:var(--g);color:var(--ink)}

/* Fußbereich */
body.ri-modern .site-middle-footer-wrap .site-footer-row-container-inner{border-top:5px solid var(--g);padding-top:20px;padding-bottom:20px}
body.ri-modern .site-footer .footer-widget-area,body.ri-modern .site-footer .footer-widget-area p,body.ri-modern .site-footer .footer-widget-area li{color:rgba(255,255,255,.78);font-size:15px}
body.ri-modern .site-footer .footer-widget-area .widget-title,body.ri-modern .site-footer .footer-widget-area h2,body.ri-modern .site-footer .footer-widget-area h3{color:#fff;font-size:17px;margin-bottom:.8em}
body.ri-modern .site-footer .footer-widget-area a{color:#fff;text-decoration:none}
body.ri-modern .site-footer .footer-widget-area a:hover{color:var(--g)}
body.ri-modern .site-footer .footer-widget-area ul{list-style:none;margin:0;padding:0}
body.ri-modern .site-footer .footer-widget-area ul li{padding:3px 0}
body.ri-modern .site-bottom-footer-wrap .footer-html{font-size:14px}
body.ri-modern .site-bottom-footer-wrap .footer-navigation .menu > li > a{font-size:14px}
body.ri-modern #kt-scroll-up{background:var(--g);color:var(--ink);border-radius:12px;bottom:90px}

/* Live-Player (Themify Audio Dock) */
body.ri-modern #themify-audio-dock{background:var(--ink) !important;border-top:3px solid var(--g);z-index:99}
body.ri-modern #themify-audio-dock .mejs-controls .mejs-time-rail .mejs-time-current,body.ri-modern #themify-audio-dock .mejs-horizontal-volume-current{background:var(--g) !important}
body.ri-modern #themify-audio-dock .wp-playlist-item-title{color:#fff !important;font-weight:600}
body.ri-modern #wrapper,body.ri-modern .site{padding-bottom:0}
body.ri-modern .site-footer{padding-bottom:70px;background:#1a2029}

/* Startseite: volle Breite */
body.ri-has-home{overflow-x:clip}
body.ri-has-home .entry-hero,body.ri-has-home .page-hero-section{display:none}
body.ri-has-home .content-area{margin-top:0;margin-bottom:0}
body.ri-has-home .content-bg,body.ri-has-home .entry.content-bg{background:transparent;box-shadow:none;border-radius:0}
body.ri-has-home .entry-content-wrap{padding:0}
body.ri-has-home .entry-content{margin:0}

/* Bildergalerien */
.ri-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:1.2em 0 1.6em}
.ri-gallery a{display:block;border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:#e3e5e8}
.ri-gallery img{width:100%;height:100%;object-fit:cover;border-radius:0 !important;transition:transform .3s ease}
.ri-gallery a:hover img{transform:scale(1.04)}

/* Sendeplan */
.ris{display:flex;flex-direction:column;gap:30px}
.ris-date{font-size:20px !important;margin:0 0 12px !important;padding-bottom:8px;border-bottom:3px solid var(--g,#94c11e);display:inline-block}
.ris-day{display:flex;flex-direction:column;gap:10px}
.ris-item{display:flex;align-items:center;gap:18px;padding:12px 18px 12px 12px;background:var(--soft,#f4f5f6);border-radius:14px;text-decoration:none !important;color:inherit !important;transition:background .15s ease,transform .15s ease}
.ris-item:hover{background:#eaf3d2;transform:translateX(3px)}
.ris-time{flex:0 0 auto;min-width:74px;text-align:center;font-size:22px;font-weight:800;color:var(--ink,#212934);line-height:1.1}
.ris-time small{display:block;font-size:12px;font-weight:600;color:var(--gr,#636567)}
.ris-img{flex:0 0 96px;height:64px;border-radius:10px;overflow:hidden}
.ris-img img{width:100%;height:100%;object-fit:cover;border-radius:0 !important}
.ris-body{flex:1;display:flex;flex-direction:column}
.ris-body strong{color:var(--ink,#212934);font-size:17px}
.ris-body span{color:var(--gr,#636567);font-size:15px}
.ris-more{color:var(--gd,#6f9213);font-size:20px;font-weight:700}
.ris-note{margin-top:10px;color:var(--gr,#636567)}

@media (max-width:767px){
  body.ri-modern .entry-content-wrap{padding:1.6rem 1.3rem}
  body.ri-has-home .entry-content-wrap{padding:0}
  body.ri-modern #themify-audio-dock .mejs-time{display:none !important}
  body.ri-modern #themify-audio-dock .wp-playlist-caption{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
  .ris-img{display:none}
  .ris-item{gap:12px;padding:10px 14px 10px 8px}
  .ris-time{min-width:60px;font-size:19px}
}
