/*
Theme Name: Cozinha Manezinha
Theme URI: https://cozinhamanezinha.com.br/
Author: Cozinha Manezinha
Author URI: https://cozinhamanezinha.com.br/
Description: Tema editorial leve para receitas, técnicas e histórias culinárias da Cozinha Manezinha.
Version: 1.6.2
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: cozinha-manezinha
*/

:root {
  --ink: #153f3b;
  --sea: #174c47;
  --sea-2: #0d3834;
  --coral: #d66f4b;
  --cream: #f3eddf;
  --paper: #fffdf8;
  --mint: #dbe9e2;
  --sand: #e8ddc8;
  --muted: #657874;
  --line: #d8d8ce;
  --white: #fff;
  --max: 1220px;
  --reading: 760px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--paper); background-image: radial-gradient(circle at 12% 18%, rgba(219,233,226,.34), transparent 26rem), radial-gradient(circle at 88% 42%, rgba(232,221,200,.28), transparent 30rem); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.shell-wide { width: min(1420px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: -1000px; top: 12px; z-index: 100000; background: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; background: rgba(255,253,248,.86); border-bottom: 1px solid rgba(21,63,59,.14); box-shadow: 0 8px 28px rgba(21,63,59,.035); backdrop-filter: blur(18px) saturate(135%); -webkit-backdrop-filter: blur(18px) saturate(135%); z-index: 50; }
.header-inner { width: min(var(--max), calc(100% - 48px)); min-height: 92px; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-seal { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sea); color: #fff; font-family: var(--serif); font-size: 1.02rem; box-shadow: inset 0 0 0 4px var(--sea), inset 0 0 0 5px #ffffff66, 0 7px 20px rgba(21,63,59,.12); transition: transform .45s cubic-bezier(.2,.75,.25,1), box-shadow .45s; }
.brand:hover .brand-seal { transform: rotate(-7deg) scale(1.04); box-shadow: inset 0 0 0 4px var(--sea), inset 0 0 0 5px #ffffff77, 0 10px 28px rgba(21,63,59,.2); }
.brand-copy { line-height: 1.05; }
.brand-copy strong { display: block; font-family: var(--serif); font-size: 1.24rem; font-weight: 400; }
.brand-copy small { display: block; color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .18em; margin-top: .34rem; }
.main-navigation { display: flex; justify-content: center; }
.cm-menu { display: flex; justify-content: center; gap: clamp(1rem,2vw,1.9rem); align-items: center; margin: 0; padding: 0; list-style: none; }
.cm-menu a { position: relative; display: block; padding: .75rem .05rem; color: #234d49; font: 400 1.01rem/1.2 var(--serif); letter-spacing: .012em; text-decoration: none; transition: color .25s, transform .25s; }
.cm-menu a::after { content: ""; position: absolute; left: 50%; bottom: .38rem; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--coral), transparent); transform: translateX(-50%) scaleX(0); transform-origin: center; transition: transform .3s cubic-bezier(.2,.75,.25,1); }
.cm-menu a:hover, .cm-menu .current-menu-item a { color: var(--coral); transform: translateY(-1px); }
.cm-menu a:hover::after, .cm-menu .current-menu-item a::after { transform: translateX(-50%) scaleX(1); }
.header-search { display: flex; gap: .5rem; align-items: center; border: 0; background: none; color: var(--ink); font: 400 .94rem var(--serif); cursor: pointer; transition: color .25s, transform .25s; }
.header-search:hover { color: var(--coral); transform: translateY(-1px); }
.header-search span { display: inline-block; font: 400 1.3rem var(--sans); transition: transform .3s; }
.header-search:hover span { transform: rotate(-10deg) scale(1.08); }
.menu-button { display: none; }
.header-search-panel { border-top: 1px solid var(--line); background: rgba(243,237,223,.96); padding: 1.4rem 0; animation: cmPanel .28s ease both; }
.header-search-panel[hidden] { display: none; }
.cm-search-form { display: flex; width: 100%; border-bottom: 1px solid currentColor; }
.cm-search-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; padding: 1rem .2rem; outline: none; font: 400 clamp(1.05rem,2vw,1.45rem) var(--serif); }
.cm-search-form button { border: 0; background: none; color: inherit; padding: .8rem 0 .8rem 1rem; font-size: .76rem; font-weight: 800; cursor: pointer; }

.eyebrow { margin: 0 0 1rem; display: flex; align-items: center; gap: .65rem; color: var(--coral); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #f3b29c; }
.kicker { display: inline-block; color: var(--coral); font-size: .64rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; text-decoration: none; }
.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .92rem 1.35rem; text-decoration: none; font-size: .8rem; font-weight: 750; border: 1px solid transparent; box-shadow: 0 9px 25px rgba(21,63,59,.08); transition: transform .3s cubic-bezier(.2,.75,.25,1), background .25s, box-shadow .3s; }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.24) 48%, transparent 75%); transform: translateX(-120%); transition: transform .65s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(21,63,59,.16); }
.button:hover::before { transform: translateX(120%); }
.button-primary { background: var(--sea); color: #fff; }
.button-primary:hover { background: var(--sea-2); }
.button-cream { background: var(--cream); color: var(--ink); }
.text-action { border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); padding: .75rem .1rem; font-size: .78rem; font-weight: 750; cursor: pointer; transition: color .25s, border-color .25s, transform .25s; }
.text-action:hover { color: var(--coral); border-color: var(--coral); transform: translateX(3px); }

.blog-hero { position: relative; isolation: isolate; min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 5rem; padding-block: 5.2rem 6.5rem; }
.blog-hero::before { content: ""; position: absolute; width: 410px; height: 410px; left: -300px; top: 13%; z-index: -1; border: 1px solid rgba(23,76,71,.14); border-radius: 50%; box-shadow: 0 0 0 38px rgba(23,76,71,.025), 0 0 0 82px rgba(214,111,75,.018); }
.blog-hero::after { content: ""; position: absolute; width: 9px; height: 9px; left: 45%; top: 16%; z-index: -1; border-radius: 50%; background: var(--coral); box-shadow: 24px 38px 0 -2px rgba(214,111,75,.38), -18px 72px 0 -3px rgba(23,76,71,.28); }
.blog-hero-copy h1, .section-heading h2, .blog-search-band h2, .archive-hero h1, .island-callout h2, .newsletter-note h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.blog-hero-copy h1 { max-width: 760px; font-size: clamp(3.6rem, 6.6vw, 6.6rem); }
.blog-hero-copy h1 em { color: var(--coral); font-weight: 400; }
.blog-hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 1.7rem 0 0; color: #526a66; font-size: 1.08rem; line-height: 1.75; }
.blog-hero-actions { display: flex; gap: 1.4rem; align-items: center; margin-top: 2.2rem; }
.blog-feature-wrap { min-width: 0; }
.blog-feature { position: relative; transition: transform .6s cubic-bezier(.2,.75,.25,1); }
.blog-feature:hover { transform: translateY(-7px); }
.blog-feature::before { content: ""; position: absolute; inset: -20px 20px 70px 0; z-index: -1; border: 1px solid #aec3ba; border-radius: 48% 48% 8px 8px; transition: inset .6s cubic-bezier(.2,.75,.25,1), border-color .4s; }
.blog-feature:hover::before { inset: -27px 27px 77px -7px; border-color: rgba(214,111,75,.6); }
.blog-feature-media { display: block; margin-left: 7%; overflow: hidden; border-radius: 48% 48% 8px 8px; background: var(--mint); }
.blog-feature-media img, .media-placeholder-tall { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.feature-card { position: absolute; left: -2.4rem; right: 3rem; bottom: -2.8rem; padding: 1.4rem 4rem 1.4rem 1.5rem; border-left: 4px solid var(--coral); background: var(--cream); box-shadow: 0 16px 40px #173d3a1a; }
.feature-card h2 { margin: .45rem 0; font: 400 1.55rem/1.1 var(--serif); }
.feature-card h2 a { text-decoration: none; }
.feature-card p { margin: .35rem 0 0; color: var(--muted); font-size: .8rem; }
.arrow-link { position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; text-decoration: none; }
.blog-feature-empty { min-height: 510px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; padding: 4rem; border-radius: 48% 48% 8px 8px; background: var(--cream); text-align: center; }
.blog-feature-empty::before { inset: -20px 20px 20px -20px; }
.blog-feature-empty h2 { max-width: 420px; margin: .6rem auto; font: 400 2.5rem/1.04 var(--serif); }
.blog-feature-empty p { max-width: 430px; margin-inline: auto; color: var(--muted); }
.empty-seal { width: 126px; height: 126px; display: grid; place-items: center; border: 1px solid #a9beb5; border-radius: 50%; font: 400 2.5rem var(--serif); box-shadow: inset 0 0 0 9px var(--cream), inset 0 0 0 10px #a9beb5, 0 18px 45px rgba(21,63,59,.08); animation: cmFloat 5s ease-in-out infinite; }

.quick-nav { border-block: 1px solid var(--line); background: #faf7ef; }
.quick-nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 1.65rem; flex-wrap: wrap; }
.quick-nav span { color: var(--coral); font: 400 1rem var(--serif); }
.quick-nav a { padding: .38rem .72rem; border: 1px solid transparent; border-radius: 999px; font-size: .73rem; font-weight: 750; text-decoration: none; transition: background .25s, border-color .25s, transform .25s; }
.quick-nav a:hover { border-color: rgba(21,63,59,.18); background: #fff; transform: translateY(-2px); }

.blog-search-band { position: relative; overflow: hidden; padding: 5rem 0; background: radial-gradient(circle at 85% 20%, rgba(219,233,226,.15), transparent 26rem), linear-gradient(125deg, var(--sea-2), var(--sea)); color: #fff; }
.blog-search-band::after { content: ""; position: absolute; width: 320px; height: 320px; right: -150px; bottom: -250px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025); }
.blog-search-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 6rem; align-items: end; }
.blog-search-band h2 { font-size: clamp(2.7rem, 4.8vw, 5rem); }
.blog-search-band .cm-search-form { color: #fff; border-color: #8eaaa4; }
.blog-search-band .cm-search-form input::placeholder { color: #b9cdc8; }

.blog-feed, .archive-feed, .related-posts { padding-block: 7rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(3rem, 5vw, 5rem); }
.section-heading.compact h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.recipe-card { min-width: 0; border: 1px solid var(--line); background: rgba(255,255,255,.9); box-shadow: 0 8px 26px rgba(21,63,59,0); transition: transform .35s cubic-bezier(.2,.75,.25,1), border-color .35s, box-shadow .35s; }
.recipe-card:hover { transform: translateY(-7px); border-color: rgba(21,63,59,.22); box-shadow: 0 22px 48px rgba(21,63,59,.11); }
.recipe-card .media { display: block; overflow: hidden; background: var(--mint); }
.recipe-card .media img, .media-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1), filter .5s; }
.recipe-card:hover .media img { transform: scale(1.045); filter: saturate(1.06); }
.media-placeholder { display: grid; place-items: center; background: linear-gradient(140deg, #dbe9e2, #f3eddf); }
.media-placeholder b { width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid #8fac9f; border-radius: 50%; font: 400 1.7rem var(--serif); }
.recipe-content { padding: 1.35rem; }
.recipe-card h2 { margin: .6rem 0; font: 400 1.55rem/1.16 var(--serif); }
.recipe-card h2 a { text-decoration: none; }
.recipe-card p { min-height: 3.8em; margin: .7rem 0; color: var(--muted); font-size: .82rem; }
.card-meta { display: flex; gap: 1rem; margin-top: 1.15rem; padding-top: .9rem; border-top: 1px solid var(--line); color: #758783; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.empty-state { max-width: 720px; margin: 2rem auto; padding: 4rem 2rem; border: 1px solid var(--line); background: #fff; text-align: center; }
.empty-state > span { color: var(--coral); font: 400 2rem var(--serif); }
.empty-state h2, .empty-state h3 { margin: .8rem 0; font: 400 2.4rem/1.05 var(--serif); }
.empty-state p { color: var(--muted); }

.island-callout { position: relative; overflow: hidden; padding: 5.5rem 0; background: radial-gradient(circle at 5% 10%, rgba(214,111,75,.16), transparent 24rem), var(--sea-2); color: #fff; }
.island-callout-inner { display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 4rem; align-items: center; }
.island-callout h2 { font-size: clamp(3.2rem, 5.5vw, 5.5rem); }
.island-callout p { max-width: 520px; color: #c8dbd6; }
.newsletter-note { max-width: 900px; padding-block: 7rem; text-align: center; }
.future-label { color: var(--coral); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.newsletter-note h2 { margin: .6rem 0 1rem; font-size: clamp(3rem, 5vw, 5rem); }
.newsletter-note p { max-width: 640px; margin-inline: auto; color: var(--muted); }
.newsletter-note small { display: inline-block; margin-top: 1rem; font: italic 1rem var(--serif); }

.archive-hero { padding-block: 6.5rem 4rem; border-bottom: 1px solid var(--line); }
.archive-hero h1 { max-width: 1000px; font-size: clamp(3.5rem, 7vw, 7rem); }
.archive-hero > p:not(.eyebrow), .archive-description { max-width: 700px; margin-top: 1.5rem; color: var(--muted); font-size: 1.05rem; }
.search-hero .cm-search-form { max-width: 760px; margin-top: 2.5rem; }
.nav-links { display: flex; justify-content: center; gap: .6rem; margin-top: 3rem; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--sea); color: #fff; border-color: var(--sea); }

.article-header { max-width: 1000px; padding-block: 5.5rem 3.2rem; text-align: center; }
.breadcrumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.article-header h1 { max-width: 960px; margin: .8rem auto 1.4rem; font: 400 clamp(3.3rem, 6vw, 6rem)/.98 var(--serif); letter-spacing: -.04em; }
.article-dek { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.article-meta { display: flex; justify-content: center; gap: .8rem 1.5rem; flex-wrap: wrap; margin-top: 2rem; color: #71847f; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.article-meta a { color: inherit; text-underline-offset: .2rem; }
.article-meta span + span::before { content: "•"; margin-right: 1.5rem; color: var(--coral); }
.article-hero { margin-bottom: 4rem; }
.article-hero img { width: 100%; max-height: 840px; object-fit: cover; }
.article-hero figcaption { margin-top: .6rem; color: var(--muted); font-size: .7rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) minmax(220px, 1fr); justify-content: center; gap: 6rem; align-items: start; }
.article-main { min-width: 0; }
.entry-content { color: #263f3b; font-size: 1.04rem; line-height: 1.82; }
.entry-content > * { max-width: var(--reading); }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 2.6rem 0 1rem; color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.12; }
.entry-content h2 { font-size: 2.35rem; }
.entry-content h3 { font-size: 1.7rem; }
.entry-content a { text-decoration-color: var(--coral); text-underline-offset: .2rem; }
.entry-content img { border-radius: 2px; }
.entry-content blockquote { margin: 2.5rem 0; padding: 1.6rem 2rem; border-left: 4px solid var(--coral); background: var(--cream); font: italic 1.35rem/1.55 var(--serif); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.entry-content th, .entry-content td { padding: .85rem; border: 1px solid var(--line); text-align: left; }
.article-aside { position: sticky; top: 2rem; }
.aside-card { padding: 2rem; border: 1px solid var(--line); background: #fff; }
.aside-card .eyebrow { margin-bottom: .9rem; }
.aside-card h2 { margin: 0 0 .8rem; font: 400 1.8rem/1.05 var(--serif); }
.aside-card p { margin: 0; color: var(--muted); font-size: .78rem; }
.recipe-box { margin: 0 0 3.5rem; padding: 2.3rem; border: 1px solid #bccbc4; background: #f8f3e9; box-shadow: 12px 12px 0 var(--mint); }
.recipe-box-head { display: flex; justify-content: space-between; gap: 2rem; align-items: start; padding-bottom: 1.5rem; border-bottom: 1px solid #c9c9bb; }
.recipe-box h2 { margin: .45rem 0 0; font: 400 2rem/1.05 var(--serif); }
.print-button { border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: .55rem .9rem; color: var(--ink); font-size: .7rem; font-weight: 750; cursor: pointer; }
.recipe-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 1.3rem 0; border-bottom: 1px solid #c9c9bb; }
.recipe-facts div { padding: 0 .8rem; border-right: 1px solid #c9c9bb; }
.recipe-facts div:first-child { padding-left: 0; }
.recipe-facts div:last-child { border-right: 0; }
.recipe-facts dt { color: var(--muted); font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.recipe-facts dd { margin: .2rem 0 0; font: 400 1rem var(--serif); }
.recipe-columns { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; padding-top: 1.7rem; }
.recipe-columns h3 { margin: 0 0 1rem; font: 400 1.45rem var(--serif); }
.recipe-columns ul, .recipe-columns ol { margin: 0; padding-left: 1.3rem; }
.recipe-columns li { margin-bottom: .75rem; font-size: .84rem; }
.article-tags { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .72rem; }
.article-tags span { margin-right: .5rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.article-tags a { display: inline-block; margin-right: .5rem; }
.brand-signature { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin-top: 4rem; padding: 2rem; background: var(--sea); color: #fff; }
.brand-signature .brand-seal { background: var(--cream); color: var(--sea); }
.brand-signature h2 { margin: 0; font: 400 1.5rem var(--serif); }
.brand-signature p { margin: .35rem 0; color: #c8dbd6; font-size: .78rem; }
.brand-signature a { color: #fff; font-size: .72rem; }
.related-posts { margin-top: 5rem; border-top: 1px solid var(--line); }

.standard-page { max-width: 860px; padding-block: 6rem; }
.standard-page header { margin-bottom: 3rem; }
.standard-page h1 { margin: 0; font: 400 clamp(3.5rem, 6vw, 6rem)/.98 var(--serif); }
.not-found { max-width: 860px; padding-block: 8rem; text-align: center; }
.not-found-code { display: block; color: var(--mint); font: 400 clamp(7rem, 18vw, 14rem)/.7 var(--serif); }
.not-found .eyebrow { justify-content: center; margin-top: 2rem; }
.not-found h1 { margin: .8rem 0; font: 400 clamp(3rem, 6vw, 5.5rem)/1 var(--serif); }
.not-found > p { color: var(--muted); }
.not-found .cm-search-form { margin: 2rem auto; }
.not-found-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.5rem; }
.not-found-links > a:not(.button) { font-size: .78rem; font-weight: 700; text-underline-offset: .25rem; }

.site-footer { margin-top: 0; padding: 5rem 0 1.5rem; background: #0c302d; color: #dce9e5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr .8fr; gap: 4rem; }
.site-footer .brand-seal { background: #e9efe9; color: var(--sea); }
.site-footer .brand-copy strong { color: #fff; }
.footer-brand > p { max-width: 320px; margin-top: 1.5rem; color: #8fa9a3; font-size: .78rem; }
.footer-grid h2 { margin: 0 0 1rem; color: #fff; font: 400 1rem var(--serif); }
.footer-grid > div:not(:first-child) a { display: block; margin: .7rem 0; color: #9cb3ae; font-size: .74rem; text-decoration: none; }
.footer-grid > div:not(:first-child) a:hover { color: #fff; }
.footer-note span { display: block; color: #ef9e81; font: 400 1.3rem var(--serif); }
.footer-note p { color: #8fa9a3; font-size: .7rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 4rem; padding-top: 1.3rem; border-top: 1px solid #ffffff1c; color: #718c87; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }

/* Identidade oficial Cozinha Manezinha. */
.brand-logo { display: block; width: auto; height: 78px; max-width: 210px; object-fit: contain; transition: transform .38s cubic-bezier(.2,.75,.25,1), filter .38s; }
.brand:hover .brand-logo { transform: translateY(-2px); filter: drop-shadow(0 8px 14px rgba(21,63,59,.12)); }
.site-footer .brand { display: inline-flex; width: max-content; padding: .35rem .65rem; background: #f7f1e6; border-radius: 3px; }
.site-footer .brand-logo { height: 74px; max-width: 200px; }
.brand-signature-logo { display: block; width: 220px; height: auto; padding: .4rem .6rem; border-radius: 3px; background: var(--cream); }

.alignwide { width: min(1000px, 100vw - 48px); max-width: none !important; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none !important; margin-left: 50%; transform: translateX(-50%); }

@keyframes cmRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cmPanel { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cmFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }

.motion-ready .blog-hero-copy { animation: cmRise .72s .05s cubic-bezier(.2,.75,.25,1) both; }
.motion-ready .blog-feature-wrap { animation: cmRise .8s .18s cubic-bezier(.2,.75,.25,1) both; }
.motion-ready .reveal-target { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.motion-ready .reveal-target.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(214,111,75,.42); outline-offset: 4px; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto auto auto; gap: 1rem; }
  .main-navigation { display: none; position: absolute; left: 24px; right: 24px; top: 92px; padding: 1.3rem; border: 1px solid var(--line); background: rgba(255,253,248,.98); box-shadow: 0 20px 48px #123a3626; backdrop-filter: blur(18px); }
  .main-navigation.open { display: block; animation: cmPanel .28s ease both; }
  .cm-menu { align-items: stretch; flex-direction: column; gap: .2rem; }
  .cm-menu a { padding: .65rem; }
  .menu-button { display: flex; justify-self: end; flex-direction: column; gap: 4px; border: 0; background: none; padding: 12px; cursor: pointer; }
  .menu-button > span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ink); }
  .menu-button > span:not(.sr-only) { transition: transform .28s, opacity .2s; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header-search { justify-self: end; }
  .blog-hero { gap: 3rem; }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .article-aside { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-note { display: none; }
}

@media (max-width: 800px) {
  .shell, .shell-wide, .header-inner { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto; }
  .brand-logo { height: 62px; max-width: 165px; }
  .site-footer .brand-logo { height: 68px; max-width: 180px; }
  .header-search { display: none; }
  .main-navigation { top: 76px; left: 16px; right: 16px; }
  .blog-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 3.8rem 6rem; }
  .blog-hero-copy h1 { font-size: clamp(3.4rem, 13vw, 5.2rem); }
  .blog-feature-wrap { margin-top: 1rem; }
  .blog-feature-media { margin-left: 4%; }
  .blog-feature::before { inset: -12px 12px 54px 0; }
  .feature-card { left: 0; right: 1rem; }
  .quick-nav-inner { justify-content: flex-start; padding-block: 1.1rem; gap: .8rem 1.1rem; }
  .quick-nav-inner > span { width: 100%; }
  .blog-search-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-search-band { padding: 4rem 0; }
  .blog-feed, .archive-feed, .related-posts { padding-block: 5rem; }
  .section-heading { display: block; }
  .recipe-grid { grid-template-columns: 1fr 1fr; }
  .island-callout-inner { grid-template-columns: 1fr; gap: 1rem; }
  .article-header { padding-block: 4rem 2.5rem; }
  .article-header h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .article-hero { width: 100%; margin-bottom: 2.5rem; }
  .article-layout { width: min(100% - 32px, var(--max)); }
  .recipe-facts { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .recipe-facts div:nth-child(2) { border-right: 0; }
  .recipe-columns { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom p:last-child { display: none; }
}

@media (max-width: 520px) {
  .blog-hero-actions { align-items: flex-start; flex-direction: column; }
  .feature-card { position: relative; left: auto; right: auto; bottom: auto; margin: -2rem .75rem 0; }
  .blog-feature-empty { min-height: 440px; padding: 3rem 1.5rem; }
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-card p { min-height: 0; }
  .archive-hero { padding-block: 4.5rem 3rem; }
  .article-meta { gap: .5rem 1rem; }
  .article-meta span + span::before { margin-right: 1rem; }
  .recipe-box { padding: 1.4rem; box-shadow: 7px 7px 0 var(--mint); }
  .recipe-box-head { display: block; }
  .print-button { margin-top: 1rem; }
  .recipe-facts { grid-template-columns: 1fr; }
  .recipe-facts div { padding: .3rem 0; border-right: 0; }
  .brand-signature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .motion-ready .reveal-target { opacity: 1; transform: none; }
}

.affiliate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin: 2.4rem 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 10px;
  background: rgba(250, 247, 239, .78);
  box-shadow: 0 12px 30px rgba(21, 63, 59, .06);
}
.affiliate-card h2 { margin: .25rem 0 .35rem; font: 400 1.45rem/1.15 var(--serif); }
.affiliate-card p { margin: 0 0 .45rem; color: var(--muted); font-size: .9rem; }
.affiliate-card small { display: block; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.affiliate-label { color: var(--coral); font-size: .62rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.affiliate-card .button { white-space: nowrap; }

@media (max-width: 700px) {
  .affiliate-card { grid-template-columns: 1fr; }
  .affiliate-card .button { justify-self: start; white-space: normal; }
}

@media print {
  .top-note, .site-header, .site-footer, .article-header, .article-hero, .affiliate-card, .article-content, .article-aside, .brand-signature, .article-tags, .related-posts, .print-button { display: none !important; }
  body { background: #fff; color: #000; }
  .article-layout, .article-main { display: block; width: 100%; }
  .recipe-box { display: block; margin: 0; border: 0; box-shadow: none; background: #fff; }
}
