/*
Theme Name: Morley Market Cafe
Author: Morley Market Cafe
Description: Welcoming cafe theme with editable menu, offers, festive specials and contact pages.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: morley-market-cafe
License: GPL-2.0-or-later
*/
:root{--ink:#233c32;--green:#244c3e;--cream:#fffaf0;--red:#a84732;--gold:#eaba65;--line:#deded1}*{box-sizing:border-box}body{margin:0;font:17px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--cream)}a{color:inherit}img{max-width:100%;height:auto}.wrap{max-width:1160px;margin:auto;padding:0 26px}.noticebar{background:var(--green);color:white;text-align:center;padding:8px 20px;font-size:14px}.nav{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-top:24px;padding-bottom:24px}.brand{font:700 28px/1.1 Georgia,serif;text-decoration:none}.brand small{display:block;font:600 11px/1.5 system-ui;letter-spacing:.2em;text-transform:uppercase;margin-top:5px}.navlinks{display:flex;gap:22px;flex-wrap:wrap;align-items:center}.navlinks a{text-decoration:none;font-size:15px;font-weight:650}.button{display:inline-block;text-decoration:none;padding:12px 22px;border:0;border-radius:6px;background:var(--red);color:white;font-weight:700;font-size:16px;cursor:pointer}.button.alt{background:var(--green)}.hero{padding:42px 0 75px}.heroGrid{display:grid;grid-template-columns:1fr 48%;gap:60px;align-items:center}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:var(--red)}h1,h2,h3{font-family:Georgia,serif;line-height:1.12}h1{font-size:clamp(43px,5.4vw,74px);font-weight:500;letter-spacing:-.035em;margin:16px 0 25px}h1 em{color:var(--red);font-style:italic}h2{font-size:clamp(30px,3.5vw,46px);font-weight:500;margin:0 0 18px}h3{font-size:25px;margin:0 0 10px}.lead{font-size:19px;color:#566b5e;max-width:640px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.foodPhoto{background-image:url('assets/cafe-food.png');background-size:200% 200%;background-repeat:no-repeat;background-color:#dccba9}.heroPhoto{height:470px;border-radius:180px 180px 12px 12px;background-position:0 0;position:relative}.photoLabel{position:absolute;left:-20px;bottom:30px;background:var(--gold);color:#3e3321;padding:19px 26px;transform:rotate(-4deg);border-radius:6px;font-family:Georgia,serif;font-size:25px;box-shadow:0 10px 25px #223a3220}.strip{background:#f2e5cb;padding:19px}.strip .wrap{display:flex;justify-content:space-around;gap:20px;flex-wrap:wrap;font-weight:650}.section{padding:72px 0}.sectionHead{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.sectionHead p{max-width:430px;color:#566b5e}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card .foodPhoto{height:210px}.cardBody{padding:25px}.card p{color:#566b5e}.offer{background:var(--green);color:white;padding:35px;border-radius:12px}.offer h3{font-size:29px}.offer p{color:#e3ecdf}.offer .tag{display:block;color:var(--gold);font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin-bottom:18px}.offer .button{background:var(--gold);color:#283c2d}.pageHead{background:#f2e5cb;padding:38px 0}.pageHead h1{font-size:52px;margin:12px 0}.pageMain{padding:60px 26px 80px;min-height:380px}.pageMain h2{margin-top:42px}.pageMain h2:first-child{margin-top:0}.menuColumns{display:grid;grid-template-columns:1fr 1fr;gap:40px}.menuGroup{break-inside:avoid}.menuItem{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.menuItem strong{font-size:17px}.menuItem small{display:block;color:#637265;font-size:14px}.menuItem b{white-space:nowrap;color:var(--red)}.draftNote{padding:15px 18px;background:#fff;border-left:4px solid var(--gold);font-size:14px;margin:20px 0}.contactGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.formPanel{background:white;padding:30px;border:1px solid var(--line);border-radius:12px}label{display:block;font-size:15px;font-weight:650;margin-bottom:17px}input,textarea{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #a9b8aa;border-radius:5px;font:inherit}textarea{min-height:150px}.footer{background:#1d382e;color:#eff3e9;padding:48px 0 22px}.footerGrid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer a{color:inherit}.footer p{max-width:440px}.fine{font-size:13px;opacity:.8}.content a:not(.button){text-underline-offset:3px}.wp-block-image img{border-radius:10px}.error{color:#a12d25}.success{background:#edf4de;padding:16px;border-radius:6px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b27023;outline-offset:4px}.alignwide{max-width:1160px}.alignfull{width:100%}@media(max-width:850px){.nav{flex-direction:column;align-items:flex-start}.heroGrid{gap:30px;grid-template-columns:1fr 1fr}.heroPhoto{height:380px}.cards{grid-template-columns:1fr 1fr}.menuColumns{gap:25px}}@media(max-width:620px){.wrap{padding:0 20px}.navlinks{gap:12px}.navlinks a{font-size:14px}.heroGrid,.menuColumns,.contactGrid,.cards{grid-template-columns:1fr}.hero{padding-top:26px;padding-bottom:45px}.heroPhoto{height:340px}.photoLabel{left:12px}.section{padding:45px 0}.sectionHead{display:block}.pageHead h1{font-size:42px}.pageMain{padding:40px 20px}.menuItem{gap:10px}.strip .wrap{justify-content:flex-start}.offer{padding:25px}}
/* Preserve the original food-photo proportions in each tile. */
.heroPhoto,.card .foodPhoto{height:auto;aspect-ratio:3/2}.content>.foodPhoto{height:auto!important;aspect-ratio:3/2;width:100%}
