.rhe-homepage{background:#fff;color:#1f2a2f}.rhe-homepage *{box-sizing:border-box}.rhe-hero{padding:34px 0 14px;background:linear-gradient(180deg,#f7f9f8 0,#fff 100%)}.rhe-hero__slider{position:relative}.rhe-hero__slide{display:none;grid-template-columns:minmax(0,1.45fr) minmax(350px,.95fr);min-height:430px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 30px rgba(25,55,40,.12)}.rhe-hero__slide.is-active{display:grid}.rhe-hero__media{position:relative;display:block;min-height:430px;background:#e7efea center/cover no-repeat}.rhe-hero__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.14))}.rhe-hero__media .rhe-badge{position:absolute;z-index:2;left:24px;top:22px}.rhe-hero__content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:42px 48px}.rhe-hero__content h2{font-size:34px;line-height:1.15;margin:14px 0 18px}.rhe-hero__content h2 a{color:#202a30;text-decoration:none}.rhe-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:5px;background:#179b54;color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.rhe-badge--featured{background:#087e43}.rhe-meta-list{list-style:none;padding:0;margin:0 0 14px}.rhe-meta-list li{margin:7px 0;color:#3f4a4f}.rhe-hero__excerpt{line-height:1.5;margin:0 0 22px}.rhe-primary-btn{background:#159c55!important;color:#fff!important;border-color:#159c55!important}.rhe-slider-controls{display:flex;justify-content:center;gap:9px;padding:12px}.rhe-slider-dot{width:10px;height:10px;border:0;border-radius:50%;background:#c5cbc8;padding:0;cursor:pointer}.rhe-slider-dot.is-active{background:#169a54}.rhe-main-section{padding:16px 0 26px}.rhe-main-layout{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(300px,.9fr);gap:38px;align-items:start}.rhe-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.rhe-section-heading .section-title,.rhe-week>.section-title{margin:0}.rhe-filter select{min-width:205px;border:1px solid #cddbd3;border-radius:8px;background:#fff;padding:11px 38px 11px 14px;color:#24412f;font-weight:600}.rhe-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rhe-event-card{overflow:hidden;border:1px solid #e0e8e3;border-radius:12px;background:#fff;box-shadow:0 7px 20px rgba(30,70,48,.08);transition:transform .2s,box-shadow .2s}.rhe-event-card:hover{transform:translateY(-3px);box-shadow:0 11px 28px rgba(30,70,48,.13)}.rhe-event-card__image{position:relative;display:block;height:190px;background:#e8f1ec center/cover no-repeat}.rhe-event-card__image .rhe-badge{position:absolute;left:14px;top:14px}.rhe-event-card__body{display:grid;grid-template-columns:66px 1fr;gap:10px;padding:0 16px 18px}.rhe-date-block{display:flex;flex-direction:column;align-items:center;justify-content:center;width:58px;height:62px;margin-top:-16px;position:relative;border-radius:9px;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.09);color:#087f43}.rhe-date-block strong{font-size:25px;line-height:1}.rhe-date-block span{font-size:12px;font-weight:700;margin-top:5px}.rhe-event-card__content{padding-top:14px}.rhe-event-card__content h3{font-size:18px;line-height:1.3;margin:0 0 12px}.rhe-event-card__content h3 a{color:#202a30;text-decoration:none}.rhe-event-card__content p{font-size:13px;color:#66726b;margin:5px 0}.rhe-text-link{display:inline-block;margin-top:8px;color:#078044!important;text-decoration:none;font-weight:700;font-size:13px}.rhe-center{text-align:center;margin-top:18px}.rhe-outline-btn{background:#fff!important;color:#087f43!important;border:1px solid #159c55!important}.rhe-week{padding:0 18px 20px;border-radius:13px;background:linear-gradient(145deg,#f5fbf7,#edf7f2)}.rhe-week>.section-title{padding:18px 0 12px;border-bottom:2px solid #169a54}.rhe-week-list{padding:4px 0}.rhe-week-item{display:grid;grid-template-columns:64px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #dce9e1;color:#202a30;text-decoration:none}.rhe-week-item__image{width:64px;height:64px;border-radius:9px;background:#dbe9e1 center/cover no-repeat}.rhe-week-item__content{min-width:0}.rhe-week-item__top{display:block;color:#078044;font-size:12px;font-weight:700;text-transform:uppercase;margin-bottom:3px}.rhe-week-item strong{display:block;font-size:14px;line-height:1.3}.rhe-week-item small{display:block;color:#67736c;margin-top:4px}.rhe-sports{padding:0 0 38px}.rhe-sports__inner{display:grid;grid-template-columns:190px 1fr auto;gap:22px;align-items:center;padding:20px 22px;border-radius:13px;background:linear-gradient(90deg,#f0f9f4,#e8f5ef)}.rhe-sports__title{display:flex;align-items:center;gap:10px}.rhe-sports__title h2{font-size:18px;margin:0}.rhe-sport-ball{font-size:22px}.rhe-sports__events{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.rhe-sport-event{display:flex;flex-direction:column;min-height:70px;padding:4px 16px;border-left:1px solid #bfdbca;color:#202a30;text-decoration:none}.rhe-sport-event__date{color:#078044;font-size:12px;font-weight:700}.rhe-sport-event strong{font-size:13px;line-height:1.25;margin-top:4px}.rhe-sport-event small{color:#66736b;margin-top:3px}.site-header__menu--main>li>a{display:flex!important;align-items:center;gap:7px}.rhe-menu-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;background-color:#078044;mask-position:center;mask-repeat:no-repeat;mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain}.rhe-menu-icon--koik{mask-image:url("../icons/all.svg");-webkit-mask-image:url("../icons/all.svg")}.rhe-menu-icon--muusika{mask-image:url("../icons/music.svg");-webkit-mask-image:url("../icons/music.svg")}.rhe-menu-icon--teater{mask-image:url("../icons/theatre.svg");-webkit-mask-image:url("../icons/theatre.svg")}.rhe-menu-icon--sport{mask-image:url("../icons/sport.svg");-webkit-mask-image:url("../icons/sport.svg")}.rhe-menu-icon--kino{mask-image:url("../icons/cinema.svg");-webkit-mask-image:url("../icons/cinema.svg")}.rhe-menu-icon--pidu{mask-image:url("../icons/party.svg");-webkit-mask-image:url("../icons/party.svg")}.rhe-menu-icon--naitus{mask-image:url("../icons/exhibition.svg");-webkit-mask-image:url("../icons/exhibition.svg")}.rhe-menu-icon--koolitus{mask-image:url("../icons/training.svg");-webkit-mask-image:url("../icons/training.svg")}.rhe-menu-icon--varia{mask-image:url("../icons/more.svg");-webkit-mask-image:url("../icons/more.svg")}
@media(max-width:1100px){.rhe-hero__slide{grid-template-columns:1.25fr 1fr}.rhe-hero__content{padding:32px}.rhe-card-grid{grid-template-columns:repeat(2,1fr)}.rhe-main-layout{grid-template-columns:1fr 320px}.rhe-sports__inner{grid-template-columns:1fr}.rhe-sports__events{grid-template-columns:repeat(2,1fr)}.rhe-sport-event:nth-child(odd){border-left:0}.site-header__menu--main>li>a{gap:4px}.rhe-menu-icon{width:15px;height:15px;flex-basis:15px}}
@media(max-width:800px){.rhe-hero{padding-top:16px}.rhe-hero__slide.is-active{display:block}.rhe-hero__media{min-height:270px}.rhe-hero__content{padding:25px}.rhe-hero__content h2{font-size:27px}.rhe-main-layout{display:block}.rhe-week{margin-top:28px}.rhe-card-grid{grid-template-columns:1fr}.rhe-section-heading{align-items:stretch;flex-direction:column}.rhe-filter select{width:100%}.rhe-sports__events{grid-template-columns:1fr}.rhe-sport-event{border-left:0;border-top:1px solid #bfdbca;padding:11px 0}.rhe-sports__inner>.main-btn{justify-self:start}.site-header__menu--main>li>a{justify-content:flex-start}.rhe-event-card__image{height:220px}}


/* v0.2.0 täpsustused */
.rhe-primary-btn,
.rhe-primary-btn:visited,
.rhe-primary-btn:hover,
.rhe-primary-btn:focus{color:#fff!important;text-shadow:none!important}
.rhe-primary-btn:hover,.rhe-primary-btn:focus{background:#087f43!important;border-color:#087f43!important}

.rhe-hero__slider{padding:0 46px}
.rhe-hero-arrow,.rhe-card-arrow{display:flex;align-items:center;justify-content:center;border:1px solid #c8ddd1;background:#fff;color:#087f43;border-radius:50%;font-size:34px;line-height:1;cursor:pointer;box-shadow:0 5px 18px rgba(30,70,48,.13);transition:background .2s,color .2s,transform .2s;z-index:5}
.rhe-hero-arrow:hover,.rhe-hero-arrow:focus,.rhe-card-arrow:hover,.rhe-card-arrow:focus{background:#159c55;color:#fff;transform:scale(1.05)}
.rhe-hero-arrow{position:absolute;top:50%;width:42px;height:42px;margin-top:-30px}
.rhe-hero-arrow--prev{left:0}.rhe-hero-arrow--next{right:0}

.rhe-main-layout{align-items:stretch}
.rhe-upcoming,.rhe-week{min-width:0}
.rhe-section-heading{min-height:63px;align-items:center;margin-bottom:18px}
.rhe-section-heading .section-title,.rhe-week>.section-title{font-size:26px;line-height:1.2}
.rhe-week>.section-title{min-height:63px;display:flex;align-items:center;padding:0;border-bottom:2px solid #169a54}
.rhe-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.rhe-filter label{font-size:14px;font-weight:600;color:#405149;white-space:nowrap}
.rhe-filter select{height:42px;min-width:210px}

.rhe-upcoming-carousel{position:relative;padding:0 42px}
.rhe-card-viewport{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.rhe-card-viewport::-webkit-scrollbar{display:none}
.rhe-card-grid{display:flex;gap:18px}
.rhe-event-card{flex:0 0 calc((100% - 36px)/3);scroll-snap-align:start}
.rhe-card-arrow{position:absolute;top:50%;width:38px;height:38px;margin-top:-19px;font-size:29px}
.rhe-card-arrow--prev{left:0}.rhe-card-arrow--next{right:0}

.rhe-sports{padding:5px 0 45px}
.rhe-sports__inner{grid-template-columns:220px minmax(0,1fr) auto;gap:26px;padding:25px 28px;border:1px solid #d8ebe1;box-shadow:0 7px 22px rgba(30,70,48,.07)}
.rhe-sports__title h2{font-size:21px;line-height:1.2}.rhe-sport-ball{font-size:27px}
.rhe-sport-event{min-height:92px;padding:6px 18px}
.rhe-sport-event__date{font-size:14px;line-height:1.35}
.rhe-sport-event strong{font-size:15px;line-height:1.35;margin-top:6px}
.rhe-sport-event small{font-size:13px;line-height:1.3;margin-top:5px}
.rhe-sports__inner>.main-btn{white-space:nowrap;color:#087f43!important}

/* Kategooriamärgendite eristavad värvid */
.rhe-badge.rhe-category--sport{background:#2374d8}
.rhe-badge.rhe-category--teater{background:#8150b7}
.rhe-badge.rhe-category--muusika{background:#d56f16}
.rhe-badge.rhe-category--kino{background:#b3486e}
.rhe-badge.rhe-category--pidu,.rhe-badge.rhe-category--festival{background:#d39b12;color:#152018}
.rhe-badge.rhe-category--naitus{background:#317e78}
.rhe-badge.rhe-category--koolitus{background:#526aaf}
.rhe-badge.rhe-category--huvitegevus{background:#168b62}
.rhe-badge.rhe-category--laager{background:#a75c35}
.rhe-badge.rhe-category--matk{background:#497b35}
.rhe-badge.rhe-category--varia{background:#68736d}
.rhe-week-item__top.rhe-category--sport{color:#2374d8}.rhe-week-item__top.rhe-category--teater{color:#8150b7}.rhe-week-item__top.rhe-category--muusika{color:#b85b0b}.rhe-week-item__top.rhe-category--kino{color:#b3486e}.rhe-week-item__top.rhe-category--pidu,.rhe-week-item__top.rhe-category--festival{color:#9b6c00}.rhe-week-item__top.rhe-category--naitus{color:#26706a}.rhe-week-item__top.rhe-category--koolitus{color:#526aaf}.rhe-week-item__top.rhe-category--huvitegevus{color:#168b62}

/* Päise ikoonid kõigil lehtedel, kuid mitte jaluses */
.site-header__menu--main>li>a{display:flex!important;align-items:center;gap:7px}
.site-footer .rhe-menu-icon{display:none!important}

@media(max-width:1100px){
  .rhe-event-card{flex-basis:calc((100% - 18px)/2)}
  .rhe-sports__inner{grid-template-columns:1fr}
  .rhe-sports__events{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .rhe-hero__slider{padding:0 8px}.rhe-hero-arrow{width:38px;height:38px;top:135px;margin:0}.rhe-hero-arrow--prev{left:14px}.rhe-hero-arrow--next{right:14px}
  .rhe-section-heading{min-height:0;align-items:stretch}.rhe-filter{justify-content:flex-start}.rhe-filter label{white-space:normal}.rhe-week>.section-title{min-height:auto;padding:18px 0 12px}
  .rhe-upcoming-carousel{padding:0 32px}.rhe-event-card{flex-basis:100%}.rhe-card-arrow{width:34px;height:34px}
  .rhe-sports__events{grid-template-columns:1fr}.rhe-sport-event{min-height:auto;padding:13px 0}
}


/* v0.3.0 täiendused */
.rhe-homepage .rhe-primary-btn,
.rhe-homepage .rhe-primary-btn:link,
.rhe-homepage .rhe-primary-btn:visited,
.rhe-homepage .rhe-primary-btn:hover,
.rhe-homepage .rhe-primary-btn:focus,
.rhe-homepage .rhe-primary-btn:active{color:#fff!important;text-shadow:none!important}
.rhe-meta-icon{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;margin-right:6px;font-size:17px;line-height:1;filter:saturate(1.15)}
.rhe-section-heading{min-height:58px;align-items:center;margin-bottom:20px;padding:0 2px}
.rhe-section-heading .section-title{line-height:1.15;padding:0;margin:0}
.rhe-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.rhe-filter label{font-weight:600;color:#35473e;white-space:nowrap}
.rhe-filter select{height:44px;min-width:220px}
.rhe-upcoming-carousel{position:relative;padding:0 12px}
.rhe-card-viewport{overflow:hidden;padding:6px 2px 10px}
.rhe-card-arrow,.rhe-hero-arrow{display:flex!important;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #c6ded0;border-radius:50%;background:rgba(255,255,255,.96);color:#078044;font-size:29px;font-weight:400;line-height:1;box-shadow:0 8px 22px rgba(26,70,46,.15);transition:transform .2s,box-shadow .2s,background .2s;z-index:8}
.rhe-card-arrow:hover,.rhe-hero-arrow:hover{transform:translateY(-1px) scale(1.05);box-shadow:0 11px 26px rgba(26,70,46,.22);background:#fff}
.rhe-card-arrow{position:absolute;top:47%;transform:translateY(-50%)}
.rhe-card-arrow:hover{transform:translateY(-50%) scale(1.05)}
.rhe-card-arrow--prev{left:-34px}.rhe-card-arrow--next{right:-34px}
.rhe-hero-arrow{position:absolute;top:50%;transform:translateY(-50%)}
.rhe-hero-arrow:hover{transform:translateY(-50%) scale(1.05)}
.rhe-hero-arrow--prev{left:-28px}.rhe-hero-arrow--next{right:-28px}
.rhe-week{padding:0 24px 24px;min-height:100%;box-shadow:0 8px 22px rgba(24,77,49,.07)}
.rhe-week>.section-title{font-size:25px;padding:20px 0 14px}
.rhe-week-item{grid-template-columns:72px 1fr;gap:14px;padding:14px 0}
.rhe-week-item__image{width:72px;height:72px}
.rhe-week-item strong{font-size:15px}.rhe-week-item small{font-size:12px}.rhe-week-item__top{font-size:12px}

/* Päis läheb hamburger-menüüks varem, et sülearvutis ükski valik ära ei lõikuks. */
@media (max-width:1350px){
  .site-header__row--bottom .site-header__menu-toggle{display:block!important}
  .site-header__nav--main{display:block!important;transform:translateX(100%)!important;position:fixed!important;top:0!important;right:0!important;width:min(360px,88vw)!important;height:100vh!important;padding:72px 24px 24px!important;background:#fff!important;overflow-y:auto!important;box-shadow:none!important;z-index:100!important}
  .site-header__nav--main.is-toggled{transform:translateX(0)!important;box-shadow:0 0 40px rgba(0,0,0,.25)!important}
  .site-header__nav--main .site-header__close-btn{display:block!important}
  .site-header__menu--main{display:block!important;text-align:left!important}
  .site-header__menu--main>li{display:block!important;margin:0!important;border-bottom:1px solid #edf2ef}
  .site-header__menu--main>li>a{padding:14px 4px!important;font-size:17px!important}
}
@media (max-width:900px){
  .rhe-main-layout{grid-template-columns:1fr}.rhe-week{margin-top:26px}
  .rhe-card-arrow--prev{left:-8px}.rhe-card-arrow--next{right:-8px}
  .rhe-hero-arrow--prev{left:8px}.rhe-hero-arrow--next{right:8px}
}

/* v0.4.0 – joondus, menüü, nooled ja üksiku sündmuse vaade */
.rhe-homepage .main-container,
.rhe-single-event .main-container{overflow:visible}

/* Päise menüü läheb kompaktseks enne, kui viimased valikud ekraanilt kaovad. */
@media (max-width:1600px){
  .site-header__row--bottom .site-header__menu-toggle{display:block!important;visibility:visible!important;opacity:1!important}
  .site-header__nav--main{display:block!important;transform:translateX(105%)!important;position:fixed!important;top:0!important;right:0!important;width:min(390px,90vw)!important;height:100vh!important;padding:76px 26px 30px!important;background:#fff!important;overflow-y:auto!important;z-index:10000!important;transition:transform .25s ease!important}
  .site-header__nav--main.is-toggled{transform:translateX(0)!important;box-shadow:0 0 42px rgba(0,0,0,.24)!important}
  .site-header__nav--main .site-header__close-btn{display:block!important}
  .site-header__menu--main{display:block!important;width:100%!important;text-align:left!important}
  .site-header__menu--main>li{display:block!important;width:100%!important;margin:0!important;border-bottom:1px solid #e7efe9}
  .site-header__menu--main>li>a{justify-content:flex-start!important;padding:15px 5px!important;font-size:17px!important}
}

/* Sektsioonide päised ühe joone peale. */
.rhe-main-layout{align-items:stretch}
.rhe-upcoming{display:flex;flex-direction:column;min-width:0}
.rhe-section-heading{min-height:72px;padding:10px 2px 8px;align-items:center;margin-bottom:10px}
.rhe-section-heading .section-title,
.rhe-week>.section-title{position:relative;font-size:27px;line-height:1.2;font-weight:700}
.rhe-section-heading .section-title:after,
.rhe-week>.section-title:after,
.rhe-single-content-card>h2:after{content:"";display:block;width:78px;height:3px;margin-top:10px;border-radius:5px;background:linear-gradient(90deg,#07934c 0 70%,rgba(7,147,76,.18) 70%)}
.rhe-week{display:flex;flex-direction:column;height:100%;padding:0 26px 25px}
.rhe-week>.section-title{display:block;min-height:72px;padding:20px 0 8px;border-bottom:0}
.rhe-week-list{flex:1}
.rhe-week-item{grid-template-columns:78px 1fr;gap:15px;padding:16px 0}
.rhe-week-item__image{width:78px;height:78px}
.rhe-week-item__top{font-size:13px;line-height:1.3}
.rhe-week-item strong{font-size:17px;line-height:1.32}
.rhe-week-item small{font-size:14px;line-height:1.35;margin-top:6px}
.rhe-week>.rhe-text-link{font-size:14px;margin-top:12px}

/* Filter on rahulikum roheline kontroll valge tekstiga. */
.rhe-filter label{font-size:15px}
.rhe-filter select{height:46px;min-width:225px;border:1px solid #11884a;background-color:#11884a;color:#fff!important;font-weight:700;box-shadow:0 5px 14px rgba(8,111,58,.12);cursor:pointer}
.rhe-filter select:hover,.rhe-filter select:focus{background-color:#087d42;border-color:#087d42;outline:3px solid rgba(17,136,74,.15)}
.rhe-filter select option{background:#fff;color:#234135}

/* Kaartide metainfo. */
.rhe-card-meta-icon{display:inline-flex;width:21px;justify-content:center;margin-right:5px;font-size:15px;line-height:1;vertical-align:-1px}
.rhe-event-card__content p{display:flex;align-items:center;font-size:14px;color:#5b6b62}

/* Uued puhtad chevron-nooled, alati selgelt nähtavad ja konteinerist väljas. */
.rhe-upcoming-carousel{padding:0}
.rhe-hero__slider{padding:0}
.rhe-card-arrow,.rhe-hero-arrow{font-size:0!important;width:48px;height:48px;border:1px solid #bcd8c8!important;background:#fff!important;color:#087f43!important;box-shadow:0 10px 28px rgba(19,71,43,.16)!important;opacity:1!important;overflow:visible!important}
.rhe-card-arrow:before,.rhe-hero-arrow:before{content:"";display:block;width:11px;height:11px;border-top:3px solid currentColor;border-right:3px solid currentColor}
.rhe-card-arrow--prev:before,.rhe-hero-arrow--prev:before{transform:rotate(-135deg);margin-left:5px}
.rhe-card-arrow--next:before,.rhe-hero-arrow--next:before{transform:rotate(45deg);margin-right:5px}
.rhe-card-arrow:hover,.rhe-card-arrow:focus,.rhe-hero-arrow:hover,.rhe-hero-arrow:focus{background:#087f43!important;color:#fff!important;border-color:#087f43!important;box-shadow:0 12px 30px rgba(8,127,67,.28)!important;opacity:1!important}
.rhe-card-arrow{top:48%}
.rhe-card-arrow--prev{left:-58px}.rhe-card-arrow--next{right:-58px}
.rhe-hero-arrow--prev{left:-64px}.rhe-hero-arrow--next{right:-64px}

/* Üksiku sündmuse uus kujundus. */
.rhe-single-event{background:#f6f9f7;color:#202a30}
.rhe-single-hero{padding:48px 0 34px;background:linear-gradient(180deg,#f3f8f5,#fff)}
.rhe-single-hero__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);min-height:570px;background:#fff;border:1px solid #e0ebe4;border-radius:18px;overflow:hidden;box-shadow:0 16px 44px rgba(20,66,41,.12)}
.rhe-single-hero__media{min-width:0;background:#eaf2ed}
.rhe-single-hero__image-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:#edf4f0}
.rhe-single-hero__image-link img{display:block;width:100%;height:100%;max-height:720px;object-fit:contain;background:#edf4f0}
.rhe-single-hero__placeholder{display:flex;height:100%;min-height:520px;align-items:center;justify-content:center;font-size:80px}
.rhe-single-hero__content{display:flex;flex-direction:column;justify-content:center;padding:48px 52px}
.rhe-single-back{display:inline-flex;align-items:center;margin-bottom:22px;color:#087f43;text-decoration:none;font-weight:700}
.rhe-single-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.rhe-single-hero__content h1{margin:0 0 18px;font-size:42px;line-height:1.12;color:#1d2923}
.rhe-single-lead{margin:0 0 25px;font-size:18px;line-height:1.55;color:#526158}
.rhe-single-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 27px}
.rhe-single-fact{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:14px;border:1px solid #e0ebe4;border-radius:11px;background:#f8fbf9}
.rhe-single-fact>span{font-size:20px;line-height:1.2}
.rhe-single-fact small{display:block;margin-bottom:3px;color:#6a796f;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.rhe-single-fact strong{display:block;color:#24342b;font-size:15px;line-height:1.35;font-weight:700}
.rhe-single-fact strong p{margin:0}
.rhe-single-fact em{display:block;margin-top:3px;color:#6b786f;font-size:13px;font-style:normal}
.rhe-single-actions,.rhe-calendar-action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.rhe-single-actions .main-btn,.rhe-single-event .raasiku-google-calendar-btn{min-height:46px;border-radius:999px!important;padding:13px 19px!important}
.rhe-single-secondary{background:#4267b2!important;border-color:#4267b2!important;color:#fff!important}
.rhe-single-content-section{padding:0 0 58px}
.rhe-single-content-card{max-width:1050px;margin:0 auto;padding:38px 44px;border:1px solid #e0ebe4;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(20,66,41,.07)}
.rhe-single-content-card>h2{margin:0 0 25px;font-size:28px}
.rhe-single-content{font-size:17px;line-height:1.72;color:#35433b}
.rhe-single-content p:first-child{margin-top:0}

@media(max-width:1250px){
  .rhe-card-arrow--prev{left:-24px}.rhe-card-arrow--next{right:-24px}
  .rhe-hero-arrow--prev{left:-24px}.rhe-hero-arrow--next{right:-24px}
  .rhe-single-hero__content{padding:38px}
}
@media(max-width:900px){
  .rhe-section-heading{align-items:stretch;min-height:0}.rhe-filter{justify-content:flex-start}.rhe-filter select{width:100%}
  .rhe-week>.section-title{min-height:0}
  .rhe-card-arrow--prev{left:-7px}.rhe-card-arrow--next{right:-7px}
  .rhe-hero-arrow--prev{left:8px}.rhe-hero-arrow--next{right:8px}
  .rhe-single-hero__grid{grid-template-columns:1fr}.rhe-single-hero__media{max-height:560px}.rhe-single-hero__image-link img{max-height:560px}.rhe-single-hero__content{padding:32px}.rhe-single-hero__content h1{font-size:34px}
}
@media(max-width:600px){
  .rhe-week{padding:0 18px 20px}.rhe-week-item{grid-template-columns:66px 1fr}.rhe-week-item__image{width:66px;height:66px}.rhe-week-item strong{font-size:15px}
  .rhe-single-hero{padding:18px 0}.rhe-single-hero__grid{border-radius:12px}.rhe-single-hero__content{padding:24px 20px}.rhe-single-hero__content h1{font-size:29px}.rhe-single-facts{grid-template-columns:1fr}.rhe-single-content-card{padding:27px 20px;border-radius:12px}.rhe-single-content{font-size:16px}
}

/* v0.5.0 – karusselli vahed, eraldajad ja tugevam üksiku sündmuse paigutus */
.rhe-main-layout{
  grid-template-columns:minmax(0,2.15fr) minmax(330px,.92fr);
  gap:68px;
}
.rhe-upcoming-carousel{position:relative;overflow:visible}
.rhe-card-arrow--prev{left:-34px}
.rhe-card-arrow--next{right:-34px}

/* Joon + punktid sektsioonipealkirjade all. */
.rhe-section-heading .section-title:after,
.rhe-week>.section-title:after,
.rhe-single-content-card>h2:after{
  width:112px;
  height:4px;
  border-radius:0;
  background:
    linear-gradient(90deg,
      #07934c 0 74px,
      transparent 74px 84px,
      #07934c 84px 90px,
      transparent 90px 98px,
      #07934c 98px 102px,
      transparent 102px 100%);
}

/* Üksiku sündmuse kaart ei veni pika piletiteksti tõttu katki. */
.rhe-single-hero__grid{
  grid-template-columns:minmax(0,1.12fr) minmax(410px,.88fr);
  min-height:0;
  align-items:start;
}
.rhe-single-hero__media{
  min-width:0;
  padding:26px;
  background:linear-gradient(145deg,#edf6f1,#e5f0ea);
}
.rhe-single-hero__image-link{
  display:flex;
  width:100%;
  height:auto;
  min-height:0;
  align-items:flex-start;
  justify-content:center;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(22,74,46,.08);
}
.rhe-single-hero__image-link img{
  display:block;
  width:100%;
  height:auto;
  max-height:680px;
  object-fit:contain;
  object-position:center top;
  background:#fff;
}
.rhe-single-hero__content{
  min-width:0;
  justify-content:flex-start;
  padding:44px 44px 42px;
}
.rhe-single-hero__content h1{
  overflow-wrap:anywhere;
  hyphens:auto;
}
.rhe-single-facts{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
}
.rhe-single-fact{
  min-width:0;
  height:100%;
}
.rhe-single-fact>div{min-width:0}
.rhe-single-fact strong,
.rhe-single-fact em{
  overflow-wrap:anywhere;
  word-break:normal;
}
.rhe-single-ticket{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:12px;
  margin:0 0 24px;
  padding:18px 19px;
  border:1px solid #cfe5d8;
  border-radius:13px;
  background:linear-gradient(145deg,#f1faf5,#e8f5ee);
}
.rhe-single-ticket__icon{font-size:22px;line-height:1.2}
.rhe-single-ticket__content{min-width:0}
.rhe-single-ticket small{
  display:block;
  margin-bottom:7px;
  color:#087f43;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.rhe-single-ticket__content>div{
  color:#2b3b32;
  font-size:15px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.rhe-single-ticket p{margin:0 0 8px}
.rhe-single-ticket p:last-child{margin-bottom:0}

.rhe-single-content-section{padding:10px 0 64px}
.rhe-single-content-card{
  max-width:1180px;
  padding:42px 48px;
  border-color:#cfe5d8;
  background:linear-gradient(145deg,#f0f9f4,#e8f5ee);
  box-shadow:0 12px 34px rgba(20,66,41,.08);
}
.rhe-single-content-card>h2{color:#183e2a}
.rhe-single-content{
  color:#30483a;
  overflow-wrap:anywhere;
}

@media(max-width:1380px){
  .rhe-main-layout{gap:48px}
  .rhe-card-arrow--prev{left:-22px}
  .rhe-card-arrow--next{right:-22px}
}
@media(max-width:1100px){
  .rhe-main-layout{grid-template-columns:1fr;gap:28px}
  .rhe-week{margin-top:0}
  .rhe-card-arrow--prev{left:-12px}
  .rhe-card-arrow--next{right:-12px}
  .rhe-single-hero__grid{grid-template-columns:1fr}
  .rhe-single-hero__media{padding:20px}
  .rhe-single-hero__image-link img{max-height:620px}
}
@media(max-width:700px){
  .rhe-single-hero__media{padding:12px}
  .rhe-single-hero__content{padding:26px 20px}
  .rhe-single-content-card{padding:28px 20px}
  .rhe-single-ticket{grid-template-columns:30px minmax(0,1fr);padding:15px}
}

/* v0.6.0 – mobiili/tahvli paigutus, parandatud menüü ja ühtne sündmuse detailvaade */

/* Esiletõstetud sündmuse pealkirja dekoratiivjoon. */
.rhe-hero__content h2{margin-bottom:10px}
.rhe-title-rule,
.rhe-hero__content h2:after{
  content:"";
  display:block;
  width:112px;
  height:4px;
  margin-top:14px;
  background:linear-gradient(90deg,#07934c 0 74px,transparent 74px 84px,#07934c 84px 90px,transparent 90px 98px,#07934c 98px 102px,transparent 102px 100%);
}

/* "Sel nädalal" joondub keskelt. */
.rhe-week>.section-title{text-align:center}
.rhe-week>.section-title:after{margin-left:auto;margin-right:auto}

/* Menüü külgpaneel – üks veerg, ekraani sisse lukustatud. */
@media(max-width:1320px){
  body.rhe-menu-open{overflow:hidden!important}
  .site-header__nav--main{
    display:block!important;
    position:fixed!important;
    inset:0 0 0 auto!important;
    width:min(420px,92vw)!important;
    max-width:92vw!important;
    height:100dvh!important;
    padding:82px 28px 34px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#fff!important;
    transform:translate3d(105%,0,0)!important;
    transition:transform .25s ease!important;
    z-index:100000!important;
  }
  .site-header__nav--main.is-toggled{transform:translate3d(0,0,0)!important;box-shadow:-18px 0 48px rgba(0,0,0,.18)!important}
  .site-header__nav--main .site-header__close-btn{display:block!important;position:absolute!important;top:26px!important;left:27px!important}
  .site-header__menu--main,
  .site-header__nav--main .menu-main-container{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .site-header__menu--main{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    white-space:normal!important;
    overflow:visible!important;
  }
  .site-header__menu--main>li{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    border-bottom:1px solid #e4eee8!important;
  }
  .site-header__menu--main>li>a{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    padding:16px 4px!important;
    justify-content:flex-start!important;
    white-space:normal!important;
    font-size:18px!important;
    line-height:1.3!important;
  }
}
@media(max-width:560px){
  .site-header__nav--main{width:100vw!important;max-width:100vw!important;padding:78px 22px 28px!important}
}

/* Tahvel ja telefon: nädalavaade kohe hero all, siis järgmised sündmused. */
@media(max-width:1100px){
  .rhe-main-layout{display:flex!important;flex-direction:column!important;gap:24px!important}
  .rhe-week{order:-1;width:100%;margin:0!important}
  .rhe-upcoming{order:1;width:100%}
  .rhe-week-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .rhe-week-item{border:1px solid #d9e8df;border-radius:12px;padding:12px;background:#fff;grid-template-columns:64px minmax(0,1fr)}
  .rhe-week-item:last-child{border-bottom:1px solid #d9e8df}
}
@media(max-width:760px){
  .rhe-hero__slide.is-active{display:flex!important;flex-direction:column!important}
  .rhe-hero__media{min-height:240px!important}
  .rhe-hero__content{padding:24px 20px!important}
  .rhe-main-section{padding-top:20px}
  .rhe-week{padding:0 16px 18px}
  .rhe-week-list{display:block}
  .rhe-week-item{margin-bottom:10px;grid-template-columns:72px minmax(0,1fr)}
  .rhe-section-heading{gap:14px}
  .rhe-section-heading .section-title{font-size:27px}
  .rhe-filter{display:grid!important;grid-template-columns:1fr;gap:8px;width:100%}
  .rhe-filter select{width:100%!important;min-width:0!important}
  .rhe-card-viewport{overflow:hidden!important}
  .rhe-card-grid{display:flex!important;gap:14px!important}
  .rhe-event-card{flex:0 0 calc(100vw - 52px)!important;max-width:390px}
  .rhe-card-arrow{width:42px;height:42px}
  .rhe-sports__inner{padding:20px 18px}
}
@media(max-width:480px){
  .rhe-week-item{grid-template-columns:64px minmax(0,1fr)}
  .rhe-week-item__image{width:64px;height:64px}
  .rhe-week-item strong{font-size:15px}
  .rhe-sports__events{display:block!important}
  .rhe-sport-event{padding:13px 0!important}
}

/* Üksiku sündmuse detailvaade: üks suur konteiner ja selle sees kirjeldus. */
.rhe-single-event{background:linear-gradient(180deg,#f3f8f5 0,#f8fbf9 100%)}
.rhe-single-wrap{padding:48px 0 64px}
.rhe-single-shell{
  max-width:1280px;
  margin:0 auto;
  overflow:hidden;
  border:1px solid #dbe9e1;
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 52px rgba(20,66,41,.11);
}
.rhe-single-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr);
  align-items:stretch;
  min-height:0;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff;
}
.rhe-single-hero__media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  padding:30px;
  background:linear-gradient(145deg,#edf6f1,#e5f0ea);
}
.rhe-single-hero__image-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:420px;
  overflow:hidden;
  border:0!important;
  border-radius:16px;
  background:transparent!important;
  box-shadow:none!important;
}
.rhe-single-hero__image-link img{
  display:block;
  width:100%;
  height:auto;
  max-height:700px;
  object-fit:contain;
  object-position:center;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.rhe-single-hero__content{padding:46px 48px;min-width:0}
.rhe-single-hero__content h1{font-size:clamp(34px,3vw,48px);line-height:1.08;margin-bottom:0;overflow-wrap:anywhere}
.rhe-single-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rhe-single-fact{min-height:96px;padding:15px 16px;align-content:start}
.rhe-single-fact strong{font-size:15px;line-height:1.3}
.rhe-single-fact em{font-size:13px}
.rhe-single-description-card{
  margin:0 30px 30px;
  padding:34px 38px;
  border:1px solid #cfe5d8;
  border-radius:16px;
  background:linear-gradient(145deg,#f0f9f4,#e8f5ee);
}
.rhe-single-description-card h2{margin:0;font-size:28px;color:#183e2a}
.rhe-single-description-card .rhe-title-rule{margin-bottom:22px}
.rhe-single-content{font-size:17px;line-height:1.72;color:#30483a;overflow-wrap:anywhere}
.rhe-single-content>*:first-child{margin-top:0}
.rhe-single-content>*:last-child{margin-bottom:0}

@media(max-width:1050px){
  .rhe-single-wrap{padding:28px 0 48px}
  .rhe-single-hero__grid{grid-template-columns:1fr}
  .rhe-single-hero__media{padding:22px}
  .rhe-single-hero__image-link{min-height:0}
  .rhe-single-hero__image-link img{max-height:620px}
  .rhe-single-hero__content{padding:34px}
}
@media(max-width:650px){
  .rhe-single-wrap{padding:16px 0 34px}
  .rhe-single-shell{border-radius:14px}
  .rhe-single-hero__media{padding:12px}
  .rhe-single-hero__image-link{border-radius:11px}
  .rhe-single-hero__content{padding:26px 20px}
  .rhe-single-hero__content h1{font-size:30px}
  .rhe-single-facts{grid-template-columns:1fr}
  .rhe-single-fact{min-height:0}
  .rhe-single-description-card{margin:0 14px 14px;padding:26px 20px;border-radius:12px}
  .rhe-single-description-card h2{font-size:24px}
  .rhe-single-content{font-size:16px}
}

/* v0.7.0 – detailvaate paigutuse tugevad parandused. */
body.single-kalender .rhe-single-event,
body.single-kalender #content.rhe-single-event{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}
body.single-kalender .rhe-single-event .main-container{
  width:min(1480px,calc(100% - 48px))!important;
  max-width:1480px!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}
body.single-kalender .rhe-single-shell{
  width:100%!important;
  max-width:none!important;
  overflow:hidden!important;
}
body.single-kalender .rhe-single-hero__grid{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:minmax(0,1.2fr) minmax(440px,.8fr)!important;
  align-items:stretch!important;
}
body.single-kalender .rhe-single-hero__media{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  padding:34px!important;
  background:linear-gradient(145deg,#f0f9f4,#e8f5ee)!important;
}
body.single-kalender .rhe-single-hero__image-link{
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:480px!important;
  border:0!important;
  border-radius:16px!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.single-kalender .rhe-single-hero__image-link img{
  width:100%!important;
  max-width:100%!important;
  height:100%!important;
  max-height:720px!important;
  object-fit:contain!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.single-kalender .rhe-single-hero__content,
body.single-kalender .event-page__main{
  display:flex!important;
  flex-direction:column!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  flex:initial!important;
  float:none!important;
  padding:44px!important;
}
body.single-kalender .rhe-single-hero__content h1{
  width:100%!important;
  max-width:none!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:auto!important;
}
body.single-kalender .rhe-single-facts,
body.single-kalender .event-page__info-table{
  display:grid!important;
  width:100%!important;
  max-width:none!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0 0 24px!important;
}
body.single-kalender .rhe-single-fact{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  min-height:104px!important;
  padding:16px!important;
  overflow:hidden!important;
}
body.single-kalender .rhe-single-fact > div,
body.single-kalender .rhe-single-fact strong,
body.single-kalender .rhe-single-fact em{
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body.single-kalender .rhe-single-ticket{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.single-kalender .rhe-single-actions,
body.single-kalender .rhe-calendar-action-row{
  width:100%!important;
  max-width:none!important;
}
body.single-kalender .rhe-single-description-card{
  width:auto!important;
  max-width:none!important;
  margin:0 34px 34px!important;
  background:linear-gradient(145deg,#f0f9f4,#e8f5ee)!important;
}

@media(max-width:1180px){
  body.single-kalender .rhe-single-event .main-container{
    width:min(1120px,calc(100% - 36px))!important;
  }
  body.single-kalender .rhe-single-hero__grid{
    grid-template-columns:minmax(0,1fr) minmax(390px,.82fr)!important;
  }
  body.single-kalender .rhe-single-hero__content,
  body.single-kalender .event-page__main{padding:34px!important}
}
@media(max-width:980px){
  body.single-kalender .rhe-single-event .main-container{
    width:min(880px,calc(100% - 28px))!important;
  }
  body.single-kalender .rhe-single-hero__grid{grid-template-columns:1fr!important}
  body.single-kalender .rhe-single-hero__image-link{min-height:0!important}
  body.single-kalender .rhe-single-hero__image-link img{height:auto!important;max-height:680px!important}
}
@media(max-width:640px){
  body.single-kalender .rhe-single-event .main-container{width:calc(100% - 20px)!important}
  body.single-kalender .rhe-single-hero__media{padding:12px!important}
  body.single-kalender .rhe-single-hero__content,
  body.single-kalender .event-page__main{padding:24px 18px!important}
  body.single-kalender .rhe-single-facts,
  body.single-kalender .event-page__info-table{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.single-kalender .rhe-single-fact{grid-template-columns:26px minmax(0,1fr)!important;min-height:94px!important;padding:12px!important}
  body.single-kalender .rhe-single-fact > span{font-size:17px!important}
  body.single-kalender .rhe-single-fact small{font-size:10px!important}
  body.single-kalender .rhe-single-fact strong{font-size:13px!important}
  body.single-kalender .rhe-single-fact em{font-size:12px!important}
  body.single-kalender .rhe-single-description-card{margin:0 12px 12px!important;padding:24px 18px!important}
}
@media(max-width:400px){
  body.single-kalender .rhe-single-facts,
  body.single-kalender .event-page__info-table{grid-template-columns:1fr!important}
}

/* v0.9.0 – sündmuse tegevusnupud võrdselt ja tühja kirjelduse plokk peidetud */
body.single-kalender .raasiku-calendar-action-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  margin:18px 0 28px!important;
}
body.single-kalender .raasiku-calendar-action-row > .event-page_fb-btn,
body.single-kalender .raasiku-calendar-action-row > .event-page__fb-btn,
body.single-kalender .raasiku-calendar-action-row > .main-btn,
body.single-kalender .raasiku-calendar-action-row > .raasiku-calendar-buttons{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.single-kalender .raasiku-calendar-action-row .event-page_fb-btn,
body.single-kalender .raasiku-calendar-action-row .event-page__fb-btn,
body.single-kalender .raasiku-calendar-action-row .raasiku-google-calendar-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:48px!important;
  height:100%!important;
  margin:0!important;
  padding:12px 16px!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:normal!important;
}
body.single-kalender .raasiku-calendar-action-row .event-page_fb-btn,
body.single-kalender .raasiku-calendar-action-row .event-page__fb-btn{
  background:#009f4d!important;
  border:1px solid #009f4d!important;
  color:#fff!important;
}
body.single-kalender .raasiku-calendar-action-row .event-page_fb-btn:hover,
body.single-kalender .raasiku-calendar-action-row .event-page__fb-btn:hover,
body.single-kalender .raasiku-calendar-action-row .raasiku-google-calendar-btn:hover{
  background:#007a3d!important;
  border-color:#007a3d!important;
  color:#fff!important;
  transform:translateY(-1px);
}
@media(max-width:520px){
  body.single-kalender .raasiku-calendar-action-row{
    grid-template-columns:1fr!important;
  }
}


/* v0.10.0 – detailvaate viimased visuaalsed parandused. */
body.single-kalender .rhe-single-hero__media{
  background:#fff!important;
}
body.single-kalender .rhe-single-hero__content > .rhe-title-rule{
  margin-bottom:26px!important;
}

/* v0.11.0 – parandatud hamburger-menüü ja mobiilsete sektsioonipealkirjade joondus. */

/*
 * Teema algne CSS muudab menüü alates 960 px laiusest horisontaalseks.
 * Plugina varasem breakpoint avab külgpaneeli juba sülearvutis, mistõttu
 * nullime paneeli sees kõik horisontaalse menüü reeglid täielikult.
 */
@media (max-width:1600px){
  html,body{max-width:100%;overflow-x:hidden}

  #js-main-menu-container.site-header__nav--main{
    display:block!important;
    position:fixed!important;
    inset:0 0 0 auto!important;
    width:min(420px,92vw)!important;
    max-width:100vw!important;
    height:100dvh!important;
    min-width:0!important;
    padding:76px 24px 28px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    background:#fff!important;
    text-align:left!important;
  }

  #js-main-menu-container > div,
  #js-main-menu-container .menu-peamenu-container,
  #js-main-menu-container .menu-main-container{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  #js-main-menu-container #js-main-menu,
  #js-main-menu-container .site-header__menu--main{
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
    text-align:left!important;
  }

  #js-main-menu-container #js-main-menu > li,
  #js-main-menu-container .site-header__menu--main > li{
    display:block!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border-bottom:1px solid #e7efe9!important;
  }

  #js-main-menu-container #js-main-menu > li > a,
  #js-main-menu-container .site-header__menu--main > li > a{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:11px!important;
    padding:15px 4px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:left!important;
    font-size:17px!important;
    line-height:1.35!important;
  }

  #js-main-menu-container .site-header__close-btn{
    position:absolute!important;
    top:24px!important;
    left:24px!important;
    right:auto!important;
  }
}

/* Tahvlis on paneel veidi kitsam, kuid menüü jääb alati üheveeruliseks. */
@media (max-width:900px){
  #js-main-menu-container.site-header__nav--main{
    width:min(390px,94vw)!important;
    padding:72px 20px 24px!important;
  }
}

/* Telefonis joondame pealkirja ja dekoratiivse joone sama keskpunkti järgi. */
@media (max-width:800px){
  .rhe-upcoming .rhe-section-heading{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:16px!important;
    width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important;
    text-align:center!important;
  }

  .rhe-upcoming .rhe-section-heading .section-title{
    width:100%!important;
    margin:0!important;
    text-align:center!important;
  }

  .rhe-upcoming .rhe-section-heading .section-title:after{
    margin:10px auto 0!important;
  }

  .rhe-upcoming .rhe-filter{
    width:100%!important;
    justify-content:center!important;
    text-align:center!important;
  }

  .rhe-upcoming .rhe-filter label{
    width:100%!important;
    text-align:center!important;
  }

  .rhe-upcoming .rhe-filter select{
    width:min(100%,340px)!important;
    min-width:0!important;
  }
}

/* Väga kitsal telefonil ei tohi külgpaneel ega menüüelement tekitada horisontaalset kerimist. */
@media (max-width:480px){
  #js-main-menu-container.site-header__nav--main{
    width:100vw!important;
    padding:68px 18px 22px!important;
  }

  #js-main-menu-container #js-main-menu > li > a,
  #js-main-menu-container .site-header__menu--main > li > a{
    font-size:16px!important;
    padding:14px 2px!important;
  }
}
