/*
 * This site uses its own semantic CSS rather than utility classes. Keeping the
 * stylesheet free of Tailwind's cascade layers and modern @property rules also
 * lets older Smart TV browsers parse the complete page instead of falling back
 * to unstyled HTML.
 */
:root {
  --cream: #fffaf1;
  --paper: #fffdf8;
  --wine: #6d1739;
  --wine-dark: #461027;
  --terracotta: #c65f3d;
  --gold: #e9b84a;
  --ink: #2e1d21;
  --muted: #745e63;
  --line: #eadfd5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  width: 100%;
}
body {
  margin: 0;
  width: 100%;
  min-width: 280px;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main {
  display: block;
  width: 100%;
}
img {
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
.topbar {
  height: 82px;
  padding: 0 48px;
  padding: 0 clamp(22px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffdf8;
  background: #fffdf8f2;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand {
  color: var(--wine);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, serif;
  font-size: 1.3rem;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wine);
}
.brand-mark svg {
  width: 23px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav a + a {
  margin-left: 32px;
}
@supports (gap: 1rem) {
  nav a + a {
    margin-left: 0;
  }
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-cta,
.primary {
  color: #fff !important;
  background: var(--wine);
  padding: 13px 20px;
  border-radius: 999px;
}
.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  background: var(--cream);
  overflow: hidden;
}
.hero-copy {
  padding: 90px 70px;
  padding: clamp(70px, 9vw, 135px) clamp(28px, 7vw, 108px);
  align-self: center;
  flex: 1 1 50%;
}
.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-weight: 800;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}
h1 {
  font-size: 4.6rem;
  font-size: clamp(3.2rem, 5.8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 760px;
  margin: 24px 0;
  font-weight: 500;
}
h1 em {
  color: var(--wine);
  font-weight: 500;
}
.hero-copy > p {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}
.hero-actions a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.primary {
  padding: 16px 24px;
  box-shadow: 0 10px 22px #6d17392e;
}
.secondary {
  padding: 15px 22px;
  border: 1px solid var(--wine);
  color: var(--wine);
  border-radius: 999px;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-notes span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero-image {
  position: relative;
  min-height: 520px;
  flex: 1 1 50%;
  background:
    linear-gradient(145deg, #6d173914, #c65f3d33),
    url("/cidalia-hero.png") center/cover;
}
.image-seal {
  position: absolute;
  left: -55px;
  bottom: 65px;
  width: 130px;
  height: 130px;
  background: var(--gold);
  border: 8px solid var(--cream);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: Georgia, serif;
  transform: rotate(-7deg);
  box-shadow: 0 14px 30px #3d1c1930;
  font-size: 0.85rem;
}
.image-seal strong {
  font-size: 1.05rem;
  color: var(--wine);
}
.recipes-section {
  padding: 100px 70px;
  padding: 100px clamp(22px, 6vw, 90px);
  max-width: 1500px;
  margin: auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.section-heading h2,
.about h2,
.submit-section h2 {
  font-size: 3.25rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 12px 0 0;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.section-heading p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.65;
}
.recipe-toolbar {
  margin: 40px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.categories {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 3px;
}
.categories button {
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  cursor: pointer;
}
.categories button.active {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}
.search {
  min-width: 300px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #fff;
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  margin: 0;
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.recipe-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px #3f17120b;
  transition: 0.25s;
}
.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px #3f171218;
}
.recipe-art {
  height: 210px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #fff;
}
.recipe-art span {
  background: #ffffffdd;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
}
.recipe-art svg {
  align-self: center;
  margin-right: 38%;
  opacity: 0.85;
}
.art-0 {
  background: linear-gradient(140deg, #d07a3f, #8f2d42);
}
.art-1 {
  background: linear-gradient(140deg, #c99a37, #7e461d);
}
.art-2 {
  background: linear-gradient(140deg, #5f7e4d, #243f37);
}
.art-3 {
  background: linear-gradient(140deg, #a84656, #5a1732);
}
.recipe-body {
  padding: 24px;
}
.recipe-body small {
  color: var(--terracotta);
  font-weight: 700;
}
.recipe-body h3 {
  font-size: 1.55rem;
  margin: 9px 0;
}
.recipe-body p {
  color: var(--muted);
  line-height: 1.55;
  min-height: 49px;
}
.recipe-body button {
  border: 0;
  background: none;
  color: var(--wine);
  padding: 10px 0 0;
  font-weight: 800;
  cursor: pointer;
}
.empty {
  grid-column: 1/-1;
  padding: 60px;
  text-align: center;
  color: var(--muted);
  background: var(--cream);
  border-radius: 22px;
}
.about {
  display: grid;
  grid-template-columns: 120px minmax(0, 700px);
  justify-content: center;
  gap: 25px;
  padding: 110px 24px;
  background: #f4e4db;
}
.quote {
  font:
    9rem/1 Georgia,
    serif;
  color: var(--terracotta);
  opacity: 0.35;
}
.about p {
  color: #5e474b;
  line-height: 1.8;
  font-size: 1.05rem;
}
.signature {
  font:
    italic 2.2rem Georgia,
    serif;
  color: var(--wine);
}
.submit-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  gap: clamp(45px, 8vw, 130px);
  padding: 110px 90px;
  padding: 110px clamp(24px, 8vw, 130px);
  background: var(--wine-dark);
  color: #fff;
}
.light {
  color: #f2bd6d;
}
.submit-intro p {
  color: #e7cfd7;
  line-height: 1.75;
  font-size: 1.05rem;
}
.promise {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid #ffffff25;
  margin-top: 35px;
  padding-top: 28px;
  color: #f4dbe3;
}
.promise svg {
  color: #f2bd6d;
}
form {
  background: #fffaf4;
  color: var(--ink);
  padding: 40px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  box-shadow: 0 30px 70px #24061155;
}
form label {
  display: block;
  font-size: 0.87rem;
  font-weight: 800;
  margin-bottom: 18px;
}
form label span {
  color: #9a8589;
  font-weight: 400;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #dfd1c8;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font-size: 1rem;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px #c65f3d20;
}
.submit-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  padding: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
}
.submit-button:disabled {
  opacity: 0.65;
}
.success {
  color: #3d6e3a;
  text-align: center;
  font-weight: 700;
}
footer {
  padding: 50px 7vw;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-size: 1.05rem;
}
.footer-brand .brand-mark {
  width: 35px;
  height: 35px;
}
footer p,
footer small {
  color: var(--muted);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(37, 16, 22, 0.72);
  background: #251016b8;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.modal {
  position: relative;
  max-width: 650px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 24px;
  padding: 42px;
  padding: clamp(28px, 5vw, 55px);
  box-shadow: 0 30px 90px #0006;
}
.modal h2 {
  font-size: 2.5rem;
  margin: 12px 0 26px;
}
.modal h3 {
  color: var(--wine);
  margin-top: 25px;
}
.modal p {
  color: var(--muted);
  line-height: 1.7;
}
.preline {
  white-space: pre-line;
}
.close {
  position: absolute;
  right: 18px;
  top: 13px;
  border: 0;
  background: none;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
}
.tip {
  background: #f4e4db;
  padding: 16px;
  border-radius: 12px;
  color: #623a3e;
  margin-top: 25px;
}
@media (max-width: 900px) {
  nav a:not(.nav-cta) {
    display: none;
  }
  .nav-cta {
    margin-left: 0;
  }
  .hero {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .hero-image {
    min-height: 460px;
    order: -1;
    flex-basis: auto;
  }
  .image-seal {
    left: auto;
    right: 24px;
    bottom: -50px;
  }
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recipe-toolbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .search {
    min-width: 100%;
  }
  .submit-section {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 60px 1fr;
  }
}
@media (max-width: 600px) {
  .topbar {
    height: 72px;
    padding: 0 16px;
  }
  .brand {
    font-size: 1.05rem;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .nav-cta {
    padding: 11px 14px;
    font-size: 0.82rem;
  }
  .hero {
    min-height: 0;
  }
  .hero-copy {
    padding: 80px 22px 65px;
  }
  .hero-image {
    min-height: 330px;
  }
  h1 {
    font-size: 3.2rem;
  }
  .recipes-section {
    padding: 75px 18px;
  }
  .recipe-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
    padding: 80px 24px;
  }
  .quote {
    display: none;
  }
  .submit-section {
    padding: 80px 20px;
  }
  .recipe-art {
    height: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .recipe-card {
    transition: none;
  }
}
.wellness-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--terracotta);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 250, 241, 0.67);
  background: #fffaf1aa;
  color: #5e3740;
}
.wellness-highlight svg {
  flex: 0 0 auto;
  color: var(--wine);
}
.wellness-highlight b {
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 1.08rem;
}
.logo-link img {
  width: 225px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 3px 8px #6d173912);
}
.hero:before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #c65f3d1f;
  border-radius: 50%;
  left: -180px;
  top: 170px;
  pointer-events: none;
}
.hero {
  position: relative;
}
.hero-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 310px;
  max-width: calc(100% - 56px);
  width: min(310px, calc(100% - 56px));
  padding: 20px 22px;
  border-radius: 18px;
  background: #fffdf8e8;
  box-shadow: 0 18px 42px #35151b42;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
}
.hero-card span {
  color: var(--terracotta);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.hero-card strong {
  font:
    1.28rem Georgia,
    serif;
  margin: 7px 0;
  color: var(--wine);
}
.hero-card small {
  color: var(--muted);
}
.footer-logo img {
  width: 190px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}
.recipe-card {
  position: relative;
}
.recipe-card:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px #ffffff80;
  pointer-events: none;
}
.primary,
.nav-cta,
.submit-button {
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.primary:hover,
.nav-cta:hover,
.submit-button:hover {
  background: #851d47;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px #6d173933;
}
@media (max-width: 600px) {
  .logo-link img {
    width: 158px;
    height: 54px;
  }
  .hero-card {
    right: 16px;
    bottom: 18px;
  }
  .footer-logo img {
    width: 180px;
  }
  .hero:before {
    display: none;
  }
}

/* Rich recipe cards */
.hero-card { text-decoration: none; }
.recipe-photo { position: relative; height: 260px; display: grid; place-items: center; overflow: hidden; color: #fff; }
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.recipe-card:hover .recipe-photo img { transform: scale(1.035); }
.recipe-photo > span { position: absolute; left: 18px; top: 18px; border-radius: 999px; padding: 8px 12px; background: #fffdf8ed; color: var(--wine); font-size: .76rem; font-weight: 800; box-shadow: 0 6px 18px #31101920; }
.recipe-body h3 a, .recipe-link { color: inherit; text-decoration: none; }
.recipe-link { display: inline-block; padding-top: 10px; color: var(--wine); font-weight: 800; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.recipe-meta > span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.recipe-meta.compact { margin: 13px 0 9px; gap: 8px 14px; }
.recipe-meta.compact span { font-size: .78rem; }
.recipe-meta.compact + p { min-height: 49px; }
.three-fields { grid-template-columns: 1.2fr .8fr .8fr; }
.photo-field { padding: 18px; border: 1px dashed #ccb8ab; border-radius: 14px; background: #fff; }
.photo-label { display: flex; align-items: center; gap: 8px; color: var(--ink) !important; font-weight: 800 !important; }
.photo-label i { color: #9a8589; font-weight: 400; }
.photo-field input { padding: 9px; }
.photo-field small { display: block; margin-top: 8px; color: var(--muted); font-weight: 400; }
.consent { display: flex; align-items: flex-start; gap: 11px; padding: 4px 2px 10px; line-height: 1.5; }
.consent input { width: 19px; height: 19px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--wine); }
.consent span { color: var(--muted); font-size: .83rem; }
.form-error { color: #9f2d2d; text-align: center; font-weight: 700; }
.footer-last { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }
.footer-last a { color: var(--muted); font-size: .75rem; }

/* Recipe detail */
.detail-page, .admin-shell { min-height: 100vh; background: var(--cream); }
.detail-header, .admin-header { min-height: 84px; padding: 8px 60px; padding: 8px clamp(22px, 6vw, 90px); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: #fffdf8; background: #fffdf8ef; }
.detail-header img, .admin-header img, .admin-gate img { width: 210px; height: 66px; object-fit: contain; object-position: left center; }
.back-link { display: block; margin-top: 24px; color: var(--wine); font-weight: 700; text-decoration: none; }
.detail-header .back-link { margin-top: 0; }
.recipe-detail { max-width: 1260px; margin: 0 auto; padding: 65px 50px 90px; padding: 65px clamp(20px, 5vw, 70px) 90px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; }
.detail-photo { border-radius: 30px; overflow: hidden; min-height: 470px; background: #f1ded2; box-shadow: 0 24px 55px #4b1c251b; }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-placeholder { height: 100%; display: grid; place-items: center; color: var(--wine); }
.detail-intro { align-self: center; }
.detail-intro h1 { font-size: 4.5rem; font-size: clamp(3.2rem, 6vw, 5.8rem); margin-bottom: 34px; }
.detail-meta { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.detail-meta > span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; }
.detail-meta small { grid-column: 2; font-size: .72rem; }
.whatsapp-button { margin-top: 26px; padding: 14px 20px; border: 0; border-radius: 999px; color: #fff; background: #237c49; font-weight: 800; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.recipe-content { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 55px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.recipe-content h2 { margin: 10px 0 24px; font-size: 2.2rem; }
.recipe-content ul { list-style: none; padding: 0; margin: 0; }
.recipe-content li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid #f2e8df; line-height: 1.5; }
.recipe-content li:before { content: ""; position: absolute; left: 2px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.recipe-content p { color: var(--muted); line-height: 1.9; }
.detail-cta { max-width: 1120px; margin: 0 auto 80px; padding: 28px 32px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; background: #f4e4db; border-radius: 22px; }
.detail-cta > svg { color: var(--wine); }
.detail-cta p { margin: 5px 0 0; color: var(--muted); }
.detail-cta .primary { text-decoration: none; }

/* Protected moderation area */
.admin-gate { width: 90%; max-width: 620px; width: min(620px, calc(100% - 40px)); margin: 0 auto; padding: 12vh 20px; text-align: center; }
.admin-gate img { margin-bottom: 40px; }
.admin-gate .kicker { justify-content: center; }
.admin-gate h1 { font-size: 4rem; font-size: clamp(2.8rem, 6vw, 5rem); }
.admin-gate p { color: var(--muted); line-height: 1.7; margin-bottom: 34px; }
.admin-gate .primary { display: inline-block; text-decoration: none; }
.admin-header > div { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: .9rem; }
.admin-header a { color: var(--wine); }
.admin-content { max-width: 1080px; margin: 0 auto; padding: 70px 24px 100px; }
.admin-content > h1 { font-size: 3.8rem; font-size: clamp(2.8rem, 5vw, 4.6rem); margin: 12px 0; }
.admin-intro { color: var(--muted); margin-bottom: 36px; }
.admin-list { display: grid; gap: 28px; }
.admin-card { overflow: hidden; display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 16px 45px #3f17120d; }
.admin-card > img, .admin-no-photo { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.admin-no-photo { display: grid; place-content: center; gap: 8px; text-align: center; color: var(--muted); background: #f1ded2; }
.admin-recipe { padding: 34px; }
.admin-recipe h2 { font-size: 2.2rem; margin: 9px 0 18px; }
.admin-recipe h3 { color: var(--wine); margin: 26px 0 8px; }
.admin-recipe p { color: var(--muted); line-height: 1.7; }
.admin-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; }
.admin-actions button { border: 0; border-radius: 999px; padding: 13px 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; cursor: pointer; }
.admin-actions .reject { color: #7c2933; background: #f7e6e6; }
.admin-actions .approve { color: #fff; background: #34704a; }
.admin-actions button:disabled { opacity: .55; }
.admin-empty { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); border: 1px dashed #ccb8ab; border-radius: 22px; background: #fff; }
.admin-empty svg, .admin-empty b { color: var(--wine); }

@media (max-width: 900px) {
  .three-fields, .recipe-detail, .recipe-content, .admin-card { grid-template-columns: 1fr; }
  .recipe-content, .recipe-detail { gap: 32px; }
  .detail-photo { min-height: 390px; }
  .admin-card > img, .admin-no-photo { min-height: 300px; max-height: 420px; }
}
@media (max-width: 600px) {
  .recipe-photo { height: 235px; }
  .detail-header, .admin-header { padding: 8px 16px; }
  .detail-header img, .admin-header img { width: 150px; }
  .detail-header .back-link { font-size: .82rem; }
  .recipe-detail { padding-top: 28px; }
  .detail-photo { min-height: 280px; }
  .detail-intro h1 { font-size: 3.15rem; }
  .recipe-content { padding: 28px 22px; }
  .detail-cta { margin: 0 18px 50px; grid-template-columns: auto 1fr; }
  .detail-cta .primary { grid-column: 1 / -1; text-align: center; }
  .footer-last { align-items: flex-start; }
  .admin-header > div span { display: none; }
  .admin-content { padding: 48px 16px 70px; }
  .admin-recipe { padding: 24px 20px; }
  .admin-actions { flex-direction: column-reverse; }
  .admin-actions button { justify-content: center; }
}

/*
 * Televisores 720p e navegadores de Smart TV costumam reservar parte da altura
 * para a barra do próprio aparelho. Mantemos o primeiro bloco inteiro e legível
 * nessas telas, sem alterar a composição usada em notebooks e celulares.
 */
@media (min-width: 901px) and (max-height: 820px) {
  .topbar {
    height: 72px;
  }
  .logo-link img {
    width: 205px;
    height: 60px;
  }
  .hero {
    min-height: calc(100vh - 72px);
  }
  .hero-copy {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .hero-copy h1 {
    font-size: 4.25rem;
    margin-top: 18px;
    margin-bottom: 18px;
  }
  .hero-copy > p {
    line-height: 1.55;
    margin-top: 0;
  }
  .hero-actions {
    margin: 24px 0;
  }
  .image-seal {
    bottom: 38px;
  }
}

/* Fallbacks para modelos de TV que ainda não implementam CSS Grid. */
@supports not (display: grid) {
  .recipe-grid,
  .about,
  .submit-section,
  .form-row,
  footer,
  .recipe-detail,
  .recipe-content,
  .detail-cta,
  .admin-card {
    display: flex;
    flex-wrap: wrap;
  }
  .recipe-card {
    width: 31%;
    margin: 1%;
  }
  .about > div:last-child {
    width: 700px;
    max-width: calc(100% - 145px);
  }
  .submit-intro {
    width: 34%;
    margin-right: 7%;
  }
  .submit-section > form {
    width: 59%;
  }
  .form-row > label {
    width: 48%;
    margin-right: 2%;
  }
  .recipe-detail > * {
    width: 46%;
    margin: 2%;
  }
  .recipe-detail > .recipe-content {
    width: 100%;
  }
  .recipe-content > * {
    width: 46%;
    margin: 2%;
  }
  .admin-card > img,
  .admin-card > .admin-no-photo {
    width: 340px;
  }
  .admin-recipe {
    flex: 1 1 520px;
  }
  @media (max-width: 900px) {
    .recipe-card,
    .submit-intro,
    .submit-section > form,
    .form-row > label,
    .recipe-detail > *,
    .recipe-content > *,
    .admin-card > img,
    .admin-card > .admin-no-photo,
    .about > div:last-child {
      width: 100%;
      max-width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
  }
}
