/* A tour's departures on its tour page (deviation V34; assets/js/departures.js).
   The site's colours: gold buttons #a68347 with bold white text and teal #537d89,
   as the WCAG contrast fixes chose them (V20). */
#dta-departures,#dta-departures *{font-family:"DM Sans","Jost",Arial,Helvetica,sans-serif}
#dta-departures{color:#222;margin:0 0 10px}
/* The theme boxes every table cell: only the line between rows here. */
#dta-departures table,#dta-departures th,#dta-departures td{border:0;background:none}
#dta-departures .dta-dep-loading,#dta-departures .dta-dep-none{color:#555;margin:0}
#dta-departures .dta-dep-none a{color:#537d89;text-decoration:underline}
/* The heading is the page's own section h3 (as Itinerary, Gallery...), with Tour
   Options beside it on wide screens (owner, 2026-11-17). */
.dta-dep-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px}
.dta-dep-top>h3{flex:1 1 auto}
.dta-dep-options-slot:empty{display:none}
#availability .dta-dep-options,#availability .dta-dep-options *{font-family:"DM Sans","Jost",Arial,Helvetica,sans-serif}
#availability .dta-dep-options{display:flex;align-items:center;gap:16px;margin:0 0 20px}
#availability .dta-dep-options label{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:#333;margin:0;white-space:nowrap}
#availability .dta-dep-select{height:46px;min-width:200px;margin:0;padding:0 12px;border:1px solid #d6d6d6;border-radius:6px;background:#fff;font-size:.95rem;color:#222}
.dta-dep-table{width:100%;border-collapse:collapse}
#dta-departures .dta-dep-table th{padding:0 12px 12px 0;text-align:left;font-weight:500;font-size:1rem;color:#222;border-bottom:1px solid #e3e3e3}
#dta-departures .dta-dep-table td{padding:16px 12px 16px 0;vertical-align:middle;border-bottom:1px solid #e3e3e3}
.dta-dep-date span{display:block}
.dta-dep-weekday{font-size:.85rem;color:#666}
.dta-dep-long{font-size:1.02rem;color:#222}
.dta-dep-short{display:none !important}
.dta-dep-count{font-size:1.02rem}
.dta-dep-low::before{content:"";display:inline-block;width:9px;height:9px;margin-right:8px;border-radius:50%;background:#a68347;vertical-align:1px}
.dta-dep-hurry{display:block;margin-top:2px;font-size:.85rem;font-weight:600;color:#90713c}
.dta-dep-enquire-text{color:#537d89;font-size:1.02rem}
.dta-dep-price strong{display:block;font-size:1.1rem;color:#222}
.dta-dep-price span{font-size:.85rem;color:#666}
.dta-dep-action{text-align:right;width:1%;white-space:nowrap}
#dta-departures a.dta-dep-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:150px;padding:12px 20px;border-radius:6px;background:#a68347;color:#fff;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;line-height:1.2}
#dta-departures a.dta-dep-btn:hover,#dta-departures a.dta-dep-btn:focus-visible{background:#fff;color:#90713c;box-shadow:inset 0 0 0 2px #a68347}
#dta-departures a.dta-dep-btn--enquire{background:#537d89}
#dta-departures a.dta-dep-btn--enquire:hover,#dta-departures a.dta-dep-btn--enquire:focus-visible{background:#fff;color:#537d89;box-shadow:inset 0 0 0 2px #537d89}
.dta-dep-arrow{width:18px;height:18px;flex:none}
#dta-departures .dta-dep-more{display:block;margin:18px auto 0;padding:11px 22px;border:2px solid #537d89;border-radius:6px;background:#fff;color:#537d89;font:inherit;font-weight:600;cursor:pointer;height:auto;line-height:1.2}
#dta-departures .dta-dep-more:hover,#dta-departures .dta-dep-more:focus-visible{background:#537d89;color:#fff}
/* The section tabs' padding and size are set by fitTabs() (assets/js/departures.js):
   not animated, so it reads the theme's real values, not ones mid-transition. Only
   their colours fade, as before. */
.templaza-ap-single .ap-content-group-scroll .ap-scroll-item{transition-property:color,background-color !important}
.dta-dep-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:767.99px){
  .dta-dep-top{display:block}
  #availability .dta-dep-options{display:block}
  #availability .dta-dep-options label{display:block;margin-bottom:6px}
  #availability .dta-dep-select{width:100%}
  .dta-dep-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .dta-dep-table,.dta-dep-table tbody{display:block}
  .dta-dep-table tr{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-bottom:12px;padding:14px 16px 16px;border:1px solid #e3e3e3;border-radius:10px}
  #dta-departures .dta-dep-table td{display:block;padding:0;border:0}
  .dta-dep-table td[data-label]::before{content:attr(data-label);display:block;font-size:.85rem;color:#666}
  #dta-departures .dta-dep-table td.dta-dep-date{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #e3e3e3}
  .dta-dep-weekday,.dta-dep-long{display:none !important}
  .dta-dep-short{display:block !important;font-size:1.02rem}
  .dta-dep-action{grid-column:1 / -1;margin-top:14px;text-align:left;width:auto}
  #dta-departures a.dta-dep-btn{display:flex;width:100%}
}
