/* South West Australia hub page (/south-west-australia/): package cards, comparison, combined tables.
   Loaded on that page only, after main.css. */

/* Book card: one line per package */
.pkg-mini { list-style: none; margin: 4px 0 12px; padding: 0; }
.pkg-mini li + li { border-top: 1px solid rgba(255,255,255,.15); }
.pkg-mini a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; color: var(--white); text-decoration: none; }
.pkg-mini a:hover .pkg-mini__name { text-decoration: underline; text-underline-offset: 3px; }
.pkg-mini__name { font-weight: 600; font-size: 18px; line-height: 1.2; }
.pkg-mini__name small { display: block; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 3px; }
.pkg-mini__price { font-family: var(--mono); font-size: clamp(20px, 2vw, 24px); font-weight: 500; white-space: nowrap; }
.book-card .btn-wetravel { align-items: center; justify-content: center; gap: 6px; }

/* Package cards */
.pkg-grid { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 960px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .pkg-grid { max-width: 640px; } }
.pkg { display: flex; flex-direction: column; border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; background: var(--white); scroll-margin-top: 110px; }
.pkg__img { display: block; }
.pkg__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 959px) { .pkg__img img { aspect-ratio: 16 / 9; } }
.pkg__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 30px; flex: 1; }
.pkg__level { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); margin: 0; }
.pkg h3 { font-size: clamp(30px, 3vw, 36px); line-height: 1.05; margin: 0; }
.pkg__tag { font-weight: 600; margin: -6px 0 0; }
.pkg__pitch { color: var(--grey); margin: 0; }
.pkg__ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.pkg__ticks li { position: relative; padding-left: 24px; }
.pkg__ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px;
  border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }
.pkg__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--mist); }
.pkg__was { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 14px; color: var(--grey); }
.pkg__was s { font-family: var(--mono); }
.pkg__now { font-family: var(--mono); font-size: clamp(28px, 2.8vw, 34px); font-weight: 500; line-height: 1.1; margin: 0; }
.pkg__note { font-size: 13px; color: var(--grey); margin: 4px 0 0; }
.pkg__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }

/* Comparison table: a normal table on wide screens; on phones each row becomes the
   feature name on its own line with the three packages side by side underneath */
.cmp { background: var(--white); border-radius: var(--radius); padding: 8px clamp(16px, 3vw, 32px) 16px; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp thead th { font-size: 18px; font-weight: 700; text-align: center; padding: 18px 8px 14px; border-bottom: 2px solid var(--navy); }
.cmp thead td { border-bottom: 2px solid var(--navy); }
.cmp tbody th { text-align: left; font-weight: 500; padding: 14px 16px 14px 0; width: 40%; }
.cmp tbody td { text-align: center; padding: 14px 8px; font-size: 15px; }
.cmp tbody tr + tr > * { border-top: 1px solid var(--mist); }
.cmp-yes { color: var(--cobalt); font-size: 20px; font-weight: 700; line-height: 1; }
.cmp-no { color: #9AA3AA; font-size: 18px; }
.cmp-add { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--grey); border: 1px solid var(--mist); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.cmp-price th { font-weight: 700; }
.cmp-from { font-family: var(--mono); font-size: 18px !important; font-weight: 500; }
.cmp-from .link { display: inline-block; font-family: var(--font); font-size: 14px; font-weight: 600; margin-top: 6px; }
@media (max-width: 699px) {
  .cmp { padding: 4px 14px 10px; }
  .cmp table, .cmp tbody { display: block; }
  .cmp thead { display: block; position: sticky; top: 64px; background: var(--white); z-index: 1; }
  .cmp thead tr, .cmp tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); }
  .cmp thead td { display: none; }
  .cmp thead th { font-size: 15px; padding: 14px 4px 10px; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 14px 0 4px; font-size: 15px; }
  .cmp tbody td { padding: 4px 4px 14px; font-size: 14px; }
  .cmp tbody tr + tr > * { border-top: 0; }
  .cmp tbody tr + tr { border-top: 1px solid var(--mist); }
  .cmp-add { font-size: 11px; padding: 3px 7px; }
  .cmp-from { font-size: 15px !important; }
}

/* Not sure? chooser */
.pick-head { margin-top: 56px; }
.pick-head h3 { font-size: var(--h3); }
.pick { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid rgba(14,34,51,.18); max-width: 900px; }
.pick li { border-bottom: 1px solid rgba(14,34,51,.18); }
.pick a { display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; align-items: center; padding: 20px 0; color: var(--navy); text-decoration: none; }
.pick__if { font-weight: 600; font-size: 18px; line-height: 1.4; }
.pick__go { font-family: var(--mono); font-size: 14px; color: var(--cobalt); white-space: nowrap; }
.pick a:hover .pick__go { text-decoration: underline; }
@media (max-width: 560px) { .pick a { grid-template-columns: 1fr; } }

/* Departures for all three packages */
.dep-all td { white-space: normal; }
.dep-all td b { display: block; font-weight: 600; }
.dep-all td s { font-size: 13px; color: var(--grey); }
.dep-all table a.row-book { margin-top: 8px; }
.dep-pkg { display: none; }
@media (max-width: 699px) {
  .dep-all table, .dep-all tbody { display: block; }
  .dep-all caption { display: block; }
  .dep-all thead { display: none; }
  .dep-all tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--mist); padding-bottom: 10px; }
  .dep-all tbody th { grid-column: 1 / -1; border: 0; padding-bottom: 4px; }
  .dep-all tbody td { border: 0; padding: 4px 6px 4px 0; font-size: 14px; }
  .dep-pkg { display: block; font-family: var(--font); font-size: 12px; color: var(--grey); margin-bottom: 2px; }
}

/* Room price tables side by side */
.room-grid { display: grid; gap: 8px 32px; }
@media (min-width: 1100px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .room-grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid > :last-child { grid-column: 1 / -1; } }
.room-grid .room-prices caption { font-size: 13px; color: var(--navy); font-weight: 500; }
