.tifa-home {
  --tifa-red: #bf563b;
  --tifa-red-dark: #9f3f2b;
  --tifa-olive: #6f7c4e;
  --tifa-sage: #edf0df;
  --tifa-cream: #fffdf9;
  --tifa-beige: #fff8f0;
  --tifa-ink: #292724;
  --tifa-muted: #625d57;
  --tifa-border: #e8ddd2;
  width: 100%;
  background: var(--tifa-cream);
  color: var(--tifa-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
.tifa-home-page .site-content { max-width: none; padding: 0; }
.tifa-home-page .content-area { width: 100%; }
.tifa-home-page .entry-header, .tifa-home-page .comments-area { display: none; }
body.tifa-home-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.tifa-home-page #site-footer,
body.tifa-home-page > .site-footer { display: none !important; }
.tifa-home *, .tifa-home *::before, .tifa-home *::after { box-sizing: border-box; }
.tifa-home img { display: block; width: 100%; max-width: 100%; }
.tifa-home h1, .tifa-home h2, .tifa-home h3 { color: var(--tifa-ink); font-family: Georgia, "Times New Roman", serif; }
.tifa-home a { color: inherit; }
.tifa-hero-wrap { padding: 34px 20px 0; }
.tifa-content-grid, .tifa-cta { width: min(1200px, 100%); margin-inline: auto; }
.tifa-content-grid { display: grid; grid-template-columns: minmax(0, 3.45fr) minmax(230px, 1fr); gap: 28px; align-items: start; }
.tifa-main-column { min-width: 0; }
.tifa-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); align-items: center; gap: 25px; }
.tifa-hero-image { display: block; overflow: hidden; background: #eee7df; }
.tifa-hero-image img { aspect-ratio: 1.42 / 1; object-fit: cover; transition: transform .3s ease; }
.tifa-hero-image:hover img { transform: scale(1.018); }
.tifa-eyebrow, .tifa-tag { margin: 0 0 10px; color: var(--tifa-red-dark); font-size: 12px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.tifa-hero-copy h1 { margin: 0; font-size: clamp(38px, 3.45vw, 53px); line-height: 1.03; letter-spacing: -.035em; }
.tifa-hero-copy > p:not(.tifa-eyebrow) { margin: 18px 0 20px; color: #423e39; font-size: 15.5px; }
.tifa-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border-radius: 4px; background: var(--tifa-red); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: background .16s ease, transform .16s ease; }
.tifa-button:hover { background: var(--tifa-red-dark); transform: translateY(-1px); }
.tifa-button-full { width: 100%; }
.tifa-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 14px; color: #6f6963; font-size: 11px; }
.tifa-hero-copy .tifa-meta { justify-content: flex-start; margin-top: 17px; }
.tifa-about { padding: 16px 16px 20px; border: 1px solid var(--tifa-border); background: var(--tifa-beige); }
.tifa-about > img { aspect-ratio: .82 / 1; object-fit: cover; }
.tifa-about h2 { margin: 12px 0 7px; font-size: 29px; line-height: 1.15; }
.tifa-about p { margin: 0 0 13px; color: #45413d; font-size: 14px; }
.tifa-about a, .tifa-section-heading a { color: var(--tifa-red-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.tifa-about a:hover, .tifa-section-heading a:hover { text-decoration: underline; }
.tifa-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.tifa-category { display: flex; flex-direction: column; align-items: center; gap: 9px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none !important; }
.tifa-category-image { width: 100%; aspect-ratio: 1; overflow: hidden; padding: 3px; border: 2px solid var(--tifa-red); border-radius: 50%; background: #fff; }
.tifa-category-image img { height: 100%; border-radius: 50%; object-fit: cover; transition: transform .26s ease; }
.tifa-category:hover img { transform: scale(1.06); }
.tifa-latest { padding: 43px 20px 0; }
.tifa-section-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 20px; }
.tifa-section-heading h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.tifa-section-heading > span { height: 1px; background: #d4a28f; }
.tifa-recipes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 23px; }
.tifa-recipe-card { min-width: 0; }
.tifa-recipe-image { display: block; overflow: hidden; background: #eee7df; }
.tifa-recipe-image img { aspect-ratio: 1.32 / 1; object-fit: cover; transition: transform .3s ease; }
.tifa-recipe-card:hover img { transform: scale(1.025); }
.tifa-tag { display: inline-block; margin: 12px 0 3px; padding: 3px 7px; border-radius: 2px; background: var(--tifa-sage); color: #536039; font-size: 10px; }
.tifa-recipe-card h3 { margin: 4px 0 7px; font-size: 20px; line-height: 1.22; }
.tifa-recipe-card h3 a { text-decoration: none; }
.tifa-recipe-card h3 a:hover { color: var(--tifa-red-dark); }
.tifa-excerpt { min-height: 69px; margin: 0 0 13px; color: var(--tifa-muted); font-size: 13.5px; line-height: 1.48; }
.tifa-recipe-card .tifa-meta { padding-top: 10px; border-top: 1px solid #eee5dd; }
.tifa-newsletter { position: sticky; top: 20px; padding: 27px 20px 25px; border: 1px solid #dfe4ce; background: var(--tifa-sage); }
.tifa-newsletter::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 64px; height: 4px; background: var(--tifa-olive); }
.tifa-newsletter h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.15; }
.tifa-newsletter > p:not(.tifa-eyebrow) { margin: 0 0 15px; color: #4f5540; font-size: 14px; }
.tifa-newsletter small { display: block; margin-top: 11px; color: #676b59; font-size: 10.5px; }
.tifa-newsletter .wpforms-container { margin: 0; }
.tifa-newsletter .wpforms-field { padding: 4px 0 !important; }
.tifa-newsletter input[type="email"] { width: 100% !important; max-width: none !important; min-height: 46px; border: 1px solid #d8d1c9 !important; background: #fff; }
.tifa-newsletter button[type="submit"] { width: 100% !important; min-height: 46px !important; border: 0 !important; background: var(--tifa-red) !important; color: #fff !important; }
.tifa-cta { min-height: 145px; display: grid; grid-template-columns: 85px 1fr auto; align-items: center; gap: 30px; margin-top: 54px; margin-bottom: 54px; padding: 25px 42px; border: 1px solid #dfe4ce; border-radius: 5px; background: var(--tifa-sage); }
.tifa-cta-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--tifa-olive); color: #fff; font-size: 32px; }
.tifa-cta h2 { margin: 0 0 6px; font-size: 30px; font-style: italic; line-height: 1.2; }
.tifa-cta p { margin: 0; color: #555b45; }
.tifa-empty { padding: 60px 35px; background: var(--tifa-beige); text-align: center; }
.tifa-empty h1 { margin-top: 0; }
.tifa-footer { width: 100%; padding: 46px 20px 18px; background: #292724; color: #f8f2eb; }
.tifa-footer-grid { width: min(1200px, 100%); display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-inline: auto; }
.tifa-footer-brand img { width: 190px; height: 90px; object-fit: contain; object-position: left center; }
.tifa-footer p { max-width: 330px; margin: 10px 0 0; color: #d9d1c7; font-size: 14px; }
.tifa-footer h2 { margin: 0 0 13px; color: #fff; font-size: 18px; }
.tifa-footer nav a { width: fit-content; display: block; padding: 4px 0; color: #efe5da; font-size: 14px; text-decoration: none; }
.tifa-footer nav a:hover { color: #fff; text-decoration: underline; }
.tifa-footer .tifa-copyright { width: min(1200px, 100%); max-width: none; margin: 32px auto 0; padding-top: 16px; border-top: 1px solid #4b4945; color: #bdb5ab; text-align: center; }
.page .entry-content:has(.tifa-home) { margin-top: 0; }
.page .entry-content:has(.tifa-home) > .tifa-home { max-width: none; }

@media (max-width: 1040px) {
  .tifa-content-grid { grid-template-columns: minmax(0, 2.55fr) minmax(220px, 1fr); }
  .tifa-hero { grid-template-columns: 1.25fr 1fr; }
  .tifa-hero-copy h1 { font-size: 37px; }
  .tifa-categories { grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
  .tifa-recipes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .tifa-content-grid { grid-template-columns: 1fr; }
  .tifa-about { display: grid; grid-template-columns: 150px 1fr; column-gap: 20px; }
  .tifa-about > img { grid-row: 1 / 4; }
  .tifa-about h2 { align-self: end; }
  .tifa-newsletter { position: static; }
  .tifa-cta { grid-template-columns: 70px 1fr; }
  .tifa-cta .tifa-button { grid-column: 2; justify-self: start; }
  .tifa-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .tifa-hero-wrap, .tifa-latest { padding-left: 16px; padding-right: 16px; }
  .tifa-hero { grid-template-columns: 1fr; }
  .tifa-hero-copy h1 { font-size: clamp(34px, 10vw, 44px); }
  .tifa-categories { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
  .tifa-category { font-size: 13px; }
  .tifa-recipes-grid { grid-template-columns: 1fr; }
  .tifa-section-heading { grid-template-columns: 1fr auto; }
  .tifa-section-heading > span { display: none; }
  .tifa-about { display: block; }
  .tifa-about > img { max-height: 460px; }
  .tifa-excerpt { min-height: 0; }
  .tifa-cta { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; }
  .tifa-cta .tifa-button { grid-column: 1; }
  .tifa-cta h2 { font-size: 26px; }
  .tifa-footer-grid { grid-template-columns: 1fr 1fr; }
  .tifa-footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .tifa-home *, .tifa-home *::before, .tifa-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
