/* Batch 2: year recall anchors, brew hub cards, typography-only hero. */
[id^="y-"] { scroll-margin-top: 88px; }
.years a[aria-current="true"], .years a.is-active { font-weight: 700; }
.ck-hero:not(:has(.ck-hero-bg)) { min-height: auto; }
.ck-hero:not(:has(.ck-hero-bg)) .ck-hero-in { padding-top: 2.2rem; padding-bottom: 2.2rem; }
.hm-choose.big .hm-cc .t { min-height: 4.5rem; }

/* Brew hub guide cards are text-only; do not depend on ck-home image grid.
   Scoped to .guides so the homepage .hm-choose.big image cards stay untouched. */
html body.ck-roast .hm-choose.guides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) {
  html body.ck-roast .hm-choose.guides {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }
}
html body.ck-roast .hm-choose.guides a.hm-cc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #E4D4BF;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  color: #1C1410 !important;
  min-height: 140px;
  padding: 18px 20px 20px;
  box-shadow: 0 2px 10px rgba(36, 23, 14, .06);
  transition: transform .15s, box-shadow .15s;
}
html body.ck-roast .hm-choose.guides a.hm-cc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(36, 23, 14, .14);
}
html body.ck-roast .hm-choose.guides a.hm-cc .t {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 0;
}
html body.ck-roast .hm-choose.guides a.hm-cc b {
  font-family: var(--ck-serif);
  font-size: 22px;
  line-height: 1.2;
  color: #1C1410;
}
html body.ck-roast .hm-choose.guides a.hm-cc span.d {
  font-size: 17px;
  line-height: 1.4;
  color: #5E4A3B;
}
html body.ck-roast .hm-choose.guides a.hm-cc span.go {
  font-size: 17px;
  font-weight: 700;
  color: #7A4A26;
  margin-top: 6px;
}

/* Pick cards: full-width horizontal on desktop, stacked on small screens. */
html body.ck-roast .picks:has(.pick-grid) {
  display: block !important;
  grid-template-columns: none !important;
}
html body.ck-roast .dc .picks {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important;
}
html body.ck-roast .pick {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
html body.ck-roast .pick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
html body.ck-roast .pick-grid > * {
  min-width: 0;
  max-width: 100%;
}
html body.ck-roast .pick-fig {
  margin: 0;
  width: 100%;
  background: var(--cream2, #f6f1ea);
  border-radius: 12px;
}
html body.ck-roast .pick-fig img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  background: var(--cream2, #f6f1ea);
  border-radius: 12px;
}
html body.ck-roast .pick-body,
html body.ck-roast .pick-body p,
html body.ck-roast .pick-body li,
html body.ck-roast .pick-body dd,
html body.ck-roast .pick-price .pp-x,
html body.ck-roast .pick-sum p {
  font-size: 16px;
  line-height: 1.45;
}
html body.ck-roast .pick-body .ps-h,
html body.ck-roast .pick-body .pc-h,
html body.ck-roast .pick-body dt {
  font-size: 16px;
  line-height: 1.4;
}

/* Mobile: stacked photo, full-width SHOP, 44px taps, no sideways scroll */
@media (max-width: 767px) {
  html body.ck-roast .pick-btns {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 12px;
  }
  html body.ck-roast .pick-btns .btn,
  html body.ck-roast .pick-btns a.ck-shop {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    justify-content: center;
  }
  html body.ck-roast .pick-fig img {
    max-height: 240px;
  }
  html body.ck-roast .kspecs {
    grid-template-columns: 1fr 1fr;
  }
}

/* 768px and up: photo left; title, why, price, likes, specs, and SHOP on the right */
@media (min-width: 768px) {
  html body.ck-roast .pick:has(.pick-fig) {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
  }
  html body.ck-roast .pick:has(.pick-fig) .pick-grid {
    display: contents;
  }
  html body.ck-roast .pick:has(.pick-fig) .pick-fig {
    grid-column: 1;
    grid-row: 1 / span 20;
    margin: 0;
  }
  html body.ck-roast .pick:has(.pick-fig) .pick-top,
  html body.ck-roast .pick:has(.pick-fig) .pick-t,
  html body.ck-roast .pick:has(.pick-fig) .pick-body {
    grid-column: 2;
  }
  html body.ck-roast .pick:has(.pick-fig) .pick-t {
    margin-top: 8px;
    margin-bottom: 10px;
  }
  html body.ck-roast .pick-fig img {
    max-height: 360px;
  }
}
@media (min-width: 1100px) {
  html body.ck-roast .pick:has(.pick-fig) {
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    column-gap: 28px;
  }
  html body.ck-roast .pick-fig img {
    max-height: 420px;
  }
}

/* Desktop utility link (Advertise) sits with the deal-alerts button. Hidden under 900px; hamburger already has Advertise. */
.ck-util {
  flex-shrink: 0;
  color: #EADBC6;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.ck-util:hover { background: #2C1B10; color: #fff; }
.ck-util[aria-current] { color: #fff; background: #2C1B10; box-shadow: inset 0 0 0 1px #5A3D24; }
@media (max-width: 900px) {
  .ck-util { display: none; }
}


/* Jeff Nov 15 2026: first-screen hero band
   Top bar plus hero must fit on the first screen at 1280x800 and on a 390 phone.
   Keep the original photo frame; CSS shows a wide band (height cap + object-position
   on the subject). Crop is top and bottom, not a pre-baked side crop of the subject. */
html body.ck-roast .ck-hero:has(.ck-hero-bg):not(.ck-hero-prod) {
  min-height: min(22rem, calc(100svh - 68px));
  max-height: calc(100svh - 68px);
  height: auto;
}
html body.ck-roast .ck-hero.ck-home-hero:has(.ck-hero-bg) {
  min-height: min(24rem, calc(100svh - 68px));
  max-height: calc(100svh - 68px);
}
html body.ck-roast .ck-hero:has(.ck-hero-bg):not(.ck-hero-prod) .ck-hero-in {
  padding-top: 20px;
  padding-bottom: 36px; /* room for the photo credit */
  box-sizing: border-box;
}
html body.ck-roast .ck-hero.ck-home-hero:has(.ck-hero-bg) .ck-hero-in {
  padding-top: 22px;
  padding-bottom: 36px;
}
@media (max-width: 900px) {
  html body.ck-roast .ck-hero:has(.ck-hero-bg):not(.ck-hero-prod),
  html body.ck-roast .ck-hero.ck-home-hero:has(.ck-hero-bg) {
    min-height: min(18rem, calc(100svh - 60px));
    max-height: calc(100svh - 60px);
  }
  html body.ck-roast .ck-hero:has(.ck-hero-bg):not(.ck-hero-prod) .ck-hero-in,
  html body.ck-roast .ck-hero.ck-home-hero:has(.ck-hero-bg) .ck-hero-in {
    padding-top: 16px;
    padding-bottom: 40px;
  }
}
html body.ck-roast .ck-hero.ck-hero-prod {
  min-height: 0;
  max-height: calc(100svh - 68px);
}
@media (max-width: 900px) {
  html body.ck-roast .ck-hero.ck-hero-prod {
    max-height: none;
  }
}

/* Subject-locked object-position for Jeff's Nov 15 hero picks. */
html body.ck-roast .ck-hero-bg.ck-pos-deerpeter img { object-position: 55% 48%; }
html body.ck-roast .ck-hero-bg.ck-pos-sander img { object-position: center 50%; }
html body.ck-roast .ck-hero-bg.ck-pos-chemex img { object-position: center 30%; }
html body.ck-roast .ck-hero-bg.ck-pos-jobaer img { object-position: 42% 42%; }
html body.ck-roast .ck-hero-bg.ck-pos-abdulrohmatt img { object-position: center 70%; }
html body.ck-roast .ck-hero-bg.ck-pos-kgbo img { object-position: 48% 32%; }
html body.ck-roast .ck-hero-bg.ck-pos-bex img { object-position: center 40%; }


/* Make <picture> fill the hero band so object-fit/object-position on the img still work. */
html body.ck-roast .ck-hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
/* Round 2 Crema heroes, 15 Nov 2026: subject-locked object-position (CSS band crop). */
html body.ck-roast .ck-hero-bg.ck-pos-crew img { object-position: center 36%; }
html body.ck-roast .ck-hero-bg.ck-pos-ngtghaivan img { object-position: 38% 45%; }
html body.ck-roast .ck-hero-bg.ck-pos-ashkan img { object-position: center 40%; }
html body.ck-roast .ck-hero-bg.ck-pos-hanny img { object-position: 42% 52%; }
html body.ck-roast .ck-hero-bg.ck-pos-nenad img { object-position: center 62%; }
html body.ck-roast .ck-hero-bg.ck-pos-sai img { object-position: center 58%; }
html body.ck-roast .ck-hero-bg.ck-pos-nate img { object-position: center 60%; }
html body.ck-roast .ck-hero-bg.ck-pos-naked img { object-position: 58% 28%; }
html body.ck-roast .ck-hero-bg.ck-pos-mahmoud img { object-position: center 32%; }
html body.ck-roast .ck-hero-bg.ck-pos-declan img { object-position: center 42%; }
html body.ck-roast .ck-hero-bg.ck-pos-earlybird img { object-position: 68% 62%; }
html body.ck-roast .ck-hero-bg.ck-pos-aaaatu img { object-position: center 55%; }
html body.ck-roast .ck-hero-bg.ck-pos-samlion img { object-position: 55% 45%; }
html body.ck-roast .ck-hero-bg.ck-pos-pavel img { object-position: 55% 50%; }
html body.ck-roast .ck-hero-bg.ck-pos-popo img { object-position: center 55%; }
html body.ck-roast .ck-hero-bg.ck-pos-jamesw img { object-position: 40% 42%; }
html body.ck-roast .ck-hero-bg.ck-pos-erick img { object-position: center 38%; }
html body.ck-roast .ck-hero-bg.ck-pos-kenya img { object-position: 48% 45%; }
html body.ck-roast .ck-hero-bg.ck-pos-tamper img { object-position: 58% 28%; }
html body.ck-roast .ck-hero-bg.ck-pos-baskets img { object-position: center 48%; }
html body.ck-roast .ck-hero-bg.ck-pos-angela img { object-position: center 42%; }
html body.ck-roast .ck-hero-bg.ck-pos-teal img { object-position: center 48%; }
html body.ck-roast .ck-hero-bg.ck-pos-tulip img { object-position: center 48%; }
