/* ==============================================================================
   AUTHOR GOLD PAGES
   Loaded only on /tac-gia routes
   ============================================================================== */

.author-pro {
  --author-ink: #1a304f;
  --author-ink-2: #0d274f;
  --author-graphite: #253142;
  --author-muted: #607083;
  --author-line: rgba(174, 139, 62, 0.24);
  --author-line-strong: rgba(205, 160, 72, 0.42);
  --author-paper: #fffaf0;
  --author-paper-2: #f8f2e3;
  --author-gold-50: #fff8dc;
  --author-gold-100: #ffefb7;
  --author-gold-200: #f9d77a;
  --author-gold-300: #e9b84f;
  --author-gold-400: #c9922c;
  --author-gold-500: #9e6e1d;
  --author-gold-gradient: linear-gradient(135deg, #fff5c7 0%, #f7d47a 32%, #d89b32 66%, #8f601b 100%);
  --author-gold-gradient-soft: linear-gradient(135deg, rgba(255, 247, 216, 0.98), rgba(251, 226, 161, 0.9) 46%, rgba(228, 177, 73, 0.2));
  --author-shadow: 0 24px 70px rgba(28, 22, 10, 0.1);
  position: relative;
  overflow: hidden;
  padding: 26px 0 84px;
  color: var(--author-ink-2);
  background:
    linear-gradient(180deg, #f2f6fb 0%, #fffdfa 24%, #fff7e8 100%);
}

.author-pro__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    linear-gradient(118deg, transparent 0 44%, rgba(232, 181, 76, 0.08) 44% 45%, transparent 45% 100%),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.025) 0 1px, transparent 1px 88px);
}

.author-pro__container {
  position: relative;
  z-index: 1;
}

.author-pro-eyebrow,
.author-pro-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.author-pro-eyebrow {
  min-height: 32px;
  padding: 7px 13px;
  color: #8a5d17;
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.96), rgba(255, 239, 183, 0.76));
  border: 1px solid rgba(224, 173, 73, 0.48);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 1.13rem;
  font-weight: 950;
  line-height: 1;
}

.author-pro-eyebrow .js-svg-inject,
.author-pro-eyebrow svg {
  width: 15px;
  height: 15px;
}

.author-pro-label {
  margin-bottom: 12px;
  color: var(--author-gold-500);
  font-size: 1.14rem;
  font-weight: 950;
  line-height: 1;
}

.author-pro-hero,
.author-pro-directory-hero,
.author-pro-panel,
.author-pro-legacy,
.author-pro-depth,
.author-pro-expertise,
.author-pro-posts,
.author-pro-directory-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--author-line);
  border-radius: 8px;
  box-shadow: var(--author-shadow);
}

.author-pro-hero,
.author-pro-directory-hero {
  color: #fff8e8;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 230, 153, 0.16), transparent 24%),
    linear-gradient(135deg, #090f18 0%, #15100a 42%, #2a1f10 100%);
}

.author-pro-hero::before,
.author-pro-directory-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background:
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 228, 146, 0.11) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(255, 248, 220, 0.08) 56px 57px);
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
}

.author-pro-hero::after,
.author-pro-directory-hero::after,
.author-pro-legacy::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 204, 0.18), transparent);
  transform: skewX(-18deg) translateX(-160%);
  animation: authorGoldSweep 8.5s ease-in-out infinite;
}

.author-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
  min-height: 590px;
  padding: clamp(34px, 5vw, 66px);
}

.author-pro-hero__grid {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(600px, 48vw);
  height: 44%;
  opacity: 0.42;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(247, 212, 122, 0.13)),
    repeating-linear-gradient(90deg, rgba(247, 212, 122, 0.36) 0 1px, transparent 1px 62px);
  clip-path: polygon(0 48%, 8% 42%, 8% 26%, 20% 26%, 20% 64%, 29% 64%, 29% 12%, 43% 12%, 43% 70%, 54% 70%, 54% 34%, 68% 34%, 68% 62%, 78% 62%, 78% 18%, 92% 18%, 92% 100%, 0 100%);
}

.author-pro-hero__copy,
.author-pro-visual,
.author-pro-directory-hero__copy,
.author-pro-directory-hero__signal {
  position: relative;
  z-index: 2;
}

.author-pro-hero h1,
.author-pro-directory-hero h1 {
  max-width: 900px;
  margin: 18px 0 12px;
  color: #fff8e8;
  background: linear-gradient(135deg, #fffdf2 0%, #ffe7a8 38%, #e3aa3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(4rem, 6.3vw, 7.6rem);
  font-weight: 950;
  line-height: 1.5;
}

.author-pro-hero__role {
  margin: 0 0 18px;
  color: #f6cf76;
  font-size: clamp(1.72rem, 2vw, 2.26rem);
  font-weight: 900;
  line-height: 1.42;
}

.author-pro-hero__summary,
.author-pro-directory-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 248, 232, 0.88);
  font-size: 1.68rem;
  font-weight: 400;
  line-height: 1.78;
}

.author-pro-trust,
.author-pro-actions,
.author-pro-section-head--row,
.author-pro-directory-card__topline,
.author-pro-directory-card__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.author-pro-trust {
  margin-top: 26px;
}

.author-pro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: #fff8e8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 212, 122, 0.24);
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.author-pro-trust .js-svg-inject,
.author-pro-trust svg {
  width: 35px;
  height: 35px;
  color: var(--author-gold-200);
}

.author-pro-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.author-pro-metric {
  min-height: 104px;
  padding: 17px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(247, 212, 122, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.author-pro-metric strong {
  display: block;
  color: var(--author-gold-200);
  font-size: 2.38rem;
  font-weight: 950;
  line-height: 1.05;
}

.author-pro-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 248, 232, 0.84);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.45;
}

.author-pro-btn,
.author-pro-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.author-pro-btn .js-svg-inject,
.author-pro-btn svg,
.author-pro-card-link .js-svg-inject,
.author-pro-card-link svg {
  width: 16px;
  height: 16px;
}

.author-pro-btn--primary,
.author-pro-post-card .author-pro-card-link,
.author-pro-directory-card .author-pro-card-link {
  color: #fff;
  background: var(--author-gold-gradient);
  border: 1px solid rgba(255, 239, 183, 0.62);
  box-shadow: 0 18px 38px rgba(201, 146, 44, 0.22);
}

.author-pro-btn--ghost {
  color: #fff6d8;
  background: rgba(255, 248, 220, 0.07);
  border: 1px solid rgba(247, 212, 122, 0.34);
}

.author-pro-btn:hover,
.author-pro-card-link:hover {
  transform: translateY(-2px);
}

.author-pro-btn--primary:hover,
.author-pro-post-card .author-pro-card-link:hover,
.author-pro-directory-card .author-pro-card-link:hover {
  box-shadow: 0 22px 44px rgba(201, 146, 44, 0.3);
}

.author-pro-btn--ghost:hover {
  color: #1d1609;
  background: var(--author-gold-gradient);
  border-color: rgba(255, 239, 183, 0.7);
}

.author-pro-visual {
  display: flex;
  justify-content: center;
}

.author-pro-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 78vw);
  aspect-ratio: 1;
}

.author-pro-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 212, 122, 0.34);
  border-radius: 8px;
  transform: rotate(4deg);
}

.author-pro-portrait__ring {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 239, 183, 0.48);
  border-radius: 8px;
  animation: authorGoldFrame 5.5s ease-in-out infinite;
}

.author-pro-portrait__scan {
  position: absolute;
  z-index: 3;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 239, 183, 0.95), transparent);
  box-shadow: 0 0 22px rgba(247, 212, 122, 0.48);
  animation: authorGoldScan 4.8s ease-in-out infinite;
}

.author-pro-portrait img {
  position: relative;
  z-index: 2;
  width: 76%;
  height: 76%;
  object-fit: cover;
  border: 8px solid rgba(255, 253, 246, 0.98);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  animation: authorGoldFloat 6s ease-in-out infinite;
}

.author-pro-portrait__badge {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  color: #1d1609;
  background: var(--author-gold-gradient);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 1.22rem;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(201, 146, 44, 0.25);
}

.author-pro-portrait__badge .js-svg-inject,
.author-pro-portrait__badge svg {
  width: 15px;
  height: 15px;
}

.author-pro-anchor {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.author-pro-anchor a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  color: var(--author-ink-2);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(205, 160, 72, 0.26);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(28, 22, 10, 0.06);
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.author-pro-anchor a:hover {
  color: #8a5d17;
  background: #fff8dc;
  border-color: rgba(201, 146, 44, 0.44);
  transform: translateY(-2px);
}

.author-pro-anchor span {
  color: var(--author-gold-500);
  font-size: 2.2rem;
}

.author-pro-story {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 18px;
}

.author-pro-side {
  display: grid;
  gap: 18px;
}

.author-pro-panel,
.author-pro-legacy,
.author-pro-depth,
.author-pro-expertise,
.author-pro-posts,
.author-pro-directory-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.95));
}

.author-pro-panel,
.author-pro-depth,
.author-pro-expertise,
.author-pro-posts {
  padding: clamp(24px, 3vw, 34px);
}

.author-pro-panel::before,
.author-pro-depth::before,
.author-pro-expertise::before,
.author-pro-posts::before,
.author-pro-directory-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #8f601b, #f7d47a, transparent);
}

.author-pro-panel__number {
  position: absolute;
  right: 24px;
  top: 20px;
  color: rgba(201, 146, 44, 0.1);
  font-size: 7.6rem;
  font-weight: 950;
  line-height: 1;
}

.author-pro-panel h2,
.author-pro-section-head h2,
.author-pro-legacy h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--author-ink);
  font-size: clamp(2.2rem, 2.6vw, 3.15rem);
  font-weight: 950;
  line-height: 1.18;
}

.author-pro-panel p,
.author-pro-section-head p,
.author-pro-legacy p,
.author-pro-depth-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--author-muted);
  font-size: 1.54rem;
  font-weight: 400;
  line-height: 1.78;
}

.author-pro-timeline,
.author-pro-legacy__metrics,
.author-pro-depth-grid,
.author-pro-skill-grid,
.author-pro-post-grid {
  display: grid;
  gap: 12px;
}

.author-pro-timeline {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.author-pro-timeline div,
.author-pro-depth-card,
.author-pro-skill-grid span {
  background:
    linear-gradient(180deg, #fffdf7, #fff8e8);
  border: 1px solid rgba(224, 173, 73, 0.34);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.author-pro-timeline div {
  padding: 15px;
}

.author-pro-timeline .js-svg-inject,
.author-pro-timeline svg {
  width: 22px;
  height: 22px;
  color: var(--author-gold-400);
}

.author-pro-timeline strong {
  display: block;
  margin-top: 9px;
  color: var(--author-ink);
  font-size: 1.38rem;
  font-weight: 950;
}

.author-pro-timeline small {
  display: block;
  margin-top: 4px;
  color: #6c7786;
  font-size: 1.18rem;
  font-weight: 680;
  line-height: 1.45;
}

.author-pro-panel--quote blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 18px;
  color: var(--author-ink-2);
  border-left: 4px solid var(--author-gold-300);
  font-size: 1.72rem;
  font-weight: 850;
  line-height: 1.65;
}

.author-pro-legacy {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  align-items: start;
  gap: 22px;
  margin-top: 18px;
  padding: clamp(24px, 3.4vw, 38px);
}

.author-pro-legacy__copy {
  position: relative;
  z-index: 1;
  align-self: start;
  padding-top: 4px;
}

.author-pro-legacy__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.author-pro-legacy__metrics span {
  min-height: 88px;
  padding: 14px;
  color: var(--author-graphite);
  background: linear-gradient(180deg, #ffffff, #fff8e8);
  border: 1px solid rgba(224, 173, 73, 0.32);
  border-radius: 8px;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
}

.author-pro-legacy__metrics strong {
  display: block;
  margin-bottom: 7px;
  color: #9e6e1d;
  font-size: 2.24rem;
  font-weight: 950;
  line-height: 1;
}

.author-pro-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 176px 128px;
  align-self: start;
  gap: 10px;
  min-height: 0;
  height: auto;
}

.author-pro-gallery-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(224, 173, 73, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 220, 0.9), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(135deg, rgba(201, 146, 44, 0.16) 0 1px, transparent 1px 14px);
}

.author-pro-gallery-card:first-child {
  grid-column: 1 / -1;
  grid-row: auto;
}

.author-pro-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.author-pro-gallery-card:hover img {
  opacity: 1;
  transform: scale(1.055);
}

.author-pro-gallery-card figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  color: #fff8e8;
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.82), rgba(49, 34, 13, 0.78));
  border: 1px solid rgba(247, 212, 122, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.author-pro-gallery-card figcaption span {
  color: var(--author-gold-200);
  font-size: 1.08rem;
  font-weight: 950;
  text-transform: uppercase;
}

.author-pro-gallery-card figcaption strong {
  font-size: 1.26rem;
  font-weight: 950;
  line-height: 1.3;
}

.author-pro-depth,
.author-pro-expertise,
.author-pro-posts {
  margin-top: 18px;
}

.author-pro-section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.author-pro-section-head .author-pro-eyebrow {
  color: #8a5d17;
}

.author-pro-section-head--row {
  justify-content: space-between;
  align-items: flex-end;
}

.author-pro-section-head--row .author-pro-btn--ghost {
  color: #8a5d17;
  background: #fffdfa;
  border-color: rgba(201, 146, 44, 0.32);
}

.author-pro-section-head--row .author-pro-btn--ghost:hover {
  color: #1d1609;
  background: var(--author-gold-gradient);
}

.author-pro-depth-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.author-pro-depth-card {
  padding: 18px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.author-pro-depth-card:hover,
.author-pro-skill-grid span:hover,
.author-pro-post-card:hover,
.author-pro-directory-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 146, 44, 0.54);
  box-shadow: 0 26px 56px rgba(28, 22, 10, 0.12);
}

.author-pro-depth-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #1d1609;
  background: var(--author-gold-gradient);
  border-radius: 8px;
}

.author-pro-depth-card__icon .js-svg-inject,
.author-pro-depth-card__icon svg {
  width: 22px;
  height: 22px;
}

.author-pro-depth-card h3 {
  margin: 0 0 10px;
  color: var(--author-ink);
  font-size: 1.72rem;
  font-weight: 950;
  line-height: 1.28;
}

.author-pro-depth-card p {
  font-size: 1.34rem;
  line-height: 1.6;
}

.author-pro-skill-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.author-pro-skill-grid span {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  color: var(--author-ink-2);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.4;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.author-pro-skill-grid strong {
  color: var(--author-gold-500);
  font-size: 2.2rem;
  font-weight: 950;
}

.author-pro-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.author-pro-post-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(224, 173, 73, 0.28);
  border-radius: 8px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.author-pro-post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, #fff8dc, #fffdfa),
    repeating-linear-gradient(135deg, rgba(201, 146, 44, 0.18) 0 1px, transparent 1px 14px);
}

.author-pro-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.author-pro-post-card:hover .author-pro-post-card__image img {
  transform: scale(1.055);
}

.author-pro-post-card__body {
  padding: 17px;
}

.author-pro-post-card__date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin-bottom: 11px;
  padding: 5px 10px;
  color: #7b5a1c;
  background: #fff8dc;
  border: 1px solid rgba(224, 173, 73, 0.42);
  border-radius: 999px;
  font-size: 1.16rem;
  font-weight: 850;
}

.author-pro-post-card__date .js-svg-inject,
.author-pro-post-card__date svg {
  width: 14px;
  height: 14px;
  color: var(--author-gold-400);
}

.author-pro-post-card h3,
.author-pro-directory-card h2 {
  margin: 0 0 10px;
  color: var(--author-ink);
  font-weight: 950;
  line-height: 1.28;
}

.author-pro-post-card h3 {
  font-size: 1.78rem;
}

.author-pro-directory-card h2 {
  font-size: 2.34rem;
}

.author-pro-post-card h3 a,
.author-pro-directory-card h2 a {
  color: inherit;
  text-decoration: none;
}

.author-pro-post-card h3 a:hover,
.author-pro-directory-card h2 a:hover {
  color: #8a5d17;
}

.author-pro-post-card p,
.author-pro-directory-card p {
  display: -webkit-box;
  overflow: hidden;
  color: #596679;
  -webkit-box-orient: vertical;
}

.author-pro-post-card p {
  min-height: 6.2rem;
  margin: 0 0 15px;
  font-size: 1.35rem;
  line-height: 1.58;
  -webkit-line-clamp: 3;
}

.author-pro-post-card .author-pro-card-link,
.author-pro-directory-card .author-pro-card-link {
  min-height: 38px;
  padding: 0 14px;
  font-size: 1.28rem;
}

.author-pro-empty {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: var(--author-ink-2);
  background: linear-gradient(180deg, #fffdf7, #fff8e8);
  border: 1px solid rgba(224, 173, 73, 0.42);
  border-radius: 8px;
}

.author-pro-empty .js-svg-inject,
.author-pro-empty svg {
  width: 28px;
  height: 28px;
  color: var(--author-gold-400);
}

.author-pro-empty strong {
  display: block;
  color: var(--author-ink);
  font-size: 1.5rem;
  font-weight: 950;
}

.author-pro-empty p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 1.32rem;
  font-weight: 650;
}

/* Directory */
.author-pro-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
  gap: 30px;
  min-height: 340px;
  padding: clamp(30px, 5vw, 58px);
}

.author-pro-directory-hero h1 {
  font-size: clamp(3.5rem, 5vw, 6.4rem);
}

.author-pro-directory-hero__signal {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 190px;
  color: #fff8e8;
  border: 1px solid rgba(247, 212, 122, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 212, 122, 0.16), rgba(255, 255, 255, 0.06));
}

.author-pro-directory-hero__signal span,
.author-pro-directory-hero__signal small {
  color: rgba(255, 248, 232, 0.84);
  font-size: 1.16rem;
  font-weight: 900;
  text-transform: uppercase;
}

.author-pro-directory-hero__signal strong {
  display: block;
  margin: 10px 0;
  color: var(--author-gold-200);
  font-size: 5.8rem;
  font-weight: 950;
  line-height: 1;
}

.author-pro-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.author-pro-directory-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.author-pro-directory-card__avatar {
  position: relative;
  display: block;
  align-self: start;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid #fffdf7;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff8dc, #fffdfa),
    repeating-linear-gradient(135deg, rgba(201, 146, 44, 0.16) 0 1px, transparent 1px 14px);
  box-shadow: 0 18px 34px rgba(28, 22, 10, 0.14);
}

.author-pro-directory-card__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 212, 122, 0.55);
  pointer-events: none;
}

.author-pro-directory-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.author-pro-directory-card:hover .author-pro-directory-card__avatar img {
  transform: scale(1.05);
}

.author-pro-directory-card__topline {
  margin-bottom: 12px;
}

.author-pro-directory-card__topline span,
.author-pro-directory-card__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: #8a5d17;
  background: #fff8dc;
  border: 1px solid rgba(224, 173, 73, 0.38);
  border-radius: 999px;
  font-size: 1.06rem;
  font-weight: 900;
}

.author-pro-directory-card__headline {
  margin: 0 0 10px !important;
  color: var(--author-gold-500) !important;
  font-weight: 900 !important;
}

.author-pro-directory-card p {
  margin: 0 0 14px;
  font-size: 1.38rem;
  line-height: 1.62;
  -webkit-line-clamp: 3;
}

.author-pro-directory-card__chips {
  margin-bottom: 14px;
}

@keyframes authorGoldSweep {
  0%, 56% {
    transform: skewX(-18deg) translateX(-160%);
  }
  78%, 100% {
    transform: skewX(-18deg) translateX(560%);
  }
}

@keyframes authorGoldFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes authorGoldFrame {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.72;
  }
  50% {
    transform: translate3d(8px, -8px, 0);
    opacity: 1;
  }
}

@keyframes authorGoldScan {
  0%, 100% {
    top: 18%;
    opacity: 0;
  }
  16%, 70% {
    opacity: 1;
  }
  86% {
    top: 78%;
    opacity: 0;
  }
}

@media (max-width: 1199.98px) {
  .author-pro-hero {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.55fr);
  }

  .author-pro-gallery {
    grid-template-rows: 160px 118px;
  }

  .author-pro-depth-grid,
  .author-pro-skill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .author-pro-hero,
  .author-pro-story,
  .author-pro-legacy,
  .author-pro-directory-hero,
  .author-pro-directory-card {
    grid-template-columns: 1fr;
  }

  .author-pro-visual {
    order: -1;
  }

  .author-pro-hero {
    min-height: auto;
  }

  .author-pro-anchor,
  .author-pro-post-grid,
  .author-pro-directory-grid,
  .author-pro-depth-grid,
  .author-pro-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-pro-section-head--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .author-pro-gallery {
    grid-template-rows: 190px 140px;
  }

  .author-pro-directory-card__avatar {
    width: 150px;
  }
}

@media (max-width: 575.98px) {
  .author-pro {
    padding: 18px 0 52px;
  }

  .author-pro-hero,
  .author-pro-directory-hero,
  .author-pro-panel,
  .author-pro-legacy,
  .author-pro-depth,
  .author-pro-expertise,
  .author-pro-posts {
    padding: 18px;
  }

  .author-pro-hero h1,
  .author-pro-directory-hero h1 {
    font-size: 3.7rem;
  }

  .author-pro-hero__summary,
  .author-pro-directory-hero p,
  .author-pro-panel p,
  .author-pro-section-head p,
  .author-pro-legacy p {
    font-size: 1.44rem;
  }

  .author-pro-metrics,
  .author-pro-anchor,
  .author-pro-timeline,
  .author-pro-legacy__metrics,
  .author-pro-depth-grid,
  .author-pro-skill-grid,
  .author-pro-post-grid,
  .author-pro-directory-grid {
    grid-template-columns: 1fr;
  }

  .author-pro-portrait {
    width: min(270px, 78vw);
  }

  .author-pro-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .author-pro-gallery-card,
  .author-pro-gallery-card:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 178px;
  }

  .author-pro-directory-card__avatar {
    width: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .author-pro-hero::after,
  .author-pro-directory-hero::after,
  .author-pro-legacy::after,
  .author-pro-portrait img,
  .author-pro-portrait__ring,
  .author-pro-portrait__scan {
    animation: none !important;
  }

  .author-pro-btn,
  .author-pro-card-link,
  .author-pro-anchor a,
  .author-pro-post-card,
  .author-pro-directory-card,
  .author-pro-depth-card,
  .author-pro-skill-grid span,
  .author-pro-post-card__image img,
  .author-pro-gallery-card img,
  .author-pro-directory-card__avatar img {
    transition: none !important;
  }
}
