/* Homepage content only; header and footer live in shared-chrome.css. */
.home {
  --pn-heading-font: Georgia, 'Times New Roman', serif;
  background: #f7f8f4;
}

.home .home-shell { padding: 18px 0 28px; }
.home .hero-section { position: relative; display: block; height: clamp(410px, 34.4vw, 516px); min-height: 0; border: 0; border-radius: 12px; background: var(--pn-cream); box-shadow: 0 6px 20px rgba(35,65,55,.07); }
.home .hero-media { position: absolute; inset: 0; z-index: 0; height: 100%; width: 100%; }
.home .hero-media picture, .home .hero-media img { display: block; height: 100%; width: 100%; }
.home .hero-media img { object-fit: cover; object-position: 58% center; mask-image: none; }
.home .hero-media::before { display: none; }
.home .hero-copy { width: 49%; height: auto; min-height: 0; padding: 46px 0 110px 48px; }
.home .eyebrow { color: var(--pn-teal); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; }
.home .hero-copy h1 { font-family: var(--pn-heading-font); font-size: clamp(42px, 4.5vw, 66px); line-height: 1.01; letter-spacing: -1.7px; color: var(--pn-teal); margin: 6px 0 20px; }
.home .hero-copy > p { max-width: 390px; font-size: 15px; line-height: 1.4; margin-bottom: 18px; }
.home .pn-button { border-radius: 999px; box-shadow: none; padding: 12px 24px; min-height: 42px; font-size: 13px; }
.home .home-shell > .trust-strip { position: static; width: 100%; min-height: 76px; margin: 18px 0 0; background: #fff; border: 1px solid #e2e7e1; border-radius: 12px; box-shadow: 0 3px 12px rgba(35,65,55,.04); }
.home .trust-strip article { padding: 10px; gap: 10px; border: 0; justify-content: center; }
@media (min-width: 621px) {
.home .trust-strip article + article { position: relative; }
.home .trust-strip article + article::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: var(--pn-line); }
}
.home .trust-strip article > .pn-icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--pn-sky-2); }
.home .trust-strip strong { font-size: 12px; }
.home .trust-strip small { color: var(--pn-text); font-size: 12px; }
.home .home-section { margin-top: 48px; }
.home .home-section-heading { position: relative; display: block; margin-bottom: 28px; text-align: center; }
.home .home-heading-copy { max-width: 760px; margin: auto; }
.home .home-section-heading .eyebrow { margin: 0 0 15px; }
.home .home-section-heading h2 { max-width: none; font-family: var(--pn-heading-font); font-size: 38px; line-height: 1.12; letter-spacing: -1.1px; }
.home .home-section-heading > .home-heading-copy > p { margin: 10px 0 0; color: var(--pn-muted); font-size: 15px; line-height: 1.5; }
.home .home-section-heading > a { position: absolute; right: 0; top: 44px; font-size: 13px; gap: 10px; color: var(--pn-teal); }
.home .product-scroller { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; overflow: visible; scroll-snap-type: none; }
.home .product-card { background: #fff; border: 1px solid #e2e7e1; border-radius: 9px; box-shadow: 0 4px 14px rgba(35,65,55,.05); }
.home .product-card-media { aspect-ratio: 1 / 1; height: auto; background: var(--pn-cream); }
.home .product-card-body { padding: 9px 11px 12px; }
.home .product-card-category { font-size: 12px; }
.home .product-card h3 { font-size: 12px; line-height: 1.35; min-height: 48px; }
.home .product-card-price { padding: 0; font-size: 16px; }
.home .product-card-action { margin-top: 8px; }
.home .product-card-action .button { border-color: var(--pn-teal) !important; color: var(--pn-teal) !important; font-size: 12px !important; border-radius: 5px !important; }
.home .promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 0; }
.home .promo-card { height: auto; min-height: 0; aspect-ratio: .94; background: #fff; border: 1px solid #e2e7e1; border-radius: 9px; box-shadow: 0 4px 14px rgba(35,65,55,.05); }
.home .promo-card > img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.home .promo-shade { background: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,.70) 22%, transparent 52%); }
.home .promo-copy { justify-content: flex-end; padding: 20px; }
.home .promo-title { max-width: 150px; font: 700 24px/1.02 var(--pn-heading-font); letter-spacing: -.6px; }
.home .promo-copy small { max-width: 175px; margin-top: 9px; font-size: 12px; line-height: 1.3; }
.home .promo-copy em { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 18px; font-size: 12px; border-radius: 999px; background: var(--pn-deep); }
.home .article-grid { display: grid; height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(112px, auto)); gap: 12px 22px; }
.home .article-card { background: #fff; border: 1px solid #e2e7e1; border-radius: 8px; box-shadow: 0 4px 14px rgba(35,65,55,.05); }
@media (hover: hover) {
  .home .product-card:hover,
  .home .promo-card:hover,
  .home .article-card:hover { box-shadow: 0 7px 20px rgba(35,65,55,.09); }
}
.home .article-grid .article-card:first-child { position: relative; grid-row: 1 / 3; min-height: 250px; }
.home .article-grid .article-card:first-child .article-image { position: absolute; inset: 0; height: 100%; }
.home .article-grid .article-card:first-child .article-body { position: relative; min-height: 250px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; background: linear-gradient(0deg, rgba(18,57,49,.96), rgba(18,57,49,.82) 28%, rgba(18,57,49,.18) 62%, transparent 78%); }
.home .article-grid .article-card:first-child .article-tag { align-self: flex-start; }
.home .article-grid .article-card:first-child h3 { font-size: 17px; }
.home .article-grid .article-card:first-child p, .home .article-grid .article-card:first-child .read-more { color: #fff; }
.home .article-grid .article-card:not(:first-child) { display: grid; grid-template-columns: 37% minmax(0, 1fr); }
.home .article-grid .article-card:not(:first-child) .article-image { height: 100%; }
.home .article-grid .article-card:not(:first-child) .article-body { padding: 9px 15px; }
.home .article-grid .article-card:not(:first-child) h3 { font-size: 13px; margin: 4px 0; }
.home .article-grid .article-card:not(:first-child) p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.3; margin-bottom: 3px; }
.home .article-tag { border: 0; font-size: 12px; letter-spacing: .08em; }
@media (min-width: 861px) {
.home .home-guides .article-grid { grid-template-rows: repeat(2, minmax(184px, auto)); }
.home .home-guides .article-card:first-child,
  .home .home-guides .article-card:first-child .article-body { min-height: 380px; }
}
@media (max-width: 1080px) {

.home .hero-copy { padding: 34px 0 100px 28px; width: 51%; }
.home .hero-copy h1 { font-size: 44px; }
.home .home-section-heading > a { position: static; margin-top: 12px; }
.home .product-scroller { padding-bottom: 12px; }
.home .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home .promo-card { aspect-ratio: 1.12; }
.home .article-grid { gap: 12px; }
.home .article-grid .article-card:not(:first-child) .article-body { padding: 9px; }
}
@media (max-width: 860px) {
.home .hero-media img { object-position: 61% center; }
.home .hero-copy { width: 56%; }
.home .hero-copy h1 { font-size: 38px; }
.home .hero-copy > p { font-size: 13px; }
.home .article-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
.home .article-grid .article-card:first-child { grid-row: auto; }
}
@media (max-width: 620px) {

.home .home-shell { padding-top: 12px; }
.home .hero-section { height: auto; display: flex; flex-direction: column; }
.home .hero-copy { width: 100%; padding: 26px 22px 16px; order: 0; }
.home .hero-copy h1 { font-size: 38px; letter-spacing: -1.1px; }
.home .hero-copy > p { max-width: none; }
.home .hero-media { position: relative; height: 210px; order: 1; }
.home .hero-media img { object-position: center; }
.home .home-shell > .trust-strip { grid-template-columns: 1fr; padding: 8px 14px; }
.home .trust-strip article { padding: 7px 0; }
.home .trust-strip article > .pn-icon { width: 36px; height: 36px; padding: 7px; }
.home .trust-strip small { font-size: 12px; }
.home .home-section { margin-top: 34px; }
.home .home-section-heading { margin-bottom: 20px; }
.home .home-section-heading .eyebrow { font-size: 12px; margin-bottom: 10px; }
.home .home-section-heading h2 { max-width: none; font-size: 30px; }
.home .home-section-heading > .home-heading-copy > p { font-size: 13px; }
.home .product-scroller { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.home .promo-grid { gap: 10px; }
.home .promo-card { aspect-ratio: auto; height: 270px; }
.home .promo-copy { padding: 13px; }
.home .promo-title { font-size: 23px; }
.home .promo-copy small { font-size: 12px; }
.home .promo-copy em { padding: 9px 10px; font-size: 12px; }
.home .article-grid .article-card:not(:first-child) .article-image { min-height: 125px; }
.home .article-grid .article-card:first-child .article-body { padding: 18px; }
}

/* Keep editorial subjects visible in the homepage guide cards. */
.home .home-guides .article-card:first-child .article-image img { object-position: 50% 25%; }
.home .home-guides .article-card:not(:first-child) .article-image { background: var(--pn-cream); }
.home .home-guides .article-card:not(:first-child) .article-image img { object-fit: contain; }
.home .home-guides .article-card:hover .article-image img { transform: none; }
