/* ==========================================================================
   Desktop layout fixes
   --------------------------------------------------------------------------
   Overrides for the vendored Webflow stylesheet. Mirror anything here back
   into Webflow; never edit barbour.webflow.shared.*.min.css directly, it is
   overwritten whenever a page is re-downloaded.

   Both rules below exist because the export defines a utility twice: once
   unconditionally, and again inside a media query, so the version that
   matches the class name only takes effect at some screen widths.

   Keep this file free of nested comment terminators. CSS block comments do
   not nest, so a stray one ends the comment early and the prose after it is
   parsed as rules.
   ========================================================================== */


/* 1. Agenda session heights -------------------------------------------------
   The agenda sizes every block as a percentage of one hour row: .h50 is 30
   minutes, .h300 is three hours. .h125 (1 hr 15) is declared unconditionally
   at height 100% and again at 125% inside a min-width 1440px media query, so
   below 1440px it collapses to exactly one hour and a 1 hr 15 session renders
   15 minutes short with nothing visibly broken to give it away.

   Week 1 Day 2 "Collabs, 17:00 - 18:15" depends on this. */

.h125 { height: 125%; }


/* 2. Single-column workspace ------------------------------------------------
   .transport-info is a 50% column, and .wider is the full-width variant — but
   .wider sets width:100% only below 992px, so on desktop it stays at 50%.
   Week 1's workspace now holds one block rather than two, so that block
   should span the row. Scoped with :only-child so Week 2, which still runs
   three blocks side by side, is untouched. */

.transport-info.wider:only-child { width: 100%; }


/* 3. Workspace download button ----------------------------------------------
   .transport-info pads with percentages, so widening week 1's lone block to
   100% doubled its padding — pushing DOWNLOAD FLOORPLANS down and opening a
   gap under the heading. Drop both on that single column, and tighten the
   margin under the block on both pages. */

.transport-info.wider:only-child { padding-top: 0; padding-bottom: 0; }
#your-workspace .margin-bottom.margin-large { margin-bottom: 1.25rem; }


/* 4. "Showrooms open" line under the day tabs -------------------------------
   .tabs-launch carries a 5rem bottom margin that used to separate the day
   buttons from the agenda. The line now sits in that gap, so the margin
   moves onto the line and the buttons keep a small gap above it. Scoped to
   the agenda's own menu (a direct child; day-select.js puts its phone
   dropdown before it, so :first-child no longer matches it). */

.section_agenda > .tabs-launch.w-tab-menu { margin-bottom: 1.5rem; }
.showrooms-open { margin-bottom: 3.5rem; }
/* Phones: the line sits between the day and country dropdowns. */
@media screen and (max-width: 991px) {
  .showrooms-open { margin-bottom: 1.25rem; }
}


/* 5. Half-width block dividers ----------------------------------------------
   .w50 carries the white divider between two blocks sharing an hour. That
   border sits on the wrapper, which is a full hour row tall no matter how
   long or how offset the session inside it is, so the line paints across
   whatever else occupies that row — most visibly straight down the middle of
   a full-width block above or below it.

   Move the divider onto the coloured block, which is sized and positioned to
   the session itself. Where a block has a neighbour the divider still shows;
   where it has none the line lands on the page background and disappears. */

.w50 { border-right-style: none; }
.w50 .bg-grey,
.w50 .bg-green,
.w50 .bg-gold,
.w50 .bg-red { border-right: 2px solid #fff; }
/* The right-hand half already ends at the column edge, where the grid's own
   gap separates it from the next column; a divider there doubles the gap. */
.w50.move-right .bg-grey,
.w50.move-right .bg-green,
.w50.move-right .bg-gold,
.w50.move-right .bg-red { border-right: none; }


/* 6. Day buttons inside the Eat & Drink panel -------------------------------
   The second row of day buttons now sits inside each day's tan panel, above
   the heading. .tabs-launch is sized for a full-width row of its own, so trim
   its padding and the 5rem margin meant to clear the agenda below it. */

.eat-day-tabs { margin-bottom: 1.75rem; padding-left: 0; padding-right: 0; }


/* 7. Eat & Drink day buttons: no borders, one line --------------------------
   .launch-tab is drawn for the full-width row at the top of the page: a 2px
   border and 30px of side padding. Inside the narrower tan panel that tips
   the row onto two lines, so trim it and stop it wrapping.

   Desktop only. Below 992px .tabs-launch stacks the buttons in a column by
   design, and a single line could not fit there anyway. */

.eat-day-tabs .launch-tab { border: 0; white-space: nowrap; }

@media screen and (min-width: 992px) {
  .eat-day-tabs { flex-wrap: nowrap; }
  /* Share the row rather than tuning padding to a pixel: week 1 fits four
     buttons here and week 2 five, and the labels differ in length. */
  .eat-day-tabs .launch-tab {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 15px 8px;
    margin: 0 0 0 8px;
  }
  .eat-day-tabs .launch-tab,
  .eat-day-tabs .tab-text { font-size: 1rem; }
  .eat-day-tabs .launch-tab:first-child { margin-left: 0; }
}


/* 8. "Showrooms open" line, hidden on day 1 ---------------------------------
   The line is a sibling of the day buttons, not part of any day's pane, so
   it shows whichever day is selected. Day 1 of each week opens later than
   the rest, so the line does not apply there.

   :has() lets this key off the selected tab without script. A browser
   without it simply shows the line on day 1 as before. Applies at every
   width, unlike the rest of this file. */

.section_agenda:has(> .w-tab-menu .w-tab-link[data-w-tab="Tab 1"].w--current)
  > .showrooms-open { display: none; }


/* 9. Days with their own hours ---------------------------------------------
   A day whose showroom hours differ from the main line carries its own copy
   of the line, named for the day; only one is ever on screen. Week 1: Tue
   08:30-22:00, Thu 08:00-20:00. Week 2: Tue 08:30-22:00,
   Thu 08:00-22:00, Fri 08:00-12:00. A page without a
   given day's line keeps showing the main one that day. */

.showrooms-open[data-day-line="tue"],
.showrooms-open[data-day-line="thu"],
.showrooms-open[data-day-line="fri"] { display: none; }

.section_agenda:has(> .showrooms-open[data-day-line="tue"]):has(> .w-tab-menu .w-tab-link[data-w-tab="Tab 2"].w--current)
  > .showrooms-open[data-day-line="main"],
.section_agenda:has(> .showrooms-open[data-day-line="thu"]):has(> .w-tab-menu .w-tab-link[data-w-tab="Tab 4"].w--current)
  > .showrooms-open[data-day-line="main"],
.section_agenda:has(> .showrooms-open[data-day-line="fri"]):has(> .w-tab-menu .w-tab-link[data-w-tab="Tab 5"].w--current)
  > .showrooms-open[data-day-line="main"] { display: none; }

.section_agenda:has(> .w-tab-menu .w-tab-link[data-w-tab="Tab 2"].w--current)
  > .showrooms-open[data-day-line="tue"],
.section_agenda:has(> .w-tab-menu .w-tab-link[data-w-tab="Tab 4"].w--current)
  > .showrooms-open[data-day-line="thu"],
.section_agenda:has(> .w-tab-menu .w-tab-link[data-w-tab="Tab 5"].w--current)
  > .showrooms-open[data-day-line="fri"] { display: block; }


/* 10. Column heading size ---------------------------------------------------
   .text-size-small is .875rem in the export. On these pages the class is
   only used for the agenda column headings, and nowhere on index, landing or
   protected, so this covers every page that uses it. */

.text-size-small { font-size: 1rem; }


/* 11. Group key under the Launch Agenda heading ----------------------------
   The agenda colours each block by group, and the swatches explaining them
   sat only in the Workspace & Showrooms panel, well below the agenda itself.
   This copy sits directly under the heading, before the day buttons.

   The columns change mid-week, so the key ships twice: "early" for Mon 16th
   and Tue 17th, which run one combined EU column and APAC, and "late" for
   Wed 18th to Fri 20th, which split EU into groups 1 and 2 / ROW. The swatch
   colours follow each day's own blocks, so APAC is gold early in the week and
   pink later on.

   Three columns on desktop, stacked below 992px where they will not fit, as
   rows with the swatch on the left.
   Reuses .group-key and the .text-size-regular.text-weight-light pairing so
   the swatches and the uppercase label read as the original key does. */

.agenda-key {
  padding-left: 5%;
  padding-right: 5%;
  text-align: center;
  max-width: 1240px;
  margin: 20px auto -20px;
}

/* Countries at .85rem; the label stays 1rem so it still leads the column. */
.agenda-key .text-size-regular { font-size: .85rem; }
.agenda-key .text-weight-semibold { font-size: 1rem; }

.agenda-key__group { margin-bottom: 1.5rem; }
.agenda-key__group:last-child { margin-bottom: 0; }

/* Stacked (below 992px): each group is a row, its swatch on the left and the
   label and countries left-aligned beside it. */
@media screen and (max-width: 991px) {
  .agenda-key { text-align: left; max-width: 640px; }
  .agenda-key__group { display: flex; align-items: flex-start; gap: 18px; }
  .agenda-key__group .group-key { flex: 0 0 40px; margin: 0; }
  .agenda-key__group .text-size-regular { flex: 1 1 auto; min-width: 0; padding-top: 2px; }
}

@media screen and (min-width: 992px) {
  .agenda-key { display: flex; align-items: flex-start; }
  .agenda-key__group {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0;
  }
}


/* 12. (retired) Week 2 used to switch to a combined two-group key on Monday
   and Tuesday. Every day now runs all three groups, so there is one key. */


/* 13. Map key spacing -------------------------------------------------------
   Week 1's map lists four locations, each running two or three lines, with
   only a 15px gap between them, so the blocks read as one paragraph. Open it
   up so each location reads as its own entry.

   The export declares .map-key-inner several times, including inside media
   queries, but all at one-class specificity, so this later rule wins at every
   width. The list is a single column at every width we ship, flex above
   991px and grid below, and row-gap covers both. Week 2 has no map, so this
   is inert there. */

.map-key-inner { row-gap: 2rem; }


/* 8. Missing bottom dividers --------------------------------------------------
   Every block-height class in the Webflow stylesheet draws a 2px white line
   at its bottom, which separates stacked sessions and makes block bottoms
   line up - except these, which Webflow left without it. An h375 block
   (3 3/4 hours) therefore ran 2px lower than the blocks beside it.
   Mirror into Webflow. */

.h25,
.h275,
.h325,
.h375,
.h425 { border-bottom: 2px solid #fff; }


/* 9. Lines that must not wrap -------------------------------------------------
   .keep-line holds a session line together ("Auditorium: Launch event
   (30 mins)"). Its box is a size container, so the line scales down just
   enough to fit narrow columns (cqi = 1% of the box width; the line is about
   20 em wide) and never grows past its normal size. Durations use &nbsp; in
   the HTML so "(1.5 hrs)" never splits. */

.launch-text:has(.keep-line) { container-type: inline-size; }
.keep-line { white-space: nowrap; font-size: min(1em, 5.1cqi); }


/* 10. Allergy information --------------------------------------------------
   Each Eat & Drink day's allergy section sits in a white box, with an alert
   icon (assets/custom/alert.svg, coloured #695342 by masking) before the
   heading. Mirror into Webflow. */

.allergy-info {
  background: #fff;
  padding: .25rem 2rem 2rem;
  margin-top: 2rem;
}
.allergy-info .heading-style-h3::before {
  content: "";
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-right: .35em;
  vertical-align: -.29em;   /* centres it on the capitals, which the heading is set in */
  background-color: #695342;
  -webkit-mask: url(alert.svg?v=1) center / contain no-repeat;
  mask: url(alert.svg?v=1) center / contain no-repeat;
}
@media screen and (max-width: 599px) {
  .allergy-info { padding: .25rem 1.25rem 1.5rem; }
}


/* 11. Section spacing --------------------------------------------------------
   Less space under the .padding-custom1.padding-large section (Webflow has
   5rem top and bottom). Mirror into Webflow. */

.padding-custom1.padding-large {
  padding-top: 5rem;
  padding-bottom: 3rem;
}


/* 12. Wi-fi strip: text in the site green (icons are coloured in the SVGs). */
.section_wifi .text-size-large { color: #113e1d; }


/* 13. Menus: tighter spacing --------------------------------------------------
   Webflow puts 50px above each dish and another 50px above each divider, so
   about 100px of white between dishes. Halved. Mirror into Webflow. */

.eat-list .eat-item { padding-top: 26px; }
.eat-list .divider,
.eat-list .divider-2,
.eat-list .divider-3 { padding-top: 26px; }
@media screen and (max-width: 767px) {
  .eat-list .eat-item { padding-top: 18px; }
  .eat-list .divider,
  .eat-list .divider-2,
  .eat-list .divider-3 { padding-top: 18px; }
}

/* 14. Eat & Drink with a single day ------------------------------------------
   Eat & Drink shares the agenda's day tabs, so its panes normally switch with
   the agenda. Week 1 now has only a Day 1 menu: that pane carries .eat-always
   and stays visible whichever agenda day is picked. */
#eat-drink > .w-tab-pane.eat-always { display: block !important; opacity: 1 !important; }

/* 15. Short blocks grow to fit their text (desktop grid) --------------------
   A 30-minute block is only half an hour row tall, and two that overlap sit
   side by side at half width, so their text can be longer than the block.
   The text is absolutely positioned in the export, so it spilled out below a
   block that stayed the same size. Here the text sits in the flow and the
   block grows with it: a block whose text fits is unchanged, one whose text
   doesn't extends down over the empty space beneath it. */
@media screen and (min-width: 992px) {
  .launch-info .h50,
  .launch-info .h75 { overflow: visible; }
  .launch-info .bg-grey,
  .launch-info .bg-green,
  .launch-info .bg-gold,
  .launch-info .bg-red { min-height: 100%; height: auto; position: relative; z-index: 1; }
  .launch-info .launch-text { position: relative; }
  /* Text in the flow would otherwise count towards the hour row's height and
     stretch the row under a long block, pushing the whole grid out of step
     with the clock. Size containment keeps the rows at exactly one hour. */
  .launch-info > div { contain: size; }
}

/* 16. Wi-fi strip 25% shorter -----------------------------------------------
   The strip was 130px on desktop (48px padding either side of a 34px line)
   and 86px on phones (32px either side of 22px). Equal padding top and
   bottom that brings each to 75%: 97.5px and 64.5px. */
.section_wifi .padding-section-small { padding-top: 31.75px; padding-bottom: 31.75px; }
@media screen and (max-width: 767px) {
  .section_wifi .padding-section-small { padding-top: 21.25px; padding-bottom: 21.25px; }
}

/* 17. Bulleted sub-sessions inside a block ----------------------------------
   The bullet is drawn here rather than typed into the text, in a slot of
   its own: every line of the item, wrapped ones included, starts at the
   same left edge, whatever the font or screen. A little space separates the
   list from the session's name and location above it. */
.launch-text .launch-sub { position: relative; padding-left: .85em; font-size: .92em; }
.launch-text .launch-sub::before { content: "\2022"; position: absolute; left: 0; }
.launch-text .launch-sub--first { margin-top: .6em; }

/* 18. A white line along the top of a block ---------------------------------
   Blocks only carry a white line along their bottom edge, so one that starts
   where a same-coloured block ends, or overlaps it, has no visible edge. Add
   .line-top to the block's height class to draw one. A later block still
   paints over an earlier one where they overlap, so each keeps its heading. */
.launch-info .line-top > .bg-grey,
.launch-info .line-top > .bg-green,
.launch-info .line-top > .bg-gold,
.launch-info .line-top > .bg-red { box-shadow: 0 -2px 0 #fff; }

/* 19. Floorplan floors ------------------------------------------------------
   Ground Floor / First Floor buttons above the plan, in the day buttons'
   style (green outline, filled when selected) but sized for a pair, and
   kept side by side on phones where .tabs-launch would stack them. */
.floor-tabs__menu { margin-bottom: 1.75rem; padding-left: 0; padding-right: 0; flex-flow: row wrap; }
.floor-tabs__menu .launch-tab { min-width: 0; padding-left: 1.5rem; padding-right: 1.5rem; white-space: nowrap; }
.floorplan-img { display: block; width: 100%; max-width: 1000px; height: auto; margin: 0 auto; }
@media screen and (max-width: 767px) {
  .floor-tabs__menu .launch-tab { flex: 1 1 0; padding-left: .75rem; padding-right: .75rem; margin-left: 5px; margin-right: 5px; }
}

/* 20. Allergy text size ------------------------------------------------------
   The paragraph in each Eat & Drink allergy box, at 1rem. */
.allergy-info .container-small { font-size: 1rem; }


/* 21. No empty scrollbars under the agenda ----------------------------------
   The export gives each .day `overflow: scroll`, which always draws
   scrollbars - on Windows, as empty bars under the grid - even though the
   grid fits the page. Nothing in it is wider than the day, so let it show
   normally. (Below 992px agenda-mobile.css already does the same.) */
.day { overflow: visible; }

/* 22. Eat & Drink title on the tartan -------------------------------------
   Week 2's "Eat & Drink" heading sits above the box, in white on the
   tartan. A box that no longer opens with its heading gets the same space
   above the allergy box as below it. */
.eat-title { text-align: center; margin-bottom: 2rem; }
.eat-title .heading-style-h2 { color: #fff; }
.padding-custom1.padding-large:not(:has(.heading-style-h2)) { padding-top: 3rem; }

/* 23. Allergy strip ---------------------------------------------------------
   A copy of the Wi-fi strip (same band, padding and green type) above the
   Eat & Drink tartan, carrying the allergy notice. The alert icon is
   alert.svg masked in the site green, sized like the Wi-fi icon. */
.allergy-strip__icon {
  display: inline-block;
  width: .95em;
  height: .95em;
  margin-right: .25em;
  vertical-align: -.1em;
  background-color: #113e1d;
  -webkit-mask: url("alert.svg") center / contain no-repeat;
          mask: url("alert.svg") center / contain no-repeat;
}
@media screen and (min-width: 992px) {
  .allergy-strip__title.text-size-large { font-size: 1.5rem; line-height: 1.2; }
}
.allergy-strip__text {
  max-width: 960px;
  margin: .6rem auto 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #113e1d;
}
@media screen and (max-width: 767px) {
  .allergy-strip__text { font-size: .85rem; }
}

/* 24. Long blocks: extra heights ---------------------------------------------
   Heights are percentages of one hour row (h300 = 3 hours). */
.h725  { height: 725%;  overflow: visible; }
.h850  { height: 850%;  overflow: visible; }
.h950  { height: 950%;  overflow: visible; }
.h1200 { height: 1200%; overflow: visible; }
.h1400 { height: 1400%; overflow: visible; }

/* 25. "Sales team work in showrooms" blocks ---------------------------------
   Long windows that other sessions run inside. Striped in the group's colour
   so they read as a block of their own, and kept underneath: any session in
   the same column sits on top. On the desktop grid the label is placed in the
   block's first free stretch (--label-at, a fraction of its height) so a
   session starting at the same time does not hide it. */
.launch-info .sales-block {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .45) 0 7px, transparent 7px 16px);
}
.launch-info .bg-green.sales-block,
.launch-info .bg-gold.sales-block,
.launch-info .bg-red.sales-block,
.launch-info .bg-grey.sales-block { z-index: 0; }
@media screen and (min-width: 992px) {
  .launch-info .sales-block > .launch-text {
    position: absolute;
    top: calc(var(--label-at, 0) * 100%);
    left: 0;
  }
}

/* 26. Showroom hours line, bolder --------------------------------------------- */
.showrooms-open .text-size-regular { font-weight: 600; }

/* 27. Week 1 "Launch Agenda" title, desktop ----------------------------------
   Half the space above (96px from the Wi-fi bar) and below (the agenda's
   80px top padding). Week 1 only: Week 2 has its group key in that gap. */
@media screen and (min-width: 992px) {
  .page-week-1 #launch-agenda + .margin-top.margin-huge { margin-top: 3rem; }
  .page-week-1 .section_agenda { padding-top: 2.5rem; }
}

/* 28. Tighter lines in a crowded block (desktop) -----------------------------
   For a short, narrow block whose text would otherwise run under the next
   block. Phones stack the cards, so they keep normal spacing. */
@media screen and (min-width: 992px) {
  .launch-text.tight { line-height: 1.15; }
}
