/* Appliances restyle preview — 20261201-ar1
   Aligns Appliances with Knives / Pots & Pans / Kitchen Tools chrome,
   while keeping the 80×80 1:1 four-across card standard.
   Go-live 20261201-gl2a.
   */

/* Equipment homepage: show Knives, Pots & Pans and Kitchen Tools in the bar */
body.p2-hub--equipment .eo-subnav li:has(> a[href="/Knives/"]),
body.p2-hub--equipment .eo-subnav li:has(> a[href="/Knives/index.html"]),
body.p2-hub--equipment .eo-subnav li:has(> a[href="/Pans/Cookware.htm"]),
body.p2-hub--equipment .eo-subnav li:has(> a[href="/Utensils/"]),
body.p2-hub--equipment .eo-subnav li:has(> a[href="/Utensils/index.html"]){
  display:list-item !important;
}

/* Mast mark: same dotted tile as Kitchen Tools / Knives card backs, no wording */
.ap-page .eo-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.ap-mast-mark{
  flex:0 0 64px;
  width:64px;
  height:77px;
  box-sizing:border-box;
  border:3px solid var(--eo-ink,#16141f);
  background:#fff radial-gradient(rgba(10,123,214,.16) 1.3px,transparent 1.6px);
  background-size:9px 9px;
  box-shadow:3px 3px 0 var(--eo-ink,#16141f);
}

.ap-page main.ap-main,
.ap-page .p2-page{
  max-width:1180px;
  margin:0 auto;
  padding:8px 16px 48px;
}

/* Guide hero: match Whisks / Chef's knives (gd-hero + kicker + standfirst) */
.ap-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px 24px;
  align-items:start;
  margin:0 0 1rem;
}
.ap-hero header{min-width:0}
.ap-hero-tile{
  width:120px;
  height:120px;
  box-sizing:border-box;
  border:3px solid var(--eo-ink,#16141f);
  background:#fff radial-gradient(rgba(10,123,214,.16) 1.3px,transparent 1.6px);
  background-size:9px 9px;
  box-shadow:4px 4px 0 var(--eo-ink,#16141f);
}
@media (max-width:620px){
  .ap-hero{grid-template-columns:1fr}
  .ap-hero-tile{width:80px;height:80px}
}

.ap-main h2,
.ap-main .ap-h2,
.ap-main .eo-h2{
  scroll-margin-top:72px;
}
.ap-intro,
.ap-lede,
.ap-main .eo-standfirst{max-width:62ch}
.ap-main p,
.ap-main li{max-width:66ch}
.ap-note{font-size:.92rem;color:#3a3844}
.ap-panel{
  background:#fff;
  border:3px solid var(--eo-ink,#16141f);
  box-shadow:4px 4px 0 var(--eo-ink,#16141f);
  padding:4px 18px 12px;
  margin:0 0 1.2rem;
  max-width:46rem;
}
.ap-table-wrap{overflow-x:auto;margin:0 0 1.1rem}
.ap-main table{
  border-collapse:collapse;
  min-width:28rem;
  width:100%;
  max-width:46rem;
  font-size:.95rem;
}
.ap-main th,
.ap-main td{
  border:1px solid #d4d0c6;
  padding:.4rem .6rem;
  text-align:left;
  vertical-align:top;
}
.ap-main th{background:#f4efe2;font-weight:700}

/* Hub cards: 1:1 80×80, four across, image + label beside description.
   Ink border and shadow to sit with Knives / Kitchen Tools, not a thin grey box. */
.ap-cards{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px 16px;
  list-style:none;
  margin:0 0 1.4rem;
  padding:0;
  max-width:100%;
}
.ap-card{
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:10px;
  align-items:start;
  min-width:0;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border:3px solid var(--eo-ink,#16141f);
  box-shadow:4px 4px 0 var(--eo-ink,#16141f);
  padding:8px;
}
.ap-card:hover,
.ap-card:focus-within{
  transform:translate(-2px,-2px);
  box-shadow:6px 6px 0 var(--eo-ink,#16141f);
}
.ap-card:hover .ap-card-title,
.ap-card:focus-visible .ap-card-title{text-decoration:underline;text-decoration-color:var(--eo-burnt,#c2410c)}
.ap-card:focus-visible{outline:2px solid #16141f;outline-offset:2px}
.ap-card-img,
.ap-card-img--empty{
  width:80px;
  height:80px;
  aspect-ratio:1;
  object-fit:cover;
  display:block;
  box-sizing:border-box;
  background:#fff radial-gradient(rgba(10,123,214,.16) 1.3px,transparent 1.6px);
  background-size:9px 9px;
  border:2px solid var(--eo-ink,#16141f);
}
.ap-cards li:nth-child(3n+2) .ap-card-img--empty{
  background-image:radial-gradient(rgba(255,59,107,.18) 1.3px,transparent 1.6px);
}
.ap-cards li:nth-child(3n) .ap-card-img--empty{
  background-image:radial-gradient(rgba(194,65,12,.18) 1.3px,transparent 1.6px);
}
.ap-card-title{
  display:block;
  font:800 1.05rem/1.15 "CO Title","Arial Black",sans-serif;
  margin:0 0 .2rem;
}
.ap-card-desc{
  display:block;
  font-size:.86rem;
  line-height:1.35;
  font-style:normal;
}
.ap-card-kicker{
  display:block;
  font:600 .72rem/1.3 var(--eo-label,system-ui,sans-serif);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--eo-burnt,#c2410c);
  margin:0 0 .15rem;
}

.ap-slots{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
  margin:0 0 1.4rem;
}
.ap-slot{
  border:2px dashed #bfb9ac;
  background:#fffdf6;
  padding:12px 14px;
}
.ap-slot h3{margin:.2rem 0 .35rem}
.ap-slot p{margin:0;color:#5b5866;font-size:.95rem}

.ap-shop a{
  display:inline-block;
  font:600 15px system-ui,sans-serif;
  background:#16141f;
  color:#fff;
  text-decoration:none;
  padding:8px 14px;
  margin:0 8px 8px 0;
}
.ap-shop a:hover,
.ap-shop a:focus-visible{background:#c2410c;outline:none}
.ap-fine{font-size:.85rem;color:#5b5866;max-width:66ch}
.ap-joke,
.ap-dyk{
  background:#fff;
  border:3px solid var(--eo-ink,#16141f);
  box-shadow:4px 4px 0 var(--eo-ink,#16141f);
  padding:8px 18px 14px;
  margin:1.4rem 0;
  max-width:46rem;
}

.ap-main .gd-jump{margin:0 0 1.2rem}

/* In-guide type cards (hand mixer / tilt-head etc.) */
.ap-main ul.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));
  gap:14px;
  list-style:none;
  margin:0 0 1.2rem;
  padding:0;
}
.ap-main ul.grid > li{margin:0;max-width:none}
.ap-main ul.grid .card,
.ap-main ul.grid > li > span.card{
  display:block;
  height:100%;
  background:#fff;
  border:3px solid var(--eo-ink,#16141f);
  box-shadow:4px 4px 0 var(--eo-ink,#16141f);
  padding:10px 12px 12px;
}
.ap-main ul.grid .tag{
  display:block;
  font:600 .72rem/1.3 var(--eo-label,system-ui,sans-serif);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--eo-burnt,#c2410c);
  margin:0 0 .2rem;
}
.ap-main ul.grid strong{display:block;font:800 1.05rem/1.15 "CO Title","Arial Black",sans-serif;margin:0 0 .25rem}
.ap-main ul.grid .d{display:block;font-size:.93rem;line-height:1.45}

@media (max-width:799px){
  .ap-cards{grid-template-columns:1fr;gap:10px}
  .ap-card-desc{display:block}
}
@media (min-width:800px) and (max-width:1099px){
  .ap-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}


.ap-card,
.ap-card:link,
.ap-card:visited{
  color: var(--eo-ink,#16141f);
}
.ap-card-title{color:inherit}
.ap-card-desc{color:inherit}

.ap-hero .ap-nav,
.ap-intro .ap-nav{
  margin:.7rem 0 0;
  max-width:62ch;
  font-size:1.02rem;
  line-height:1.5;
}
