:root {
  --cassiopeia-color-primary: #5f648f;
  --cassiopeia-color-link: #394476;
  --cassiopeia-color-hover: #5f0057;
  --falset-page: #eef0f3;
  --falset-panel: #ffffff;
  --falset-line: #d7d7d7;
  --falset-purple: #5f0057;
  --falset-menu: #666999;
}

body.site {
  background: var(--falset-page);
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.site-grid {
  max-width: 960px;
  margin: 0 auto;
  background: var(--falset-panel);
  box-shadow: 0 0 12px rgb(0 0 0 / 12%);
}

.container-header {
  background: #fff;
  border-bottom: 4px solid var(--falset-menu);
  color: #333;
}

.container-header .navbar-brand,
.container-header .site-description {
  color: var(--falset-purple);
}

.container-header .navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
}

.container-header .mod-menu {
  background: var(--falset-menu);
  justify-content: center;
  padding: 0 .35rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button,
.container-header .metismenu > li > a,
.container-header .metismenu > li > button {
  color: #fff;
  font-weight: 700;
  padding: .7rem .85rem;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > button:hover,
.container-header .metismenu > li > a:hover,
.container-header .metismenu > li > button:hover {
  background: #4f5278;
  color: #fff;
}

.container-header .metismenu.mod-menu .mm-collapse {
  background: #fff;
  border: 1px solid var(--falset-line);
  box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
}

.container-header .metismenu.mod-menu .mm-collapse a {
  color: #333;
  min-width: 220px;
}

.container-header .metismenu.mod-menu .mm-collapse a:hover {
  background: #f0eef5;
  color: var(--falset-purple);
}

.card,
.moduletable,
.sidebar-right .moduletable,
.sidebar-left .moduletable {
  border: 1px solid var(--falset-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.card-header,
.moduletable > h3 {
  background: #f4f4f4;
  border-bottom: 1px solid var(--falset-line);
  color: var(--falset-purple);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding: .55rem .75rem;
}

.card-body,
.moduletable {
  padding: .75rem;
}

.com-content-article,
.blog,
.item-page {
  max-width: 907px;
}

.page-header h1,
.page-header h2,
.com-content-article__title,
.blog h1,
.blog h2 {
  color: var(--falset-purple);
  font-size: 1.45rem;
  font-weight: 700;
}

a {
  color: var(--cassiopeia-color-link);
}

a:hover {
  color: var(--falset-purple);
}

.breadcrumb {
  background: #f7f7f7;
  border: 1px solid var(--falset-line);
  border-radius: 0;
  font-size: .9rem;
  padding: .45rem .65rem;
}

main img,
.com-content-article img {
  max-width: 100%;
  height: auto;
}

.com-content-article table[bgcolor="#666999"],
.com-content-article table[style*="width: 907px"],
.com-content-article table[style*="width: 907px;"] {
  width: 100% !important;
  max-width: 907px;
  background: var(--falset-menu) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.com-content-article table img[name^="webcamimagerefresh"],
.com-content-article img[name^="webcamimagerefresh"] {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
}

.fn-webcam-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  max-width: 907px;
  margin: 0 auto 1rem;
  background: var(--falset-menu);
  padding: 8px;
}

.fn-webcam-nav__item {
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.fn-webcam-nav__item:hover {
  color: #fff;
  text-decoration: underline;
}

.fn-webcam-nav__item img {
  display: block;
  width: 100%;
  max-width: 110px;
  height: 70px;
  object-fit: cover;
  margin: 4px auto 0;
}

.fn-webcam-donate {
  max-width: 760px;
  margin: 1.25rem auto;
  text-align: center;
}

.fn-webcam-donate button {
  border: 1px solid #b78a25;
  background: #ffc439;
  color: #111;
  font-weight: 700;
  padding: .45rem .85rem;
}

.footer {
  background: var(--falset-menu);
  color: #fff;
  margin-top: 1.5rem;
}

.footer a {
  color: #fff;
}

@media (max-width: 767px) {
  .site-grid {
    max-width: none;
    box-shadow: none;
  }

  .container-header .mod-menu {
    align-items: stretch;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button {
    padding: .6rem .7rem;
  }
}

/* Home/header tightening requested 2026-05-20 */
.container-header .mod-custom,
.container-header .custom {
  margin-bottom: 0 !important;
}

.container-header .mod-custom img,
.container-header .custom img {
  width: min(100%, 1510px);
  max-height: 230px;
  object-fit: cover;
  object-position: center;
}

.container-header .container-nav {
  margin-top: 0 !important;
}

.container-header .mod-menu,
.container-header .metismenu.mod-menu {
  min-height: 0;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button,
.container-header .metismenu > li > a,
.container-header .metismenu > li > button {
  padding-top: .52rem;
  padding-bottom: .52rem;
}

body.itemid-30322 .site-grid {
  width: min(100% - 24px, 1240px);
  max-width: 1240px;
}

body.itemid-30322 .container-component {
  display: flex;
  justify-content: center;
}

body.itemid-30322 .container-component main {
  width: min(100%, 1040px);
  margin-inline: auto;
}

body.itemid-30322 .com-content-article,
body.itemid-30322 .item-page {
  display: block !important;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

body.itemid-30322 .page-header,
body.itemid-30322 .com-content-article__title {
  display: block !important;
  text-align: center;
}

body.itemid-30322 .page-header h1,
body.itemid-30322 .com-content-article__title {
  margin: .25rem 0 .75rem;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.12;
}

body.itemid-30322 .com-content-article__body,
body.itemid-30322 .item-page .com-content-article__body {
  display: block !important;
}

body.itemid-30322 .com-content-article__body > * {
  max-width: 100%;
}

body.itemid-30322 .com-content-article__body img,
body.itemid-30322 .item-page img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}

body.itemid-30322 .com-content-article__body > :not(p):not(figure):not(div),
body.itemid-30322 .com-content-article__body > p {
  text-align: center;
}

@media (max-width: 767px) {
  .container-header .mod-custom img,
  .container-header .custom img {
    max-height: 150px;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button,
  .container-header .metismenu > li > a,
  .container-header .metismenu > li > button {
    padding-top: .55rem;
    padding-bottom: .55rem;
  }

  body.itemid-30322 .site-grid {
    width: 100%;
    padding: 10px;
  }

  body.itemid-30322 .page-header h1,
  body.itemid-30322 .com-content-article__title {
    font-size: 1.45rem;
  }
}

body.itemid-30135 .blog,
body.itemid-30136 .blog {
  max-width: 1100px;
}

body.itemid-30135 .blog-items,
body.itemid-30136 .blog-items,
body.itemid-30135 .items-row,
body.itemid-30136 .items-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

body.itemid-30135 .blog-item,
body.itemid-30136 .blog-item,
body.itemid-30135 .item,
body.itemid-30136 .item {
  position: relative;
  overflow: hidden;
  background: #151515;
  border: 1px solid #2b2b2b;
  color: #fff;
  min-height: 190px;
}

body.itemid-30135 .blog-item::before,
body.itemid-30136 .blog-item::before,
body.itemid-30135 .item::before,
body.itemid-30136 .item::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at center, rgb(255 255 255 / 20%) 0 34px, transparent 35px),
    linear-gradient(135deg, #2f385f, #111 70%);
}

body.itemid-30135 .blog-item.fn-video-card-ready::before,
body.itemid-30136 .blog-item.fn-video-card-ready::before,
body.itemid-30135 .item.fn-video-card-ready::before,
body.itemid-30136 .item.fn-video-card-ready::before,
body.itemid-30135 .blog-item.fn-video-card-ready::after,
body.itemid-30136 .blog-item.fn-video-card-ready::after,
body.itemid-30135 .item.fn-video-card-ready::after,
body.itemid-30136 .item.fn-video-card-ready::after {
  content: none;
  display: none;
}

body.itemid-30135 .blog-item::after,
body.itemid-30136 .blog-item::after,
body.itemid-30135 .item::after,
body.itemid-30136 .item::after {
  content: "";
  position: absolute;
  top: calc((100vw / 4) * .28);
  left: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #fff;
  transform: translate(-35%, -50%);
  pointer-events: none;
}

body.itemid-30135 .blog-item .item-content,
body.itemid-30136 .blog-item .item-content,
body.itemid-30135 .item .item-content,
body.itemid-30136 .item .item-content {
  padding: .65rem;
}

body.itemid-30135 .blog-item h2,
body.itemid-30136 .blog-item h2,
body.itemid-30135 .blog-item h3,
body.itemid-30136 .blog-item h3,
body.itemid-30135 .item-title,
body.itemid-30136 .item-title {
  margin: .55rem .65rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

body.itemid-30135 .blog-item h2 a,
body.itemid-30136 .blog-item h2 a,
body.itemid-30135 .blog-item h3 a,
body.itemid-30136 .blog-item h3 a,
body.itemid-30135 .item-title a,
body.itemid-30136 .item-title a {
  color: #fff;
  text-decoration: none;
}

body.itemid-30135 .blog-item h2 a::after,
body.itemid-30136 .blog-item h2 a::after,
body.itemid-30135 .blog-item h3 a::after,
body.itemid-30136 .blog-item h3 a::after,
body.itemid-30135 .item-title a::after,
body.itemid-30136 .item-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

body.itemid-30135 .blog-item:hover,
body.itemid-30136 .blog-item:hover,
body.itemid-30135 .item:hover,
body.itemid-30136 .item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(0 0 0 / 30%);
}

body.itemid-30135 .blog-item video,
body.itemid-30136 .blog-item video,
body.itemid-30135 .item video,
body.itemid-30136 .item video {
  display: none !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

body.itemid-30135 .blog-item .item-image,
body.itemid-30136 .blog-item .item-image,
body.itemid-30135 .item .item-image,
body.itemid-30136 .item .item-image {
  margin: 0;
}

body.itemid-30135 .blog-item .item-image + .item-content,
body.itemid-30136 .blog-item .item-image + .item-content,
body.itemid-30135 .item .item-image + .item-content,
body.itemid-30136 .item .item-image + .item-content {
  margin-top: 0;
}

body.itemid-30135 .article-info,
body.itemid-30136 .article-info,
body.itemid-30135 .readmore,
body.itemid-30136 .readmore {
  display: none;
}

body .fn-home-webcams {
  display: grid;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 0 !important;
  max-width: 907px !important;
  margin: 0 auto 1.25rem !important;
  background: var(--falset-menu) !important;
  border: 1px solid var(--falset-menu) !important;
}

body .fn-home-webcams a {
  display: block;
  padding: .4rem !important;
  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border-right: 1px solid rgb(255 255 255 / 25%) !important;
  min-width: 0 !important;
}

body .fn-home-webcams a:last-child {
  border-right: 0;
}

body .fn-home-webcams img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 82px !important;
  object-fit: cover !important;
  margin: .35rem 0 0 !important;
  background: #111 !important;
}

body .fn-home-webcams a:hover {
  background: #4f5278;
  color: #fff;
}

.fn-home-welcome {
  max-width: 907px;
  margin: 0 auto 1.5rem;
}

.fn-home-welcome h1 {
  color: var(--falset-purple);
  font-size: 1.45rem;
  font-weight: 700;
}

.fn-home-welcome img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--falset-line);
}

@media (max-width: 900px) {
  .fn-home-webcams {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 520px) {
  .fn-home-webcams {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

body.itemid-30322 .site-grid {
  display: grid !important;
  width: min(100% - 24px, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "component" !important;
  gap: 12px;
  align-items: start;
  padding: 12px;
}

body.itemid-30322 .container-component,
body.itemid-30322 .container-sidebar-right {
  padding: 0;
}

body.itemid-30322 .container-component {
  grid-area: component !important;
  min-width: 0;
}

body.itemid-30322 .container-sidebar-right {
  display: none !important;
}

body.itemid-30322 .container-component main {
  display: block;
  min-width: 0;
}

body.itemid-30322 .main-top.card,
body.itemid-30322 .sidebar-right.card {
  margin: 0 0 12px;
  border: 1px solid var(--falset-line);
  border-radius: 0;
  box-shadow: none;
}

body.itemid-30322 .main-top.card .card-body,
body.itemid-30322 .sidebar-right.card .card-body {
  padding: 8px;
}

body.itemid-30322 .com-content-article,
body.itemid-30322 .com-content-article__body > :not(.fn-home-welcome),
body.itemid-30322 .page-header {
  display: none;
}

body.itemid-30322 .fn-home-webcams {
  margin-bottom: 0 !important;
  max-width: none !important;
}

body.itemid-30322 .fn-home-webcams a {
  padding: .35rem .3rem !important;
  font-size: .95rem;
  line-height: 1.1;
}

body.itemid-30322 .fn-home-webcams img {
  height: 76px !important;
}

body.itemid-30322 .fn-home-welcome {
  max-width: none;
  margin: 0;
}

body.itemid-30322 .fn-home-welcome--image-only {
  max-width: 1180px;
}

body.itemid-30322 .fn-home-welcome--image-only img {
  display: block;
  width: 100%;
  max-height: none;
  border: 1px solid var(--falset-line);
}

body.itemid-30322 .fn-home-welcome h1 {
  margin: 0 0 .5rem;
  font-size: 1.35rem;
}

body.itemid-30322 .fn-home-welcome img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

body.itemid-30322 .sidebar-right.card .card-header {
  padding: .5rem .75rem;
  color: var(--falset-purple);
  font-size: 1rem;
}

body.itemid-30322 .random-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: cover;
}

@media (max-width: 900px) {
  body.itemid-30322 .site-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "component"
      "sidebar-right" !important;
    max-width: 760px;
  }
}

/* Responsive polish for the Joomla 5 rebuild */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.container-header .grid-child,
.container-bottom-a .grid-child,
.container-bottom-b .grid-child,
.container-footer .grid-child {
  width: min(100% - 24px, 1510px);
  margin-inline: auto;
}

.container-header img,
.container-header .mod-custom img,
.container-header .custom img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.container-header .container-nav {
  width: min(100% - 24px, 1510px);
  margin: 1rem auto 0;
}

.container-header .mod-menu,
.container-header .metismenu.mod-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-grid {
  width: min(100% - 24px, 960px);
}

.com-content-article table {
  max-width: 100%;
}

.com-content-article iframe,
.item-page iframe,
.blog iframe {
  max-width: 100%;
}

@media (max-width: 767px) {
  body.site {
    font-size: 15px;
  }

  .container-header {
    border-bottom-width: 3px;
  }

  .container-header .grid-child,
  .container-header .container-nav,
  .site-grid {
    width: 100%;
  }

  .container-header .container-nav {
    margin-top: .65rem;
  }

  .container-header .mod-menu,
  .container-header .metismenu.mod-menu {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .container-header .mod-menu > li,
  .container-header .metismenu.mod-menu > li {
    flex: 0 0 auto;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button,
  .container-header .metismenu > li > a,
  .container-header .metismenu > li > button {
    padding: .68rem .75rem;
    white-space: nowrap;
  }

  .site-grid {
    display: block;
    padding: 0 10px 14px;
    background: #fff;
  }

  .card-body,
  .moduletable {
    padding: .65rem;
  }

  .page-header h1,
  .page-header h2,
  .com-content-article__title,
  .blog h1,
  .blog h2 {
    font-size: 1.25rem;
    line-height: 1.18;
  }

  body.itemid-30322 .site-grid {
    width: 100%;
    padding: 10px;
    gap: 10px;
  }

  body.itemid-30322 .main-top.card,
  body.itemid-30322 .sidebar-right.card {
    margin-bottom: 10px;
  }

  body.itemid-30322 .fn-home-webcams {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.itemid-30322 .fn-home-webcams a {
    border-right: 0 !important;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
    font-size: .9rem;
  }

  body.itemid-30322 .fn-home-webcams img {
    height: 70px !important;
  }

  body.itemid-30322 .fn-home-welcome h1 {
    font-size: 1.18rem;
  }

  body.itemid-30322 .fn-home-welcome img {
    max-height: none;
  }

  body.itemid-30135 .blog-items,
  body.itemid-30136 .blog-items,
  body.itemid-30135 .items-row,
  body.itemid-30136 .items-row {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .fn-webcam-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fn-timelapse {
    margin: 1rem auto;
  }

  .fn-timelapse__image {
    min-height: 180px;
  }
}

/* Webcams dropdown + Radio Falset three-camera page */
@media (min-width: 768px) {
  .container-header .metismenu.mod-menu > li {
    position: relative;
  }

  .container-header .metismenu.mod-menu > li > .mm-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 245px;
    height: auto !important;
    margin: 0;
    padding: .35rem 0;
    background: #fff;
  }

  .container-header .metismenu.mod-menu > li:hover > .mm-collapse,
  .container-header .metismenu.mod-menu > li:focus-within > .mm-collapse {
    display: block;
  }

  .container-header .metismenu.mod-menu > li > .mm-collapse > li > a {
    display: block;
    padding: .55rem .85rem;
    white-space: nowrap;
  }
}

.fn-radio-webcams {
  max-width: 980px;
  margin: 0 auto 1.5rem;
}

.fn-radio-webcams__hero {
  margin-bottom: .85rem;
  text-align: center;
}

.fn-radio-webcams__hero h2 {
  margin: 0 0 .25rem;
  color: var(--falset-purple);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.fn-radio-webcams__hero p {
  margin: 0;
  color: #555;
}

.fn-radio-webcams__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fn-radio-webcam {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--falset-line);
  background: var(--falset-menu);
}

.fn-radio-webcam--wide {
  grid-column: 1 / -1;
}

.fn-radio-webcam figcaption {
  padding: .55rem .75rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.fn-radio-webcam img {
  display: block;
  width: 100%;
  min-height: 220px;
  max-height: 560px;
  object-fit: contain;
  background: #111;
}

@media (max-width: 767px) {
  .fn-radio-webcams__grid {
    grid-template-columns: 1fr;
  }

  .fn-radio-webcam--wide {
    grid-column: auto;
  }

  .fn-radio-webcam img {
    min-height: 180px;
  }
}

/* Header/menu final compact pass */
.container-header {
  padding-bottom: 0 !important;
}

.container-header .grid-child {
  margin-bottom: 0 !important;
}

.container-header .mod-custom img,
.container-header .custom img {
  max-height: 205px !important;
}

.container-header .container-nav {
  margin-top: 0 !important;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button,
.container-header .metismenu > li > a,
.container-header .metismenu > li > button {
  padding-top: .45rem !important;
  padding-bottom: .45rem !important;
}

@media (max-width: 767px) {
  .container-header .mod-custom img,
  .container-header .custom img {
    max-height: 118px !important;
  }
}

/* Radio Falset webcam timelapse layout */
body.itemid-30178 .site-grid {
  width: min(100% - 24px, 1120px);
  max-width: 1120px;
}

body.itemid-30178 .com-content-article,
body.itemid-30178 .item-page {
  max-width: 980px;
  margin-inline: auto;
}

body.itemid-30178 .main-bottom.card,
body.itemid-30178 .moduletable {
  margin: 0 0 12px;
}

body.itemid-30178 .main-bottom.card:has(#fn-timelapse-91278),
body.itemid-30178 .main-bottom.card:has(#fn-timelapse-90278),
body.itemid-30178 .moduletable:has(#fn-timelapse-91278),
body.itemid-30178 .moduletable:has(#fn-timelapse-90278) {
  display: block;
  width: 100%;
  clear: both;
}

body.itemid-30178 .main-bottom.card:has(#fn-timelapse-91279),
body.itemid-30178 .main-bottom.card:has(#fn-timelapse-91280),
body.itemid-30178 .main-bottom.card:has(#fn-timelapse-90279),
body.itemid-30178 .main-bottom.card:has(#fn-timelapse-90280),
body.itemid-30178 .moduletable:has(#fn-timelapse-91279),
body.itemid-30178 .moduletable:has(#fn-timelapse-91280),
body.itemid-30178 .moduletable:has(#fn-timelapse-90279),
body.itemid-30178 .moduletable:has(#fn-timelapse-90280) {
  display: inline-block;
  width: calc(50% - 7px);
  vertical-align: top;
}

body.itemid-30178 .main-bottom.card:has(#fn-timelapse-91279),
body.itemid-30178 .main-bottom.card:has(#fn-timelapse-90279),
body.itemid-30178 .moduletable:has(#fn-timelapse-91279),
body.itemid-30178 .moduletable:has(#fn-timelapse-90279) {
  margin-right: 10px;
}

body.itemid-30178 #fn-timelapse-90278 {
  margin-top: 18px;
}

body.itemid-30178 .fn-timelapse__image {
  max-height: 560px;
  object-fit: contain;
  background: #111;
}

body.itemid-30178 #fn-timelapse-91279 .fn-timelapse__image,
body.itemid-30178 #fn-timelapse-91280 .fn-timelapse__image,
body.itemid-30178 #fn-timelapse-90279 .fn-timelapse__image,
body.itemid-30178 #fn-timelapse-90280 .fn-timelapse__image {
  max-height: 340px;
}

@media (max-width: 767px) {
  body.itemid-30178 .site-grid {
    width: 100%;
  }

  body.itemid-30178 .main-bottom.card:has(#fn-timelapse-91279),
  body.itemid-30178 .main-bottom.card:has(#fn-timelapse-91280),
  body.itemid-30178 .main-bottom.card:has(#fn-timelapse-90279),
  body.itemid-30178 .main-bottom.card:has(#fn-timelapse-90280),
  body.itemid-30178 .moduletable:has(#fn-timelapse-91279),
  body.itemid-30178 .moduletable:has(#fn-timelapse-91280),
  body.itemid-30178 .moduletable:has(#fn-timelapse-90279),
  body.itemid-30178 .moduletable:has(#fn-timelapse-90280) {
    display: block;
    width: 100%;
    margin-right: 0;
  }
}

/* Compact public header after publishing to falset.net */
body.site .container-header {
  padding-top: 10px !important;
  border-bottom-width: 3px !important;
}

body.site .container-header .grid-child:first-child,
body.site .container-header .container-topbar,
body.site .container-header .container-below-top {
  width: min(100% - 24px, 1510px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.site .container-header .mod-custom,
body.site .container-header .custom {
  height: 150px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body.site .container-header .mod-custom p,
body.site .container-header .custom p {
  margin: 0 !important;
}

body.site .container-header .mod-custom img,
body.site .container-header .custom img {
  display: block !important;
  width: 100% !important;
  height: 150px !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 48% !important;
}

body.site .container-header .container-nav {
  width: min(100% - 24px, 1510px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.site .container-header .mod-menu,
body.site .container-header .metismenu.mod-menu {
  min-height: 0 !important;
  margin: 0 !important;
  justify-content: space-between !important;
}

body.site .container-header .mod-menu > li > a,
body.site .container-header .mod-menu > li > button,
body.site .container-header .metismenu > li > a,
body.site .container-header .metismenu > li > button {
  min-height: 0 !important;
  padding: .36rem .7rem !important;
  font-size: 1rem !important;
  line-height: 1.12 !important;
}

body.site .container-header .mod-menu img,
body.site .container-header .metismenu img {
  max-height: 16px !important;
  width: auto !important;
}

@media (max-width: 900px) {
  body.site .container-header .mod-custom,
  body.site .container-header .custom,
  body.site .container-header .mod-custom img,
  body.site .container-header .custom img {
    height: 115px !important;
  }

  body.site .container-header .mod-menu > li > a,
  body.site .container-header .mod-menu > li > button,
  body.site .container-header .metismenu > li > a,
  body.site .container-header .metismenu > li > button {
    padding: .48rem .65rem !important;
    font-size: .95rem !important;
  }
}

@media (max-width: 520px) {
  body.site .container-header {
    padding-top: 0 !important;
  }

  body.site .container-header .mod-custom,
  body.site .container-header .custom,
  body.site .container-header .mod-custom img,
  body.site .container-header .custom img {
    height: 86px !important;
  }
}

/* Real Cassiopeia brand header: falset.net uses .navbar-brand, not a custom module */
body.site .container-header .navbar-brand {
  display: block !important;
  width: min(100% - 24px, 1510px) !important;
  height: 142px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

body.site .container-header .navbar-brand .brand-logo {
  display: block !important;
  height: 142px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.site .container-header .navbar-brand .brand-logo img {
  display: block !important;
  width: 100% !important;
  height: 142px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 48% !important;
}

body.site .container-header .navbar,
body.site .container-header .navbar-collapse {
  padding: 0 !important;
  margin: 0 !important;
}

body.site .container-header .grid-child + .grid-child {
  margin-top: 0 !important;
}

body.site .container-header .metismenu.mod-menu {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.site .container-header .metismenu.mod-menu > li > a,
body.site .container-header .metismenu.mod-menu > li > button {
  min-height: 40px !important;
  padding: .28rem .65rem !important;
  font-size: .95rem !important;
}

@media (max-width: 900px) {
  body.site .container-header .navbar-brand,
  body.site .container-header .navbar-brand .brand-logo,
  body.site .container-header .navbar-brand .brand-logo img {
    height: 108px !important;
  }
}

@media (max-width: 520px) {
  body.site .container-header .navbar-brand,
  body.site .container-header .navbar-brand .brand-logo,
  body.site .container-header .navbar-brand .brand-logo img {
    height: 76px !important;
  }
}

/* Professional header composition: dark frame, uncropped logo, centered menu */
body.site .container-header {
  background: #17192a !important;
  border-bottom: 3px solid #666999 !important;
  color: #fff !important;
  padding: 10px 0 0 !important;
}

body.site .container-header .grid-child:first-child {
  width: min(100% - 24px, 1510px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #17192a !important;
}

body.site .container-header .navbar-brand {
  width: 100% !important;
  height: 160px !important;
  background: #17192a !important;
}

body.site .container-header .navbar-brand .brand-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 160px !important;
  background: #17192a !important;
}

body.site .container-header .navbar-brand .brand-logo img {
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 160px !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.site .container-header .container-nav {
  width: min(100% - 24px, 1510px) !important;
  margin: 0 auto !important;
  background: #20233c !important;
}

body.site .container-header .navbar,
body.site .container-header .navbar-collapse {
  width: 100% !important;
}

body.site .container-header .metismenu.mod-menu,
body.site .container-header .mod-menu {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #20233c !important;
}

body.site .container-header .metismenu.mod-menu > li,
body.site .container-header .mod-menu > li {
  flex: 0 0 auto !important;
}

body.site .container-header .metismenu.mod-menu > li > a,
body.site .container-header .metismenu.mod-menu > li > button,
body.site .container-header .mod-menu > li > a,
body.site .container-header .mod-menu > li > button {
  display: flex !important;
  align-items: center !important;
  gap: .25rem !important;
  min-height: 42px !important;
  padding: .35rem 1rem !important;
  color: #fff !important;
  background: transparent !important;
  font-size: .98rem !important;
  line-height: 1.1 !important;
}

body.site .container-header .metismenu.mod-menu > li.active > a,
body.site .container-header .metismenu.mod-menu > li.active > button,
body.site .container-header .metismenu.mod-menu > li > a:hover,
body.site .container-header .metismenu.mod-menu > li > button:hover {
  background: #2c304f !important;
  color: #fff !important;
}

body.site .container-header .metismenu.mod-menu img,
body.site .container-header .mod-menu img {
  max-height: 16px !important;
  width: auto !important;
}

body.site .container-header + .site-grid {
  margin-top: 0 !important;
}

@media (max-width: 1100px) {
  body.site .container-header .metismenu.mod-menu,
  body.site .container-header .mod-menu {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }

  body.site .container-header .metismenu.mod-menu > li > a,
  body.site .container-header .metismenu.mod-menu > li > button,
  body.site .container-header .mod-menu > li > a,
  body.site .container-header .mod-menu > li > button {
    padding-inline: .75rem !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 767px) {
  body.site .container-header {
    padding-top: 0 !important;
  }

  body.site .container-header .grid-child:first-child,
  body.site .container-header .container-nav {
    width: 100% !important;
  }

  body.site .container-header .navbar-brand,
  body.site .container-header .navbar-brand .brand-logo {
    height: 96px !important;
  }

  body.site .container-header .navbar-brand .brand-logo img {
    max-height: 96px !important;
  }
}

/* Refined header palette: match the blue-violet gradient in the masthead */
body.site .container-header {
  background: #1a1d31 !important;
  border-bottom-color: #74779f !important;
}

body.site .container-header .grid-child:first-child,
body.site .container-header .navbar-brand,
body.site .container-header .navbar-brand .brand-logo {
  background: #1a1d31 !important;
}

body.site .container-header .container-nav,
body.site .container-header .metismenu.mod-menu,
body.site .container-header .mod-menu {
  background: #262a46 !important;
}

body.site .container-header .container-nav {
  border-top: 1px solid rgb(255 255 255 / 8%) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%) !important;
}

body.site .container-header .metismenu.mod-menu > li > a,
body.site .container-header .metismenu.mod-menu > li > button,
body.site .container-header .mod-menu > li > a,
body.site .container-header .mod-menu > li > button {
  color: #f7f7fb !important;
}

body.site .container-header .metismenu.mod-menu > li.active > a,
body.site .container-header .metismenu.mod-menu > li.active > button,
body.site .container-header .metismenu.mod-menu > li > a:hover,
body.site .container-header .metismenu.mod-menu > li > button:hover {
  background: #35395d !important;
}

body.site .container-header .metismenu.mod-menu > li.active > a::after,
body.site .container-header .metismenu.mod-menu > li.active > button::after {
  background: #c9cbe4 !important;
}

/* Restore Falset.net purple for header frame and menu */
body.site .container-header {
  background: #666999 !important;
  border-bottom-color: #666999 !important;
}

body.site .container-header .grid-child:first-child,
body.site .container-header .navbar-brand,
body.site .container-header .navbar-brand .brand-logo {
  background: #666999 !important;
}

body.site .container-header .container-nav,
body.site .container-header .metismenu.mod-menu,
body.site .container-header .mod-menu {
  background: #666999 !important;
}

body.site .container-header .container-nav {
  border-top: 1px solid rgb(255 255 255 / 16%) !important;
  box-shadow: none !important;
}

body.site .container-header .metismenu.mod-menu > li > a,
body.site .container-header .metismenu.mod-menu > li > button,
body.site .container-header .mod-menu > li > a,
body.site .container-header .mod-menu > li > button {
  color: #fff !important;
  background: transparent !important;
}

body.site .container-header .metismenu.mod-menu > li.active > a,
body.site .container-header .metismenu.mod-menu > li.active > button,
body.site .container-header .metismenu.mod-menu > li > a:hover,
body.site .container-header .metismenu.mod-menu > li > button:hover,
body.site .container-header .mod-menu > li > a:hover,
body.site .container-header .mod-menu > li > button:hover {
  background: #50537f !important;
  color: #fff !important;
}

body.site .container-header .metismenu.mod-menu > li.active > a::after,
body.site .container-header .metismenu.mod-menu > li.active > button::after {
  background: #d8d9ef !important;
}

/* Remove thin divider between masthead and menu */
body.site .container-header .container-nav {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.site .container-header .navbar,
body.site .container-header .navbar-collapse,
body.site .container-header .metismenu.mod-menu,
body.site .container-header .mod-menu {
  border: 0 !important;
  box-shadow: none !important;
}

body.site .container-header .metismenu.mod-menu > li > a::before,
body.site .container-header .metismenu.mod-menu > li > a::after,
body.site .container-header .metismenu.mod-menu > li > button::before,
body.site .container-header .metismenu.mod-menu > li > button::after {
  display: none !important;
  content: none !important;
}

/* Test direction: centered original masthead, no side effects */
body.site .container-header {
  background: #666999 !important;
  border-bottom: 3px solid #666999 !important;
  padding: 14px 0 0 !important;
}

body.site .container-header .grid-child:first-child {
  width: min(100% - 24px, 1510px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #666999 !important;
}

body.site .container-header .navbar-brand {
  display: block !important;
  width: min(100%, 920px) !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  line-height: 0 !important;
}

body.site .container-header .navbar-brand .brand-logo {
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.site .container-header .navbar-brand .brand-logo img {
  display: block !important;
  width: 100% !important;
  max-width: 920px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
}

body.site .container-header .container-nav {
  width: min(100% - 24px, 1510px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #666999 !important;
  border: 0 !important;
}

body.site .container-header .navbar,
body.site .container-header .navbar-collapse,
body.site .container-header .metismenu.mod-menu,
body.site .container-header .mod-menu {
  background: #666999 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.site .container-header .metismenu.mod-menu,
body.site .container-header .mod-menu {
  justify-content: center !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
}

body.site .container-header .metismenu.mod-menu > li > a,
body.site .container-header .metismenu.mod-menu > li > button,
body.site .container-header .mod-menu > li > a,
body.site .container-header .mod-menu > li > button {
  min-height: 42px !important;
  padding: .35rem .95rem !important;
  color: #fff !important;
  background: transparent !important;
  font-size: .98rem !important;
  line-height: 1.1 !important;
}

body.site .container-header .metismenu.mod-menu > li.active > a,
body.site .container-header .metismenu.mod-menu > li.active > button,
body.site .container-header .metismenu.mod-menu > li > a:hover,
body.site .container-header .metismenu.mod-menu > li > button:hover,
body.site .container-header .mod-menu > li > a:hover,
body.site .container-header .mod-menu > li > button:hover {
  background: #50537f !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  body.site .container-header {
    padding-top: 8px !important;
  }

  body.site .container-header .navbar-brand {
    width: min(100% - 20px, 920px) !important;
  }
}

/* Mobile Teleservei: keep embedded player inside the page margin */
body.itemid-30190,
body.itemid-30190 .site-grid,
body.itemid-30190 .container-component,
body.itemid-30190 .main-top.card,
body.itemid-30190 .card-body,
body.itemid-30190 .com-content-article {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.itemid-30190 .fn-iframe-player {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 980px !important;
  overflow: hidden !important;
}

body.itemid-30190 .fn-iframe-player__stage {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.itemid-30190 .fn-iframe-player__stage iframe,
body.itemid-30190 .com-content-article iframe,
body.itemid-30190 .item-page iframe {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  body.itemid-30190 .site-grid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.itemid-30190 .main-top.card,
  body.itemid-30190 .card-body {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.itemid-30190 .fn-iframe-player {
    margin-bottom: 1rem !important;
  }

  body.itemid-30190 .fn-iframe-player__stage {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }

  body.itemid-30190 .fn-iframe-player__stage iframe,
  body.itemid-30190 .com-content-article iframe,
  body.itemid-30190 .item-page iframe {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}
