/* =====================================================
   AUTHOR (profile page, author index, bylines)
   Loaded on the Insights article, the author pages and
   the authors index.
   ===================================================== */

/* ---------- Byline ---------- */
.ins-byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.ins-byline img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,191,0,0.55);
}

.ins-byline__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  line-height: 1.25;
}

.ins-byline__role {
  display: block;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 400;
  opacity: 0.72;
}

.ins-byline:hover .ins-byline__name { color: var(--gold); }

/* ---------- Author hero ---------- */
.au-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 150px 0 70px;
  overflow: hidden;
}

.au-hero::after {
  content: '';
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,191,0,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.au-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  align-items: center;
}

.au-hero__photo {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.au-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.au-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.au-hero__name {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 10px;
}

.au-hero__role {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--gold);
  margin: 0 0 16px;
}

.au-hero__intro {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.80);
  max-width: 62ch;
  margin: 0 0 22px;
}

.au-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.au-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

.au-hero__pill i { color: var(--gold); }

.au-hero__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
  transition: var(--transition);
}

.au-hero__social:hover { background: var(--white); transform: translateY(-2px); }

/* ---------- Body ---------- */
.au-body { padding: 70px 0 90px; background: var(--white); }

.au-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 54px;
  align-items: start;
}

.au-block + .au-block { margin-top: 44px; }

.au-block__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10,32,53,0.10);
}

.au-note {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0 0 18px;
}

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

.au-list li {
  position: relative;
  padding: 0 0 0 30px;
  margin-bottom: 20px;
}

.au-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.au-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.au-list span { font-size: 15.5px; line-height: 1.75; color: var(--gray-600); }

.au-traits { list-style: none; margin: 0; padding: 0; }

.au-traits li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

.au-traits li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  color: var(--gold-dark);
}

/* sidebar. The whole stack sticks as one unit; making each panel sticky
   individually made the second one ride up over the first while scrolling. */
.au-side-stack { position: sticky; top: 100px; }

.au-side {
  background: rgba(234,230,220,0.38);
  border: 1px solid rgba(10,32,53,0.07);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.au-side__title {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
}

.au-side-stack > * + * { margin-top: 22px; }

.au-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.au-chips li {
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid rgba(10,32,53,0.10);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.au-chips--gold li { background: rgba(255,191,0,0.14); border-color: rgba(255,191,0,0.35); }

/* ---------- Author's own posts ---------- */
.au-posts { padding: 0 0 90px; background: var(--white); }

.au-posts__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.au-posts__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* ---------- Authors index ----------
   The section sits on a soft cream wash so the white cards read as cards
   instead of dissolving into a white page. */
.au-index { padding: 70px 0 90px; background: rgba(234,230,220,0.42); }

.au-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 24px; }

.au-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 42px 26px 30px;
  background: var(--white);
  border: 1px solid rgba(10,32,53,0.10);
  border-radius: var(--radius-lg);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10,32,53,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* gold cap across the top of each card */
.au-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

/* soft navy wash behind the portrait, so the circle has something to sit on */
.au-card::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 84px;
  background: linear-gradient(180deg, rgba(10,32,53,0.055) 0%, rgba(10,32,53,0) 100%);
  pointer-events: none;
}

.au-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,191,0,0.55);
  box-shadow: 0 20px 50px rgba(10,32,53,0.14);
}

.au-card__photo {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(10,32,53,0.14);
  margin-bottom: 18px;
}

.au-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.au-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}

.au-card__role {
  font-family: var(--font-heading);
  font-size: 13.5px;
  color: var(--gold-dark);
  margin: 0 0 14px;
}

.au-card__intro { font-size: 15px; line-height: 1.7; color: var(--gray-600); margin: 0 0 18px; }

.au-card__more {
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
  border-top: 1px solid rgba(10,32,53,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.au-card:hover .au-card__more { color: var(--gold-dark); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .au-grid { grid-template-columns: 1fr; gap: 38px; }
  .au-side-stack { position: static; }
  .au-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .au-hero { padding: 118px 0 52px; }
  .au-hero::after { display: none; }
  .au-hero__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
  .au-hero__photo { width: 128px; height: 128px; }
  .au-hero__intro { max-width: none; }
  .au-hero__meta { justify-content: center; }
  .au-body { padding: 48px 0 64px; }
  .au-posts { padding-bottom: 64px; }
  .au-cards { grid-template-columns: 1fr; }
  .au-index { padding: 48px 0 64px; }
}

/* ---------- Compact byline on listing cards ---------- */
.ins-byline--sm img { width: 24px; height: 24px; border-width: 1.5px; }
.ins-byline--sm { gap: 7px; }
.ins-byline--sm .ins-byline__name { font-size: 12.5px; color: var(--navy); }
.ins-card:hover .ins-byline--sm .ins-byline__name { color: var(--gold-dark); }

/* ---------- FAQ block at the end of an article ---------- */
.ins-faq { margin-top: 52px; }

.ins-faq__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 24px;
}

.ins-faq .faq__list { max-width: none; box-shadow: 0 6px 22px rgba(10,32,53,0.05); }
.ins-faq .faq__q { font-size: 16.5px; padding: 20px 24px; }
.ins-faq .faq__item[open] .faq__q { padding-bottom: 12px; }
.ins-faq .faq__a { padding: 0 24px 22px; font-size: 16px; }
.ins-faq .faq__a p { margin: 0 0 12px; }
.ins-faq .faq__a p:last-child { margin-bottom: 0; }
.ins-faq .faq__a ul { margin: 0; padding: 0; list-style: none; }

.ins-faq .faq__a li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.ins-faq .faq__a li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 768px) {
  .ins-faq { margin-top: 38px; }
  .ins-faq .faq__q { font-size: 15.5px; padding: 18px 18px; }
  .ins-faq .faq__a { padding: 0 18px 20px; font-size: 15.5px; }
}
