/*
Theme Name: Perks123 Typography Review
Description: Review draft for poster typography and Guide copy, inheriting the current published Perks123 theme.
Template: perks123-discovery-wpvibe-draft
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: perks123-typography-review
*/


.brand img{clip-path:polygon(0 0,100% 0,100% 64%,28% 64%,28% 100%,0 100%)} header nav{display:flex;flex-wrap:wrap} @media(max-width:760px){header nav{display:flex!important;position:static!important;background:transparent!important;gap:12px!important;padding:12px 0!important}.header-inner{flex-wrap:wrap}.cards{grid-template-columns:1fr}.find-facts{grid-template-columns:1fr}.poster-content h1{font-size:2.4rem}}

.cards .card{display:block}.card-body{padding:24px}.card-meta{font-size:.82rem;color:var(--muted)}.provider-actions{margin:28px 0}.header-inner{padding-top:16px;padding-bottom:16px}

/* Perks123 poster typography: balanced copy blocks */
#main .h43-hero-copy,
#main .rw4-hero-copy,
#main .av2-hero-poster .av2-hero-copy,
#main .hw-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
#main .h43-hero-copy h1,
#main .hw-hero-copy h1 {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: .22em;
  width: max-content;
  max-width: 100%;
  font-size: clamp(36px, 4.35vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0;
}
#main .h43-hero-copy h1 > span,
#main .hw-hero-copy h1 > span {
  display: block;
  font-size: inherit;
  line-height: inherit;
}
#main .h43-hero-copy h1 > span:first-child,
#main .hw-hero-copy h1 > span:first-child {
  grid-column: 1 / -1;
}
#main .rw4-hero-copy h1,
#main .av2-hero-poster .av2-hero-copy h1 {
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 0;
  text-wrap: balance;
}
#main .av2-hero-poster .av2-hero-copy h1 {
  font-size: clamp(34px, 3.5vw, 48px);
}
#main .h43-hero-copy > p,
#main .rw4-hero-copy > p,
#main .av2-hero-poster .av2-hero-copy > p,
#main .hw-hero-copy > p {
  font-size: 18px;
  line-height: 1.5;
  margin: 18px 0 22px;
  max-width: 42ch;
  text-wrap: pretty;
}
#main .h43-hero-copy .h43-actions { margin: 0; gap: 12px; }
#main .rw4-hero-copy > .rw4-eyebrow,
#main .av2-hero-poster .av2-hero-copy > .av2-eyebrow,
#main .hw-hero-copy > .hw-eyebrow {
  margin: 0 0 16px;
  line-height: 1.3;
}
#main .h43-customer-copy h2,
#main .rw4-pick-copy h2,
#main .hw-code-copy h2,
#main .av2-closing-copy h2,
#main .hw-final h2 {
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
#main .h43-customer-copy p:not(.h43-eyebrow),
#main .rw4-pick-copy p,
#main .hw-code-copy p,
#main .av2-closing-copy p {
  line-height: 1.5;
  margin-top: 18px;
  margin-bottom: 22px;
  max-width: 42ch;
}
@media (max-width: 700px) {
  #main .h43-hero-copy,
  #main .rw4-hero-copy,
  #main .av2-hero-poster .av2-hero-copy,
  #main .hw-hero-copy {
    padding-top: 28px;
    padding-bottom: 24px;
  }
  #main .h43-hero-copy h1,
  #main .hw-hero-copy h1 { font-size: clamp(34px, 9vw, 46px); }
  #main .rw4-hero-copy h1 { font-size: clamp(34px, 9vw, 46px); }
  #main .av2-hero-poster .av2-hero-copy h1 { font-size: clamp(32px, 8vw, 42px); }
  #main .h43-hero-copy > p,
  #main .rw4-hero-copy > p,
  #main .av2-hero-poster .av2-hero-copy > p,
  #main .hw-hero-copy > p {
    font-size: 17px;
    line-height: 1.5;
    margin: 16px 0 20px;
  }
}
#main .dv31-intro h1 { font-size: clamp(36px, 4.1vw, 56px); line-height: 1.08; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
#main .dv31-intro p { font-size: 18px; line-height: 1.5; margin: 18px 0 0; text-wrap: balance; }

@media (min-width: 701px) and (max-width: 900px) {
  #main .av2-hero-poster .av2-hero-copy h1 { font-size: clamp(28px, 3.6vw, 34px); }
}

/* Guide uses its own two-line introduction instead of the Home slogan. */
#main .hw-hero-copy h1 { display: block; width: auto; font-size: clamp(36px, 4.1vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
#main .hw-hero-copy h1 > span { display: block; }
@media (max-width: 700px) { #main .hw-hero-copy h1 { font-size: clamp(34px, 9vw, 46px); } }
