/*
Theme Name: Daily Utensils
Theme URI: https://www.dailyutensils.com/
Author: Daily Utensils
Description: Steel-catalog layout for kitchen guides.
Version: 2.0.2
Requires at least: 6.4
Text Domain: dailyutensils
*/

:root {
  --ink: #14181f;
  --muted: #5c6570;
  --paper: #e7ebf0;
  --sheet: #f7f8fa;
  --line: #c5ced8;
  --cobalt: #163e78;
  --mark: #c4172a;
  --max: 1180px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.55 "Public Sans", "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); }
h1, h2, h3, .brand b, .idx b {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 0.95;
}
.band {
  background: var(--ink);
  color: #f4f6f8;
}
.band a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }
.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand { text-decoration: none; color: inherit; }
.brand b { font-size: 1.35rem; letter-spacing: 0.08em; }
.mast {
  background: var(--sheet);
  border-bottom: 4px solid var(--ink);
}
.mast-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 0;
}
.word {
  text-decoration: none;
  color: var(--ink);
}
.word b {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.02em;
}
.word span { color: var(--muted); font-size: 0.92rem; }
.find { display: flex; }
.find input {
  border: 2px solid var(--ink);
  background: #fff;
  padding: 10px 12px;
  width: 220px;
  font: inherit;
  border-radius: 0;
}
.find button {
  border: 2px solid var(--ink);
  border-left: 0;
  background: var(--mark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 0;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 14px;
}
.tabs a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 14px;
  border: 2px solid transparent;
  border-bottom: 0;
}
.tabs a[aria-current="page"] {
  background: var(--cobalt);
  color: #fff;
  border-color: var(--cobalt);
}
.stage {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 22px;
  padding: 22px 0 8px;
}
.feature { background: var(--sheet); border: 2px solid var(--ink); }
.feature img, .feature .ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #d5dbe3; }
.feature-copy { padding: 16px 16px 18px; }
.kicker {
  color: var(--mark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.feature h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 8px 0 10px; }
.feature h1 a, .cell h3 a, .idx a { color: inherit; text-decoration: none; }
.feature p { margin: 0; color: var(--muted); }
.index {
  border-top: 2px solid var(--ink);
}
.idx {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.idx b { font-size: 1.6rem; color: var(--cobalt); }
.idx small { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.idx strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; font-weight: 650; line-height: 1; }
.shelf { padding: 8px 0 28px; }
.shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 22px 0 12px;
}
.shelf-head h2 { margin: 0; font-size: 2rem; }
.shelf-head a {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.tiles, .cells { display: grid; gap: 10px; }
.tiles { grid-template-columns: repeat(4, 1fr); }
.tiles a {
  display: block;
  background: var(--cobalt);
  color: #fff;
  text-decoration: none;
  padding: 18px 14px 16px;
  min-height: 110px;
}
.tiles a:nth-child(even) { background: var(--ink); }
.tiles b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; line-height: 1; }
.tiles span { display: block; margin-top: 8px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cells { grid-template-columns: repeat(4, 1fr); }
.cell { background: var(--sheet); }
.cell img, .cell .ph { aspect-ratio: 1; object-fit: cover; width: 100%; background: #d5dbe3; }
.cell a,
.cell a:visited,
.cell h3 {
  color: var(--ink);
  text-decoration: none;
}
.cell h3 { margin: 0; padding: 10px 10px 12px; font-size: 1.25rem; }
.page-head, .sheet {
  background: var(--sheet);
  border: 2px solid var(--ink);
  margin: 22px auto 36px;
  padding: 18px 20px 24px;
}
.page-head h1, .sheet h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 8px 0 0; }
.article-hero { width: calc(100% + 40px); max-width: none; margin: 0 -20px 16px; aspect-ratio: 16/8; object-fit: cover; }
.prose h2 { font-size: 1.8rem; margin-top: 1.3em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px; text-align: left; }
.pager { display: flex; gap: 8px; margin-top: 16px; }
.pager a, .pager span {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 6px 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.foot {
  border-top: 4px solid var(--ink);
  padding: 16px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .stage, .tiles, .cells { grid-template-columns: 1fr 1fr; }
  .find { display: none; }
  .article-hero { width: 100%; margin: 0 0 16px; }
}
@media (max-width: 640px) {
  .stage, .tiles, .cells { grid-template-columns: 1fr; }
  .topline span { display: none; }
}
