/* Interior / home page content styles */

.gold-rule {
  height: 4px;
  width: 140px;
  background: var(--gold);
  margin: 0 0 24px;
}

.content-h1 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.page-h1 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.content-h2 {
  font-size: 27px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.25;
}

.section-h2 {
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}

.part-h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}

.person-h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.step-h3 {
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sub-h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.deck {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted-2);
  margin: 0 0 18px;
  line-height: 1.35;
}

.kicker {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted-2);
  margin: 0 0 12px;
}

.body-copy p,
.content-p {
  margin: 0 0 16px;
  font-size: 18.5px;
  line-height: 1.7;
  text-wrap: pretty;
}

.body-copy a,
.content-p a,
.inline-link {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.body-copy a:hover,
.content-p a:hover,
.inline-link:hover {
  color: var(--gold-deep);
}

/* Jump-to-section cue — CSS chevron (unicode ⌄ sat below the baseline). */
.inline-link--jump {
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-position: 0 calc(100% - 1px);
  background-repeat: no-repeat;
  background-size: calc(100% - 0.85em) 1px;
  padding-bottom: 2px;
}

.inline-link--jump:hover {
  background-image: linear-gradient(var(--gold-deep), var(--gold-deep));
}

.inline-link--jump::after {
  content: '';
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.3em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
  vertical-align: middle;
}

.jump-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: var(--border-card);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  background: var(--white);
}

.jump-pill:hover {
  background: var(--cream-warm);
  color: var(--black);
}

.jump-or {
  font-size: 15px;
  color: var(--muted);
}

.section-block {
  padding: 34px 0 0;
  margin-top: 34px;
  border-top: 1px solid var(--line-soft);
}

.section-block:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.part-break {
  border-top: 4px solid var(--black);
  margin: 40px 0 34px;
  padding: 0;
}

.gold-bullets {
  margin: 0 0 22px;
  padding: 0 0 0 22px;
}

.gold-bullets li {
  margin: 0 0 10px;
  font-size: 18.5px;
  line-height: 1.6;
}

.gold-bullets li::marker {
  color: var(--gold);
}

.reasons-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.reasons-list li {
  counter-increment: reason;
  margin: 0 0 8px;
  font-size: 18.5px;
}

.reasons-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
}

.reasons-list a::before {
  content: counter(reason) '. ';
  font-weight: 700;
}

.reasons-list a:hover {
  color: var(--gold-deep);
}

.def-list {
  margin: 0 0 18px;
}

.def-term {
  display: block;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
}

.def-desc {
  margin: 0 0 14px;
  font-size: 18.5px;
  line-height: 1.7;
}

.step-block {
  padding: 22px 0 0;
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.step-block:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* Home searches */
.searches-section {
  margin-top: 40px;
}

.searches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 4px;
}

.search-card {
  border: var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.search-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gold);
  border-bottom: var(--border-card);
}

.search-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}

.search-card__head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.search-card ul {
  list-style: none;
  margin: 0;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.search-card a {
  color: var(--black);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 2px solid var(--gold);
}

.search-card a:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--black);
}

/* Posts */
.posts-section {
  margin-top: 46px;
}

.posts-list {
  display: flex;
  flex-direction: column;
  margin: 18px 0 0;
  /* Stack on narrow main column (sidebar still visible) — not only viewport ≤860. */
  container-type: inline-size;
  container-name: posts;
}

.post-row {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}

@container posts (max-width: 720px) {
  .post-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .post-row__poster {
    max-width: 520px;
  }
}

.post-row[hidden],
.post-row[data-load-deferred] {
  display: none !important;
}

.post-row__poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: var(--border-card);
  border-radius: var(--radius-plate);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #222;
  border-style: solid;
}

/* Absolute fill — % height inside <button> aspect-ratio boxes collapses to 0. */
.post-row__poster img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: filter 0.2s ease;
}

.post-row__poster:hover img {
  filter: brightness(1);
}

.post-row__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.post-row__play span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-row__play svg {
  margin-left: 3px;
  fill: var(--white);
}

.post-row h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.post-row p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
}

.posts-more {
  display: block;
  margin: 18px auto 0;
  background: var(--white);
  color: var(--black);
  border: var(--border-card);
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.posts-more:hover {
  background: var(--gold);
}

.posts-more[hidden] {
  display: none !important;
}

/* Team */
.team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1373;
  border: var(--border-card);
  border-radius: var(--radius-plate);
  margin: 0 0 28px;
  background: #e8e2d4;
}

.team-member {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 28px 0 0;
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
  align-items: flex-start;
}

.team-member:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.team-member__portrait {
  flex: 0 0 180px;
  width: 180px;
  background: #f2ece0;
  border-radius: 6px;
  overflow: hidden;
}

.team-member__portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.team-member__body {
  flex: 1 1 320px;
  min-width: 0;
}

.team-member__role {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--muted-2);
}

.team-member__creds {
  margin: 14px 0 0;
  font-size: 17.5px;
  line-height: 1.6;
}

.team-member__contact {
  display: inline-flex;
  margin-top: 16px;
  background: var(--gold);
  color: var(--black);
  border: var(--border-card);
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
}

.team-member__contact:hover {
  background: var(--black);
  color: var(--gold);
}

.team-closing {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 3px solid var(--black);
}

/* Videos */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.video-filters__label {
  font-size: 16px;
  font-weight: 700;
  margin-right: 4px;
}

.video-filters__chip {
  min-height: 40px;
  padding: 8px 18px;
  border: var(--border-card);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.video-filters__chip:hover,
.video-filters__chip.is-active {
  background: var(--gold);
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px !important;
}

.video-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-2);
  text-transform: capitalize;
}

/* Contact page */
.page-form {
  margin: 0 0 8px;
}

.page-form .side-form__helper {
  margin: 0 0 14px;
  font-size: 17.5px;
  color: var(--muted-2);
}

.page-form .side-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.page-form .side-form__grid .full {
  grid-column: 1 / -1;
}

.page-form label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 6px;
}

.page-form input,
.page-form textarea {
  width: 100%;
  border: var(--border-card);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: var(--white);
}

.page-form .side-form__submit {
  min-height: 46px;
  padding: 10px 28px;
  border: var(--border-card);
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.page-form .side-form__submit:hover {
  background: var(--black);
  color: var(--gold);
}

.page-form .side-form__messages {
  min-height: 1.2em;
  margin: 0 0 12px;
  font-size: 15.5px;
  font-weight: 600;
}

.page-form .side-form__messages.is-error {
  color: #9b1c1c;
}

.page-form .side-form__messages.is-ok {
  color: #1f6b3a;
}

.contact-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.contact-person {
  padding-top: 8px;
}

.contact-person__role {
  margin: 0 0 12px;
  font-size: 17.5px;
  color: var(--muted-2);
}

.contact-person__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  line-height: 1.7;
}

.contact-person__list a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.contact-person__list a:hover {
  color: var(--gold-deep);
}

/* Careers / sitemap / privacy */
.section-block {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.career-opening + .career-opening {
  margin-top: 40px;
}

.sitemap-group .gold-bullets {
  margin-top: 8px;
}

/* Reviews page */
.reviews-page {
  margin-top: 10px;
}

.reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review-card {
  padding: 22px 0 24px;
  border-top: 1px solid var(--line-soft);
}

.review-card[hidden],
.review-card[data-load-deferred] {
  display: none !important;
}

.review-card:first-child {
  border-top: none;
  padding-top: 4px;
}

.reviews-more {
  display: block;
  margin: 18px auto 0;
  background: var(--white);
  color: var(--black);
  border: var(--border-card);
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.reviews-more:hover {
  background: var(--gold);
}

.reviews-more[hidden] {
  display: none !important;
}

.review-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 12px;
}

.review-stars {
  --stars-fill: 100%;
  position: relative;
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.12em;
  width: 7.2em;
  height: 1em;
}

.review-stars__empty,
.review-stars__filled {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  overflow: hidden;
}

.review-stars__empty {
  color: #d8d0c0;
}

.review-stars__filled {
  width: var(--stars-fill);
  color: var(--star, var(--gold));
  -webkit-text-stroke: 1px var(--black);
  z-index: 1;
}

.review-card__date {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--muted-2);
}

.review-card__date a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.review-card__date a:hover {
  color: var(--gold-deep);
}

.review-card__quote {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--black);
  text-wrap: pretty;
}

.review-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card__google {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.review-card__author {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .content-h1 {
    font-size: 36px;
  }

  .page-h1 {
    font-size: 34px;
  }

  .page-form .side-form__grid,
  .contact-people {
    grid-template-columns: 1fr;
  }
}
