.alpoco-guide-entry {
  --entry-ink: #263f31;
  --entry-muted: #4f5d54;
  --entry-paper: #f8f5ee;
  --entry-line: #d8d4ca;
  padding-block: clamp(44px, 7vw, 94px);
  background: var(--entry-paper);
  color: var(--entry-ink);
}

.page-seo-guide .alpoco-guide-entry {
  padding-top: clamp(126px, 11vw, 168px);
}

.alpoco-guide-entry__inner {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 88px);
}

.alpoco-guide-entry h1 {
  margin: 0;
  color: var(--entry-ink);
  font: 500 clamp(2.25rem, 4.15vw, 4.5rem)/1.08 Georgia, serif;
  letter-spacing: -.035em;
}

.alpoco-guide-entry__copy p {
  max-width: 36ch;
  margin: 14px 0 18px;
  color: var(--entry-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.alpoco-guide-entry a.alpoco-guide-entry__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 20px;
  border-radius: 4px;
  background: var(--entry-ink);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.alpoco-guide-entry a.alpoco-guide-entry__primary:hover { background: #162a20; }

.alpoco-guide-entry a.alpoco-guide-entry__case {
  display: block;
  overflow: hidden;
  border: 1px solid var(--entry-line);
  border-radius: 4px;
  color: var(--entry-ink);
  text-decoration: none;
}

.alpoco-guide-entry__case img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 42%;
}

.alpoco-guide-entry__case-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  font-weight: 700;
  line-height: 1.35;
}

.alpoco-guide-entry__case:hover .alpoco-guide-entry__case-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.alpoco-guide-entry a:focus-visible {
  outline: 3px solid #a94f33;
  outline-offset: 3px;
}

.alpoco-roofing-detail-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .alpoco-guide-entry { padding-block: 22px 26px; }
  .page-seo-guide .alpoco-guide-entry { padding-top: 91px; }
  .alpoco-guide-entry__inner {
    width: min(560px, calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .alpoco-guide-entry h1 { font-size: clamp(1.875rem, 8.2vw, 2.7rem); }
  .alpoco-guide-entry__copy p { margin-block: 8px 14px; }
  .alpoco-guide-entry__primary { width: 100%; }
  .alpoco-guide-entry__case img { aspect-ratio: 16 / 8; }

  .page-seo-guide.alpoco-guide-entry-page .seo-guide-header h2 {
    font-size: clamp(1.55rem, 6.6vw, 2rem);
    line-height: 1.15;
  }
  .page-seo-guide.alpoco-guide-entry-page .seo-guide-header p { font-weight: 400; }

  body.page-seo-guide.alpoco-guide-entry-page { --mobile-sticky-height: 58px; }
  .page-seo-guide.alpoco-guide-entry-page .mobile-sticky-bar__inner.cq-meta {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
  .page-seo-guide.alpoco-guide-entry-page .mobile-sticky-bar__link--primary { grid-column: auto; }
  .page-seo-guide.alpoco-guide-entry-page .mobile-sticky-bar:not(.is-visible) { visibility: hidden; }
  .page-seo-guide.alpoco-guide-entry-page.mobile-menu-open .mobile-sticky-bar { display: none; }
}
