/*
 * Five Mountains event layer.
 * Moderne Oberfläche über dem bestehenden Template, ohne die Grundstruktur zu ersetzen.
 */
:root {
  --fm-bg: #090b06;
  --fm-bg-2: #17190f;
  --fm-panel: rgba(22, 26, 16, .91);
  --fm-panel-solid: #181c12;
  --fm-panel-blue: #27381f;
  --fm-border: rgba(224, 163, 73, .28);
  --fm-border-cool: rgba(141, 154, 88, .3);
  --fm-text: #f2efe3;
  --fm-muted: #c8c2b3;
  --fm-amber: #f3b24d;
  --fm-orange: #ff6a22;
  --fm-red: #d62828;
  --fm-green: #b8e85f;
  --fm-blue: #344b2d;
  --fm-shadow: 0 18px 42px rgba(0, 0, 0, .42);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--fm-text);
  background: #050704;
  background-image: linear-gradient(180deg, #242916 0%, #15190f 54%, #030402 100%);
}

.page {
  overflow-x: hidden;
}

.site-main {
  position: relative;
}

.site-main > .container-wide {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-main-start {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-main-start > .container-wide {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.rd-navbar-dark {
  background: rgba(29, 38, 23, .96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

#headlogo {
  position: fixed;
  top: 5px;
  left: 14px;
  z-index: 1100;
}

#headlogo img {
  width: 120px !important;
  max-width: 120px !important;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45));
}

@media (min-width: 1600px) {
  #headlogo img {
    width: 138px !important;
    max-width: 138px !important;
  }
}

@media (max-width: 1399px) {
  #headlogo img {
    width: 86px !important;
    max-width: 86px !important;
  }
}

.rd-navbar-static .rd-navbar-inner,
.rd-navbar-fullwidth .rd-navbar-inner {
  align-items: center;
}

.rd-navbar-static .rd-navbar-aside-right,
.rd-navbar-fullwidth .rd-navbar-aside-right {
  margin-left: auto;
}

.rd-navbar-static .fm-nav-main,
.rd-navbar-fullwidth .fm-nav-main {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rd-navbar-static .fm-nav-main > li,
.rd-navbar-fullwidth .fm-nav-main > li,
.rd-navbar-static .fm-nav-main > li + li,
.rd-navbar-fullwidth .fm-nav-main > li + li {
  margin-left: 0 !important;
}

.rd-navbar-static .fm-nav-main > li > a,
.rd-navbar-fullwidth .fm-nav-main > li > a {
  padding: 10px 10px !important;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #f6f8f1 !important;
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: 0;
  text-decoration: none !important;
  white-space: nowrap;
}

.rd-navbar-static .fm-nav-main > li > a:after,
.rd-navbar-fullwidth .fm-nav-main > li > a:after {
  display: none !important;
}

.rd-navbar-static .fm-nav-main > li > a:hover,
.rd-navbar-fullwidth .fm-nav-main > li > a:hover,
.rd-navbar-static .fm-nav-main > li.active > a,
.rd-navbar-fullwidth .fm-nav-main > li.active > a {
  border-color: rgba(243, 178, 77, .22);
  background: rgba(243, 178, 77, .1);
  color: #fff !important;
}

.rd-navbar-static .fm-nav-main > .fm-nav-cta > a,
.rd-navbar-fullwidth .fm-nav-main > .fm-nav-cta > a {
  border-color: rgba(255, 183, 3, .38);
  background: linear-gradient(180deg, #ff7a35 0%, #c6471f 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
  color: #fff8e7 !important;
}

.rd-navbar-static .fm-nav-main > .fm-nav-cta > a:hover,
.rd-navbar-fullwidth .fm-nav-main > .fm-nav-cta > a:hover,
.rd-navbar-static .fm-nav-main > .fm-nav-cta.active > a,
.rd-navbar-fullwidth .fm-nav-main > .fm-nav-cta.active > a {
  border-color: rgba(159, 255, 69, .52);
  background: linear-gradient(180deg, #1f7d57 0%, #105742 100%);
  color: #f4ffe9 !important;
}

.rd-navbar-static .fm-nav-main > .fm-nav-cta--closed > a,
.rd-navbar-fullwidth .fm-nav-main > .fm-nav-cta--closed > a {
  border-color: rgba(255, 107, 44, .52);
  background: rgba(105, 24, 17, .82);
  color: #ffe2d5 !important;
}

.fm-nav-lock {
  position: relative;
  top: 2px;
  color: var(--fm-green);
  font-size: 18px;
}

.fm-mobile-brand {
  display: none;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
}

.fm-mobile-brand img {
  width: 34px;
  height: auto;
}

.fm-mobile-topbar {
  display: none;
}

.button.button-primary,
.fm-button {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, #45652d 0%, #263f1d 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.button.button-primary:hover,
.fm-button:hover {
  background: linear-gradient(180deg, #ff7a35 0%, #cc471a 100%);
}

.fm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none !important;
}

.fm-button.is-secondary {
  background: rgba(8, 12, 8, .7);
  border-color: rgba(255, 255, 255, .28);
}

.fm-button.is-secondary:hover {
  background: rgba(255, 255, 255, .12);
}

.fm-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 10px;
  border: 1px solid rgba(243, 178, 77, .48);
  border-radius: 8px;
  background: rgba(7, 10, 6, .56);
  color: var(--fm-amber);
  font-weight: 800;
  line-height: 1.1;
}

.fm-hero {
  min-height: 640px;
  height: calc(100vh - 120px);
  max-height: 780px;
  background: #071007;
}

.fm-hero .swiper-wrapper,
.fm-hero .swiper-slide {
  min-height: inherit;
}

.fm-hero__slide {
  background-position: center;
  background-size: cover;
}

.fm-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 4, .88) 0%, rgba(4, 7, 4, .62) 48%, rgba(4, 7, 4, .22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .12) 62%, rgba(5, 7, 4, .92) 100%);
}

.fm-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  box-sizing: border-box;
  padding-top: 54px;
  padding-bottom: 54px;
  white-space: normal;
}

.fm-hero .container-wide,
.fm-home-band .container-wide {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.fm-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff8e8;
  font-family: f, Ubuntu, Arial, sans-serif;
  font-size: 56px;
  line-height: .98;
  text-shadow: 0 5px 20px rgba(0, 0, 0, .68);
  overflow-wrap: break-word;
}

.fm-hero__lead {
  max-width: 790px;
  margin: 20px 0 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .62);
}

.fm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 900px;
  margin-top: 26px;
}

.fm-hero__stats span {
  min-width: 132px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(5, 9, 5, .66);
  color: rgba(255, 255, 255, .8);
  line-height: 1.2;
}

.fm-hero__stats b {
  display: block;
  color: var(--fm-green);
  font-size: 20px;
}

.fm-booking {
  max-width: 560px;
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid rgba(243, 178, 77, .22);
  border-radius: 8px;
  background: rgba(20, 15, 10, .78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.fm-booking__top,
.fm-booking__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fm-booking__top {
  margin-bottom: 9px;
  color: #fff;
  font-weight: 800;
}

.fm-booking__value {
  color: var(--fm-green);
}

.fm-booking__track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
}

.fm-booking__fill {
  width: clamp(0%, calc(var(--p) * 1%), 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e 0%, #a3e635 100%);
}

.fm-booking__meta {
  margin-top: 7px;
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
}

.fm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fm-hero__sponsor {
  margin-top: 22px;
}

.fm-hero__sponsor img {
  width: 280px;
  max-width: 72vw;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5));
}

.fm-hero .swiper-pagination {
  bottom: 26px;
}

.fm-hero .swiper-pagination .swiper-pagination-bullet {
  width: 38px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .5);
}

.fm-hero .swiper-pagination .swiper-pagination-bullet-active,
.fm-hero .swiper-pagination .swiper-pagination-bullet:hover {
  background: var(--fm-amber);
}

.fm-home-band {
  padding: 52px 0 66px;
  background: linear-gradient(180deg, rgba(7, 10, 6, 1) 0%, rgba(13, 19, 11, 1) 100%);
}

.fm-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: start;
}

.fm-home-copy h2,
.fm-page-head h2,
.fm-tracking-copy h2 {
  margin: 0 0 16px;
  color: #fff4df;
  font-size: 34px;
  line-height: 1.1;
}

.fm-home-copy p,
.fm-page-head p,
.fm-tracking-copy p {
  margin: 0 0 14px;
  color: var(--fm-muted);
  font-size: 18px;
  line-height: 1.55;
}

.fm-map-card,
.fm-mini-card,
.fm-feature-card,
.fm-legal-section,
.fm-signup-card,
.fm-signup-facts,
.fm-tracking-shell {
  border: 1px solid var(--fm-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 26, 16, .96), rgba(8, 12, 7, .96));
  box-shadow: var(--fm-shadow);
}

.fm-map-card {
  padding: 16px;
}

.fm-map-card img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 8px;
}

.fm-map-card .gallery a {
  display: block;
}

.fm-map-card figcaption {
  margin-top: 10px;
  color: var(--fm-amber);
  font-size: 13px;
  text-align: center;
}

.fm-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.fm-mini-card {
  padding: 18px;
}

.fm-mini-card b {
  display: block;
  margin-bottom: 6px;
  color: var(--fm-green);
  font-size: 20px;
}

.fm-mini-card span {
  color: var(--fm-muted);
  line-height: 1.35;
}

.fm-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 34px;
  align-items: start;
  margin-bottom: 36px;
}

.fm-page-head__copy {
  max-width: 850px;
}

.fm-feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.fm-feature-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  overflow: hidden;
  border-color: var(--fm-border-cool);
  background: linear-gradient(135deg, rgba(47, 67, 38, .98), rgba(32, 42, 24, .96) 58%, rgba(92, 57, 26, .92));
}

.fm-feature-card__icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.fm-feature-card__icon img {
  max-width: 76px;
  max-height: 76px;
}

.fm-feature-card h3 {
  margin: 0 0 10px;
  color: var(--fm-orange);
  font-size: 21px;
  line-height: 1.15;
}

.fm-feature-card p {
  margin: 0;
  color: #f6f8ef;
  font-size: 16px;
  line-height: 1.45;
}

.fm-feature-card strong,
.fm-feature-card u {
  color: #fff;
}

.fm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 34px 0 0;
}

.fm-legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.fm-legal-nav {
  position: sticky;
  top: 94px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(5, 8, 5, .76);
}

.fm-legal-nav b {
  display: block;
  margin-bottom: 9px;
  color: var(--fm-amber);
}

.fm-legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--fm-muted);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none !important;
}

.fm-legal-nav a:hover {
  color: #fff;
}

.fm-legal-section {
  padding: 24px;
  margin-bottom: 18px;
}

.fm-legal-section h3 {
  margin: 0 0 14px;
  color: #fff4df;
  font-size: 24px;
  line-height: 1.2;
}

.fm-legal-section,
.fm-legal-section p,
.fm-legal-section div {
  color: var(--fm-muted);
  font-size: 16px;
  line-height: 1.58;
}

.fm-legal-section ul {
  margin: 14px 0 18px;
  padding-left: 0;
  list-style: none;
}

.fm-legal-section li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}

.fm-legal-section li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fm-amber);
  box-shadow: 0 0 0 4px rgba(243, 178, 77, .12);
}

.fm-legal-note {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--fm-amber);
  border-radius: 0 8px 8px 0;
  background: rgba(243, 178, 77, .1);
  color: #f8ecd2 !important;
}

.fm-legal-section strong,
.fm-legal-section b,
.fm-legal-section .g {
  color: #fff;
}

.fm-signup-page,
.fm-tracking-page {
  max-width: 1180px;
}

.fm-signup-head {
  align-items: stretch;
}

.fm-signup-facts {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.fm-signup-facts span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--fm-muted);
  line-height: 1.35;
}

.fm-signup-facts b {
  display: block;
  color: var(--fm-green);
  font-size: 18px;
}

.fm-signup-card {
  padding: 24px;
  color: var(--fm-muted);
  font-size: 17px;
  line-height: 1.55;
}

.fm-signup-card h2,
.fm-signup-card h3 {
  margin: 0 0 14px;
  color: #fff4df;
  line-height: 1.15;
}

.fm-signup-card h2 {
  font-size: 34px;
}

.fm-signup-card h3 {
  font-size: 24px;
}

.fm-signup-card p {
  margin: 0 0 14px;
}

.fm-signup-callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.fm-signup-callouts div {
  padding: 16px;
  border: 1px solid rgba(224, 163, 73, .2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(48, 65, 34, .9), rgba(18, 28, 15, .94));
}

.fm-signup-callouts b {
  display: block;
  margin-bottom: 7px;
  color: var(--fm-amber);
  font-size: 17px;
}

.fm-signup-callouts span {
  display: block;
  color: #eef3e8;
  font-size: 15px;
  line-height: 1.45;
}

.fm-signup-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.fm-signup-form__fields {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) max-content;
  gap: 12px;
  align-items: end;
}

.fm-signup-field {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--fm-amber);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.fm-signup-field input {
  min-width: 0;
  height: 50px;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .94);
  color: #141a12;
  font-size: 16px;
}

.button.button-primary.fm-signup-submit {
  width: auto;
  min-width: 248px;
  height: 50px;
  padding: 0 18px;
  white-space: nowrap;
}

.fm-signup-hint {
  margin: 14px 0 0 !important;
  color: var(--fm-green);
  font-size: 15px;
}

.fm-signup-alert {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 106, 34, .45);
  border-radius: 8px;
  background: rgba(255, 106, 34, .13);
  color: #ffd5c2;
  font-weight: 800;
}

.fm-signup-success {
  border-color: rgba(159, 255, 69, .42);
}

.fm-signup-closed {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.fm-signup-closed__image {
  display: grid;
  place-items: center;
  min-height: 130px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.fm-signup-closed__image img {
  max-width: 96px;
  height: auto;
}

.fm-signup-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--fm-green);
  border-radius: 0 8px 8px 0;
  background: rgba(159, 255, 69, .1);
  color: #eaffd0;
  font-weight: 800;
}

.noshow {
  display: none !important;
}

.fm-tracking-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.fm-tracking-badges {
  display: grid;
  gap: 10px;
}

.fm-tracking-badges span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--fm-muted);
}

.fm-tracking-badges b {
  display: block;
  color: var(--fm-green);
}

.fm-tracking-shell {
  overflow: hidden;
  background: #0b1008;
}

.fm-tracking-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(90deg, #283b20, #4e341c);
}

.fm-tracking-toolbar b {
  color: #fff;
  font-size: 18px;
}

.fm-tracking-toolbar span {
  color: var(--fm-muted);
}

.fm-tracking-map {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 560px;
  border: 0;
  background: #202020;
}

.starter-list .starter {
  border-radius: 8px !important;
}

/* Galerie: stabiles Kachelraster ohne Masonry-Abhängigkeit. */
.fm-gallery-page {
  max-width: 1180px;
  margin: 0 auto;
}

.fm-gallery-page .fm-page-head {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 22px;
}

.fm-gallery-years {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 10px;
  margin: 0 0 26px;
}

.fm-gallery-years a,
.fm-gallery-album-nav a,
.fm-gallery-year-card {
  border: 1px solid rgba(224, 163, 73, .24);
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.fm-gallery-years a {
  display: grid;
  gap: 3px;
  min-height: 68px;
  padding: 12px;
  background: rgba(16, 22, 12, .8);
  color: var(--fm-muted);
  line-height: 1.15;
}

.fm-gallery-years span {
  color: var(--fm-amber);
  font-size: 18px;
  font-weight: 900;
}

.fm-gallery-years a:hover,
.fm-gallery-years a.active,
.fm-gallery-album-nav a:hover,
.fm-gallery-album-nav a.active,
.fm-gallery-year-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 232, 95, .5);
  background: rgba(58, 76, 38, .58);
  color: #fff;
}

.fm-gallery-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.fm-gallery-year-card {
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(42, 58, 29, .94), rgba(17, 23, 12, .96)),
    radial-gradient(circle at 15% 0%, rgba(243, 178, 77, .25), transparent 38%);
  box-shadow: var(--fm-shadow);
}

.fm-gallery-year-card b {
  color: var(--fm-green);
  font-size: 32px;
  line-height: 1;
}

.fm-gallery-year-card strong {
  color: #fff6df;
  font-size: 20px;
  line-height: 1.15;
}

.fm-gallery-year-card span,
.fm-gallery-album-nav em {
  color: var(--fm-muted);
  font-style: normal;
}

.fm-gallery-year-head,
.fm-gallery-album__head,
.fm-gallery-intro,
.fm-gallery-empty {
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid rgba(224, 163, 73, .22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(25, 31, 18, .94), rgba(10, 13, 7, .94));
  box-shadow: var(--fm-shadow);
}

.fm-gallery-year-head h3,
.fm-gallery-album__head h3 {
  margin: 0 0 8px;
  color: #fff4df;
  font-size: 30px;
  line-height: 1.1;
}

.fm-gallery-year-head p,
.fm-gallery-album__head p,
.fm-gallery-intro,
.fm-gallery-empty {
  color: var(--fm-muted);
  font-size: 17px;
  line-height: 1.5;
}

.fm-gallery-album-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.fm-gallery-album-nav a {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 15px;
  background: rgba(15, 20, 11, .82);
}

.fm-gallery-album-nav a.is-special {
  border-color: rgba(255, 106, 34, .32);
}

.fm-gallery-album-nav span {
  color: var(--fm-amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fm-gallery-album-nav b {
  color: #fff;
  font-size: 18px;
  line-height: 1.14;
}

.fm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.fm-gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #0b1008;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
  text-decoration: none !important;
}

.fm-gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.fm-gallery-tile:hover img {
  transform: scale(1.045);
}

.fm-gallery-tile em {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(5, 7, 4, .78);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  line-height: 1.2;
}

.fm-gallery-tile.is-video {
  border-color: rgba(255, 106, 34, .42);
}

.fm-gallery-tile.is-video:before {
  content: "Video";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 106, 34, .9);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fm-gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(0, 0, 0, .48);
  transform: translate(-50%, -50%);
}

.fm-gallery-play:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
  transform: translate(-50%, -50%);
}

@media (max-width: 1199px) {
  .site-main > .container-wide {
    max-width: 980px;
  }

  #headlogo img {
    width: 64px !important;
    max-width: 64px !important;
  }

  #headlogo {
    display: none;
  }

  .rd-navbar-static .fm-nav-main > li > a,
  .rd-navbar-fullwidth .fm-nav-main > li > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 12px;
  }

  .fm-hero {
    min-height: 620px;
  }

  .fm-hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 991px) {
  .site-main > .container-wide {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-header,
  .rd-navbar-wrap,
  .rd-navbar {
    z-index: 20000 !important;
  }

  .fm-mobile-brand {
    display: none !important;
  }

  #headlogo {
    display: none;
  }

  .rd-navbar .rd-navbar-panel {
    display: none !important;
  }

  .fm-mobile-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 21000;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 4px 12px;
    background: linear-gradient(90deg, #26391d 0%, #1b2a16 52%, #4e341c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .34);
  }

  .fm-mobile-topbar__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0 8px 0 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
  }

  .fm-mobile-topbar__toggle span,
  .fm-mobile-topbar__toggle span:before,
  .fm-mobile-topbar__toggle span:after {
    display: block;
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
  }

  .fm-mobile-topbar__toggle span {
    position: relative;
  }

  .fm-mobile-topbar__toggle span:before,
  .fm-mobile-topbar__toggle span:after {
    content: "";
    position: absolute;
    left: 0;
  }

  .fm-mobile-topbar__toggle span:before {
    top: -8px;
  }

  .fm-mobile-topbar__toggle span:after {
    top: 8px;
  }

  .fm-mobile-topbar__toggle.active span {
    background: transparent;
  }

  .fm-mobile-topbar__toggle.active span:before {
    transform: translateY(8px) rotate(45deg);
  }

  .fm-mobile-topbar__toggle.active span:after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .fm-mobile-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
  }

  .fm-mobile-topbar__brand img {
    width: 36px;
    height: auto;
  }

  .rd-navbar .rd-navbar-nav-wrap {
    top: 56px !important;
    width: min(86vw, 340px);
    min-height: calc(100vh - 56px);
    padding: 14px 12px 24px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, #26391d 0%, #1b2a16 42%, #0b1208 100%) !important;
    box-shadow: 14px 0 30px rgba(0, 0, 0, .38);
    z-index: 20500 !important;
  }

  .rd-navbar-fixed .rd-navbar-nav-wrap:before,
  .rd-navbar-fixed .rd-navbar-nav-wrap:after {
    display: none !important;
  }

  .rd-navbar-fixed .fm-nav-main {
    display: grid;
    gap: 8px;
    padding: 0;
  }

  .rd-navbar-fixed .fm-nav-main:before,
  .rd-navbar-fixed .fm-nav-main:after {
    display: none;
  }

  .rd-navbar-fixed .fm-nav-main li,
  .rd-navbar-fixed .fm-nav-main li + li {
    margin: 0 !important;
  }

  .rd-navbar-fixed .fm-nav-main li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px !important;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    color: #f4f7ef !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none !important;
  }

  .rd-navbar-fixed .fm-nav-main li:hover > a,
  .rd-navbar-fixed .fm-nav-main li.active > a,
  .rd-navbar-fixed .fm-nav-main li.opened > a {
    border-color: rgba(243, 178, 77, .46);
    background: rgba(243, 178, 77, .14);
    color: #fff !important;
  }

  .rd-navbar-fixed .fm-nav-main .fm-nav-cta > a {
    border-color: rgba(255, 183, 3, .38);
    background: linear-gradient(180deg, #ff7a35 0%, #c6471f 100%);
    color: #fff8e7 !important;
  }

  .rd-navbar.rd-navbar-fixed .rd-navbar-nav-wrap.active,
  .rd-navbar .rd-navbar-nav-wrap.active,
  .rd-navbar .rd-navbar-nav-wrap.fm-menu-open {
    transform: translateX(0) !important;
  }

  .fm-hero {
    height: auto;
    min-height: 640px;
  }

  .fm-hero__content {
    padding-top: 78px;
  }

  .fm-hero h1 {
    font-size: 38px;
  }

  .fm-hero__lead {
    font-size: 19px;
  }

  .fm-home-grid,
  .fm-page-head,
  .fm-legal-layout,
  .fm-signup-form__fields,
  .fm-signup-callouts,
  .fm-tracking-top {
    grid-template-columns: 1fr;
  }

  .fm-legal-nav {
    position: static;
  }

  .button.button-primary.fm-signup-submit {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .site-main > .container-wide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-lg.site-main:not(.site-main-start) {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .fm-hero {
    min-height: 930px;
  }

  .fm-hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 7, 4, .55) 0%, rgba(4, 7, 4, .82) 48%, rgba(5, 7, 4, .96) 100%);
  }

  .fm-hero__content {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 84px 0 90px;
  }

  .fm-hero .container-wide,
  .fm-home-band .container-wide {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
  }

  .fm-hero h1 {
    font-size: 32px;
    line-height: 1.02;
  }

  .fm-hero__lead {
    font-size: 17px;
  }

  .fm-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fm-hero__stats span {
    min-width: 0;
  }

  .fm-hero__stats b {
    font-size: 18px;
  }

  .fm-hero__actions,
  .fm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fm-hero .swiper-pagination {
    display: none;
  }

  .fm-hero__sponsor {
    display: none;
  }

  .fm-button {
    width: 100%;
  }

  .fm-home-band {
    padding: 38px 0 48px;
  }

  .fm-home-copy h2,
  .fm-page-head h2,
  .fm-tracking-copy h2 {
    font-size: 27px;
  }

  .fm-home-copy p,
  .fm-page-head p,
  .fm-tracking-copy p {
    font-size: 16px;
  }

  .fm-mini-grid {
    grid-template-columns: 1fr;
  }

  .fm-feature-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .fm-feature-card__icon {
    width: 76px;
    height: 76px;
  }

  .fm-feature-card h3 {
    font-size: 18px;
  }

  .fm-feature-card p,
  .fm-signup-card,
  .fm-signup-card p,
  .fm-legal-section,
  .fm-legal-section p,
  .fm-legal-section div {
    font-size: 15px;
  }

  .fm-signup-card {
    padding: 18px;
  }

  .fm-signup-card h2 {
    font-size: 27px;
  }

  .fm-signup-card h3 {
    font-size: 20px;
  }

  .fm-signup-closed {
    grid-template-columns: 1fr;
  }

  .fm-signup-closed__image {
    display: none;
  }

  .fm-legal-section {
    padding: 18px;
  }

  .fm-tracking-map {
    height: 70vh;
    min-height: 520px;
  }
}

@media (max-width: 420px) {
  .fm-hero h1 {
    font-size: 28px;
  }

  .fm-hero__stats {
    grid-template-columns: 1fr;
  }

  .fm-feature-card {
    padding: 16px;
  }
}
