/* /features/* — same container-xxl width as homepage Custom web address (~1320px) */

body.pf-feature-detail,
body.pf-feature-detail #page.page {
  background: #ffffff;
}

.pf-fdetail-hero {
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

/* Same grid as .landing-domain-grid */
.pf-fdetail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
}

/* Same copy measure as .landing-domain-copy */
.pf-fdetail-hero-copy {
  max-width: 32rem;
  text-align: left;
}

.pf-fdetail-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.86rem;
  color: #64748b;
}

.pf-fdetail-crumb a {
  color: #475569;
  text-decoration: none;
}

.pf-fdetail-crumb a:hover {
  color: var(--green, #0fbc49);
}

.pf-fdetail-crumb-sep {
  opacity: 0.55;
}

.pf-fdetail-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--green, #0fbc49);
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1.pf-fdetail-title {
  margin: 0 0 0.75rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pf-fdetail-lead {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #3f4652;
  font-size: 1.05rem;
  line-height: 1.65;
}

.pf-fdetail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
}

.pf-fdetail-hero-visual {
  width: 100%;
  margin: 0;
}

.pf-fdetail-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.pf-fdetail-body {
  padding: 3.5rem 0 1rem;
  background: #ffffff;
}

/* Same container width as hero — no narrower centered column */
.pf-fdetail-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.pf-fdetail-panel h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pf-fdetail-panel h2:first-child {
  margin-top: 0;
}

.pf-fdetail-panel h3 {
  margin: 1.35rem 0 0.45rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 700;
}

.pf-fdetail-panel p,
.pf-fdetail-panel li {
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #3f4652;
  font-size: 1.02rem;
  line-height: 1.65;
}

.pf-fdetail-panel p {
  margin: 0 0 1rem;
}

.pf-fdetail-panel ul,
.pf-fdetail-panel ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.pf-fdetail-panel li + li {
  margin-top: 0.4rem;
}

.pf-fdetail-panel a {
  color: var(--green, #0fbc49);
  font-weight: 600;
  text-decoration: none;
}

.pf-fdetail-panel a:hover {
  text-decoration: underline;
}

.pf-fdetail-callout {
  margin: 1.5rem 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid var(--green, #0fbc49);
}

.pf-fdetail-callout p {
  margin: 0;
}

.pf-fdetail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 0.25rem;
}

.pf-fdetail-faq details {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: transparent;
}

.pf-fdetail-faq summary {
  cursor: pointer;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-weight: 700;
  color: #1e293b;
  list-style: none;
}

.pf-fdetail-faq summary::-webkit-details-marker {
  display: none;
}

.pf-fdetail-faq details[open] summary {
  margin-bottom: 0.45rem;
  color: var(--green, #0fbc49);
}

.pf-fdetail-faq details p {
  margin: 0;
  font-size: 0.98rem;
}

.pf-fdetail-related {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
}

.pf-fdetail-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.pf-fdetail-more {
  padding: 2.5rem 0 3.5rem;
  background: #ffffff;
}

.pf-fdetail-more-title {
  margin: 0 0 1.25rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pf-fdetail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-fdetail-thumb {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(17, 24, 39, 0.07);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pf-fdetail-thumb:hover {
  border-color: rgba(15, 188, 73, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.pf-fdetail-thumb-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f6;
}

.pf-fdetail-thumb-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.pf-fdetail-thumb-label {
  display: block;
  padding: 0.75rem 0.85rem 0.9rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.pf-fdetail-thumb:hover .pf-fdetail-thumb-label {
  color: var(--green, #0fbc49);
}

@media (max-width: 1199px) {
  .pf-fdetail-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .pf-fdetail-hero {
    padding: 5.25rem 0 2rem;
  }

  .pf-fdetail-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pf-fdetail-hero-copy {
    max-width: none;
    text-align: center;
  }

  .pf-fdetail-lead {
    max-width: none;
  }

  .pf-fdetail-crumb,
  .pf-fdetail-actions {
    justify-content: center;
  }

  .pf-fdetail-hero-visual {
    order: -1;
  }

  .pf-fdetail-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .pf-fdetail-actions,
  .pf-fdetail-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .pf-fdetail-actions .btn,
  .pf-fdetail-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .pf-fdetail-thumbs {
    grid-template-columns: 1fr;
  }
}
