/*
Theme Name: FryCuisine Elementor
Theme URI: https://frycuisine.local/
Author: FryCuisine
Description: Custom Elementor-compatible WordPress theme for FryCuisine with page templates, custom section widgets, and masonry blog layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: frycuisine
*/

:root {
  --ink: #060606;
  --cream: #f0f1e6;
  --rust: #a54218;
  --gold: #e6b464;
  --dark: #1b1b1b;
  --display: "CinzelDecorativeLocal", Georgia, serif;
  --headline: "CatchyMagerLocal", "TheSeasonsLocal", Georgia, serif;
  --serif: "LibreBaskervilleLocal", Georgia, serif;
  --serif-italic: "LibreBaskervilleItalicLocal", Georgia, serif;
  --script: "BrittanySignatureLocal", "LobsterLocal", cursive;
  --sans: "CanvaSansLocal", Arial, sans-serif;
}

@font-face { font-family: "CatchyMagerLocal"; src: url("assets/fonts/google/CormorantGaramond-normal-400.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "CinzelDecorativeLocal"; src: url("assets/fonts/google/CinzelDecorative-normal-400.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "CinzelDecorativeLocal"; src: url("assets/fonts/google/CinzelDecorative-normal-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "LibreBaskervilleLocal"; src: url("assets/fonts/google/LibreBaskerville-normal-400.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "LibreBaskervilleLocal"; src: url("assets/fonts/google/LibreBaskerville-normal-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "LibreBaskervilleItalicLocal"; src: url("assets/fonts/google/LibreBaskerville-italic-400.ttf") format("truetype"); font-style: italic; font-display: swap; }
@font-face { font-family: "LoraLocal"; src: url("assets/fonts/google/Lora-normal-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "LoraItalicLocal"; src: url("assets/fonts/google/Lora-italic-400.ttf") format("truetype"); font-style: italic; font-display: swap; }
@font-face { font-family: "BrittanySignatureLocal"; src: url("assets/fonts/BrittanySignatureRegular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "TheSeasonsLocal"; src: url("assets/fonts/TheSeasons-Reg.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "HattonLocal"; src: url("assets/fonts/Hatton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "AliceLocal"; src: url("assets/fonts/google/Alice-normal-400.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "LobsterLocal"; src: url("assets/fonts/google/Lobster-normal-400.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "VollkornLocal"; src: url("assets/fonts/google/Vollkorn-normal-400.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "CanvaSansLocal"; src: url("assets/fonts/google/Montserrat-normal-400.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "CanvaSansLocal"; src: url("assets/fonts/google/Montserrat-normal-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--serif);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero, main, .footer {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #fff;
}

.hero {
  height: 576px;
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(15, 15, 15, .42), rgba(15, 15, 15, .42)),
    url("assets/images/H1.png") center bottom/cover;
  overflow: hidden;
}

.logo {
  position: absolute;
  left: 45px;
  top: 18px;
  color: #d7d4cf;
  font: 700 64px/1 "HattonLocal", var(--headline);
  letter-spacing: -3px;
}

.logo::before {
  content: "";
  width: 43px;
  height: 9px;
  position: absolute;
  left: -26px;
  top: 13px;
  border-top: 6px solid #d7d4cf;
  border-bottom: 6px solid #d7d4cf;
  border-radius: 20px;
}

.search {
  width: 409px;
  height: 47px;
  position: absolute;
  right: 32px;
  top: 32px;
}

.search::before {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  left: 18px;
  top: 14px;
  border: 4px solid #000;
  border-radius: 50%;
  z-index: 1;
}

.search::after {
  content: "x";
  position: absolute;
  right: 22px;
  top: 8px;
  color: #000;
  font: 30px/1 Arial, sans-serif;
}

.search input {
  width: 100%;
  height: 100%;
  border: 3px solid #000;
  border-radius: 26px;
  background: #909090;
  padding: 0 55px;
  font: 18px Arial, sans-serif;
}

.site-nav {
  position: absolute;
  left: 100px;
  right: 20px;
  top: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  font: 18px/1 var(--serif);
  z-index: 2;
}

.site-nav a {
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
}

.site-nav a:nth-child(4) {
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 6px;
}

.hero-copy {
  position: absolute;
  left: 44px;
  top: 190px;
  width: 640px;
}

.hero-copy h1 {
  margin: 0 0 34px;
  color: var(--gold);
  font: 400 46px/1.32 var(--headline);
  letter-spacing: 0;
}

.hero-copy span {
  display: block;
  width: 735px;
  max-width: 88vw;
  font: italic 29px/1.33 var(--serif-italic);
}

.hero-actions {
  display: flex;
  gap: 55px;
  margin-top: 45px;
}

.hero-actions a {
  min-width: 178px;
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px 0 30px;
  border: 3px solid #e6e6e6;
  border-radius: 24px;
  background: rgba(0,0,0,.28);
  font: 18px Arial, sans-serif;
}

.hero-actions b {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #222;
  background: #d7d7d7;
  font: 900 28px/1 Arial, sans-serif;
}

.section {
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}

.section > h2,
.trend-grid,
.country-grid,
.recipe-list,
.diet-grid,
.cat-grid,
.latest-grid,
.about,
.footer-grid,
.newsletter form,
.inner-hero > div,
.about-page,
.contact-page,
.page-shell {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.trending {
  padding-top: 28px;
  padding-bottom: 40px;
}

.section h2 {
  margin: 0;
  text-align: center;
  font: 400 47px/1.05 var(--display);
  letter-spacing: 2px;
}

.trending > h2 {
  margin-bottom: 46px;
  text-align: left;
  font-size: 51px;
  text-transform: uppercase;
}

.trend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 33px 72px;
}

.feature-card {
  background: var(--cream);
}

.feature-card img {
  height: 263px;
}

.card-body {
  min-height: 197px;
  padding: 8px 15px 18px;
}

.eyebrow {
  margin: 0 0 13px;
  font: 16px/1.25 var(--serif);
}

.feature-card h3 {
  margin: 8px 0 22px;
  color: var(--rust);
  text-align: center;
  font: 400 30px/1.1 "HattonLocal", var(--headline);
}

.feature-card strong {
  display: block;
  margin-bottom: 5px;
  color: #000;
  font: 17px/1.25 var(--serif);
}

.feature-card p {
  margin: 0 0 20px;
  font: 17px/1.25 var(--serif);
}

.feature-card a,
.recipe-card a {
  color: var(--rust);
  font: 17px/1 var(--serif);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.countries {
  position: relative;
  padding-top: 28px;
  padding-bottom: 14px;
  border-top: 5px solid #1f1f1f;
  overflow: hidden;
}

.countries h2,
.diet h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  font-size: 27px;
  letter-spacing: 0;
}

.countries h2::before,
.countries h2::after,
.diet h2::before,
.diet h2::after,
.category h2::before,
.category h2::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #000;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.country-grid article {
  background: var(--cream);
  text-align: center;
  padding-bottom: 17px;
}

.country-grid img {
  height: 164px;
}

.country-grid h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 13px 0 18px;
  font: 24px/1 "HattonLocal", var(--headline);
}

.flag {
  width: 34px;
  height: 22px;
  display: inline-block;
  border: 1px solid #d0d0d0;
}

.flag.india {
  background: linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66%);
}

.flag.korea {
  position: relative;
  background: #fff;
}

.flag.korea::before {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  left: 10px;
  top: 4px;
  border-radius: 50%;
  background: linear-gradient(90deg, #d22 0 50%, #174ea6 50%);
}

.flag.italy {
  background: linear-gradient(90deg, #009246 0 33%, #fff 33% 66%, #ce2b37 66%);
}

.country-grid p {
  min-height: 60px;
  margin: 0 0 16px;
  font: italic 19px/1.25 var(--serif-italic);
}

.country-grid a,
.diet a,
.read-more {
  min-width: 123px;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 5px;
  color: #fff;
  background: #963714;
  font: 15px/1 var(--serif);
  text-transform: uppercase;
}

.recipes {
  padding-top: 12px;
  padding-bottom: 28px;
}

.recipes h2 {
  margin-bottom: 40px;
  text-align: left;
  font-size: 38px;
  letter-spacing: 7px;
}

.recipe-list {
  display: grid;
  gap: 28px;
}

.recipe-card {
  display: grid;
  grid-template-columns: 1fr 306px;
  align-items: center;
  gap: 60px;
}

.recipe-card.flip {
  grid-template-columns: 306px 1fr;
}

.recipe-card.flip img { order: 0; }
.recipe-card.flip div { order: 1; }
.recipe-card:not(.flip) div { order: 0; }
.recipe-card:not(.flip) img { order: 1; }

.recipe-card img {
  height: 190px;
}

.recipe-card p {
  margin: 0 0 17px;
  color: #b98066;
  font: 12px/1 var(--serif);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.recipe-card h3 {
  margin: 0 0 13px;
  font: 700 22px/1.1 "LoraLocal", var(--serif);
}

.recipe-card span {
  display: block;
  margin-bottom: 3px;
  font: 15px/1.25 var(--serif);
}

.read-more {
  width: 128px;
  margin: 26px auto 0;
}

.diet {
  padding-top: 18px;
  padding-bottom: 14px;
}

.diet h2 {
  margin-bottom: 34px;
  font: 700 27px/1.2 var(--display);
  text-transform: uppercase;
}

.diet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.diet-grid article {
  background: var(--cream);
  text-align: center;
  padding-bottom: 13px;
}

.diet-grid img {
  height: 192px;
}

.diet-grid h3 {
  margin: 14px 0 12px;
  color: var(--rust);
  font: 700 21px/1.15 "LoraLocal", var(--serif);
}

.diet-grid strong {
  display: block;
  margin-bottom: 6px;
  font: italic 14px/1.2 var(--serif-italic);
}

.diet-grid p {
  min-height: 54px;
  margin: 0 18px 12px;
  font: italic 14px/1.2 var(--serif-italic);
}

.category {
  padding-top: 38px;
  padding-bottom: 50px;
}

.category h2 {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
  font-size: 40px;
  letter-spacing: 1px;
}

.category h2 em,
.latest h2 em {
  color: var(--rust);
  font: 400 52px/1 var(--script);
  letter-spacing: 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px 48px;
}

.cat-grid a {
  color: var(--rust);
  text-align: center;
  font: italic 18px/1 var(--serif-italic);
}

.cat-grid img {
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  border-radius: 50%;
}

.latest {
  padding-top: 20px;
  padding-bottom: 35px;
}

.latest h2 {
  margin-bottom: 28px;
  text-align: left;
  font: 400 47px/1 "TheSeasonsLocal", var(--headline);
  letter-spacing: 0;
}

.latest-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr;
  gap: 7px 10px;
  align-items: start;
}

.latest-masonry {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  column-count: 3;
  column-gap: 18px;
}

.latest article {
  min-height: 0;
}

.latest--pdf article:first-child {
  grid-row: span 2;
  position: relative;
  color: #fff;
  background: #000;
}

.latest--pdf article:first-child img {
  height: 236px;
  filter: brightness(.68);
}

.latest--pdf article:first-child p,
.latest--pdf article:first-child h3,
.latest--pdf article:first-child span {
  position: absolute;
  left: 22px;
  right: 18px;
  z-index: 1;
}

.latest--pdf article:first-child p { bottom: 82px; color: #fff; }
.latest--pdf article:first-child h3 { bottom: 48px; color: #fff; font-size: 21px; }
.latest--pdf article:first-child span { bottom: 18px; color: #fff; }

.latest img {
  height: 138px;
}

.latest--masonry article {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  background: #fff;
}

.latest--masonry article img {
  height: auto;
  aspect-ratio: 1 / 1.08;
}

.latest--masonry article:nth-child(3n + 1) img {
  aspect-ratio: 1 / .72;
}

.latest--masonry article:nth-child(3n + 2) img {
  aspect-ratio: 1 / 1.32;
}

.latest--masonry article:nth-child(5n) img {
  aspect-ratio: 1 / .86;
}

.latest p {
  margin: 6px 8px 4px;
  font: italic 11px/1.1 var(--serif-italic);
}

.latest h3 {
  margin: 0 8px 4px;
  font: italic 15px/1.05 "LoraItalicLocal", var(--serif-italic);
}

.latest span {
  display: block;
  margin: 0 8px 12px;
  font: italic 12px/1.15 var(--serif-italic);
}

.about {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 34px;
  padding-top: 22px;
  padding-bottom: 24px;
  border-top: 1px solid #ddd;
}

.about h2 {
  margin: 0 0 20px;
  text-align: center;
  font: 700 28px/1.15 "LoraLocal", var(--serif);
}

.about p {
  margin: 0;
  font: italic 19px/1.25 var(--serif-italic);
}

.footer {
  color: #fff;
  background:
    linear-gradient(rgba(18, 12, 10, .82), rgba(18, 12, 10, .82)),
    url("assets/images/H39.png") center/cover;
}

.newsletter {
  padding: 38px 61px 20px;
  text-align: center;
}

.newsletter h2 {
  margin: 0 0 18px;
  font: 700 26px/1.15 "LoraLocal", var(--serif);
}

.newsletter form {
  display: flex;
  justify-content: center;
}

.newsletter input {
  width: 294px;
  height: 34px;
  border: 0;
  padding: 0 12px;
}

.newsletter button {
  height: 34px;
  border: 0;
  padding: 0 20px;
  color: #fff;
  background: #9d3515;
  font: 700 13px var(--serif);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  padding: 22px 61px 42px;
}

.footer h3 {
  margin: 0 0 12px;
  color: #d99b4e;
  font: 700 17px "LoraLocal", var(--serif);
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 5px;
  font: 14px/1.18 var(--serif);
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.compact-hero {
  height: 170px;
  background-position: center;
}

.inner-hero {
  min-height: 430px;
  display: grid;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.inner-hero h1 {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--gold);
  font: 400 58px/1.1 var(--headline);
}

.inner-hero p {
  max-width: 620px;
  margin: 0;
  font: italic 26px/1.35 var(--serif-italic);
}

.fc-section {
  padding-top: 46px;
  padding-bottom: 46px;
}

.fc-section h2 {
  margin-bottom: 34px;
}

.fc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fc-card-grid .feature-card img {
  height: 220px;
}

.fc-card-grid .feature-card h3 {
  min-height: 64px;
}

.masonry-blog {
  grid-auto-flow: dense;
  max-width: 1180px;
}

.latest--pdf .masonry-blog article:nth-child(4n + 1) {
  grid-row: span 2;
}

.masonry-blog article,
.masonry-blog a,
.latest article,
.latest span,
.latest h3,
.latest p {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.latest--pdf .masonry-blog article:nth-child(4n + 1) img {
  height: 290px;
}

.about-page,
.contact-page,
.page-shell {
  padding-top: 55px;
  padding-bottom: 65px;
}

.about-page h2,
.contact-page h2,
.content-entry h1 {
  color: #222;
  font: 700 34px/1.15 "LoraLocal", var(--serif);
}

.about-page p,
.contact-page p,
.content-entry {
  max-width: 830px;
  font: italic 21px/1.45 var(--serif-italic);
}

.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.fc-contact-form {
  display: grid;
  gap: 16px;
}

.fc-contact-form label {
  display: grid;
  gap: 7px;
  font: 700 16px/1 var(--serif);
}

.fc-contact-form input,
.fc-contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c9c2b8;
  padding: 10px 12px;
  font: 16px/1.3 var(--serif);
}

.fc-contact-form textarea {
  min-height: 150px;
}

.fc-contact-form button {
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #963714;
  font: 700 15px/1 var(--serif);
  text-transform: uppercase;
}

.elementor .feature-card img {
  height: 263px !important;
  object-fit: cover !important;
}

.elementor .country-grid img {
  height: 164px !important;
  object-fit: cover !important;
}

.elementor .recipe-card img {
  height: 190px !important;
  object-fit: cover !important;
}

.elementor .diet-grid img,
.elementor .fc-card-grid .feature-card img {
  height: 220px !important;
  object-fit: cover !important;
}

.elementor .cat-grid img {
  width: 130px !important;
  height: 130px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.elementor .latest--pdf img {
  height: 138px !important;
  object-fit: cover !important;
}

.elementor .latest--pdf article:first-child img,
.elementor .latest--pdf .masonry-blog article:nth-child(4n + 1) img {
  height: 290px !important;
}

.elementor .latest--masonry img {
  height: auto !important;
  object-fit: cover !important;
}

a,
button,
.feature-card,
.country-grid article,
.recipe-card,
.cat-grid a,
.latest article,
.fc-contact-form input,
.fc-contact-form textarea {
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.feature-card,
.country-grid article,
.recipe-card,
.latest article {
  overflow: hidden;
}

.feature-card img,
.country-grid img,
.recipe-card img,
.cat-grid img,
.latest img {
  transition: filter .22s ease, opacity .22s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(230, 180, 100, .92);
  outline-offset: 3px;
}

@media (hover: hover) {
  .site-nav a:hover {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .site-nav a:hover,
  .site-nav a:nth-child(4):hover {
    background: rgba(255,255,255,.05);
  }

  .hero-actions a:hover,
  .country-grid a:hover,
  .feature-card a:hover,
  .recipe-card a:hover,
  .fc-contact-form button:hover,
  .newsletter button:hover {
    color: #fff;
    background: var(--rust);
    border-color: var(--gold);
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
  }

  .hero-actions a:hover b {
    color: var(--rust);
    background: var(--gold);
  }

  .feature-card:hover,
  .country-grid article:hover,
  .recipe-card:hover,
  .latest article:hover {
    box-shadow: 0 10px 22px rgba(38, 24, 14, .12);
  }

  .feature-card:hover img,
  .country-grid article:hover img,
  .recipe-card:hover img,
  .latest article:hover img {
    filter: saturate(1.03) contrast(1.02);
  }

  .cat-grid a:hover {
    color: #6f240d;
  }

  .cat-grid a:hover img {
    box-shadow: 0 10px 20px rgba(38, 24, 14, .12);
    filter: saturate(1.05);
  }

  .latest article:hover h3,
  .feature-card:hover h3 {
    color: #76250d;
  }

  .fc-contact-form input:hover,
  .fc-contact-form textarea:hover,
  .fc-contact-form input:focus,
  .fc-contact-form textarea:focus,
  .newsletter input:hover,
  .newsletter input:focus,
  .search input:hover,
  .search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(230, 180, 100, .18);
  }
}

@media (hover: hover) {
  .hero-slider .hero-actions a:hover,
  .hero-arrow:hover {
    background: #7d2a10;
    color: #fff;
    box-shadow: 0 16px 32px rgba(129, 49, 16, .24);
  }

  .hero-slider .hero-actions a + a:hover {
    background: rgba(165,66,24,.86);
  }

  .hero-dot:hover {
    border-color: var(--gold);
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: #f8f8f4;
}

.elementor-widget-frycuisine_slider {
  width: 100vw !important;
  max-width: 100vw !important;
  flex: 0 0 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  overflow: visible;
}

.elementor-widget-frycuisine_slider .hero-slider {
  width: 100vw;
  max-width: 100vw;
  overflow: visible;
}

.elementor-widget-frycuisine_slider .hero-topbar,
.elementor-widget-frycuisine_slider .hero-nav-card {
  left: 0;
  right: auto;
  width: 100vw;
  max-width: 100vw;
}

.elementor-widget-frycuisine_slider .hero-slides,
.elementor-widget-frycuisine_slider .hero-tile-overlay {
  overflow: hidden;
}

.fry-site-header {
  height: 156px;
  position: relative;
  z-index: 20;
  overflow: visible;
  background: #f8f8f4;
}

.fry-site-header .hero-topbar {
  top: 0;
}

.fry-site-header .hero-nav-card {
  top: 46px;
}

.hero-topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46px;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 clamp(24px, 7vw, 104px);
  border-radius: 0;
  background: #9b3615;
  color: #fff7ec;
  font: 700 14px/1 var(--sans);
}

.hero-topbar-address::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 9px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) translateY(1px);
}

.hero-socials {
  display: inline-flex;
  gap: 14px;
  text-transform: uppercase;
}

.hero-socials a {
  min-width: 16px;
  text-align: center;
}

.hero-nav-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  height: 110px;
  z-index: 10;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr) 56px;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  padding: 0 clamp(22px, 7vw, 104px);
  border-radius: 0;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 18px 45px rgba(22, 28, 19, .09);
}

.hero-slides {
  position: absolute;
  left: clamp(8px, 3.4vw, 46px);
  right: clamp(8px, 3.4vw, 46px);
  top: 131px;
  bottom: 0;
  overflow: hidden;
  background: #191919;
}

.hero-tile-overlay {
  --tile-cols: 7;
  --tile-rows: 4;
  position: absolute;
  left: clamp(8px, 3.4vw, 46px);
  right: clamp(8px, 3.4vw, 46px);
  top: 131px;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(var(--tile-cols), 1fr);
  grid-template-rows: repeat(var(--tile-rows), 1fr);
  pointer-events: none;
  overflow: hidden;
  perspective: 1100px;
}

.hero-tile {
  display: block;
  min-width: 0;
  min-height: 0;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 16px 28px rgba(0,0,0,.22);
}

.hero-tile-overlay.is-animating .hero-tile {
  animation-duration: .98s;
  animation-timing-function: cubic-bezier(.2,.72,.2,1);
  animation-fill-mode: both;
}

.hero-tile-overlay.fx-cube .hero-tile {
  animation-name: fryTileCube;
}

.hero-tile-overlay.fx-squares .hero-tile {
  animation-name: fryTileFlip;
}

.hero-tile-overlay.fx-strips .hero-tile {
  animation-name: fryStripSlide;
  transform-origin: left center;
}

.hero-tile-overlay.fx-curtain .hero-tile {
  animation-name: fryCurtainBlock;
  transform-origin: top center;
}

.hero-tile-overlay.fx-diagonal .hero-tile {
  animation-name: fryDiagonalBlock;
}

.hero-tile-overlay.fx-zoom .hero-tile {
  animation-name: fryZoomBlock;
}

.hero-tile-overlay.fx-wave .hero-tile {
  animation-name: fryWaveBlock;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity .7s ease, visibility .7s ease;
  visibility: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.hero-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(0,0,0,.05), rgba(0,0,0,.32) 44%, rgba(0,0,0,.58) 100%);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.hero-slider.is-transitioning .hero-slide.is-active .hero-copy {
  animation: fryCopyOut .42s ease both;
}

.hero-slide.is-active .hero-slide-bg {
  animation: fryHeroBg 6.8s ease-out both;
}

.hero-slider .logo,
.hero-slider .search,
.hero-slider .site-nav,
.fry-site-header .logo,
.fry-site-header .search,
.fry-site-header .site-nav {
  position: static;
  inset: auto;
  z-index: 8;
}

.hero-slider .logo,
.fry-site-header .logo {
  position: relative;
  color: #2c2520;
  z-index: 10;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}

.hero-slider .logo::before,
.fry-site-header .logo::before {
  border-color: var(--rust);
  left: -28px;
  top: 20px;
}

.hero-slider .site-nav,
.fry-site-header .site-nav {
  position: static;
  color: #201914;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.25vw, 18px);
  width: 100%;
}

.hero-slider .site-nav::before,
.fry-site-header .site-nav::before {
  content: none;
}

.hero-slider .site-nav a,
.fry-site-header .site-nav a {
  padding: 0 0;
  min-height: 36px;
}

.hero-slider .site-nav a:nth-child(4),
.fry-site-header .site-nav a:nth-child(4) {
  border-color: rgba(165, 66, 24, .45);
}

.hero-slider .search,
.fry-site-header .search {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(230, 180, 100, .18);
}

.hero-slider .search input,
.fry-site-header .search input {
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
}

.hero-slider .search::before,
.fry-site-header .search::before {
  left: 19px;
  top: 18px;
  width: 13px;
  height: 13px;
  border-color: var(--rust);
  border-width: 2px;
}

.hero-slider .search::after,
.fry-site-header .search::after {
  content: "";
  width: 9px;
  height: 2px;
  right: 18px;
  top: 34px;
  background: var(--rust);
  transform: rotate(45deg);
}

.hero-slider .hero-copy {
  left: 50%;
  top: calc(131px + 40%);
  width: min(920px, calc(100% - 210px));
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
}

.hero-kicker {
  margin: 0 0 20px;
  color: var(--gold);
  font: 700 24px/1.2 var(--sans);
  opacity: 0;
  transform: translateY(-26px);
}

.hero-slider .hero-copy h1 {
  margin: 0 auto 20px;
  color: #fff;
  font: 700 clamp(44px, 5vw, 68px)/1.06 var(--sans);
  max-width: 980px;
  opacity: 0;
  transform: translateY(34px);
}

.hero-slider .hero-copy h1 strong {
  color: var(--gold);
  font-weight: 700;
}

.hero-slider .hero-copy span {
  width: min(760px, 90%);
  margin: 0 auto;
  color: rgba(255,255,255,.9);
  font: italic 22px/1.4 var(--serif-italic);
  opacity: 0;
  transform: translateY(28px);
}

.hero-slider .hero-actions {
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-slider .hero-actions a {
  min-width: 170px;
  height: 62px;
  border: 0;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  padding: 0 18px 0 32px;
  font: 700 18px/1 var(--sans);
  box-shadow: 0 16px 32px rgba(129, 49, 16, .28);
}

.hero-slider .hero-actions a + a {
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}

.hero-slider .hero-actions b {
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(0,0,0,.2);
  font-size: 30px;
}

.hero-slide.is-active .hero-kicker {
  animation: fryTextDown .62s .18s ease both;
}

.hero-slide.is-active .hero-copy h1 {
  animation: fryTextUp .72s .34s cubic-bezier(.2,.76,.22,1) both;
}

.hero-slide.is-active .hero-copy span {
  animation: fryTextUp .7s .56s cubic-bezier(.2,.76,.22,1) both;
}

.hero-slide.is-active .hero-actions {
  animation: fryTextUp .7s .76s cubic-bezier(.2,.76,.22,1) both;
}

.hero-arrow {
  position: absolute;
  top: calc(131px + 50%);
  z-index: 6;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #0b0b0b;
  font: 700 26px/1 Arial, sans-serif;
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
  transform: translateY(-50%);
}

.hero-arrow--prev {
  left: clamp(34px, 7vw, 145px);
}

.hero-arrow--next {
  right: clamp(34px, 7vw, 145px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 12px;
  z-index: 6;
  transform: translateX(-50%);
}

.hero-dot {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  padding: 0;
  opacity: .9;
}

.hero-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  opacity: 1;
}

.hero-progress {
  position: absolute;
  left: clamp(8px, 3.4vw, 46px);
  right: clamp(8px, 3.4vw, 46px);
  bottom: 0;
  z-index: 7;
  height: 4px;
  background: rgba(255,255,255,.18);
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--rust);
}

.hero-slider.is-running .hero-progress span {
  animation: fryHeroProgress 6.8s linear both;
}

@keyframes fryHeroBg {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@keyframes fryTileCube {
  0% {
    opacity: 0;
    filter: brightness(.82) saturate(.96);
    transform: rotateX(84deg) rotateY(-42deg) translate3d(0, 28px, -70px) scale(.82);
  }
  42% {
    opacity: 1;
    filter: brightness(1.12) saturate(1.08);
    transform: rotateX(-8deg) rotateY(8deg) translate3d(0, -5px, 24px) scale(1.015);
  }
  100% {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: rotateX(0) rotateY(0) translate3d(0, 0, 0) scale(1);
  }
}

@keyframes fryTileFlip {
  0% {
    opacity: 0;
    filter: brightness(.72);
    transform: rotateY(92deg) scale(.82);
  }
  54% {
    opacity: 1;
    filter: brightness(1.18);
    transform: rotateY(-9deg) scale(1.035);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
    transform: rotateY(0) scale(1);
  }
}

@keyframes fryStripSlide {
  0% {
    opacity: 0;
    filter: brightness(.72);
    clip-path: inset(0 100% 0 0);
    transform: translateX(-32px) skewX(-7deg);
  }
  58% {
    opacity: 1;
    filter: brightness(1.14);
    clip-path: inset(0 0 0 0);
    transform: translateX(3px) skewX(0);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
    clip-path: inset(0 0 0 0);
    transform: translateX(0) skewX(0);
  }
}

@keyframes fryCurtainBlock {
  0% {
    opacity: 0;
    filter: brightness(.76);
    clip-path: inset(0 0 100% 0);
    transform: translateY(-36px) rotateX(44deg);
  }
  56% {
    opacity: 1;
    filter: brightness(1.16);
    clip-path: inset(0 0 0 0);
    transform: translateY(4px) rotateX(-5deg);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
    clip-path: inset(0 0 0 0);
    transform: translateY(0) rotateX(0);
  }
}

@keyframes fryDiagonalBlock {
  0% {
    opacity: 0;
    filter: brightness(.68) saturate(.9);
    transform: translate3d(-54px, 54px, -80px) rotateZ(-6deg) scale(.82);
  }
  58% {
    opacity: 1;
    filter: brightness(1.18) saturate(1.08);
    transform: translate3d(4px, -4px, 16px) rotateZ(1deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: translate3d(0, 0, 0) rotateZ(0) scale(1);
  }
}

@keyframes fryZoomBlock {
  0% {
    opacity: 0;
    filter: blur(3px) brightness(.7);
    transform: scale(.35) rotateZ(5deg);
  }
  52% {
    opacity: 1;
    filter: blur(0) brightness(1.18);
    transform: scale(1.08) rotateZ(-1deg);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: scale(1) rotateZ(0);
  }
}

@keyframes fryWaveBlock {
  0% {
    opacity: 0;
    filter: brightness(.74);
    transform: translateY(58px) rotateX(-55deg) scale(.86);
  }
  50% {
    opacity: 1;
    filter: brightness(1.15);
    transform: translateY(-8px) rotateX(7deg) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
    transform: translateY(0) rotateX(0) scale(1);
  }
}

@keyframes fryCopyOut {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, -52%); }
}

@keyframes fryTextDown {
  from { opacity: 0; transform: translateY(-26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fryTextUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fryHeroProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 760px) {
  body { background: #fff; }
  .hero, main, .footer { width: 100%; }
  .hero { height: 560px; }
  .logo { left: 28px; top: 14px; font-size: 42px; }
  .search { width: 45%; right: 15px; top: 22px; }
  .site-nav {
    left: 18px;
    right: 18px;
    top: 92px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .hero-copy { left: 24px; top: 190px; width: calc(100% - 48px); }
  .hero-copy h1 { font-size: 31px; }
  .hero-copy span { width: 100%; font-size: 20px; }
  .hero-actions { gap: 14px; flex-wrap: wrap; }
  .section { padding-left: 24px; padding-right: 24px; }
  .trend-grid,
  .country-grid,
  .diet-grid,
  .cat-grid,
  .latest-grid,
  .about,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .latest-masonry {
    column-count: 1;
  }
  .trending > h2,
  .section h2 {
    font-size: 34px;
  }
  .recipe-card,
  .recipe-card.flip {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .recipe-card img,
  .recipe-card.flip img,
  .recipe-card div,
  .recipe-card.flip div {
    order: initial;
  }
  .feature-card img,
  .country-grid img,
  .diet-grid img,
  .recipe-card img {
    height: 230px;
  }
  .latest--pdf article:first-child {
    grid-row: auto;
  }
  .latest--pdf article:first-child img,
  .latest--pdf img,
  .latest--masonry img {
    height: 220px;
  }
  .fc-card-grid,
  .contact-page {
    grid-template-columns: 1fr;
  }
  .inner-hero h1 {
    font-size: 40px;
  }
  .hero-slider {
    min-height: 760px;
  }
  .fry-site-header {
    height: 148px;
  }
  .hero-topbar {
    display: none;
  }
  .hero-nav-card {
    left: 0;
    right: 0;
    top: 0;
    height: 148px;
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-rows: 76px 1fr;
    gap: 0 14px;
    padding: 0 20px;
    border-radius: 0 0 0 32px;
  }
  .hero-slider .logo {
    font-size: 38px;
  }
  .fry-site-header .logo {
    font-size: 38px;
  }
  .hero-slider .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
    align-content: center;
    color: #1f1f1f;
    font-size: 12px;
    gap: 6px 18px;
    flex-wrap: wrap;
  }
  .fry-site-header .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
    align-content: center;
    color: #1f1f1f;
    font-size: 12px;
    gap: 6px 18px;
    flex-wrap: wrap;
  }
  .hero-slider .site-nav a {
    min-height: 28px;
  }
  .fry-site-header .site-nav a {
    min-height: 28px;
  }
  .hero-slider .search {
    width: 46px;
    height: 46px;
  }
  .fry-site-header .search {
    width: 46px;
    height: 46px;
  }
  .hero-slider .search::before {
    left: 15px;
    top: 14px;
  }
  .fry-site-header .search::before {
    left: 15px;
    top: 14px;
  }
  .hero-slider .search::after {
    right: 15px;
    top: 28px;
  }
  .fry-site-header .search::after {
    right: 15px;
    top: 28px;
  }
  .hero-slides {
    left: 0;
    right: 0;
    top: 156px;
  }
  .hero-tile-overlay {
    left: 0;
    right: 0;
    top: 156px;
  }
  .hero-slider .hero-copy {
    top: calc(156px + 35%);
    width: calc(100% - 48px);
  }
  .hero-kicker {
    font-size: 17px;
    margin-bottom: 14px;
  }
  .hero-slider .hero-copy h1 {
    font-size: 36px;
    line-height: 1.12;
  }
  .hero-slider .hero-copy span {
    width: 100%;
    font-size: 16px;
  }
  .hero-slider .hero-actions {
    gap: 12px;
    margin-top: 20px;
  }
  .hero-slider .hero-actions a {
    min-width: 132px;
    height: 48px;
    padding-left: 20px;
    font-size: 14px;
  }
  .hero-slider .hero-actions b {
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .hero-arrow {
    top: auto;
    bottom: 74px;
    width: 46px;
    height: 46px;
    font-size: 19px;
    transform: none;
  }
  .hero-arrow--prev {
    left: 22px;
  }
  .hero-arrow--next {
    right: 22px;
  }
  .hero-progress {
    left: 0;
    right: 0;
  }
  .category h2 em,
  .latest h2 em {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}


