/* Tunnel Of Laffs cautious mobile layer */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  max-width: 100%;
  overflow-x: auto;
}

/* Site-wide text default. Lopez Interview opts out to preserve its special fonts. */
body:not(.tol-font-exception),
body:not(.tol-font-exception) font[face] {
  font-family: Roboto, Arial, Helvetica, sans-serif !important;
}

html.tol-min-width-375,
body.tol-min-width-375 {
  min-width: 375px;
}

/* Mountain Park: minimal responsive layer; preserve the legacy table structure. */
body.tol-mountain-mobile table {
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

body.tol-mountain-mobile img {
  max-width: 100% !important;
  height: auto !important;
}

/* Legacy Mountain Park article rulers are transparent spacer GIFs. Keep their
   authored 8px height instead of scaling their invisible intrinsic ratio. */
body.tol-mountain-mobile img[src*="trans.gif"][height="8"],
body.tol-mountain-mobile img[src*="trans.GIF"][height="8"] {
  height: 8px !important;
}

/* Mountain Park header: keep the complete legacy image assembly on one row. */
.tol-mountain-header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: min(100%, 525px);
  max-width: 525px;
  margin: 0 auto;
  white-space: nowrap;
}

.tol-mountain-header-row > a,
.tol-mountain-header-row > img {
  flex: 0 1 auto;
  min-width: 0;
}

.tol-mountain-header-row > a {
  display: block;
  line-height: 0;
}

.tol-mountain-header-row > a > img,
.tol-mountain-header-row > img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
}

.tol-mountain-header-row > a > img {
  width: 100%;
}

/* Crystal Beach header: keep its four-piece image assembly on one row. */
.tol-crystal-header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: min(100%, 513px);
  max-width: 513px;
  margin: 0 auto;
  white-space: nowrap;
}

.tol-crystal-header-row > a,
.tol-crystal-header-row > img {
  flex: 0 1 auto;
  min-width: 0;
}

.tol-crystal-header-row > a {
  display: block;
  line-height: 0;
}

.tol-crystal-header-row > a > img,
.tol-crystal-header-row > img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
}

.tol-crystal-header-row > a > img {
  width: 100%;
}

/* Preserve the original 100 / 288 / 33 / 87px proportions while shrinking. */
.tol-crystal-header-row > a:first-of-type {
  flex: 0 1 100px;
  width: 100px;
  max-width: 100px;
}

.tol-crystal-header-row > img[src*="logo2rhalf"] {
  flex: 0 1 288px;
  width: 288px;
}

.tol-crystal-header-row > img[src*="trans.gif"],
.tol-crystal-header-row > img[src*="trans.GIF"] {
  flex: 0 1 33px;
  width: 33px;
}

.tol-crystal-header-row > a:last-of-type {
  flex: 0 1 87px;
  width: 87px;
  max-width: 87px;
}

/* Intro and Final use the same proportional columns so center-cell content
   cannot make their ticket strips scale differently. */
.tol-crystal-balanced-content {
  table-layout: fixed;
}

.tol-crystal-balanced-content col.tol-crystal-side-column {
  width: 8%;
}

/* Fairyland section header and opening-page title assemblies. */
.tol-fairyland-header-row,
.tol-fairyland-title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  white-space: nowrap;
}

.tol-fairyland-header-row { width: min(100%, 407px); max-width: 407px; }
.tol-fairyland-title-row { width: min(100%, 510px); max-width: 510px; }

.tol-fairyland-header-row > a,
.tol-fairyland-header-row > img,
.tol-fairyland-title-row > img {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
}

.tol-fairyland-header-row > a > img,
.tol-fairyland-header-row > img,
.tol-fairyland-title-row > img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto !important;
}

.tol-fairyland-header-row > a:first-of-type { flex-basis: 100px; width: 100px; }
.tol-fairyland-header-row > img { flex-basis: 66px; width: 66px; }
.tol-fairyland-header-row > a:nth-of-type(2) { flex-basis: 125px; width: 125px; }
.tol-fairyland-header-row > a:nth-of-type(n+3) { flex-basis: 29px; width: 29px; }
.tol-fairyland-title-row > img:nth-child(1),
.tol-fairyland-title-row > img:nth-child(3) { flex-basis: 85px; width: 85px; }
.tol-fairyland-title-row > img:nth-child(2) { flex-basis: 340px; width: 340px; }

/* Pirates Cove: proportional header plus conservative mobile table stacking. */
.tol-pirates-header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: min(100%, 548px);
  max-width: 548px;
  margin: 0 auto;
  white-space: nowrap;
}

.tol-pirates-header-row > a,
.tol-pirates-header-row > img {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
}

.tol-pirates-header-row > a > img,
.tol-pirates-header-row > img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto !important;
}

.tol-pirates-header-row > a:first-of-type { flex-basis: 100px; width: 100px; }
.tol-pirates-header-row > img[src*="logo2rhalf"] { flex-basis: 288px; width: 288px; }
.tol-pirates-header-row > img[src*="trans.gif"],
.tol-pirates-header-row > img[src*="trans.GIF"] { flex-basis: 33px; width: 33px; }
.tol-pirates-header-row > a:last-of-type { flex-basis: 87px; width: 87px; }
.tol-pirates-header-row > a:last-of-type:has(img[width="127"]) { flex-basis: 127px; width: 127px; }

/* Ghost Train and Scooby-Doo: proportional headers and scoped mobile cleanup. */
.tol-ghost-header-row,
.tol-scooby-header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  white-space: nowrap;
}

.tol-ghost-header-row { width: min(100%, 468px); max-width: 468px; }
.tol-scooby-header-row { width: min(100%, 421px); max-width: 421px; }

.tol-ghost-header-row > a,
.tol-ghost-header-row > img,
.tol-scooby-header-row > a,
.tol-scooby-header-row > img {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
}

.tol-ghost-header-row > a > img,
.tol-ghost-header-row > img,
.tol-scooby-header-row > a > img,
.tol-scooby-header-row > img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto !important;
}

.tol-ghost-header-row > a:nth-of-type(1) { flex-basis: 100px; width: 100px; }
.tol-ghost-header-row > img {
  flex-basis: 81px;
  width: 81px;
  aspect-ratio: 81 / 33;
}
.tol-ghost-header-row > a:nth-of-type(2) { flex-basis: 67px; width: 67px; }
.tol-ghost-header-row > a:nth-of-type(n+3) { flex-basis: 70px; width: 70px; }
.tol-scooby-header-row > a { flex-basis: 100px; width: 100px; }
.tol-scooby-header-row > img[src*="logo2rhalf"] { flex-basis: 288px; width: 288px; }
.tol-scooby-header-row > img[src*="trans.gif"],
.tol-scooby-header-row > img[src*="trans.GIF"] { flex-basis: 33px; width: 33px; }

body.tol-ghost-mobile table,
body.tol-ghost-mobile img,
body.tol-scooby-mobile table,
body.tol-scooby-mobile img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 760px) {
  body.tol-ghost-mobile,
  body.tol-scooby-mobile {
    overflow-x: hidden;
  }

  body.tol-ghost-mobile table.MsoNormalTable,
  body.tol-scooby-mobile table:not([width="608"]) {
    display: block !important;
    width: min(100%, 94vw) !important;
    max-width: 94vw !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.tol-ghost-mobile table.MsoNormalTable > tbody,
  body.tol-ghost-mobile table.MsoNormalTable > tbody > tr,
  body.tol-ghost-mobile table.MsoNormalTable > tbody > tr > td,
  body.tol-scooby-mobile table:not([width="608"]) > tbody,
  body.tol-scooby-mobile table:not([width="608"]) > tbody > tr,
  body.tol-scooby-mobile table:not([width="608"]) > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  body.tol-ghost-mobile table.MsoNormalTable > tbody > tr > td,
  body.tol-scooby-mobile table:not([width="608"]) > tbody > tr > td {
    padding: 6px !important;
  }

  body.tol-ghost-mobile table.MsoNormalTable img,
  body.tol-scooby-mobile table:not([width="608"]) img,
  body.tol-scooby-mobile img[align="left"],
  body.tol-scooby-mobile img[align="right"] {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 90vw !important;
    height: auto !important;
    margin: 8px auto 12px !important;
  }

  body.tol-ghost-mobile table[width="608"],
  body.tol-scooby-mobile table[width="608"] {
    width: min(100%, 92vw) !important;
  }
}

@media (max-width: 760px) {
  body.tol-pirates-mobile {
    overflow-x: hidden;
  }

  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) {
    display: block !important;
    width: min(100%, 94vw) !important;
    max-width: 94vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) > tbody,
  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) > tbody > tr,
  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) > tbody > tr > td {
    padding: 8px !important;
  }

  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) img {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 90vw !important;
    height: auto !important;
    margin: 8px auto 12px !important;
  }

  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) font,
  body.tol-pirates-mobile table:not([width="256"]):not([width="608"]) p {
    line-height: 1.35;
  }
}

@media (max-width: 760px) {
  body.tol-mountain-mobile table[width="608"] {
    width: min(100%, 92vw) !important;
  }

  body.tol-mountain-mobile td,
  body.tol-mountain-mobile th {
    white-space: normal;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* Search-readable page titles that preserve the compact legacy presentation. */
.tol-page-heading {
  margin: 8px auto 10px;
  padding: 0 8px;
  color: inherit;
  font: 700 clamp(20px, 4vw, 28px)/1.15 Roboto, Arial, Helvetica, sans-serif;
  text-align: center;
}

.tol-section-index {
  width: min(92%, 760px);
  margin: 20px auto;
  padding: 14px 18px;
  border: 1px solid #5d477c;
  background: #08050d;
  color: #e5e6da;
  font: 400 16px/1.45 Roboto, Arial, Helvetica, sans-serif;
  text-align: left;
}

.tol-section-index h2 {
  margin: 0 0 10px;
  color: #ccffff;
  font-size: 21px;
  text-align: center;
}

.tol-section-index ul {
  columns: 2 260px;
  margin: 0;
  padding-left: 22px;
}

.tol-section-index li {
  break-inside: avoid;
  margin: 0 0 6px;
}

.tol-section-index a {
  color: #66ccff;
}

.tol-section-index--compact {
  width: min(92%, 380px);
  margin: 10px auto;
  padding: 7px 9px;
  font-size: 10px;
  line-height: 1.3;
}

.tol-section-index--compact h2 {
  margin-bottom: 5px;
  color: #685287;
  font-size: 12px;
}

.tol-section-index--compact ul {
  columns: 2 150px;
  padding-left: 13px;
}

.tol-section-index--compact li {
  margin-bottom: 3px;
}

.tol-section-index--compact a,
.tol-section-index--compact a:visited {
  color: #477f99;
}

.tol-section-index--compact a:hover,
.tol-section-index--compact a:focus {
  color: #5d9bb8;
}

.tol-journey-link {
  display: inline-block;
  color: #ccffff;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.tol-journey-link:hover,
.tol-journey-link:focus {
  color: #ffccff;
  text-shadow: 0 0 5px #8b4c99, 0 0 11px #5d477c;
  transform: translateY(-1px);
}

.tol-journey-link:focus-visible {
  outline: 1px solid #8b6baa;
  outline-offset: 3px;
}

embed,
object,
iframe {
  max-width: 100%;
}

@media (max-width: 760px) {
  body {
    margin: 0;
    padding: 8px;
  }

  center {
    max-width: 100%;
  }

  table {
    max-width: 100% !important;
  }

  td,
  th {
    max-width: 100%;
  }

  p {
    max-width: 100%;
  }

  font[size="5"],
  font[size="6"] {
    line-height: 1.12;
  }

  img[width="608"],
  img[width="705"],
  table[width="608"],
  table[width="705"],
  table[width="717"],
  table[width="811"] {
    width: 100% !important;
  }

  table[width="80%"],
  table[width="85%"],
  table[width="94%"],
  table[width="100%"] {
    width: 100% !important;
  }

  img[align="left"],
  img[align="right"] {
    margin: 0 10px 10px;
  }
}

/* Opt-in Asbury header: preserve one row and scale every piece together. */
.tol-asbury-header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: min(100%, 600px);
  max-width: 600px;
  margin: 0 auto;
  white-space: nowrap;
}

.tol-asbury-header-row > a,
.tol-asbury-header-row > img {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
}

.tol-asbury-header-row > a {
  line-height: 0;
}

.tol-asbury-header-row > a > img,
.tol-asbury-header-row > img {
  display: block;
  max-width: 100%;
  height: auto !important;
}

/* Give the central TUNNEL OF LAFFS wordmark a little separation on both sides. */
.tol-asbury-header-row > img[src*="logo2rhalf"] {
  margin-left: clamp(4px, 1.25vw, 10px);
  margin-right: clamp(4px, 1.25vw, 10px);
}

/* Circus title: keep the three-image graphic centered and on one line. */
body table.tol-circus-title-table {
  width: min(100%, 490px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tol-circus-title-images {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 411px;
  margin: 0 auto;
}

.tol-circus-title-images > img {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  height: auto !important;
}

@media (max-width: 520px) {
  body {
    padding: 6px;
  }

  table[width="608"],
  table[width="705"],
  table[width="717"],
  table[width="811"] {
    display: block;
    overflow-x: auto;
  }

  td,
  th {
    font-size: inherit;
  }

  img[align="left"],
  img[align="right"] {
    float: none;
    display: block;
    margin: 10px auto;
  }
}

/* Asbury decorative image rows and legacy badge bars */
@media (max-width: 760px) {
  table[width="490"],
  table[width="500"] {
    width: min(100%, 92vw) !important;
  }

  table[width="490"] td,
  table[width="500"] td {
    white-space: nowrap;
  }

  table[width="490"] img[width="167"] {
    width: 34% !important;
  }

  table[width="490"] img[width="149"] {
    width: 30% !important;
  }

  table[width="500"] img[width="98"] {
    width: 19.6% !important;
  }

  img[src*="casinotitle"],
  img[src*="CasinoTitle"],
  img[src*="LogoTOLasbury"],
  img[src*="logo2rhalf"] {
    max-width: 92vw;
    height: auto;
  }
}

@media (max-width: 520px) {
  table[width="490"],
  table[width="500"] {
    display: table;
    overflow: visible;
  }

  table[width="490"] td,
  table[width="500"] td {
    display: table-cell;
  }
}

/* Main/footer navigation badge row */
@media (max-width: 760px) {
  img[src*="articlesmed"],
  img[src*="aboutusmed"],
  img[src*="creditsmed"],
  img[src*="contactusmed"],
  img[src*="linksmed"] {
    width: min(100px, 18vw) !important;
    height: auto !important;
  }
}

@media (max-width: 520px) {
  img[src*="articlesmed"],
  img[src*="aboutusmed"],
  img[src*="creditsmed"],
  img[src*="contactusmed"],
  img[src*="linksmed"] {
    width: min(88px, 17.5vw) !important;
  }
}

/* Extra-small Asbury title ornament tuning */
@media (max-width: 520px) {
  table[width="490"] {
    width: min(100%, 86vw) !important;
  }

  table[width="490"] img[width="167"] {
    width: 31% !important;
  }

  table[width="490"] img[width="149"] {
    width: 27% !important;
  }

  img[src*="casinotitle"] {
    max-width: 68vw !important;
  }
}

/* Stronger mobile sizing for Asbury title ornaments */
@media (max-width: 760px) {
  table[width="490"] {
    width: min(100%, 78vw) !important;
  }

  table[width="490"] img[width="167"] {
    width: 29% !important;
    max-width: 29% !important;
  }

  table[width="490"] img[width="149"] {
    width: 23% !important;
    max-width: 23% !important;
  }

  img[src*="casinotitle"] {
    width: min(250px, 58vw) !important;
    max-width: 58vw !important;
    height: auto !important;
  }
}

@media (max-width: 520px) {
  table[width="490"] {
    width: min(100%, 70vw) !important;
  }

  table[width="490"] img[width="167"] {
    width: 27% !important;
    max-width: 27% !important;
  }

  table[width="490"] img[width="149"] {
    width: 21% !important;
    max-width: 21% !important;
  }

  img[src*="casinotitle"] {
    width: min(210px, 52vw) !important;
    max-width: 52vw !important;
  }
}

/* Strong mobile sizing for Asbury ride-title clusters */
@media (max-width: 760px) {
  table[width="580"] {
    width: min(100%, 72vw) !important;
  }

  table[width="580"] td {
    white-space: nowrap;
  }

  img[src*="madoramalogomed"] {
    width: min(365px, 46vw) !important;
    max-width: 46vw !important;
    height: auto !important;
  }

  img[src*="casinotixpurpsm"] {
    width: min(96px, 12vw) !important;
    max-width: 12vw !important;
    height: auto !important;
  }
}

@media (max-width: 520px) {
  table[width="580"] {
    width: min(100%, 62vw) !important;
  }

  img[src*="madoramalogomed"] {
    width: min(260px, 40vw) !important;
    max-width: 40vw !important;
  }

  img[src*="casinotixpurpsm"] {
    width: min(68px, 10vw) !important;
    max-width: 10vw !important;
  }
}

/* Final Asbury-wide mobile centering and title ornament sizing */
@media (max-width: 760px) {
  table[width="490"],
  table[width="500"],
  table[width="580"] {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  table[width="490"] td,
  table[width="500"] td,
  table[width="580"] td {
    text-align: center !important;
    white-space: nowrap;
  }

  table[width="490"] {
    width: min(100%, 64vw) !important;
  }

  table[width="490"] img[width="167"] {
    width: 31% !important;
    max-width: 31% !important;
  }

  table[width="490"] img[width="149"] {
    width: 28% !important;
    max-width: 28% !important;
  }

  table[width="580"] {
    width: min(100%, 64vw) !important;
  }

  img[src*="madoramalogomed"] {
    width: min(365px, 42vw) !important;
    max-width: 42vw !important;
    height: auto !important;
  }

  img[src*="casinotixpurpsm"] {
    width: min(96px, 11vw) !important;
    max-width: 11vw !important;
    height: auto !important;
  }

  img[src*="casinotitle"] {
    display: block;
    width: min(250px, 48vw) !important;
    max-width: 48vw !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 520px) {
  table[width="490"],
  table[width="580"] {
    width: min(100%, 58vw) !important;
  }

  table[width="490"] img[width="167"] {
    width: 30% !important;
    max-width: 30% !important;
  }

  table[width="490"] img[width="149"] {
    width: 27% !important;
    max-width: 27% !important;
  }

  img[src*="madoramalogomed"] {
    width: min(260px, 37vw) !important;
    max-width: 37vw !important;
  }

  img[src*="casinotixpurpsm"] {
    width: min(68px, 9.5vw) !important;
    max-width: 9.5vw !important;
  }

  img[src*="casinotitle"] {
    width: min(210px, 44vw) !important;
    max-width: 44vw !important;
  }
}

/* Legacy transparent spacer GIFs must not scale into blank mobile blocks */
@media (max-width: 760px) {
  body.tol-mobile-readable img[src*="trans.gif"],
  body.tol-mobile-readable img[src*="trans.GIF"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Asbury top-of-article title blocks: remove mobile dead air after nav */
@media (max-width: 760px) {
  img[src*="menusbars3sm"] {
    display: block;
    margin: 0 auto 8px !important;
  }

  img[src*="palwhackyhauntedbmed"],
  img[src*="palrideorientmed"],
  img[src*="madoramalogomed"],
  img[src*="palace"],
  img[src*="hellnback"],
  img[src*="casinotitle"] {
    vertical-align: top;
  }

  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]),
  table[width="500"]:has(img[src*="palrideorientmed"]),
  table[width="580"]:has(img[src*="madoramalogomed"]),
  table[width="490"]:has(img[src*="seacreaturetransleft"]) {
    display: table !important;
    width: auto !important;
    max-width: 72vw !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    overflow: visible !important;
  }

  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]) td,
  table[width="500"]:has(img[src*="palrideorientmed"]) td,
  table[width="580"]:has(img[src*="madoramalogomed"]) td,
  table[width="490"]:has(img[src*="seacreaturetransleft"]) td {
    display: table-cell !important;
    height: auto !important;
    line-height: 0 !important;
    padding: 0 !important;
  }

  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]) br,
  table[width="500"]:has(img[src*="palrideorientmed"]) br,
  table[width="580"]:has(img[src*="madoramalogomed"]) br,
  table[width="490"]:has(img[src*="seacreaturetransleft"]) br {
    display: none !important;
  }

  img[src*="palwhackyhauntedbmed"],
  img[src*="palrideorientmed"] {
    display: block;
    width: min(331px, 52vw) !important;
    max-width: 52vw !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 520px) {
  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]),
  table[width="500"]:has(img[src*="palrideorientmed"]),
  table[width="580"]:has(img[src*="madoramalogomed"]),
  table[width="490"]:has(img[src*="seacreaturetransleft"]) {
    max-width: 58vw !important;
  }

  img[src*="palwhackyhauntedbmed"],
  img[src*="palrideorientmed"] {
    width: min(260px, 46vw) !important;
    max-width: 46vw !important;
  }
}

/* Medium-width Asbury cleanup: prevent spacer GIF dead zones before mobile breakpoint */
@media (max-width: 1200px) {
  body.tol-mobile-readable img[src*="trans.gif"],
  body.tol-mobile-readable img[src*="trans.GIF"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  img[src*="menusbars3sm"] {
    display: block;
    max-width: 92vw !important;
    height: auto !important;
    margin: 0 auto 8px !important;
  }

  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]),
  table[width="500"]:has(img[src*="palrideorientmed"]),
  table[width="500"]:has(img[src*="pal-night-f"]),
  table[width="580"]:has(img[src*="madoramalogomed"]),
  table[width="490"]:has(img[src*="seacreaturetransleft"]) {
    display: table !important;
    width: auto !important;
    max-width: 78vw !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    overflow: visible !important;
  }

  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]) td,
  table[width="500"]:has(img[src*="palrideorientmed"]) td,
  table[width="500"]:has(img[src*="pal-night-f"]) td,
  table[width="580"]:has(img[src*="madoramalogomed"]) td,
  table[width="490"]:has(img[src*="seacreaturetransleft"]) td {
    display: table-cell !important;
    height: auto !important;
    line-height: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: nowrap;
  }

  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]) br,
  table[width="500"]:has(img[src*="palrideorientmed"]) br,
  table[width="500"]:has(img[src*="pal-night-f"]) br,
  table[width="580"]:has(img[src*="madoramalogomed"]) br,
  table[width="490"]:has(img[src*="seacreaturetransleft"]) br {
    display: none !important;
  }

  img[src*="palwhackyhauntedbmed"],
  img[src*="palrideorientmed"] {
    display: block;
    width: min(331px, 50vw) !important;
    max-width: 50vw !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  img[src*="pal-night-f"] {
    width: min(409px, 54vw) !important;
    max-width: 54vw !important;
    height: auto !important;
    margin: 0 !important;
  }

  img[src*="pal-tilliebettersm"] {
    width: min(89px, 12vw) !important;
    max-width: 12vw !important;
    height: auto !important;
    margin: 0 !important;
  }
}

/* Asbury medium-wide header safety net */
@media (max-width: 1200px) {
  img[src*="menusbars3sm"] + map + br,
  map[name="apmenu"] + br {
    display: none !important;
  }

  img[src*="pal-night-f"],
  img[src*="pal-tilliebettersm"],
  img[src*="palwhackyhauntedbmed"],
  img[src*="palrideorientmed"] {
    vertical-align: top !important;
  }

  table[width="500"]:has(img[src*="pal-night-f"]),
  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]),
  table[width="500"]:has(img[src*="palrideorientmed"]) {
    display: table !important;
    width: auto !important;
    max-width: 620px !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    overflow: visible !important;
  }

  table[width="500"]:has(img[src*="pal-night-f"]) td,
  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]) td,
  table[width="500"]:has(img[src*="palrideorientmed"]) td {
    line-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  table[width="500"]:has(img[src*="pal-night-f"]) img[src*="trans.gif"],
  table[width="500"]:has(img[src*="palwhackyhauntedbmed"]) img[src*="trans.gif"],
  table[width="500"]:has(img[src*="palrideorientmed"]) img[src*="trans.gif"] {
    display: none !important;
  }
}

/* Pilot readable mobile article mode for selected Asbury pages */
@media (max-width: 760px) {
  body.tol-mobile-readable {
    overflow-x: hidden;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  body.tol-mobile-readable table[width="90%"],
  body.tol-mobile-readable table[width="100%"] {
    display: block !important;
    width: min(100%, 92vw) !important;
    max-width: 92vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: visible !important;
  }

  body.tol-mobile-readable table[width="90%"] tbody,
  body.tol-mobile-readable table[width="90%"] tr,
  body.tol-mobile-readable table[width="90%"] td,
  body.tol-mobile-readable table[width="100%"] tbody,
  body.tol-mobile-readable table[width="100%"] tr,
  body.tol-mobile-readable table[width="100%"] td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body.tol-mobile-readable table[width="90%"] td,
  body.tol-mobile-readable table[width="100%"] td {
    margin: 0 auto 14px !important;
  }

  body.tol-mobile-readable table[width="90%"] td[width],
  body.tol-mobile-readable table[width="100%"] td[width] {
    text-align: center !important;
  }

  body.tol-mobile-readable table[width="90%"] font,
  body.tol-mobile-readable table[width="100%"] font,
  body.tol-mobile-readable table[width="90%"] p,
  body.tol-mobile-readable table[width="100%"] p {
    font-size: 18px !important;
    line-height: 1.38 !important;
  }

  body.tol-mobile-readable table[width="90%"] font[size="5"],
  body.tol-mobile-readable table[width="90%"] font[size="6"],
  body.tol-mobile-readable table[width="100%"] font[size="5"],
  body.tol-mobile-readable table[width="100%"] font[size="6"] {
    font-size: clamp(28px, 9vw, 42px) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere;
  }

  body.tol-mobile-readable table[width="90%"] img,
  body.tol-mobile-readable table[width="100%"] img {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: min(86vw, 360px) !important;
    height: auto !important;
    margin: 10px auto 14px !important;
  }

  body.tol-mobile-readable table[width="90%"] a.tol-lightbox-trigger,
  body.tol-mobile-readable table[width="100%"] a.tol-lightbox-trigger {
    display: block !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto !important;
  }

  body.tol-mobile-readable table[width="90%"] br,
  body.tol-mobile-readable table[width="100%"] br {
    line-height: 1.1;
  }
}

@media (max-width: 430px) {
  body.tol-mobile-readable table[width="90%"],
  body.tol-mobile-readable table[width="100%"] {
    width: min(100%, 90vw) !important;
    max-width: 90vw !important;
  }

  body.tol-mobile-readable table[width="90%"] font,
  body.tol-mobile-readable table[width="100%"] font,
  body.tol-mobile-readable table[width="90%"] p,
  body.tol-mobile-readable table[width="100%"] p {
    font-size: 17px !important;
    line-height: 1.36 !important;
  }
}
/* Pilot thumb-flow mobile article mode for selected Asbury pages */
@media (max-width: 760px) {
  body.tol-mobile-thumbs table[width="90%"],
  body.tol-mobile-thumbs table[width="100%"] {
    width: min(100%, 92vw) !important;
    max-width: 92vw !important;
  }

  body.tol-mobile-thumbs table[width="90%"] tr,
  body.tol-mobile-thumbs table[width="100%"] tr {
    display: block !important;
    clear: both;
    margin: 0 0 10px !important;
  }

  body.tol-mobile-thumbs table[width="90%"] td,
  body.tol-mobile-thumbs table[width="100%"] td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body.tol-mobile-thumbs table[width="90%"] td[width],
  body.tol-mobile-thumbs table[width="100%"] td[width] {
    display: contents !important;
  }

  body.tol-mobile-thumbs table[width="90%"] a.tol-lightbox-trigger,
  body.tol-mobile-thumbs table[width="100%"] a.tol-lightbox-trigger {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.tol-mobile-thumbs table[width="90%"] a.tol-lightbox-trigger img,
  body.tol-mobile-thumbs table[width="100%"] a.tol-lightbox-trigger img {
    display: block !important;
    width: auto !important;
    max-width: min(34vw, 150px) !important;
    height: auto !important;
    margin: 0 14px 12px 0 !important;
  }
body.tol-mobile-thumbs table[width="90%"] font,
  body.tol-mobile-thumbs table[width="100%"] font,
  body.tol-mobile-thumbs table[width="90%"] p,
  body.tol-mobile-thumbs table[width="100%"] p {
    font-size: 17px !important;
    line-height: 1.38 !important;
  }
}

@media (max-width: 430px) {
  body.tol-mobile-thumbs table[width="90%"] a.tol-lightbox-trigger img,
  body.tol-mobile-thumbs table[width="100%"] a.tol-lightbox-trigger img {
    max-width: min(32vw, 128px) !important;
  }
}
/* Option 1 full-width image reinforcement for readable pages */
@media (max-width: 760px) {
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="90%"] a.tol-lightbox-trigger,
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="100%"] a.tol-lightbox-trigger {
    display: block !important;
    width: min(100%, 88vw) !important;
    max-width: 88vw !important;
    margin: 12px auto 16px !important;
  }

  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="90%"] a.tol-lightbox-trigger img,
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="100%"] a.tol-lightbox-trigger img {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 430px) {
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="90%"] a.tol-lightbox-trigger,
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="100%"] a.tol-lightbox-trigger {
    width: min(100%, 90vw) !important;
    max-width: 90vw !important;
  }
}

/* Option 1 portrait images: preserve a visibly vertical mobile presentation. */
@media (max-width: 760px) {
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="90%"] a.tol-image-portrait,
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="100%"] a.tol-image-portrait {
    width: min(66vw, 280px) !important;
    max-width: min(66vw, 280px) !important;
  }
}

/* Option 1 mobile-only link suppression: desktop keeps image links */
@media (max-width: 760px) {
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="90%"] a.tol-lightbox-trigger,
  body.tol-mobile-readable:not(.tol-mobile-thumbs) table[width="100%"] a.tol-lightbox-trigger {
    pointer-events: none !important;
    cursor: default !important;
  }
}

/* Option 2 explicit thumb balance: page markup decides left or right at every width. */
body.tol-mobile-thumbs a.tol-thumb-left img,
body.tol-mobile-thumbs img.tol-thumb-left {
  float: left !important;
  margin: 0 14px 12px 0 !important;
}

body.tol-mobile-thumbs a.tol-thumb-right img,
body.tol-mobile-thumbs img.tol-thumb-right {
  float: right !important;
  margin: 0 0 12px 14px !important;
}
