/* TourGo frame contract v2.20.5
   This file loads last and owns final template-level frame corrections. */

@media (max-width: 560px) {
  html body.tourgo-site {
    overflow-x: hidden !important;
  }

  html body.tourgo-site .tg-header {
    width: 100% !important;
    min-height: 70px !important;
  }

  html body.tourgo-site .tg-sub-hero,
  html body.tourgo-site .tg-page-hero,
  html body.tourgo-site .tg-news-hero {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
  }

  html body.tourgo-site .tg-archive-layout,
  html body.tourgo-site .tg-detail-layout,
  html body.tourgo-site .tg-static-page-main,
  html body.tourgo-site .tg-news-list {
    box-sizing: border-box !important;
    max-width: 390px !important;
    overflow-x: hidden !important;
  }

  html body.tg-ticket-page .tg-footer {
    margin-top: 70px !important;
  }

  html body.tg-combo-page .tg-footer {
    margin-top: 20px !important;
  }

  html body.tg-news-page .tg-footer {
    margin-top: -3px !important;
  }

  html body.tg-about-page .tg-footer {
    margin-top: -58px !important;
  }

  html body.tg-detail-page:not(.tg-combo-detail-page) .tg-footer {
    margin-top: 20px !important;
  }

  html body.tg-combo-detail-page .tg-footer {
    margin-top: -76px !important;
  }

  html body.tg-detail-page .tg-detail-anchor-nav,
  html body.tg-detail-page aside.tg-detail-anchor-nav {
    box-sizing: border-box !important;
    display: grid !important;
    position: static !important;
    width: 358px !important;
    max-width: 358px !important;
    min-width: 0 !important;
    margin: 18px 16px 28px !important;
    padding: 14px 16px !important;
    gap: 12px !important;
    background: #fff !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    box-shadow: none !important;
  }

  html body.tg-detail-page .tg-detail-anchor-nav a {
    display: block !important;
    color: #111 !important;
    text-decoration: none !important;
  }

  html body.tg-archive-page .tg-archive-products,
  html body.tg-archive-page .tg-archive-list {
    overflow: visible !important;
  }

  html body.tg-archive-page .tg-archive-card {
    border: 1px solid #e8edf3 !important;
    box-shadow: 0 3px 10px rgba(18, 38, 63, .08) !important;
  }

  html body.home.tourgo-site .tg-home-benefits-section {
    padding-top: 22px !important;
    padding-bottom: 26px !important;
  }

  html body.home.tourgo-site .tg-home-benefits-row {
    width: 390px !important;
    max-width: 390px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    overflow: hidden !important;
  }

  html body.home.tourgo-site .tg-home-benefits-row > h2 {
    margin: 0 0 13px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }

  html body.home.tourgo-site .tg-feature-row {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 358px !important;
    max-width: 358px !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }

  html body.home.tourgo-site .tg-feature-row > .col {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 178px !important;
    width: 178px !important;
    min-width: 178px !important;
    max-width: 178px !important;
    height: 86px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home.tourgo-site .tg-feature-row > .col > .col-inner {
    width: 178px !important;
    min-width: 178px !important;
    max-width: 178px !important;
    height: 86px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home.tourgo-site .tg-feature-row > .col .tg-feature,
  html body.home.tourgo-site .tg-feature-row > .tg-feature {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 178px !important;
    width: 178px !important;
    min-width: 178px !important;
    max-width: 178px !important;
    min-height: 86px !important;
    height: 86px !important;
    margin: 0 !important;
    padding: 13px 12px !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(18, 38, 63, .06) !important;
  }

  html body.home.tourgo-site .tg-feature .icon-box-text {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 30px 1fr !important;
    column-gap: 8px !important;
    align-items: center !important;
    width: 154px !important;
    max-width: 154px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home.tourgo-site .tg-feature .icon-box-text > p:empty {
    display: none !important;
  }

  html body.home.tourgo-site .tg-feature .icon-box-text > div {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home.tourgo-site .tg-feature img {
    width: 27px !important;
    height: 27px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    object-fit: contain !important;
  }

  html body.home.tourgo-site .tg-feature h3 {
    margin: 0 0 4px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  html body.home.tourgo-site .tg-feature p {
    margin: 0 !important;
    font-size: 7.5px !important;
    line-height: 1.25 !important;
    color: #5f6b7a !important;
  }

  html body.tg-detail-page .tg-detail-media {
    position: relative !important;
    display: block !important;
    width: 358px !important;
    max-width: 358px !important;
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    margin: 0 16px 12px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #f2f4f7 !important;
  }

  html body.tg-detail-page .tg-detail-media img {
    display: none !important;
  }

  html body.tg-detail-page .tg-detail-media img:first-child {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    min-width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }

  html body.tg-detail-page .tg-detail-media::before,
  html body.tg-detail-page .tg-detail-media::after {
    position: absolute !important;
    top: 50% !important;
    z-index: 3 !important;
    width: 28px !important;
    height: 34px !important;
    margin-top: -17px !important;
    color: #fff !important;
    font-size: 31px !important;
    line-height: 31px !important;
    text-align: center !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .38) !important;
  }

  html body.tg-detail-page .tg-detail-media::before {
    content: "\2039" !important;
    left: 8px !important;
  }

  html body.tg-detail-page .tg-detail-media::after {
    content: "\203A" !important;
    right: 8px !important;
  }

  html body.tg-detail-page .tg-related {
    width: 358px !important;
    max-width: 358px !important;
    margin: 30px 16px 0 !important;
    overflow: hidden !important;
  }

  html body.tg-detail-page .tg-related > div {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: max-content !important;
    max-width: none !important;
  }

  html body.tg-detail-page .tg-related article {
    flex: 0 0 178px !important;
    width: 178px !important;
    max-width: 178px !important;
    min-height: 280px !important;
    border: 1px solid #e8edf3 !important;
    box-shadow: 0 2px 7px rgba(18, 38, 63, .06) !important;
  }

  html body.tg-detail-page .tg-related img {
    height: 118px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }

  html body.tg-detail-page .tg-related h3 {
    min-height: 42px !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }

  html body.tg-detail-page .tg-related p,
  html body.tg-detail-page .tg-related em,
  html body.tg-detail-page .tg-related del,
  html body.tg-detail-page .tg-related small {
    font-size: 9px !important;
    line-height: 1.25 !important;
  }

  html body.tg-detail-page .tg-related b {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  html body.tg-detail-page .tg-detail-extra-content {
    margin-top: 18px !important;
  }

  html body.tg-detail-page .tg-detail-extra-content h3 {
    margin: 18px 0 8px !important;
    font-size: 16px !important;
    line-height: 1.32 !important;
  }

  html body.tg-detail-page .tg-detail-extra-content p,
  html body.tg-detail-page .tg-detail-extra-content li {
    font-size: 13px !important;
    line-height: 1.62 !important;
  }

  html body.tg-detail-page:not(.tg-combo-detail-page) .tg-detail-content {
    padding-bottom: 18px !important;
  }

  html body.tg-combo-detail-page .tg-detail-content {
    padding-bottom: 18px !important;
  }

  html body.tg-news-page .tg-news-feature-mobile {
    display: block !important;
    position: relative !important;
    width: 360px !important;
    max-width: 360px !important;
    min-height: 182px !important;
    margin: 28px auto 16px !important;
    padding: 88px 12px 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  html body.tg-news-page .tg-news-feature-mobile img {
    display: none !important;
  }

  html body.tg-news-page .tg-news-feature-mobile h2 {
    margin: 0 0 8px !important;
    font-size: 15px !important;
    line-height: 1.36 !important;
    font-weight: 700 !important;
  }

  html body.tg-news-page .tg-news-feature-mobile time,
  html body.tg-news-page .tg-news-feature-mobile p {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  html body.tg-news-page .tg-news-feature-mobile::before,
  html body.tg-news-page .tg-news-feature-mobile::after {
    position: absolute !important;
    top: 96px !important;
    z-index: 3 !important;
    color: #111 !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  html body.tg-news-page .tg-news-feature-mobile::before {
    content: "\2039" !important;
    left: -3px !important;
  }

  html body.tg-news-page .tg-news-feature-mobile::after {
    content: "\203A" !important;
    right: -3px !important;
  }

  html body.tg-news-page .tg-news-feature-mobile {
    width: 360px !important;
    max-width: 360px !important;
    min-height: 0 !important;
    margin: 28px auto 34px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html body.tg-news-page .tg-news-feature-mobile img {
    display: block !important;
    width: 360px !important;
    max-width: 360px !important;
    height: 216px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  html body.tg-news-page .tg-news-feature-mobile::before,
  html body.tg-news-page .tg-news-feature-mobile::after {
    top: 240px !important;
  }
}

@media (min-width: 1025px) {
  html body.tourgo-site .tg-header {
    height: 70px !important;
    min-height: 70px !important;
  }

  html body.tg-news-page .tg-news-feature-desktop img {
    object-position: center center !important;
  }

  html body.home.tourgo-site .tg-story-grid img {
    content: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: cover !important;
    background: transparent !important;
  }

  html body.home.tourgo-site .tg-story-grid img:nth-child(1),
  html body.home.tourgo-site .tg-story-grid img:nth-child(2),
  html body.home.tourgo-site .tg-story-grid img:nth-child(3),
  html body.home.tourgo-site .tg-story-grid img:nth-child(4),
  html body.home.tourgo-site .tg-story-grid img:nth-child(5),
  html body.home.tourgo-site .tg-story-grid img:nth-child(6),
  html body.home.tourgo-site .tg-story-grid img:nth-child(7),
  html body.home.tourgo-site .tg-story-grid img:nth-child(8) {
    content: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (min-width: 561px) {
  html body.tg-detail-page .tg-detail-extra-content {
    display: none !important;
  }
}
