/* Draft slides 2026-11-16 — one of each color:
     BUTTER (green)  |  BROWN OR POWDERED SUGAR (purple)  |  PUMPKIN PIE (orange)

   Rules:
   - Scoped by slide class (.slide-butter / .slide-sugar / .slide-pumpkin), not position (.slide1..3),
     so they keep working however the blocks are ordered in text.php.
   - Backgrounds use the site's own .slidebackN classes (order in text.php: 1 butter, 2 sugar, 3 pumpkin).
     The site puts slidebackN on the whole slide on desktop and on the .mobslideN div on mobile, so the
     photo sits ABOVE the text panel on mobile at the site's normal mobile image size.
     If you reorder the slides, swap the image URLs in slideback1/2/3 to match.
   - NO LINE WRAPS: every h1 / p line / h2 is white-space: nowrap, and sizes are chosen to fit the
     45%-wide desktop panel (522px) and the full-width mobile panel (335px x 767px slides), measured
     in a wide bold fallback font, so the site's own font has extra room.
   Paste into the week's slides.css; copy butter-rolls-small.jpg, butter-mobile-335.webp, sugar-pies-1.webp,
   pumpkin-pie.jpg into the week folder.
*/

/* ---------- SHARED BASE (copied from the current week, 2026-11-04/slides.css) ----------
   Every weekly slides.css starts with these. Without them the panel falls back to the site
   default (~55% / 638px instead of 45% / 522px). */
.slideContent {
  height: 320px;
  width: 45%;                                 /* 522px at 1160 */
  margin: 100px auto !important;
}
.slideContent {
  background-color: rgba(255, 255, 255, .85) !important;   /* semi-translucent panel */
}
.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;
}
.purps a {
  z-index: 9999;
  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;
  }
  .slide-butter .slideContent.green button {
    border: 3px solid #67bd4a !important;
    font-size: 20px !important;
    margin: 0px auto 25px 0!important;
  }
  .slick-dots {
    top: 20px !important;
  }
}

/* ---------- backgrounds ---------- */
.slideback1 {                                /* slide 1 = BUTTER: rolls + smaller EE butter boxes (2023-11-15/slide1.jpg) */
  background-image: url(butter-rolls-small.jpg);   /* was butter-rolls.webp (2026-04-06 export, bigger boxes) */
  background-position: center bottom;
  background-size: cover;
}
.slideback2 {                                /* slide 2 = SUGAR: pies + EE sugar bags (2026-11-04/slide1.webp) */
  background-image: url(sugar-pies-1.webp);
  background-position: center bottom;
  background-size: cover;
}
.slideback3 {                                /* slide 3 = PUMPKIN: pie slice + pumpkins (2024-09-18/slide3.jpg) */
  background-image: url(pumpkin-pie.jpg);
  background-position: right bottom;
  background-size: cover;
}
div.slide-sugar {
  position: relative;                         /* anchor for the Mix or Match badge */
}

/* ---------- shared: one line per line, no decorative :after on spans ---------- */
.slide-butter .slideContent h1, .slide-butter .slideContent p, .slide-butter .slideContent p span, .slide-butter .slideContent h2,
.slide-sugar  .slideContent h1, .slide-sugar  .slideContent p, .slide-sugar  .slideContent h2, .slide-sugar .slideContent h3, .slide-sugar span.no_after,
.slide-pumpkin .slideContent h1, .slide-pumpkin .slideContent p, .slide-pumpkin .slideContent p span, .slide-pumpkin .slideContent h2,
.slide-butter .slideContent button, .slide-sugar .slideContent button, .slide-pumpkin .slideContent button {
  white-space: nowrap !important;             /* each <br>-separated line stays on one line */
}
.slide-butter  .slideContent p span:after,
.slide-pumpkin .slideContent p span:after,
.slide-butter h2 span:after, .slide-sugar h2 span:after, .slide-pumpkin h2 span:after,
.slide-sugar span.no_after:after,
.slide-sugar .mixmatch-badge span:after {
  display: none !important;
  content: '' !important;
}

/* ---------- BUTTER (green) — sizes from 2026-04-06 ---------- */
.slide-butter .slideContent.green h1,
.slide-butter .slideContent.green h2,
.slide-butter .slideContent.green button {
  color: #67bd4a !important;
}
.slide-butter .slideContent.green h1 {
  font-size: 47px !important;                 /* "BETTER WITH BUTTER" — sized to stay inside the 522px panel (50px ran past it) */
  line-height: 1em !important;
  letter-spacing: -1.5px;
  padding-top: 8px !important;
  margin-bottom: 2px !important;              /* small optical offset so the h1->p gap matches the others */
}
.slide-butter .slideContent.green p {
  font-size: 30px !important;
  line-height: 1.05em !important;
  margin: 0 !important;
}
/* The three lines (Essential Everyday / Sweet Cream Butter / 1 lb Quarters...) had different font sizes
   sharing ONE line box set by the <p>, so the <p>'s line-height (not the strong's) controlled spacing,
   and the small 25px line sat low in its box, leaving a bigger gap above it.
   Fix: each line is its own block with its own line-height, and the <br>s are dropped.
   To tighten/loosen a line, edit ONLY that line's line-height below. */
.slide-butter .slideContent.green p br     { display: none; }
.slide-butter .slideContent.green p strong,
.slide-butter .slideContent.green p span   { display: block; }
.slide-butter .slideContent.green p        { line-height: 1.1em !important; }   /* line 1: Essential Everyday (30px) */
.slide-butter .slideContent.green p strong { font-size: 32px !important; line-height: 1.1em !important; }   /* line 2 */
.slide-butter .slideContent.green p span   { font-size: 25px !important; line-height: 1.1em !important; }   /* line 3 */
.slide-butter .slideContent.green h2 {
  font-size: 55px !important;
  line-height: 1em !important;
  margin: 1px auto -6px !important;
}


/* ---------- BUTTER + PUMPKIN panel layout ----------
   Column flexbox inside the fixed-height (320px) panel:
   - justify-content: space-between puts the h1 at the top, the button row at the bottom,
     and gives EQUAL gaps between h1 -> p -> h2 -> button.
   - padding-bottom is the button's distance from the bottom of the panel: 19px desktop, 10px mobile.
   - Child margins are zeroed above so only the flex gaps control spacing. */
.slide-butter .slideContent.green,
.slide-pumpkin .slideContent.orange {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 320px;
  padding-bottom: 19px !important;            /* button 19px from the bottom (desktop) */
}
.slide-butter .slideContent.green > a,
.slide-pumpkin .slideContent.orange > a {
  display: block;
  margin: 0 !important;
  line-height: 0;                             /* no extra line box under the button */
}

/* ---------- BROWN OR POWDERED SUGAR (purple) — sizes from 2026-11-04 ---------- */
.slide-sugar .slideContent.purps h1,
.slide-sugar .slideContent.purps h2,
.slide-sugar .slideContent.purps h3,
.slide-sugar .slideContent.purps a {
  color: #ba006e !important;
}
.slide-sugar .slideContent.purps h1 {
  font-size: 52px !important;                 /* "START YOUR OVENS!" — one line (was 48px) */
  line-height: 1.1em;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.slide-sugar .slideContent.purps p {
  font-size: 22px !important;                 /* "Essential Everyday" / "2 lb, Selected Varieties" (was 29px) */
  line-height: 1.1em;
  padding: 0 5%;
  color: black !important;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}
.slide-sugar .slideContent.purps p strong { font-size: 31px !important; }  /* "Brown or Powdered Sugar" */
.slide-sugar .slideContent.purps h2 {
  font-size: 50px !important;
  line-height: .8em !important;
  margin-top: 10px !important;
  margin-bottom: -10px !important;
}
.slide-sugar span#with1.smaller { font-size: 20px; }
.slide-sugar h2 span.cent {                   /* "99¢": cent sign ~half size, on the baseline with the numbers */
  font-size: 55% !important;
  vertical-align: baseline;
  margin-left: 1px;
  display: inline !important;
}
.slide-sugar .festival_one_card { max-width: 120px !important; vertical-align: middle; }
.slide-sugar .slideContent.purps h3 {          /* "LIMIT 4" */
  font-weight: 700 !important;
  font-size: 26px !important;
  margin-top: -1px !important;
  margin-bottom: 0 !important;
}
.slide-sugar span.no_after { font-size: 21px !important; }   /* "without card 2.14" */
.slide-sugar .slideContent.purps button {
  color: #ba006e !important;
  border-color: #ba006e !important;
  margin-top: 12px;
  margin-bottom: 15px;
}

/* SUGAR desktop: column layout; the button row sits 8px below "without card" */
@media screen and (min-width: 768px) {
  .slide-sugar .slideContent.purps {
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    height: 320px;
    padding-bottom: 19px !important;          /* button 19px from the bottom (desktop) */
  }
  .slide-sugar .slideContent.purps > br { display: none; }   /* the <br> after "without card" is not needed in column layout */
  .slide-sugar .slideContent.purps > a {
    margin-top: 8px !important;
    display: block;
    line-height: 0;
  }
  .slide-butter .slideContent.green button {
    border: 3px solid #67bd4a !important;
    font-size: 20px !important;
    margin-top: -20px;
 }
  .slide-sugar .slideContent.purps button { margin: 0 !important; }
}

/* Mix or Match! badge — dark purple circle, white gap, teal ring, as in the print ad */
.slide-sugar .mixmatch-badge {
  position: absolute;
  left: 40px;
  bottom: 40px;                               /* aligns with the bottom of the sugar packages */
  z-index: 5;
  width: 110px;                               /* was 140px */
  height: 110px;
  border-radius: 50%;
  background: #3b1f45;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #5bc0c4;
  color: #fff;
  font-weight: 800;
  font-size: 21px;                            /* was 27px, scaled with the badge */
  line-height: 1.05;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slide-sugar .mixmatch-badge span {
  display: block;
  white-space: nowrap;                        /* "Mix or" / "Match!" are two deliberate lines, never wrapped */
}

/* ---------- PUMPKIN PIE (orange) — sizes from 2024-09-18 ---------- */
.slide-pumpkin .slideContent.orange h1,
.slide-pumpkin .slideContent.orange h2,
.slide-pumpkin .slideContent.orange button {
  color: #eb7203 !important;
}
.slide-pumpkin .slideContent.orange button {
  color: #eb7203 !important;
  border: solid #eb7203;
}
.slide-pumpkin .slideContent.orange h1 {
  font-size: 66px;                            /* "FRESH BAKED" — measured to fit one line */
  line-height: 1em !important;
  padding-top: 8px !important;
  margin-bottom: 3px !important;              /* small optical offset so the h1->p gap matches the others */
}
.slide-pumpkin .slideContent.orange p {
  font-size: 28px !important;
  line-height: 1.05em !important;
  /* margin: 0 !important; */
  margin-top: 15px;
}
.slide-pumpkin .slideContent.orange p strong { font-size: 34px !important; line-height: 1.05em !important; }
.slide-pumpkin .slideContent.orange p span   { font-size: 22px !important; }  /* "8 inch" */
.slide-pumpkin .slideContent.orange h2 {
  font-size: 55px !important;
  line-height: 1em !important;
  margin: .em !important;                     /* NOTE: ".em" is not valid CSS, so browsers ignore this line */
}

/* ---------- mobile: full-width panel, so text shrinks to stay on one line ---------- */
@media screen and (max-width: 767px) {
  /* photo block above the text (site moves slidebackN onto .mobslideN on mobile) */
  .slideback1 { background-image: url("butter-mobile-335.webp"); background-position: center center; background-size: cover; }   /* mobile only: 670x450 (2x of the 335x225 photo area) — buttered roll from 2025-11-19/slide1.webp with the EE butter boxes (2026-10-07/butterpackages.png) placed fully inside the frame */
  .slideback2 { background-image: url("sugar-pies-1.webp");   background-position: right center; }   /* keeps sugar bags in frame */
  .slideback3 { background-image: url("pumpkin-pie.jpg");   background-position: 62% center; }     /* centred on the pie slice */
  .slide-butter .slideContent.green button {
  	border: 3px solid #67bd4a !important;
	font-size: 16px !important;
   /* margin: 0 !important; */
   }
  /* Mobile target: 335px wide x 767px tall slides.
     The photo area above the text is 335x225. The default 320px panel pushed the buttons below the screen, so the
     butter and sugar panels are 277px tall on mobile with the button pinned to the bottom.
     (Pumpkin keeps Logan's own values: its 52px button margin lifts the button into view instead.) */
  .slide-butter .slideContent.green,
  .slide-pumpkin .slideContent.orange { padding-bottom: 10px !important; }   /* button 10px from bottom on mobile */
  /* butter */
  .slide-butter .slideContent.green          { height: 277px !important; }   /* whole slide fits 767px tall; button pinned to bottom by the flex layout */
  .slide-butter .slideContent.green h1       { font-size: 36px !important; margin-top: 1px !important; margin-bottom: 0 !important; }  /* was 29px */
  .slide-butter .slideContent.green p        { font-size: 24px !important; line-height: 1.05em !important; }
  .slide-butter .slideContent.green p strong { font-size: 28px !important; line-height: 1.05em !important; }
  .slide-butter .slideContent.green p span   { font-size: 18px !important; }
  .slide-butter .slideContent.green h2       { font-size: 45px !important; margin: 0 !important; }

  /* sugar (values set by Logan) */
  .slide-sugar .slideContent.purps h1        {font-size: 38px !important;margin-top: 2px !important;margin-bottom: 3px !important;}
  .slide-sugar .slideContent.purps p         { font-size: 22px !important; line-height: 1em !important; padding: 0; }
  .slide-sugar .slideContent.purps p strong  { font-size: 24px !important; }
  .slide-sugar .slideContent.purps h2        {font-size: 48px !important;margin-top: 6px !important;margin-bottom: -15px !important;}
  .slide-sugar .festival_one_card            {width: 76px !important;height: auto !important;margin-left: 5px;}
  .slide-sugar span#with1.smaller            { font-size: 19px !important; }
  .slide-sugar span.no_after                 { font-size: 18px !important; }
  .slide-sugar .slideContent.purps h3        { font-size: 22px !important; margin-top: 0 !important; }   /* LIMIT 4: no gap above */
  /* sugar panel: fits the screen, button pinned 10px from the bottom */
  .slide-sugar .slideContent.purps {
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    height: 277px !important;
    padding-bottom: 10px !important;
  }
  .slide-sugar .slideContent.purps > br { display: none; }
  .slide-sugar .slideContent.purps > a  {margin-top: auto !important;display: block;line-height: 0;margin-bottom: 12px !important;}
  .slide-sugar .slideContent.purps button { margin: 0 !important; }
  .slide-sugar .mixmatch-badge {             /* smaller, over the top-left of the photo block */
    width: 86px; height: 86px;
    font-size: 17px;
    left: 15px; top: 15px; bottom: auto;
    border-width: 3px; box-shadow: 0 0 0 3px #5bc0c4;
  }

  /* pumpkin (values set by Logan) */
  .slide-pumpkin .slideContent.orange h1       { font-size: 52px !important; margin-top: -6px !important; margin-bottom: 0 !important; }  /* fits 335px */
  .slide-pumpkin .slideContent.orange p        { font-size: 24px !important; line-height: 1.05em !important; }
  .slide-pumpkin .slideContent.orange p        { margin: 0 !important; }   /* cancels the desktop margin-top: 15px on mobile */
  .slide-pumpkin .slideContent.orange p strong { font-size: 27px !important; line-height: 1.05em !important; }
  .slide-pumpkin .slideContent.orange p span   { font-size: 24px !important; }
  .slide-pumpkin .slideContent.orange h2       { font-size: 45px !important; margin: 0 !important; }
  .slide-pumpkin .slideContent.orange button {
  	border: 3px solid #eb7203 !important;
  	font-size: 12px !important;
  	margin: -9px auto 66px auto !important;
  }


  .slide-butter .slideContent button,
  .slide-pumpkin .slideContent button { font-size: 16px !important; }
  /* Button text lives in <button><span>…</span></button>. The site's main stylesheet sizes that inner
     span, so font-size on the button alone does nothing — set it on both, with high specificity. */
  .slide-sugar .slideContent.purps a button,
  .slide-sugar .slideContent.purps a button span { font-size: 14px !important; }
  .slide-butter .slideContent.green a button span,
  .slide-pumpkin .slideContent.orange a button span { font-size: inherit !important; }   /* span follows the button size */
}

/* ---------- Logan's overrides (desktop only) ----------
   Same sizes Logan set, written against the slide classes instead of page-position selectors
   (html > body > div:nth-of-type(11)... / #slider > div > div > ...), so they keep working
   if the page markup or slider order changes. */
@media screen and (min-width: 768px) {
  /* slide 1 = butter paragraph */
  .slide-butter .slideContent.green p        { font-size: 25px !important; }
  .slide-butter .slideContent.green p strong { font-size: 30px !important; }
  .slide-butter .slideContent.green p span   { font-size: 24px !important; line-height: 1.2em !important; }
  /* slide 3 = pumpkin "8 inch" */
  .slide-pumpkin .slideContent.orange p span { font-size: 25px !important; }
}
