/**
 * ENFORCE — 4th of July Weekend Packing List
 * Packing-specific blocks under .j4p- / .j4p-lp
 * Shares tokens/buttons/hero base from enforce-july4-lp.css
 */

.j4p-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero tweaks for summer lifestyle image */
.j4-lp-page .header-section {
  margin-bottom: 0;
}

.j4p-lp {
  margin-top: 0;
}

.j4p-lp .j4p-hero {
  min-height: clamp(770px, calc(72vh + 250px), 1010px);
  margin-top: 0;
  background: #1a1a1a;
}

.j4p-lp .j4p-hero .j4-hero__img {
  object-position: right top;
}

.j4p-hero__eyebrow {
  color: var(--j4-accent, #558792) !important;
}

.j4p-lp .j4p-hero .j4-hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.9) 30%,
    rgba(255, 255, 255, 0.5) 46%,
    rgba(255, 255, 255, 0.1) 58%,
    rgba(255, 255, 255, 0) 68%
  );
}

/* Benefits — 4 equal columns with copy */
.j4p-benefits {
  background: var(--j4-gray, #f3f4f4);
  border-bottom: 1px solid var(--j4-line, #e5e8ea);
  padding: 2rem 0;
}

.j4p-benefits__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
}

.j4p-benefits__item {
  text-align: center;
}

.j4p-benefits__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 0.65rem;
  color: var(--j4-accent, #558792);
}

.j4p-benefits__icon svg {
  width: 28px;
  height: 28px;
}

.j4p-benefits__item h2 {
  margin: 0 0 0.4rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--j4-ink, #111);
}

.j4p-benefits__item p {
  margin: 0 auto;
  max-width: 16rem;
  font-size: 14px;
  line-height: 1.45;
  color: var(--j4-muted, #555);
}

/* Intro + lifestyle */
.j4p-intro {
  background: #fff;
  padding: var(--j4-section-y, 3rem) 0 1.5rem;
}

.j4p-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem 3rem;
  align-items: center;
}

.j4p-intro__label {
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--j4-accent, #558792);
}

.j4p-intro__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--j4-ink, #111);
}

.j4p-intro__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 16px;
  line-height: 1.7;
  color: var(--j4-muted, #555);
}

.j4p-intro__media a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.j4p-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 20%;
}

/* Checklist columns */
.j4p-lists {
  background: #fff;
  padding: 1rem 0 var(--j4-section-y, 3rem);
}

.j4p-lists__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.j4p-card {
  background: transparent;
  border-top: 0;
  padding: 0;
  box-shadow: none;
}

.j4p-card__title {
  margin: 0 0 1rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--j4-accent, #558792);
}

.j4p-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.j4p-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef0f1;
  font-size: 16px;
  line-height: 1.4;
  color: var(--j4-ink, #111);
}

.j4p-card__list li:last-child {
  border-bottom: none;
}

.j4p-card__box {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid #b8c0c4;
  border-radius: 2px;
  background: #fff;
}

.j4p-print {
  margin-top: 2.25rem;
  text-align: center;
}

/* Feature photo grid — equal-height columns */
.j4p-features {
  background: #fff;
  padding: 0 0 var(--j4-section-y, 3rem);
}

.j4p-features__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  align-items: stretch;
}

.j4p-features__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-width: 0;
  text-align: left;
}

.j4p-features__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eceeef;
  margin-bottom: 0.9rem;
  flex: 0 0 auto;
}

.j4p-features__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.j4p-features__item h3 {
  margin: 0 0 0.4rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--j4-accent, #558792);
  line-height: 1.3;
}

.j4p-features__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #222;
  flex: 1 1 auto;
}

/* Tips + Why ENFORCE split */
.j4p-split {
  background: var(--j4-gray, #f3f4f4);
  padding: var(--j4-section-y, 3rem) 0;
}

.j4p-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.j4p-tips__label {
  margin: 0 0 1.25rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--j4-accent, #558792);
}

.j4p-tips__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.5rem;
}

.j4p-tips__item h3 {
  margin: 0 0 0.3rem;
  font-size: 16px;
  font-weight: 700;
  color: var(--j4-ink, #111);
}

.j4p-tips__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--j4-muted, #555);
}

.j4p-why {
  background: #fff;
  padding: 1.5rem 1.35rem 1.5rem;
  border: 1px solid #e4e4e4;
}

.j4p-why__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--j4-accent, #558792);
}

.j4p-why__title {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--j4-ink, #111);
}

.j4p-why__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.j4p-why__list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.j4p-why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--j4-accent, #558792);
  border-bottom: 2px solid var(--j4-accent, #558792);
  transform: rotate(-45deg);
}

.j4p-why__product {
  margin: 0 0 1.25rem;
  background: #f6f6f6;
  padding: 1rem;
  text-align: center;
}

.j4p-why__product img {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto;
}

.j4p-why__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Timeline */
.j4p-timeline {
  background: #fff;
  padding: var(--j4-section-y, 3rem) 0;
}

.j4p-timeline__title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--j4-ink, #111);
}

.j4p-timeline__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.j4p-timeline__item {
  text-align: center;
  padding: 0;
  background: transparent;
}

.j4p-timeline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 0.75rem;
  color: var(--j4-accent, #558792);
}

.j4p-timeline__icon svg {
  width: 28px;
  height: 28px;
}

.j4p-timeline__day {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--j4-ink, #111);
}

.j4p-timeline__item p {
  margin: 0 auto;
  max-width: 18rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--j4-muted, #555);
}

/* Packing CTA panel — lighter, no icon needed */
.j4p-lp .j4-cta__panel {
  background: var(--j4-gray, #f3f4f4);
}

@media print {
  .j4-hero,
  .j4p-benefits,
  .j4p-intro,
  .j4p-features,
  .j4p-split,
  .j4p-timeline,
  .j4-cta,
  .j4-faq,
  .email-signup-banner,
  footer,
  .header-section,
  .j4p-print {
    display: none !important;
  }

  .j4p-lists {
    background: #fff;
    padding: 0;
  }

  .j4p-lists__grid {
    display: block;
  }

  .j4p-card {
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

@media (max-width: 991px) {
  .j4p-benefits__grid,
  .j4p-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .j4p-intro__grid,
  .j4p-split__grid,
  .j4p-lists__grid,
  .j4p-timeline__grid {
    grid-template-columns: 1fr;
  }

  .j4p-tips__grid {
    grid-template-columns: 1fr 1fr;
  }

  .j4p-lp .j4p-hero {
    min-height: clamp(810px, calc(120vw + 250px), 970px);
  }

  .j4p-lp .j4p-hero .j4-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.86) 42%,
      rgba(255, 255, 255, 0.3) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .j4p-lp .j4p-hero .j4-hero__img {
    object-position: 70% top;
  }
}

@media (max-width: 600px) {
  .j4p-benefits__grid,
  .j4p-features__grid,
  .j4p-tips__grid {
    grid-template-columns: 1fr;
  }
}
