:root {
  --ink: #17324d;
  --muted: #667584;
  --brand: #245b91;
  --brand-dark: #173f69;
  --accent: #d96c45;
  --cream: #fbf8f2;
  --line: #e8e2d9;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(32, 48, 61, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f6f3ed;
  color: var(--ink);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--brand);
}

a:hover,
a:focus {
  color: var(--brand-dark);
}

.probootstrap-aside {
  width: 276px;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 30px rgba(38, 49, 61, 0.04);
}

.probootstrap-aside .probootstrap-site-logo {
  padding: 28px 28px 16px;
}

.sidebar-logo {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 12px;
}

.sidebar-tagline {
  max-width: 195px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.sidebar-search {
  padding: 8px 28px 20px;
}

.search-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-wrap {
  position: relative;
}

.search-wrap .oi {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #8a969f;
  font-size: 13px;
}

.site-search {
  width: 100%;
  height: 40px;
  padding: 8px 12px 8px 34px;
  background: #f5f3ef;
  border: 1px solid #ebe5dd;
  border-radius: 9px;
  color: var(--ink);
  outline: none;
}

.site-search:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 91, 145, 0.1);
}

.probootstrap-aside .probootstrap-nav {
  padding: 0 28px;
}

.probootstrap-aside .probootstrap-nav ul li {
  margin-bottom: 4px;
}

.probootstrap-aside .probootstrap-nav ul li a {
  float: none;
  padding: 9px 12px;
  border-radius: 8px;
  color: #31475a;
  font-size: 15px;
  font-weight: 600;
}

.probootstrap-aside .probootstrap-nav ul li a::after {
  display: none;
}

.probootstrap-aside .probootstrap-nav ul li a:hover,
.probootstrap-aside .probootstrap-nav ul li.active a {
  background: #edf4fa;
  color: var(--brand);
}

.probootstrap-aside .probootstrap-overflow {
  height: calc(100vh - 245px);
  overflow-y: auto;
}

.probootstrap-aside .probootstrap-aside-footer {
  right: 28px;
  bottom: 22px;
  left: 28px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
}

.probootstrap-aside .probootstrap-aside-footer p {
  margin-bottom: 0;
}

.sidebar-blog-cta {
  margin: 24px 28px 104px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--brand-dark), var(--brand));
  border-radius: 13px;
  box-shadow: 0 12px 26px rgba(23, 63, 105, 0.2);
  color: #fff;
}

.sidebar-blog-cta > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidebar-blog-cta a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.sidebar-blog-cta a:hover,
.sidebar-blog-cta a:focus {
  color: #fff;
  text-decoration: none;
}

.sidebar-blog-cta a span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.sidebar-blog-cta a:hover span,
.sidebar-blog-cta a:focus span {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.24);
}

.sidebar-blog-cta a[aria-current="page"] {
  color: #ffe5d8;
}

.probootstrap-main {
  width: calc(100% - 276px);
  min-height: 100vh;
  padding: 34px;
}

.site-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.probootstrap-main .probootstrap-bar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(31, 46, 57, 0.06);
}

.content-section {
  padding: 68px 0 4px;
}

.content-section:first-child {
  padding-top: 0;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-copy {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 36, 52, 0.86) 0%, rgba(17, 36, 52, 0.58) 48%, rgba(17, 36, 52, 0.05) 82%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 88px 66px;
  color: #fff;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero p {
  max-width: 540px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-recipe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--brand);
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.btn-recipe:hover,
.btn-recipe:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.btn-recipe-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn-recipe-light:hover,
.btn-recipe-light:focus {
  background: #f5f2ec;
  border-color: #f5f2ec;
  color: var(--ink);
}

.btn-recipe-blog {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-recipe-blog:hover,
.btn-recipe-blog:focus {
  background: #bd5837;
  border-color: #bd5837;
  color: #fff;
}

.category-grid,
.recipe-grid,
.world-grid {
  display: grid;
  gap: 22px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recipe-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.world-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card,
.recipe-card,
.world-card,
.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.category-card {
  display: block;
  min-height: 176px;
  padding: 25px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(34, 52, 66, 0.09);
  color: var(--ink);
  text-decoration: none;
}

.category-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf4fa;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.category-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.recipe-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(34, 52, 66, 0.1);
}

.recipe-card.is-hidden {
  display: none;
}

.recipe-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.recipe-card-body {
  padding: 20px;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.recipe-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
}

.recipe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.recipe-card a.card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  background: var(--ink);
  border-radius: 18px;
  color: #fff;
}

.split-feature img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.split-feature-content {
  display: flex;
  padding: 50px;
  flex-direction: column;
  justify-content: center;
}

.split-feature h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 36px;
  font-weight: 750;
}

.split-feature p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
}

.world-card {
  padding: 22px 16px;
  color: var(--ink);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.world-card:hover,
.world-card:focus {
  background: #edf4fa;
  color: var(--brand);
  text-decoration: none;
}

.about-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 34px;
  align-items: center;
  background: #efe8dc;
  border-radius: 16px;
}

.about-strip h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 26px;
}

.about-strip p {
  max-width: 770px;
  margin: 0;
  color: #5d6871;
}

.page-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 420px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.page-hero-copy {
  display: flex;
  padding: 50px;
  flex-direction: column;
  justify-content: center;
}

.page-hero h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.page-hero img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-button {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4c5e6d;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.empty-state {
  display: none;
  padding: 24px;
  background: #fff;
  border: 1px dashed #ccc2b5;
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.newsletter {
  display: flex;
  gap: 24px;
  padding: 30px;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  border-radius: 16px;
  color: #fff;
}

.newsletter h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 24px;
}

.newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.blog-article {
  max-width: 850px;
  margin: 0 auto;
  padding: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.recipe-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 0 0;
}

.recipe-back {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
}

.recipe-header {
  max-width: 790px;
  margin-bottom: 30px;
}

.recipe-header h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1;
}

.recipe-header > p {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.recipe-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.recipe-stats > div {
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.recipe-stats > div:last-child {
  border-right: 0;
}

.recipe-stats strong,
.recipe-stats span {
  display: block;
}

.recipe-stats strong {
  color: var(--ink);
  font-size: 16px;
}

.recipe-stats span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.recipe-hero-image {
  display: block;
  width: 100%;
  height: min(620px, 58vw);
  min-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.recipe-content-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  margin-top: 28px;
}

.ingredients-card,
.method-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.ingredients-card h2,
.method-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 750;
}

.ingredients-card ul,
.method-card ol {
  margin: 0;
  padding-left: 20px;
}

.ingredients-card li,
.method-card li {
  margin-bottom: 9px;
  color: #425464;
}

.method-card li {
  padding-left: 5px;
}

.recipe-tip {
  margin-top: 24px;
  padding: 24px 28px;
  background: #efe8dc;
  border-radius: 14px;
}

.recipe-tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.recipe-tip p {
  margin: 0;
  color: #5d6871;
}

.recipe-actions {
  margin-top: 28px;
}

.recipe-actions .btn-recipe-light {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.recipe-actions .btn-recipe-light:hover,
.recipe-actions .btn-recipe-light:focus {
  background: #edf4fa;
  color: var(--brand-dark);
}

.blog-article h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.blog-article h2 {
  margin: 38px 0 12px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 750;
}

.blog-article .lead {
  color: var(--muted);
  font-size: 19px;
}

.blog-image {
  width: calc(100% + 88px);
  max-width: none;
  height: 470px;
  margin: 34px -44px;
  object-fit: cover;
}

.recipe-details {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  margin-top: 30px;
  padding: 28px;
  background: var(--cream);
  border-radius: 14px;
}

.recipe-details h2 {
  margin-top: 0;
}

.recipe-details ul,
.recipe-details ol {
  margin-bottom: 0;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  gap: 20px;
  padding: 60px 0 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 1100px) {
  .category-grid,
  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-content {
    padding: 72px 48px;
  }
}

@media (max-width: 768px) {
  .probootstrap-aside {
    width: 276px;
    transform: translateX(-276px);
  }

  .probootstrap-main {
    width: 100%;
    padding: 94px 15px 24px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 54px 28px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(17, 36, 52, 0.9), rgba(17, 36, 52, 0.5));
  }

  .page-hero,
  .split-feature {
    grid-template-columns: 1fr;
  }

  .page-hero-copy,
  .split-feature-content {
    padding: 36px 28px;
  }

  .page-hero img,
  .split-feature img {
    min-height: 300px;
    max-height: 390px;
  }

  .about-strip,
  .recipe-details {
    grid-template-columns: 1fr;
  }

  .newsletter,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .recipe-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recipe-stats > div:nth-child(2) {
    border-right: 0;
  }

  .recipe-stats > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .recipe-content-grid {
    grid-template-columns: 1fr;
  }

  .recipe-hero-image {
    height: 62vw;
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .category-grid,
  .recipe-grid,
  .world-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding-top: 50px;
  }

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

  .blog-article {
    padding: 28px 20px;
  }

  .blog-image {
    width: calc(100% + 40px);
    height: 300px;
    margin: 28px -20px;
  }

  .recipe-page {
    padding-top: 10px;
  }

  .recipe-hero-image {
    height: 68vw;
    min-height: 250px;
    border-radius: 13px;
  }

  .ingredients-card,
  .method-card {
    padding: 24px 20px;
  }
}
