/*
Theme Name: May Kitchen
Theme URI: https://may.kitchen/
Author: Liam & ChatGPT
Author URI: https://may.kitchen/
Description: WordPress theme of May Kitchen Restaurant.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: may-kitchen
*/

:root {
  --may-page: #eeeae4;
  --may-surface: #f8f7f4;
  --may-card: #ffffff;
  --may-ink: #111111;
  --may-muted: #6d6b67;
  --may-accent: #ff8d47;
  --may-button: #352200;
  --may-width: 1024px;
  --may-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--may-page);
  color: var(--may-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--may-accent); outline-offset: 3px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.screen-reader-text:focus { clip: auto; clip-path: none; display: block; height: auto; left: 5px; top: 5px; width: auto; z-index: 100000; background: #fff; padding: 10px; }

.may-shell { max-width: var(--may-width); min-height: 100vh; margin: 0 auto; background: var(--may-surface); }
.may-site-header { min-height: 68px; padding: 15px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; }
.may-site-name { font-size: 21px; font-weight: 700; letter-spacing: -.04em; }
.may-order-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 27px; border-radius: 7px; background: var(--may-button); color: #fff; font-size: 16px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.may-order-button:hover { transform: translateY(-1px); background: #533700; }

.may-hero { position: relative; min-height: 420px; overflow: hidden; color: #fff; background: #203516 center/cover no-repeat; display: flex; align-items: end; }
.may-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.57), rgba(0,0,0,.12) 75%), linear-gradient(0deg, rgba(0,0,0,.28), transparent 58%); }
.may-hero__content { position: relative; width: min(74%, 680px); margin: 0 36px 51px; }
.may-hero__eyebrow { margin: 0 0 8px; font-size: 19px; font-weight: 400; }
.may-hero__title { margin: 0; font-size: clamp(36px, 4.25vw, 56px); line-height: 1.12; letter-spacing: -.055em; font-weight: 700; }

.may-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px 18px; padding: 50px 36px 57px; }
.may-post-card { overflow: hidden; border-radius: var(--may-radius); background: var(--may-card); min-width: 0; transition: transform .18s ease, box-shadow .18s ease; }
.may-post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(33, 26, 17, .1); }
.may-post-card__image { width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #d4d0ca; }
.may-post-card__image--placeholder { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #274120, #997d34); font-size: 18px; }
.may-post-card__body { padding: 17px 18px 27px; }
.may-post-card__title { margin: 0 0 3px; font-size: 20px; line-height: 1.26; letter-spacing: -.035em; }
.may-post-card__meta { margin: 0 0 8px; color: var(--may-accent); font-size: 16px; }
.may-post-card__excerpt { margin: 0 0 15px; color: #292725; font-size: 16px; line-height: 1.25; }
.may-read-more { color: var(--may-accent); font-size: 16px; }
.may-read-more:hover { text-decoration: underline; }
.may-empty { grid-column: 1 / -1; padding: 30px; text-align: center; }

.may-pagination { display: flex; justify-content: center; gap: 8px; padding: 0 36px 45px; }
.may-pagination .page-numbers { padding: 8px 12px; border-radius: 8px; background: #fff; }
.may-pagination .current { color: #fff; background: var(--may-button); }

.may-single-hero { height: 410px; background: #25351d center/cover no-repeat; }
.may-single-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(240px, .76fr); gap: 72px; padding: 48px 36px 70px; }
.may-category-label { margin: 0 0 8px; font-size: 17px; }
.may-article-title { margin: 0 0 20px; max-width: 660px; font-size: clamp(35px, 4.1vw, 51px); line-height: 1.15; letter-spacing: -.055em; }
.may-entry-content { font-size: 16px; line-height: 1.25; }
.may-entry-content > * { max-width: 620px; }
.may-entry-content p { margin: 0 0 18px; }
.may-entry-content h2, .may-entry-content h3 { margin: 31px 0 10px; line-height: 1.2; }
.may-entry-content h2 { font-size: 29px; letter-spacing: -.035em; }
.may-entry-content h3 { font-size: 23px; }
.may-entry-content ul, .may-entry-content ol { padding-left: 23px; }
.may-entry-content a { color: var(--may-accent); text-decoration: underline; }
.may-entry-content img { margin: 22px 0; border-radius: 12px; }
.may-related { padding-top: 30px; }
.may-related__title { margin: 0 0 14px; font-size: 20px; }
.may-related__list { list-style: none; padding: 0; margin: 0; }
.may-related__list li { margin: 0 0 16px; font-size: 18px; line-height: 1.22; }
.may-related__list a:hover { color: var(--may-accent); }
.may-related__empty { color: var(--may-muted); }

.may-page-content { padding: 55px 36px 70px; }
.may-page-content .entry-title { margin-top: 0; font-size: 44px; letter-spacing: -.05em; }
.may-site-footer { padding: 26px 36px; color: var(--may-muted); background: #fff; font-size: 14px; }

@media (max-width: 760px) {
  .may-shell { width: 100%; }
  .may-site-header { min-height: 62px; padding: 12px 20px; }
  .may-site-name { font-size: 18px; }
  .may-order-button { min-height: 35px; padding: 6px 18px; font-size: 14px; }
  .may-hero { min-height: 370px; }
  .may-hero__content { width: auto; margin: 0 24px 35px; }
  .may-hero__eyebrow { font-size: 16px; }
  .may-post-grid { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px 38px; }
  .may-post-card__image { aspect-ratio: 1.65; }
  .may-post-card__body { padding: 16px 18px 21px; }
  .may-single-hero { height: 260px; }
  .may-single-layout { grid-template-columns: 1fr; gap: 20px; padding: 30px 20px 42px; }
  .may-related { padding-top: 0; border-top: 1px solid #ddd8d0; }
  .may-page-content { padding: 35px 20px 45px; }
  .may-site-footer { padding: 22px 20px; }
}

@media (min-width: 761px) and (max-width: 920px) {
  .may-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .may-single-layout { gap: 36px; }
}
