/* Four Curry Leaf content pages. Kept separate from the existing theme. */
.editorial-page {
  background: #fcf8f0;
  color: #302a23;
}

.editorial-hero {
  position: relative;
  isolation: isolate;
  min-height: 490px;
  display: flex;
  align-items: flex-end;
  background: #182921;
  color: #fff;
}

.editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(12, 26, 19, .92), rgba(12, 26, 19, .62) 60%, rgba(12, 26, 19, .32)), var(--editorial-image);
  background-position: center;
  background-size: cover;
}

/* The site header is absolutely positioned. Reserve its full height before the heading. */
.editorial-hero-inner {
  width: 100%;
  padding-top: 235px;
  padding-bottom: 76px;
}

.editorial-eyebrow {
  color: #f0bd62;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 17px;
}

.editorial-hero h1 {
  color: #fff;
  max-width: 850px;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0;
}

.editorial-breadcrumb {
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  margin: 23px 0 0;
}

.editorial-breadcrumb a { color: #f0bd62; }
.editorial-breadcrumb span { margin: 0 11px; }

.editorial-content {
  padding: 72px 0 105px;
}

.editorial-content-inner {
  max-width: 1080px;
}

.editorial-content p,
.editorial-content li {
  font-size: 1.05rem;
  line-height: 1.82;
  color: #51483e;
}

.editorial-content p { margin: 0 0 19px; }
.editorial-content a { color: #9b4d22; text-decoration: underline; text-underline-offset: 3px; }
.editorial-content a:hover { color: #5e2c15; }
.editorial-content strong { font-weight: 700; }

.editorial-section {
  margin-top: 50px;
  padding: 40px clamp(24px, 4vw, 54px);
  background: #fff;
  border: 1px solid #ebdfca;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(61, 43, 26, .055);
}

.editorial-section:nth-of-type(even) { background: #f7f1e6; }

.editorial-section h2 {
  color: #243a2d;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 24px;
}

.editorial-section h3 {
  color: #754322;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
  margin: 31px 0 9px;
  padding-left: 16px;
  border-left: 3px solid #c78c45;
}

.editorial-list {
  margin: 12px 0 18px;
  padding-left: 24px;
}
.editorial-list li { padding-left: 5px; }
.editorial-list li::marker { color: #af7132; }

.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0 7px;
  color: #a26a34;
}

.editorial-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #284737;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.editorial-actions a:hover { background: #9b4d22; color: #fff; transform: translateY(-2px); }
.editorial-actions a + a { background: transparent; color: #284737; border: 1px solid #284737; }
.editorial-actions a + a:hover { background: #284737; color: #fff; }

.editorial-footer-links {
  border-top: 1px solid rgba(255,255,255,.25);
  margin-top: 40px;
  padding-top: 28px;
}
.editorial-footer-links h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.editorial-footer-links ul { display: flex; flex-wrap: wrap; gap: 12px 25px; list-style: none; padding: 0; margin: 0; }
.editorial-footer-links a { color: rgba(255,255,255,.86); text-decoration: none; }
.editorial-footer-links a:hover { color: #f0bd62; }

@media (max-width: 767px) {
  .editorial-hero { min-height: 430px; }
  .editorial-hero-inner { padding-top: 220px; padding-bottom: 50px; }
  .editorial-content { padding: 43px 0 65px; }
  .editorial-section { margin-top: 32px; padding: 28px 22px; border-radius: 15px; }
  .editorial-content p, .editorial-content li { font-size: 1rem; }
}
