/* Festival homepage slides — week of 2026-12-02
     slide 1 = BEEF ROAST (orange)          class .slide-roast    (from 2026-10-14 slide 2, was purple)
     slide 2 = BIG SEAFOOD SALE (green)     class .slide-seafood  (from 2024-12-04 slide 2)
     slide 3 = BIG CHEESE SALE (purple)     class .slide-cheese   (from 2024-12-04 slide 3)

   Each slide's rules are scoped to its own class, so rules copied from different weeks can't collide.
   Only the backgrounds are position-based (.slideback1/2/3): if you reorder the slides in text.php,
   swap the three image URLs to match.
   Images: slide1.webp (1400x690, roast), slide2.webp (1160x520, seafood), slide3.webp (1160x520, cheese).
   Logos come from the site: /_images/slides/blackangus.png and /_images/slides/FreshCutBug.png.
*/

/* ---------- SHARED BASE (same as every weekly slides.css) ---------- */
.slideContent {
  height: 320px;
  width: 45%;
  margin: 100px auto !important;
}
.slideContent {
  background-color: rgba(255, 255, 255, .85) !important;
}
.slideContent h1 {
  text-transform: uppercase;
  margin: 0;
}
h2 span {
  font-size: 50%;
  display: inline-block;
}
h2 span:after {
  display: none;
}
.smaller:after,
.slideContent p span:after {
  content: '' !important;
}
.slick-active {
  position: relative;
}
span.no_after::after {
  display: none;
}
@media screen and (max-width: 767px) {
  .slideContent {
    width: 100%;
    margin: auto !important;
    background-color: rgba(255, 255, 255, .85) !important;
  }
  .slick-dots {
    top: 20px !important;
  }
}

/* ---------- BACKGROUNDS (desktop: whole slide; mobile: the 335x225 photo area) ---------- */
.slideback1 { background-image: url(slide1.webp); background-position: center bottom; background-size: cover; }
.slideback2 { background-image: url(slide2.webp); background-position: center center; background-size: cover; }
.slideback3 { background-image: url(slide3.webp); background-position: center center; background-size: cover; }
@media screen and (max-width: 767px) {
  .slideback1 { background-image: url("slide1.webp"); background-position: center center; }  /* meat + veg fills the frame */
  .slideback2 { background-image: url("slide2.webp"); background-position: center center; }  /* all four seafood tiles meet in the middle */
  .slideback3 { background-image: url("slide3.webp"); background-position: center center; }  /* brie "tree" centred */
}

/* ---------- SHARED PANEL LAYOUT (all three slides) ----------
   Column flexbox inside the fixed-height panel:
   - justify-content: space-between puts the h1 at the top, the button at the bottom,
     and shares the leftover height equally between the gaps.
   - padding-bottom = the button's distance from the bottom of the panel: 19px desktop, 10px mobile.
   - the <a> around the button is a block with line-height 0, so no stray line box sits under it. */
.slide-roast .slideContent.orange,
.slide-seafood .slideContent.green,
.slide-cheese .slideContent.purps {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 320px;
  padding-top: 12px !important;
  padding-bottom: 19px !important;           /* button 19px from the bottom (desktop) */
}
.slide-roast .slideContent.orange > *,
.slide-seafood .slideContent.green > *,
.slide-cheese .slideContent.purps > * {
  margin-top: 0 !important;                  /* old weeks' margins would fight the flex gaps */
  margin-bottom: 0 !important;
  padding-top: 0 !important;                 /* the site's own CSS pads orange/purple h1s (e.g. padding: 5px !important on mobile), */
  padding-bottom: 0 !important;              /* which overflowed the fixed-height panel and pushed the button off the bottom */
}
.slide-roast .slideContent.orange > a,
.slide-seafood .slideContent.green > a,
.slide-cheese .slideContent.purps > a {
  display: block;
  line-height: 0;
}
.slide-roast .slideContent button,
.slide-seafood .slideContent button,
.slide-cheese .slideContent button {
  margin: 0 !important;
  font-size: 20px !important;                /* same as the last two weeks */
  white-space: nowrap;
}
.slide-roast .slideContent button span,
.slide-seafood .slideContent button span,
.slide-cheese .slideContent button span {
  font-size: inherit !important;             /* the site's main stylesheet sizes the inner span; follow the button */
}

/* ==================== SLIDE 1: BEEF ROAST (orange) ==================== */
.slide-roast .slideContent.orange h1,
.slide-roast .slideContent.orange h2,
.slide-roast .slideContent.orange a {
  color: #eb7203 !important;                 /* Festival orange */
}
.slide-roast .slideContent.orange button {
  color: #eb7203 !important;
  border: solid #eb7203 !important;
}
.slide-roast .slideContent.orange h1 {
  font-size: 66px !important;
  line-height: .85em !important;             /* tight line box: the caps have no descenders */
}
.slide-roast .slideContent.orange p {        /* every product line stays on one line */
  white-space: nowrap;
  color: black !important;
  line-height: 1.1em !important;
  padding: 0 !important;
}
/* The four product lines are 4 separate <p>s. With space-between each would get its own share of
   the spare height and the lines would drift apart. Instead this panel packs from the top and uses
   auto margins: p1 margin-top:auto + h2 margin-bottom:auto split the spare height equally above and
   below the "4 lines + price" group, so the group sits centred between the headline and the button. */
.slide-roast .slideContent.orange { justify-content: flex-start !important; }
@media screen and (min-width: 768px) {
  .slide-roast .slideContent.orange h1 {
    font-size: 76px !important;
    line-height: .85em !important;
    margin-top: -10px !important;
  }
}
.slide-roast .slideContent.orange > p.p1 { margin-top: auto !important; }
.slide-roast .slideContent.orange > h2   { margin-top: 16px !important; margin-bottom: auto !important; }   /* gap: "Chuck, Arm..." -> price */
.slide-roast .slideContent.orange p.p1 { font-size: 24px !important; }                 /* USDA Choice */
.slide-roast .slideContent.orange p.p2,
.slide-roast .slideContent.orange p.p3 { font-size: 30px !important; }                 /* Premium Boneless / Beef Roast */
.slide-roast .slideContent.orange p strong { font-size: inherit !important; font-weight: 700; }
.slide-roast .slideContent.orange p.p4 span { font-size: 22px !important; }            /* Chuck, Arm Shoulder, Rump or Sirloin Tip */
.slide-roast .slideContent.orange p.p2,
.slide-roast .slideContent.orange p.p3,
.slide-roast .slideContent.orange p.p4 { margin-top: -1px !important; }
.slide-roast .slideContent.orange h2 {
  font-size: 52px !important;
  line-height: .85em !important;
}
.slide-roast .slideContent.orange h2 .smaller {
  font-size: 45% !important;                 /* "lb" */
  margin-left: -2px;
}

/* Logos (desktop): Black Angus bottom-left, Fresh Cut bug bottom-right, as on 2026-10-14 */
.slide-roast img.new_angus {
  position: absolute;
  left: 20px;
  bottom: 20px;
  top: auto;
  width: 210px;
  max-width: 210px;
  z-index: 2;
}
.slide-roast img.new_right.smaller {
  display: block;                            /* the base site CSS hides img.new_right on desktop */
  position: absolute;
  right: 30px;
  bottom: 15px;
  top: auto;
  left: auto;
  width: 150px !important;
  max-width: 150px !important;
  z-index: 2;
}

/* ==================== SLIDE 2: BIG SEAFOOD SALE (green) ==================== */
.slide-seafood .slideContent.green h1,
.slide-seafood .slideContent.green a {
  color: #67bd4a !important;                 /* Festival green */
}
.slide-seafood .slideContent.green button {
  color: #67bd4a !important;
  border: solid #67bd4a !important;
}
.slide-seafood .slideContent.green h1 {
  font-size: 76px !important;                /* "BIG SEAFOOD" is the widest line: sized to stay inside the panel */
  line-height: 1em !important;
  white-space: nowrap;
}

/* ==================== SLIDE 3: BIG CHEESE SALE (purple) ==================== */
.slide-cheese .slideContent.purps h1,
.slide-cheese .slideContent.purps a {
  color: #ba006e !important;                 /* Festival purple */
}
.slide-cheese .slideContent.purps button {
  color: #ba006e !important;
  border-color: #ba006e !important;
}
.slide-cheese .slideContent.purps a {
  z-index: 9999;
  position: relative;
}
.slide-cheese .slideContent.purps h1 {
  font-size: 76px !important;                /* same size as the seafood headline so the two sale slides match */
  line-height: 1em !important;
  white-space: nowrap;
}

/* Sale slides: the headline is the only item above the button, so auto margins centre it in the space
   between the top of the panel and the button (equal gap above and below), desktop and mobile. */
.slide-seafood .slideContent.green > h1,
.slide-cheese .slideContent.purps > h1 {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

/* ==================== MOBILE (335 x 767: 225px photo on top, 277px text panel) ==================== */
@media screen and (max-width: 767px) {
  .slide-roast .slideContent.orange,
  .slide-seafood .slideContent.green,
  .slide-cheese .slideContent.purps {
    height: 277px !important;
    padding-top: 8px !important;
    padding-bottom: 10px !important;         /* button 10px from the bottom (mobile) */
  }
  .slide-roast .slideContent button,
  .slide-seafood .slideContent button,
  .slide-cheese .slideContent button {
    font-size: 15px !important;
  }

  /* roast */
  .slide-roast .slideContent.orange h1           { font-size: 46px !important; }
  .slide-roast .slideContent.orange p.p1         { font-size: 20px !important; }
  .slide-roast .slideContent.orange p.p2,
  .slide-roast .slideContent.orange p.p3         { font-size: 24px !important; }
  .slide-roast .slideContent.orange p.p4 span    { font-size: 17px !important; letter-spacing: -.3px; }
  .slide-roast .slideContent.orange h2           { font-size: 40px !important; }

  /* roast panel: height fits the content (no fixed 277px), fixed gaps instead of auto ones.
     This pulls the button up ~25px so it clears the bottom of the screen. */
  .slide-roast .slideContent.orange              { height: auto !important; }
  .slide-roast .slideContent.orange > p.p1       { margin-top: 8px !important; }       /* headline -> USDA Choice */
  .slide-roast .slideContent.orange > h2         { margin-top: 12px !important;        /* Chuck, Arm... -> price */
                                                   margin-bottom: 0 !important; }
  .slide-roast .slideContent.orange > a          { margin-top: 12px !important; }      /* price -> button */

  /* roast logos sit on the photo: bottom edge 10px above the photo's bottom (225px).
     top: 225px puts the logo's top edge at the photo's bottom; translateY(-100%) lifts it by its own
     height, -10px adds the gap. Works whatever the logo's height. */
  .slide-roast img.new_angus {
    top: 225px !important;
    bottom: auto !important;
    left: 10px !important;
    width: 120px !important;
    max-width: 120px !important;
    transform: translateY(calc(-100% - 10px));
  }
  .slide-roast img.new_right.smaller {
    top: 225px !important;
    bottom: auto !important;
    right: 10px !important;
    width: 85px !important;
    max-width: 85px !important;
    transform: translateY(calc(-100% - 10px));
  }

  /* seafood + cheese */
  .slide-seafood .slideContent.green h1        { font-size: 50px !important; }
  .slide-cheese .slideContent.purps h1         { font-size: 54px !important; }

  /* seafood + cheese panels: height fits the content (no fixed 277px), fixed gaps instead of auto ones,
     so the button moves up instead of sitting at the bottom of a tall box (same fix as the roast slide). */
  .slide-seafood .slideContent.green,
  .slide-cheese .slideContent.purps              { height: auto !important; }
  .slide-seafood .slideContent.green > h1,
  .slide-cheese .slideContent.purps > h1         { margin-top: 6px !important;         /* top of panel -> headline */
                                                   margin-bottom: 0 !important; }
  .slide-seafood .slideContent.green > a,
  .slide-cheese .slideContent.purps > a          { margin-top: 14px !important; }      /* headline -> button */
  .slide-seafood .slideContent.green > a         { margin-top: 26px !important; }      /* seafood headline is shorter (50px): lower button, panel matches cheese height */
}

/* ---------- slide 1 mobile (Logan, 12-01) ---------- */
@media screen and (max-width: 767px) {
  .slide-roast .slideContent.orange > h2 {
    margin-top: 12px !important;
    margin-bottom: -12px !important;
    font-size: 50px !important;
  }
  .slide-roast .slideContent.orange h1 {
    font-size: 54px !important;
  }
}
