/* =========================================================
   BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: var(--pia-text);
  background: var(--pia-offwhite);

  font-family: Arial, Helvetica, sans-serif;

  -webkit-font-smoothing: antialiased;
}

body.pia-modal-active {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.pia-home {
  overflow: hidden;
}

.pia-container {
  width: min(
    calc(100% - 48px),
    var(--pia-container)
  );

  margin-inline: auto;
}


/* =========================================================
   GLOBAL SECTION LABEL
========================================================= */

.pia-section-label {
  display: flex;
  align-items: center;

  gap: 14px;

  padding-bottom: 28px;
  margin-bottom: 72px;

  border-bottom:
    1px solid rgba(17, 17, 17, 0.16);
}

.pia-section-label span {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  border-radius: 50%;

  background: var(--pia-black);
  color: var(--pia-white);

  font-size: 12px;
  font-weight: 700;
}

.pia-section-label p {
  margin: 0;

  color: var(--pia-muted);

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.pia-section-label-light {
  border-color:
    rgba(255, 255, 255, 0.18);
}

.pia-section-label-light span {
  background: var(--pia-pink);
  color: var(--pia-black);
}

.pia-section-label-light p {
  color:
    rgba(255, 255, 255, 0.62);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--pia-pink);
  outline-offset: 4px;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

}

/* =========================================================
   TYPOGRAPHY RHYTHM
========================================================= */

body {
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.pia-page-kicker,
.pia-section-label p,
.pia-footer-label,
.pia-post-meta span,
.pia-programs-page-kicker {
  line-height: 1.2;
}

.pia-page-lead,
.pia-program-detail-lead,
.pia-story-lead,
.pia-single-excerpt {
  text-wrap: pretty;
}

.pia-btn,
.pia-nav-links a,
.pia-nav-cta,
.pia-read-more {
  letter-spacing: 0;
}