/* Nam Sushi & Asia — layout, components and subpages (tokens live in style.css :root).
   Warm Green & Ivory: light ivory ground, white cards, forest green for actions,
   body copy at 18px so older guests can read the menu without zooming. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; }
.eyebrow { font: 600 15px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* Buttons: rounded rectangles, large hit areas */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--radius-md); font: 600 18px/1 var(--sans); cursor: pointer; border: 2px solid var(--accent); transition: background var(--ease), color var(--ease), border-color var(--ease); }
.btn--solid { background: var(--accent); color: var(--on-accent); }
.btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--outline { background: var(--bg-raised); color: var(--accent); }
.btn--outline:hover { background: var(--sage); }
.btn--sm { height: 48px; padding-inline: 22px; font-size: 17px; }
.btn--lg { height: 58px; min-width: 240px; padding-inline: 32px; font-size: 19px; }
.btn i { font-size: 0.9em; }

/* Header: forest green bar with white logo and links */
.nav { position: relative; z-index: 20; background: var(--accent); color: var(--on-accent); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.nav__logo { display: flex; align-items: center; gap: 12px; font: 700 24px/1 var(--sans); letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap; }
.nav__logo img { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-raised); }
.nav__links { display: flex; align-items: center; gap: 28px; font: 500 18px/1 var(--sans); }
.nav__links a:not(.btn) { position: relative; padding-block: 8px; transition: opacity var(--ease); }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
/* The header order button inverts: white on the green bar, like the cart icon in the mockup. */
.nav .btn--solid { background: var(--bg-raised); border-color: var(--bg-raised); color: var(--accent); }
.nav .btn--solid:hover { background: var(--sage); border-color: var(--sage); }
.nav__toggle { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 8px; padding: 10px 8px; }
.nav__toggle span { display: block; height: 2px; background: var(--on-accent); transition: transform var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* Hero */
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; min-height: 600px; padding-block: 56px 80px; }
.hero__title { max-width: 580px; margin-top: 14px; font: 700 56px/1.12 var(--serif); letter-spacing: -0.015em; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__text { max-width: 500px; margin-top: 20px; color: var(--text-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 16px; color: var(--text-soft); }
.hero__facts i { margin-right: 6px; color: var(--accent); }
.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; padding-right: 64px; }
.hero__visual img { width: 100%; max-width: 540px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.hero__kanji { position: absolute; top: 0; right: 0; writing-mode: vertical-rl; font: 700 48px/1.3 var(--jp); letter-spacing: 0.25em; color: var(--accent); opacity: 0.85; }

/* Sections */
.section { position: relative; padding-block: 96px; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.section__head { display: grid; grid-template-columns: minmax(0, 474fr) minmax(0, 686fr); gap: 40px; align-items: start; margin-bottom: 48px; }
.section__title { font: 700 42px/1.18 var(--serif); letter-spacing: -0.01em; color: var(--text); }
.section__lead { color: var(--text-soft); }
.section__lead > * + * { margin-top: 14px; }
.watermark { position: absolute; z-index: 0; font: 400 220px/1 var(--jp); color: #efede5; pointer-events: none; user-select: none; white-space: nowrap; }
.watermark--right { top: 10px; left: 56%; }
.watermark--left { top: 60px; left: max(var(--gutter), calc(50% - 600px)); }
.watermark--vertical { top: 40px; left: max(var(--gutter), calc(50% - 600px)); writing-mode: vertical-rl; font-size: 210px; line-height: 1.05; }

/* Welcome: feature list */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-card); }
.feature i { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--sage); font-size: 22px; color: var(--accent); }
.feature h3 { margin-top: 18px; font: 700 22px/1.25 var(--serif); }
.feature p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--text-soft); }
.closing-line { margin-top: 40px; text-align: center; font: 600 24px/1.35 var(--serif); color: var(--accent); }

/* Specialties: staggered image cards with description */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-card:nth-child(even) { margin-top: 64px; }
.spec-card__media { position: relative; height: 360px; border-radius: var(--radius); overflow: hidden; }
.spec-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.spec-card:hover .spec-card__media img { transform: scale(1.04); }
.spec-card__media h3 { position: absolute; inset: auto 0 0; padding: 64px 22px 20px; font: 700 24px/1.2 var(--serif); color: #fff; background: linear-gradient(0deg, rgba(14, 26, 18, 0.85), transparent); }
.spec-card p { margin-top: 14px; padding-inline: 4px; font-size: 17px; line-height: 1.55; color: var(--text-soft); }

/* Menu preview: dish cards like the ordering mockup (photo left, name, text, price) */
.menu-cat { display: flex; flex-direction: column; align-items: center; margin: 40px auto 40px; text-align: center; }
.menu-cat__title { display: flex; align-items: center; gap: 28px; font: 700 34px/1.2 var(--serif); }
.menu-cat__title::before, .menu-cat__title::after { content: ""; width: 120px; height: 2px; background: var(--accent); opacity: 0.35; }
.menu-cat__jp { margin-top: 4px; font: 400 20px/1.2 var(--jp); color: var(--accent); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 56px; }
.dish { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-card); }
.dish img { order: -1; width: 132px; height: 132px; object-fit: cover; border-radius: var(--radius-md); }
/* Head is flattened so the price can drop below the description, as in the mockup. */
.dish__body { display: flex; flex-direction: column; min-width: 0; }
.dish__head { display: contents; }
.dish__head h4 { order: 1; font: 700 22px/1.25 var(--serif); }
.dish__rule { display: none; }
.dish p { order: 2; margin-top: 6px; font-size: 17px; line-height: 1.45; color: var(--text-soft); }
.dish .allergens { order: 3; }
.dish__price { order: 4; margin-top: 8px; font: 700 20px/1.2 var(--sans); color: var(--accent); white-space: nowrap; }
.allergens { display: inline-block; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Order options */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-card); }
.order-card:last-child { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.order-card i { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--sage); font-size: 24px; color: var(--accent); }
.order-card h3 { font: 700 30px/1.2 var(--serif); }
.order-card p { color: var(--text-soft); }
.order-card:last-child p { color: rgba(255, 255, 255, 0.9); }
.order-card:last-child .btn--solid { background: var(--bg-raised); border-color: var(--bg-raised); color: var(--accent); }
.order-card:last-child .btn--solid:hover { background: var(--sage); border-color: var(--sage); }
.order-card:last-child .btn--outline { background: transparent; border-color: var(--on-accent); color: var(--on-accent); }
.order-card__phone { font: 700 38px/1.1 var(--sans); color: var(--accent); transition: color var(--ease); }
.order-card__phone:hover { color: var(--accent-hover); }
.order-card .btn { margin-top: auto; }
.order-note { margin-top: 24px; text-align: center; font-size: 16px; color: var(--muted); }
.order-note i { margin-right: 6px; color: var(--accent); }

/* Visit / location */
.visit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.visit__photo { min-height: 460px; border-radius: var(--radius); overflow: hidden; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.info-card { display: flex; flex-direction: column; gap: 28px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-card); }
.info-card h3 { margin-bottom: 8px; font: 600 15px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.info-card address { font-style: normal; font: 600 24px/1.35 var(--serif); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 17px; }
.hours dt { color: var(--text-soft); }
.hours__closed { color: var(--warm); font-weight: 600; }
.info-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.info-card__actions .btn { min-width: 0; height: 52px; padding-inline: 24px; font-size: 18px; }
.social { display: flex; gap: 24px; font-size: 28px; }
.social a { transition: opacity var(--ease); }
.social a:hover { opacity: 0.75; }

/* Footer: forest green band, white text */
.footer { background: var(--bg-footer); color: var(--on-accent); padding-block: 88px 44px; }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.footer__title { font: 700 40px/1.2 var(--serif); }
.footer__sub { margin-top: 12px; color: #d5e3d3; }
.footer__cta .btn--lg { min-width: 190px; }
.footer .btn--solid { background: var(--bg-raised); border-color: var(--bg-raised); color: var(--accent); }
.footer .btn--solid:hover { background: var(--sage); border-color: var(--sage); }
.footer__info { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-block: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.footer__info h3 { margin-bottom: 10px; font: 600 17px/1.4 var(--sans); }
.footer__info p { font-size: 17px; line-height: 1.8; color: #d5e3d3; }
.footer__info a { text-decoration: underline; text-underline-offset: 3px; }
.footer__info a:hover { color: var(--on-accent); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 36px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px 32px; font: 600 18px/1 var(--sans); }
.footer__links a { transition: opacity var(--ease); }
.footer__links a:hover { opacity: 0.75; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; font-size: 15px; color: #d5e3d3; }
.footer__legal a:hover { color: var(--on-accent); text-decoration: underline; }

/* Tablet */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; font-size: 17px; }
  .nav__logo { font-size: 21px; }
  .hero__title { font-size: 46px; }
  .section__title, .footer__title { font-size: 38px; }
  .features, .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-card:nth-child(even) { margin-top: 0; }
  .spec-card:nth-child(2), .spec-card:nth-child(4) { transform: translateY(40px); }
  .spec-grid { margin-bottom: 40px; row-gap: 40px; }
  .menu-grid { grid-template-columns: 1fr; }
  .watermark { font-size: 160px; }
}

/* Mobile */
@media (max-width: 900px) {
  .nav__inner { height: 72px; }
  .nav__toggle { display: flex; }
  .nav__links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px var(--gutter) 28px; background: var(--accent); border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 20px; }
  .nav__links:not([data-open="true"]) { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 20px 40px; gap: 28px; }
  .hero__visual { order: -1; padding-right: 0; }
  .hero__visual img { max-width: none; }
  .hero__kanji { display: none; }
  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .order-grid, .visit { grid-template-columns: 1fr; }
  .visit__photo { min-height: 280px; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .nav__logo { font-size: 18px; }
  .nav__logo img { width: 36px; height: 36px; }
  .hero__title { font-size: 32px; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; height: 56px; padding-inline: 20px; }
  .section { padding-block: 60px; }
  .section__title, .footer__title { font-size: 30px; }
  .watermark, .watermark--vertical { font-size: 110px; top: 30px; left: 16px; }
  .features, .spec-grid { grid-template-columns: 1fr; }
  .spec-card:nth-child(2), .spec-card:nth-child(4) { transform: none; }
  .spec-grid { margin-bottom: 0; }
  .spec-card__media { height: 260px; }
  .menu-cat__title { font-size: 28px; }
  .menu-cat__title::before, .menu-cat__title::after { display: none; }
  .menu-grid { gap: 12px; }
  .dish { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .dish img { width: 104px; height: 104px; }
  .order-card, .info-card { padding: 28px 22px; }
  .order-card__phone { font-size: 32px; }
  /* Day above its times: two narrow columns would break each time range over three lines. */
  .hours { grid-template-columns: 1fr; gap: 0; }
  .hours dd + dt { margin-top: 10px; }
  .hours dd { font-weight: 500; }
  .btn--lg { min-width: 0; width: 100%; }
  .footer { padding-block: 60px 36px; }
  .footer__info { flex-direction: column; gap: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* Page hero shared by all subpages */
.page-hero { position: relative; padding-block: 64px 64px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--sage); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { margin-top: 12px; font: 700 60px/1.08 var(--serif); letter-spacing: -0.015em; }
.page-hero__title em { font-style: normal; color: var(--accent); }
.page-hero__lead { max-width: 640px; margin-top: 18px; color: var(--text-soft); }
.page-hero .watermark { top: 10px; left: auto; right: max(var(--gutter), calc(50% - 600px)); color: #dce8da; }

/* Full menu: sticky category chips */
.menu-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(250, 249, 245, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-nav__list { display: flex; gap: 8px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.menu-nav__list::-webkit-scrollbar { display: none; }
.menu-nav a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: var(--radius-md); background: var(--bg-raised); font-size: 17px; font-weight: 500; white-space: nowrap; transition: border-color var(--ease), color var(--ease), background var(--ease); }
.menu-nav a:hover { border-color: var(--accent); }
.menu-nav a[aria-current="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }

.menu-section { padding-block: 56px 8px; scroll-margin-top: 80px; }
.menu-section + .menu-section { border-top: 1px solid var(--line); }
.menu-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.menu-section__title { font: 700 36px/1.15 var(--serif); }
.menu-section__note { margin-top: 8px; font-size: 17px; color: var(--text-soft); }
.menu-section__img { flex: none; width: 200px; height: 120px; object-fit: cover; border-radius: var(--radius-md); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.menu-item__head { display: flex; align-items: baseline; gap: 12px; }
.menu-item__no { flex: none; width: 40px; font: 500 15px/1 var(--sans); color: var(--muted); }
.menu-item__name { font: 700 22px/1.3 var(--serif); }
.menu-item__price { margin-left: auto; padding-left: 12px; font: 700 20px/1.3 var(--sans); color: var(--accent); white-space: nowrap; }
.menu-item__desc { margin-top: 6px; padding-left: 52px; font-size: 18px; line-height: 1.5; color: var(--text-soft); }
.menu-item .allergens { padding-left: 52px; margin-top: 4px; }

.legend { margin-block: 72px 24px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.legend h2 { font: 700 28px/1.2 var(--serif); }
.legend__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; margin-top: 20px; }
.legend h3 { margin-bottom: 10px; font: 600 15px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.legend dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 16px; color: var(--text-soft); }
.legend dt { color: var(--accent); font-weight: 700; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; }
.form { display: flex; flex-direction: column; gap: 28px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-card); }
.form h2 { font: 700 30px/1.2 var(--serif); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 17px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--bg-raised); border: 1.5px solid #c9c7bc; border-radius: var(--radius-sm); color: var(--text); font: 400 18px/1.4 var(--sans); resize: vertical; transition: border-color var(--ease), box-shadow var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(32, 91, 57, 0.18); }
.field [aria-invalid="true"] { border-color: var(--warm); }
.field__error { min-height: 1.2em; font-size: 15px; font-weight: 500; color: var(--warm); }
.form__status { min-height: 1.5em; color: var(--accent); }
.form .btn { align-self: flex-start; }

/* Legal text */
.legal { max-width: 780px; padding-block: 64px 100px; }
.legal h2 { margin-top: 48px; font: 700 30px/1.2 var(--serif); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 28px; font: 700 22px/1.3 var(--serif); }
.legal p, .legal address { margin-top: 10px; font-style: normal; color: var(--text-soft); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font: 700 42px/1.18 var(--serif); }
.split__body p { margin-top: 16px; color: var(--text-soft); }
.split__body .btn { margin-top: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-list li { padding: 8px 16px; border-radius: var(--radius-full); background: var(--sage); color: var(--accent); font-size: 16px; font-weight: 500; }

@media (max-width: 900px) {
  .page-hero__title { font-size: 46px; }
  .menu-list, .legend__grid, .contact, .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split { gap: 32px; }
}

@media (max-width: 600px) {
  .page-hero { padding-block: 40px 44px; }
  .page-hero__title { font-size: 36px; }
  .menu-section { padding-block: 44px 0; }
  .menu-section__title { font-size: 30px; }
  .menu-section__img { display: none; }
  .form, .legend { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .split__body h2 { font-size: 32px; }
}
.section--tight { padding-block: 56px; }

/* WordPress helpers */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; word-wrap: normal; }
.screen-reader-text:focus { position: fixed; top: 16px; left: 16px; z-index: 100000; width: auto; height: auto; margin: 0; padding: 10px 16px; clip: auto; clip-path: none; border-radius: 8px; background: var(--accent); color: var(--on-accent); }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { margin-top: 8px; font-size: 15px; color: var(--muted); }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content ul, .entry-content ol { margin: 10px 0 0; padding-left: 24px; color: var(--text-soft); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 6px; }
.entry-content img { height: auto; border-radius: var(--radius-md); }
.entry-content blockquote { margin-top: 16px; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--text-soft); }
.entry-content strong { color: var(--text); font-weight: 600; }

/* Generic index/archive list */
.entry-list { display: grid; gap: 32px; padding-block: 64px 100px; }
.entry-list__item h2 { font: 700 30px/1.2 var(--serif); }
.entry-list__item h2 a:hover { color: var(--accent); }
.entry-list__item p { margin-top: 10px; color: var(--text-soft); }

/* Admin bar offset for the sticky category chips */
.admin-bar .menu-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .menu-nav { top: 46px; }
}

/* Footer legal links wrapper (flat anchors inside nav) */
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer__legal-links a:hover { color: var(--on-accent); text-decoration: underline; }
