@media (width <=576px) {
    .section-container ul {
        padding-left: 0.5rem;
    }
}

.section-container ul {
    align-self: flex-start;
}

.flexstart {
    align-self: flex-start;
}

/* ===== Terms & Conditions page ===== */
.tc { max-width: 900px; margin: 0 auto; }
.tc .tc-main { text-align: center; margin: 2.5rem 0 1.5rem; }
.tc .tc-intro { font-size: 1.1rem; line-height: 1.8; }
.tc p, .tc li { color: #ffffff; line-height: 1.8; font-size: 1.05rem; }
.tc a { color: #4da3f0; text-decoration: underline; }
.tc .tc-section { color: #4da3f0; font-size: 1.4rem; margin: 2rem 0 .75rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(77,163,240,.35); }
.tc .tc-list { margin: 0 0 1rem 1.25rem; padding: 0; }
.tc .tc-list li { margin-bottom: .6rem; }
.tc .tc-sub { color: #9fd0ff; font-size: 1.15rem; margin: 1.5rem 0 .5rem; padding-left: .75rem; border-left: 4px solid #4da3f0; }

/* Main headings in white */
.tc .tc-main, .tc h1.tc-main, .tc h2.tc-main { color: #ffffff !important; }

/* Section headings 1-6: left aligned, no underline */
.tc .tc-section {
  text-align: left !important;
  border-bottom: none !important;
  text-decoration: none !important;
  padding-bottom: 0 !important;
}

/* Everything left aligned */
.tc, .tc h1, .tc h2, .tc h3, .tc h4, .tc p, .tc li,
.tc .tc-main, .tc .tc-section, .tc .tc-sub, .tc .tc-intro {
  text-align: left !important;
}

.tc h1, .tc .tc-main { color: #ffffff !important; text-align: left !important; }

/* Left align everything, white main headings */
.main-inner h1, .main-inner h2, .main-inner h3, .main-inner h4,
.main-inner p, .main-inner li { text-align: left !important; }
.main-inner h1, .main-inner h2 { color: #ffffff !important; }
.main-inner h3 { border-bottom: none !important; }

/* Divider line */
.main-inner hr {
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  margin: 3rem 0 1rem;
}

/* Stronger divider */
.main-inner hr {
  display: block !important;
  width: 100% !important;
  height: 3px !important;
  background: #ffffff !important;
  border: 0 !important;
  margin: 3rem 0 !important;
  opacity: 1 !important;
}


/* Divider line between sections */
.main-inner hr {
  display: block !important;
  width: 100% !important;
  height: 3px !important;
  background: #4da3f0 !important;
  border: 0 !important;
  margin: 3rem 0 !important;
  opacity: 1 !important;
}
/* Stronger overrides so the theme can't turn text blue */
body .section-container.main-inner.tc h1,
body .section-container.main-inner.tc h2 { color: #ffffff !important; }
body .section-container.main-inner.tc p,
body .section-container.main-inner.tc li { color: #ffffff !important; }

.main-inner p, .main-inner li { color: #ffffff !important; text-align: left !important; }
.main-inner h3 { color: #4da3f0 !important; text-align: left !important; border-bottom: none !important; }

/* Hotel table */
.hotel-table h2 { color: #ffffff !important; text-align: left !important; margin: 2.5rem 0 1rem; }
.hotel-table__wrap { overflow-x: auto; border: 2px solid #9fc3e8; border-radius: 12px; background: #f3f4f6; }
.hotel-table table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 1rem; margin: 0; }
.hotel-table th { background: #b9d6f2 !important; color: #16324f !important; text-align: left; padding: .9rem 1rem; white-space: nowrap; }
.hotel-table td { padding: .85rem 1rem; border-top: 1px solid #d5dbe2; color: #1f2933 !important; background: #f3f4f6 !important; vertical-align: top; text-align: left; }
.hotel-table tbody tr:nth-child(even) td { background: #e6e9ed !important; }
.hotel-table td:first-child { font-weight: 600; width: 3rem; }
.hotel-table td a { color: #0b4f9e !important; text-decoration: underline; word-break: break-word; }
.hotel-table td:nth-child(2) a { font-weight: 600; }

/* Keep phone numbers on one line */
.hotel-table td:nth-child(6),
.hotel-table td:nth-child(6) a {
  white-space: nowrap !important;
}

/* Phone numbers: plain text, no blue, no underline */
.hotel-table td:nth-child(6) a,
.hotel-table td:nth-child(6) a:hover,
.hotel-table td:nth-child(6) a:visited {
  color: #1f2933 !important;
  text-decoration: none !important;
  font-weight: inherit !important;
  cursor: text;
}

/* Phone numbers: comma separated, plain text, blue underline on hover */
.hotel-table td:nth-child(6) { white-space: normal !important; }
.hotel-table td:nth-child(6) a {
  color: #1f2933 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.hotel-table td:nth-child(6) a:hover {
  color: #0b4f9e !important;
  text-decoration: underline !important;
}

/* Hotel table: card layout on phones and small tablets */
@media (max-width: 768px) {
  .hotel-table__wrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .hotel-table table,
  .hotel-table tbody,
  .hotel-table tr,
  .hotel-table td { display: block; width: 100%; min-width: 0 !important; }
  .hotel-table thead { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
  .hotel-table tbody tr {
    margin: 0 0 1rem;
    border: 2px solid #9fc3e8;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
  }
  .hotel-table tbody tr td,
  .hotel-table tbody tr:nth-child(even) td {
    background: transparent !important;
    border-top: 1px solid #d5dbe2;
    padding: .7rem 1rem;
    width: 100%;
  }
  .hotel-table tbody tr td:first-child { border-top: 0; background: #b9d6f2 !important; width: 100%; }
  .hotel-table td::before {
    content: attr(data-label);
    display: block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #4a5b6b;
    margin-bottom: .15rem;
  }
  .hotel-table td a { word-break: break-word; }
  .hotel-table td:empty { display: none; }
}
