body .hoyry-submenu-content-grid-label {
  display: none;
}
body .hoyry-submenu-content-grid-item-title:before {
  display: none !important;
}
body .hoyry-submenu-content-grid-item-title {
  color: var(--Tummansininen, #002E4D);
  font-family: "Stack Sans Text";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
}
body .hoyry-submenu-content-grid-item-image {
  overflow: hidden;
}
body .hoyry-submenu-content-grid-item-image img {
  transition: transform 0.35s ease;
}
body .hoyry-submenu-content-grid-item-image:hover img {
  transform: scale(1.05);
}

@media (min-width: 950px) {
  .wp-block-navigation.is-style-hoyry-navigation-paavalikko .wp-block-navigation__container:not(.is-menu-open *) > .wp-block-navigation-item.has-content > .wp-block-navigation__submenu-container:has(.has-tour-grid) {
    width: fit-content;
    max-width: min(80rem, 94vw);
  }
  .hoyry-submenu-content.has-tour-grid {
    width: fit-content !important;
    max-width: 100%;
  }
  .hoyry-submenu-content.has-tour-grid .hoyry-submenu-content-grid-items {
    grid-template-columns: repeat(var(--hoyry-tour-grid-columns, 4), var(--hoyry-tour-grid-column-width, 11.5rem));
    width: fit-content;
    max-width: 100%;
  }
  .hoyry-submenu-content.has-tour-grid .hoyry-submenu-content-grid-item-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .hoyry-submenu-content.has-tour-grid .hoyry-submenu-content-grid-item-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

body .ti-footer .ti-profile-details,
body .ti-footer .ti-name,
body .ti-footer .ti-rating-text,
body .ti-footer .ti-rating-text strong {
  color: #fff !important;
}
body .ti-footer .ti-header-write-btn {
  --hoyry-core-button-background: var(--wp--preset--color--custom-keltainen);
  --hoyry-core-button-color: var(--wp--preset--color--custom-tummansininen-1);
  --hoyry-core-button-padding-top: var(--wp--preset--spacing--15);
  --hoyry-core-button-padding-right: var(--wp--preset--spacing--30);
  --hoyry-core-button-padding-bottom: var(--wp--preset--spacing--15);
  --hoyry-core-button-padding-left: var(--wp--preset--spacing--30);
  --hoyry-core-button-border-radius: 100px;
  --hoyry-core-button-border-shadow: none;
  --hoyry-core-button-border-top: none;
  --hoyry-core-button-border-right: none;
  --hoyry-core-button-border-bottom: none;
  --hoyry-core-button-border-left: none;
  --hoyry-core-button-font-family: unset;
  --hoyry-core-button-font-size: unset;
  --hoyry-core-button-font-weight: 500;
  --hoyry-core-button-font-style: normal;
  --hoyry-core-button-line-height: 1.2;
  --hoyry-core-button-letter-spacing: unset;
  --hoyry-core-button-text-transform: unset;
  --hoyry-core-button-justify-content: center;
  --hoyry-core-button-text-align: center;
  --hoyry-core-button-animation-speed: 0.1s;
  --hoyry-core-button-background-hover: var(--wp--preset--color--custom-oranssi);
  display: flex;
  align-items: center;
  justify-content: var(--hoyry-core-button-justify-content);
  text-align: var(--hoyry-core-button-text-align);
  cursor: pointer;
  width: auto;
  border-style: solid;
  background: var(--hoyry-core-button-background) !important;
  background-image: none !important;
  color: var(--hoyry-core-button-color) !important;
  padding: var(--hoyry-core-button-padding-top) var(--hoyry-core-button-padding-right) var(--hoyry-core-button-padding-bottom) var(--hoyry-core-button-padding-left) !important;
  border-radius: var(--hoyry-core-button-border-radius) !important;
  box-shadow: var(--hoyry-core-button-border-shadow) !important;
  border-top: var(--hoyry-core-button-border-top) !important;
  border-right: var(--hoyry-core-button-border-right) !important;
  border-bottom: var(--hoyry-core-button-border-bottom) !important;
  border-left: var(--hoyry-core-button-border-left) !important;
  font-family: var(--hoyry-core-button-font-family) !important;
  font-size: var(--hoyry-core-button-font-size) !important;
  font-weight: var(--hoyry-core-button-font-weight) !important;
  font-style: var(--hoyry-core-button-font-style) !important;
  line-height: var(--hoyry-core-button-line-height);
  letter-spacing: var(--hoyry-core-button-letter-spacing);
  text-transform: var(--hoyry-core-button-text-transform);
  text-decoration: none !important;
  transition: all var(--hoyry-core-button-animation-speed);
}
body .ti-footer .ti-header-write-btn:hover, body .ti-footer .ti-header-write-btn:focus {
  background: #ff9900 !important;
  color: var(--hoyry-core-button-color) !important;
  text-decoration: none !important;
}

.wp-block-post-content .is-layout-flex.is-nowrap > .wp-block-image {
  min-width: 0;
  max-width: 35px;
}
.wp-block-post-content .is-layout-flex.is-nowrap > .wp-block-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Napit ja napinomaiset linkit: osoitinkursori myös ilman href-attribuuttia
   (esim. Takaisin-linkki .back-link-history-back on <a> ilman hrefiä, jolloin
   selain näytti tekstikursorin). */
.back-link,
.back-link *,
.wp-block-button__link,
.wp-block-button__link *,
.wp-element-button,
.wp-element-button * {
  cursor: pointer;
}
