/* hub-rest-tidy.css — Equipment, World Kitchens, Wine and Christmas hubs
   brought into the 4 Dec 2026 section-hub format (Healthy Eating / Know How KG-A).
   Preview 4 Dec 2026 (Europe/London), ?v=20261204-hr1. Scoped to body.hr-hub.
   Loaded after kh-thin-bars.css and japanese-hub.css, which supply the slim title
   bar, one-row menu bar and borderless mini cards. No shared CSS file is edited.
   Visitor copy must never say "card", "picture" or "These are...". */

/* ---- Title bar: 54px on phone and desktop (KG-A), count on the right, one line. */
html body.hr-hub.kh-thin .eo-mast,
html body.hr-hub.jh-body.kh-thin .eo-mast{
  height:54px !important;min-height:54px !important;box-sizing:border-box !important;
  border-top-width:3px !important;border-bottom-width:3px !important;overflow:visible !important}
html body.hr-hub.kh-thin .eo-mast .eo-wrap,
html body.hr-hub.jh-body.kh-thin .eo-mast .eo-wrap{
  height:48px !important;min-height:48px !important;padding:0 16px !important;
  align-items:center !important;position:relative;overflow:visible}
html body.hr-hub.jh-body.kh-thin .eo-mast .eo-brand img,
html body.hr-hub.jh-body.kh-thin .eo-mast:has(.eo-brand) .eo-brand img{
  height:32px !important;max-width:38px !important;width:auto !important;object-fit:contain !important}
html body.hr-hub.jh-body.kh-thin .eo-mast .eo-count{right:16px}
@media (max-width:620px){
  html body.hr-hub.kh-thin .eo-mast,
  html body.hr-hub.jh-body.kh-thin .eo-mast{border-top-width:2px !important;border-bottom-width:2px !important}
  html body.hr-hub.kh-thin .eo-mast .eo-wrap,
  html body.hr-hub.jh-body.kh-thin .eo-mast .eo-wrap{height:50px !important;min-height:50px !important;padding:0 12px !important}
  html body.hr-hub.jh-body.kh-thin .eo-mast .eo-brand{min-height:44px}
  html body.hr-hub.jh-body.kh-thin .eo-mast .eo-brand img,
  html body.hr-hub.jh-body.kh-thin .eo-mast:has(.eo-brand) .eo-brand img{height:30px !important;max-width:36px !important}
  html body.hr-hub.jh-body.kh-thin .eo-mast .eo-count{right:12px !important}
}
/* Christmas keeps its green bar and motif; only the height and layout follow the standard. */
html body.hr-hub .eo-mast.eo-mast--xmas .eo-brand b{color:#fff;text-shadow:3px 3px 0 rgba(0,0,0,.45)}
html body.hr-hub .eo-mast.eo-mast--xmas .eo-count{color:#fff;text-shadow:2px 2px 0 rgba(0,0,0,.45)}
html body.hr-hub .eo-mast.eo-mast--xmas svg{max-height:46px}

/* ---- Page text: black, 16px phone / 17px desktop (as Healthy Eating). */
body.hr-hub main{color:#000}
body.hr-hub main .jh-desc{font-size:16px;color:#000}

/* ---- Single intro heading, 14px phone / 15px desktop, bold. */
body.hr-hub .hub-intro{display:block;margin:2px 0 10px;padding:8px 0 10px;border:0;background:none}
body.hr-hub .hub-intro-h{
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:700;font-style:normal;
  font-size:14px;line-height:1.3;color:#16141f;margin:0 0 6px;letter-spacing:normal;text-transform:none}
body.hr-hub .hub-intro p{margin:0 0 .7em;max-width:46rem;font-size:16px;line-height:1.55;color:#000}
body.hr-hub .hub-intro p:last-child{margin-bottom:0}

/* ---- Group headings with the thick line ("Find a guide", as Know How / Healthy Eating). */
body.hr-hub .hr-h2,
body.hr-hub h2.hr-h2{
  font:800 1.7rem/1.1 "CO Title","Arial Black",sans-serif;border:0;border-bottom:4px solid #16141f;
  padding:0 0 6px;margin:18px 0 12px;color:#16141f;letter-spacing:normal;text-transform:none;
  background:none;text-shadow:none}
body.hr-hub .hub-intro + section .hr-h2,
body.hr-hub .hub-intro + * > .hr-h2:first-child{margin-top:4px}
/* Smaller sub-heading (no line) for the extras under the guides. */
body.hr-hub .hr-h3,
body.hr-hub h2.hr-h3{font:800 1.15rem/1.2 "CO Title","Arial Black",sans-serif;margin:16px 0 6px;color:#16141f;border:0;padding:0;background:none}

/* ---- Mini cards: four across on desktop, two on phones (Healthy Eating). */
@media (min-width:620px){body.hr-hub .hr-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:860px){body.hr-hub .hr-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
body.hr-hub .hr-cards{margin-bottom:12px}

/* ---- Notes and disclaimers: plain text under the guides, no box, border or tint. */
body.hr-hub .hr-note{background:none;border:0;padding:0;box-shadow:none;margin:10px 0 14px;max-width:46rem;font-size:15px;color:#2b2933}
body.hr-hub .hr-note a{color:inherit}

/* ---- No borders on the older blocks kept under the guides. */
body.hr-hub .p2-principles li,
body.hr-hub .p2-pairings li{border:0;background:none;padding:0;margin:0 0 14px;box-shadow:none}
body.hr-hub .p2-note{background:none;border:0;padding:0;margin:0 0 1rem}
body.hr-hub .p2-section{max-width:46rem}
body.hr-hub .p2-section#grape-guides{max-width:none}
body.hr-hub .p2-prose p, body.hr-hub .p2-section p, body.hr-hub .p2-pairings p, body.hr-hub .p2-principles li{font-size:16px;line-height:1.55}
body.hr-hub .p2-section h3{font:800 1.1rem/1.2 "CO Title","Arial Black",sans-serif;margin:1.1rem 0 .4rem}
body.hr-hub .eo-shop *, body.hr-hub .eo-shop .amazon-disclosure{border:0 !important;box-shadow:none !important}
body.hr-hub .eo-box{border:0 !important;box-shadow:none !important;background:none !important;padding-left:0 !important;padding-right:0 !important}
body.hr-hub #did-you-know, body.hr-hub #chef-col-joke{border:0;background:none;box-shadow:none;padding-left:0;padding-right:0}
@media (min-width:700px){
  body.hr-hub .hub-intro-h{font-size:15px}
  body.hr-hub .hub-intro{padding:8px 0 12px}
}
@media (min-width:760px){
  body.hr-hub .hub-intro p, body.hr-hub main .jh-desc,
  body.hr-hub .p2-prose p, body.hr-hub .p2-section p, body.hr-hub .p2-pairings p, body.hr-hub .p2-principles li{font-size:17px}
}
@media (max-width:699px){
  body.hr-hub .hr-h2, body.hr-hub h2.hr-h2{font-size:1.35rem}
}

/* ---- Bottom row: Recipe of the day + favourite dishes, then two themed books.
   Side by side on desktop (one row), stacked on phones. */
body.hr-hub .hr-more{display:grid;grid-template-columns:1fr;gap:4px 28px;margin:18px 0 8px}
@media (min-width:860px){body.hr-hub .hr-more{grid-template-columns:1fr 1fr}}
body.hr-hub .hr-more .hr-h2{margin-top:6px}
body.hr-hub .hr-more .jh-cards{grid-template-columns:repeat(2,minmax(0,1fr)) !important;margin-bottom:8px}
body.hr-hub .hr-more .jh-img{aspect-ratio:4/3}
body.hr-hub .hr-more ul.hub-books-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px 16px;margin-top:0}
body.hr-hub .hr-more .hub-books-cover{position:relative;display:block;height:auto;aspect-ratio:4/3;background:#f6f4ef;border-radius:10px;overflow:hidden}
body.hr-hub .hr-more .hub-books-cover picture{position:absolute;inset:8px;display:flex;align-items:center;justify-content:center;max-height:none;width:auto;height:auto}
body.hr-hub .hr-more .hub-books-cover img{display:block;max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;object-position:center}
body.hr-hub .hr-more .hub-books-ct{padding:8px 10px 0}
body.hr-hub .hr-more .hub-books-ct span{font-size:16px;line-height:1.45;color:#000}
@media (min-width:760px){body.hr-hub .hr-more .hub-books-ct span{font-size:17px}}
@media (max-width:619px){
  body.hr-hub .hr-more .jh-img{aspect-ratio:8/3}
  body.hr-hub .hr-more .hub-books-cover{aspect-ratio:4/3}
  body.hr-hub .hr-more .hub-books-ct span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  body.hr-hub .hr-more .hub-books-ct{padding:6px 8px 0}
  body.hr-hub .hr-more .hub-books-ct strong{font-size:1em}
}

/* ------------------------------------------------------------------ */
/* Books worth owning — borderless mini cards (from hub-section-tidy.css, KH preview)                       */
/* ------------------------------------------------------------------ */
.hub-books .hub-books-grid,
ul.hub-books-grid{
  list-style:none;
  margin:8px 0 12px;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap:14px 16px;
  align-items:start;
}
.hub-books-grid > li{
  margin:0;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
}
.hub-books-grid > li > a{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-decoration:none;
  color:inherit;
  border:0;
  box-shadow:none;
  background:none;
  padding:0;
}
.hub-books-grid > li > a:hover .hub-books-ct strong,
.hub-books-grid > li > a:focus-visible .hub-books-ct strong{
  text-decoration:underline;
}
.hub-books-cover{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  height:150px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.hub-books-cover picture,
.hub-books-cover img{
  display:block;
  max-height:150px;
  width:auto;
  max-width:100%;
  height:auto;
  object-fit:contain;
  object-position:bottom center;
  border:0;
  box-shadow:none;
  background:transparent;
}
.hub-books-ct{padding:6px 0 0}
.hub-books-ct strong{
  display:block;
  font-family:"CO Title","Arial Black",sans-serif;
  font-weight:800;
  font-size:.98rem;
  line-height:1.15;
  color:#222;
  margin:0 0 2px;
}
.hub-books-ct span{
  display:block;
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-weight:400;
  font-size:.76rem;
  line-height:1.25;
  color:#2b2933;
}
.hub-books .kh-btn{margin-top:4px}

@media (min-width:700px){
  .hub-books-cover{height:180px}
  .hub-books-cover picture,
  .hub-books-cover img{max-height:180px}
  .hub-books .hub-books-grid,
  ul.hub-books-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:16px 18px;
  }
}

@media (max-width:640px){
  .hub-books .hub-books-grid,
  ul.hub-books-grid{grid-template-columns:1fr 1fr;gap:12px}
}

