/* Layout ported from Skaneateles Fields' content blocks.
   Source selectors and breakpoint rules are retained in reference/.
   Brand fonts/colors and the requested logo/subheading treatments stay Hilltop. */
.features { display: flow-root; }
.feature {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 100px 0 90px;
  padding: 0 20px;
}
.feature-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}
.feature-image-left .feature-inner { flex-direction: row-reverse; }
.feature-copy {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 100px 0 0;
}
.feature-media {
  flex: 0 0 50%;
  width: 50%;
  margin: 0;
  padding: 0;
  text-align: end;
  line-height: 0;
}
.feature-image-left .feature-media { text-align: start; }
/* Short image accents use Vivace without changing the content-block geometry. */
.feature-image-frame { position: relative; }
.feature .feature-accent {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(90% - 36px);
  margin: 0;
  padding: 7px 18px 9px;
  font: 400 clamp(34px, 3.25vw, 48px)/1.12 'English 111 Vivace', cursive;
  letter-spacing: 0;
  text-align: center;
  color: var(--soil);
  background: var(--paper);
}
.feature-image-left .feature-accent { right: calc(10% + 18px); }
.feature-sprig .feature-accent { color: var(--ember); background: var(--dust); }

.feature-image {
  display: inline-block;
  width: 100%;
  max-width: 90%;
  height: 520px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center center;
}
.feature-logo {
  flex: none;
  width: 145px;
  height: 64px;
  margin: 0 0 24px;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
}
.feature-sprig .feature-logo { width: 200px; height: 95px; }
.feature h2 {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.feature-title, .feature-subtitle { margin: 0; padding: 0; }
.feature .subheading {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  font-style: normal;
  text-transform: none;
  margin: 0 0 16px;
  color: var(--soil);
}
.feature p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 22px;
}
.feature-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
}
.feature .button {
  min-height: 48px;
  margin: 0;
  padding: 16px 36px;
}
.feature-sprig h2 { color: #000000; }
@media (max-width: 1024px) {
  .feature { margin: 70px 0; padding: 0 40px; }
  .feature-social { margin-top: 80px; margin-bottom: 0; }
  .feature-coffee { margin-bottom: 100px; }
  .feature-copy { padding-right: 60px; }
  .feature-image { height: 400px; }
  /* Fields' culinary widget shrinks to its portrait image's 3:4 ratio.
     Preserve that rendered geometry with Hilltop's landscape source image. */
  .feature-social .feature-image-frame { width: 300px; max-width: 100%; margin-left: auto; }
  .feature h2 { font-size: 44px; }
  .feature p { font-size: 14px; }
}
@media (max-width: 767px) {
  .feature { margin: 35px 0 50px; padding: 0 20px; }
  .feature-social { margin-top: 0; }
  .feature-inner, .feature-image-left .feature-inner { flex-direction: column-reverse; }
  .feature-copy { padding: 0; text-align: center; }
  .feature-logo { align-self: center; object-position: center; }
  .feature-media { flex: none; width: 100%; }
  .feature-intro .feature-media { display: none; }
  .feature-image { max-width: 100%; height: 350px; }
  .feature .feature-accent { right: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 6px 14px 8px; }
  .feature-social .feature-image-frame { width: 262.5px; margin: 0 auto; }
  .feature h2 { font-size: 32px; }
  .feature-actions { align-items: center; }
}

/* Keep Coffee's bottom margin clear of Sprig's background.
   Sprig's top spacing is internal so both sections retain their own space. */
.feature-sprig {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  padding-top: 100px;
}
/* Extend Dust through Sprig's bottom margin and the 10px gap before events. */
.feature-sprig::before {
  content: "";
  position: absolute;
  inset: 0 0 -100px;
  z-index: -1;
  pointer-events: none;
  background: var(--dust);
}
@media (max-width: 1024px) {
  .feature-sprig { padding-top: 70px; }
  .feature-sprig::before { bottom: -80px; }
}
@media (max-width: 767px) {
  .feature-sprig { padding-top: 35px; }
  .feature-sprig::before { bottom: -60px; }
}
