/* ssolski-muzej.si — single-page: flat header + light footer */

/* ── HEADER (flat white + bottom accent) ── */
.header {
  height: 7rem !important;
  min-height: 7rem;
  background: #ffffff !important;
  border-bottom: 0.3rem solid #e51a38;
  box-shadow: 0 0.2rem 1.2rem rgba(72, 64, 64, 0.08);
}

.header::before,
.header::after {
  display: none !important;
}

.header .logo {
  display: flex !important;
  align-items: center !important;
  align-self: center;
  padding-left: 0 !important;
  margin-right: auto;
  width: auto !important;
  max-width: none;
  height: auto !important;
  line-height: 0;
}

.header .logo__img {
  display: block;
  width: auto;
  height: 3.6rem;
  max-width: 15rem;
  object-fit: contain;
  object-position: left center;
}

.header .logo::before,
.header .logo::after {
  display: none !important;
}

.header__menu-toggle {
  display: none !important;
  border-top-color: #484040 !important;
  border-bottom-color: #484040 !important;
}

.header__menu-toggle span {
  background: #484040 !important;
}

.search-toggle svg {
  fill: #484040 !important;
}

.header__nav {
  display: none !important;
}

.wrapper {
  padding-top: 7rem !important;
}

@media (max-width: 1199px) {
  .header__nav {
    display: none !important;
  }
}

/* intro-home anchors — one row on desktop */
@media (min-width: 992px) {
  .intro-home__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
  }

  .intro-home__list li {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
  }

  .intro-home__list a {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.85rem 0.3rem;
    font-size: 1.1rem;
    line-height: 1.2;
    justify-content: center;
    text-align: center;
    gap: 0.3rem;
  }

  .intro-home__list svg {
    margin-right: 0;
    width: 2.2rem;
    height: 2.2rem;
    flex-shrink: 0;
  }
}

@media (min-width: 1200px) {
  .intro-home__list a {
    flex-direction: row;
    padding: 1rem 0.45rem;
    font-size: 1.35rem;
    text-align: left;
    justify-content: flex-start;
  }

  .intro-home__list svg {
    margin-right: 0.45rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ── FOOTER (solid dark, readable on all breakpoints) ── */
.footer {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2.5rem !important;
  color: #f9f9f9 !important;
  background-color: #484040 !important;
  background-image: none !important;
  border-top: 0.3rem solid #e51a38;
}

.footer a {
  color: #f9f9f9;
}

.footer .container {
  max-width: 98rem;
  padding-top: 0;
  padding-bottom: 0;
}

.footer .logo {
  display: none !important;
}

.footer__nav {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.footer__subtitle {
  display: block;
  margin: 0 0 1.5rem !important;
  padding: 0;
  max-width: none;
  text-align: center;
  color: #ddfc53 !important;
  font-size: 1.8rem !important;
  font-weight: 700;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem !important;
  padding: 0.5rem 0 1rem;
}

.footer__info-imgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 !important;
}

.footer__info-imgs a {
  display: flex;
  align-items: center;
  height: 4.5rem;
}

.footer__info-imgs img {
  max-height: 4.5rem;
  width: auto;
  margin: 0 !important;
  border-radius: 0.35rem;
}

.footer__info-imgs img:nth-child(n+2) {
  margin-left: 0 !important;
}

.footer__info-help {
  flex: 1 1 16rem;
  max-width: 36rem;
  margin: 0 !important;
  color: #f9f9f9 !important;
  font-size: 1.3rem;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.footer__info-help:hover,
.footer__info-help:focus {
  color: #ddfc53 !important;
}

.footer__tel {
  display: none !important;
}

.footer__desc {
  margin: 0 0 1.5rem !important;
  padding: 0;
  font-size: 1.2rem !important;
  line-height: 1.6;
  color: rgba(249, 249, 249, 0.88) !important;
  text-align: center;
}

.footer__desc b {
  color: #ffffff !important;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  margin: 0 !important;
  padding: 1.2rem 0 0 !important;
  list-style: none;
  font-size: 1.2rem !important;
  border-top: 0.1rem solid rgba(249, 249, 249, 0.2);
}

.footer__bottom li {
  color: rgba(249, 249, 249, 0.75) !important;
}

.footer__bottom li:nth-child(2) {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.footer__bottom li:nth-child(2)::before {
  display: none !important;
  content: none !important;
}

.footer__bottom li:last-child {
  width: 100%;
  margin: 0.35rem 0 0 !important;
  padding: 0 !important;
  text-align: center;
  color: rgba(249, 249, 249, 0.6) !important;
  font-size: 1.1rem !important;
}

.footer__bottom li:last-child::before {
  display: none !important;
  content: none !important;
}

.footer__bottom a {
  display: inline;
  padding: 0;
  color: #f9f9f9 !important;
  font-size: 1.2rem !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
  background: none !important;
  border: none !important;
}

.footer__bottom a:hover,
.footer__bottom a:focus {
  color: #ddfc53 !important;
}

@media (min-width: 576px) {
  .footer {
    padding: 3rem 0 2.5rem !important;
    background-color: #484040 !important;
    background-image: none !important;
  }
}

@media (min-width: 768px) {
  .footer {
    padding: 3.5rem 0 2.5rem !important;
    background-color: #484040 !important;
    background-image: none !important;
  }

  .footer__subtitle {
    font-size: 2rem !important;
  }
}

@media (min-width: 992px) {
  .footer {
    padding: 3.5rem 0 2.5rem !important;
    background-color: #484040 !important;
    background-image: none !important;
  }

  .footer__info {
    justify-content: space-between;
    text-align: left;
  }

  .footer__info-help {
    text-align: right;
  }

  .footer__bottom li:last-child {
    width: auto;
    margin-left: auto !important;
    text-align: right;
  }
}

@media (min-width: 1200px) {
  .footer {
    padding: 4rem 0 2.5rem !important;
    background-color: #484040 !important;
    background-image: none !important;
  }

  .footer__subtitle {
    font-size: 2.2rem !important;
    margin-bottom: 2rem !important;
  }

  .footer__desc {
    font-size: 1.25rem !important;
  }
}

/* ── Utility pages ── */
.wrapper--utility {
  min-height: calc(100vh - 7rem);
  padding-top: 7rem !important;
  padding-bottom: 3rem;
}

.page-standalone--in-site {
  padding: 3rem 0;
}

.page-standalone--in-site .container {
  max-width: 52rem;
}

.page-standalone__card {
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 0.8rem;
  border: 0.1rem solid rgba(72, 64, 64, 0.1);
  box-shadow: 0 0.3rem 1.5rem rgba(72, 64, 64, 0.07);
}

.page-standalone__code {
  margin: 0 0 0.4rem;
  color: #e51a38;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.page-standalone__title {
  margin: 0 0 0.8rem;
  color: #484040;
  font-size: 2rem;
  font-weight: 700;
}

.page-standalone__text {
  margin: 0 0 1.6rem;
  color: #484040;
  font-size: 1.45rem;
  line-height: 1.5;
}

.page-standalone__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.page-standalone__btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  background: #e51a38;
  border-radius: 0.4rem;
  transition: background 0.2s;
}

.page-standalone__btn:hover,
.page-standalone__btn:focus {
  background: #ce1732;
}

.redirection-page--in-site {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 7rem - 16rem);
  padding: 2rem 0;
}

.redirection-page--in-site .redirection-page__card {
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 0.8rem;
  border: 0.1rem solid rgba(72, 64, 64, 0.1);
  box-shadow: 0 0.3rem 1.5rem rgba(72, 64, 64, 0.07);
}

.redirection-page--in-site .wrapper {
  padding-top: 0 !important;
  display: block;
  width: 100%;
}

.redirection-page--in-site .wrapper img {
  display: block;
  max-width: 16rem;
  height: auto;
  margin: 0 auto 1rem;
}

.redirection-page--in-site h1 {
  margin: 0 0 0.8rem;
  color: #484040;
  font-size: 2rem;
  font-weight: 700;
}

.redirection-page--in-site p {
  margin: 0 0 1.5rem;
  color: #484040;
  font-size: 1.4rem;
  line-height: 1.5;
}

.redirection-page__progress {
  height: 0.45rem;
  margin-bottom: 1.5rem;
  background: #eee;
  border-radius: 0.25rem;
  overflow: hidden;
}

.redirection-page__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: #e51a38;
  border-radius: 0.25rem;
  animation: redirection-progress 2s ease forwards;
}

@keyframes redirection-progress {
  from { width: 0; }
  to { width: 100%; }
}

.redirection-page--in-site a {
  color: #e51a38;
  font-weight: 600;
  text-decoration: none;
}

.redirection-page--in-site a:hover {
  text-decoration: underline;
}
