/* ═══════════════════════════════════════════════════════════
   Expert Advice — Corporate listing & article (mirrors blog.css)
   Scope: body.expert-listing, body.expert-article-page
   ═══════════════════════════════════════════════════════════ */

.expert-listing,
.expert-article-page { background: #081b43; }
.expert-listing > main,
.expert-article-page > main { background: #fff; }

/* ── Hero ────────────────────────────────────────────────── */
.expert-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid #e4ecf5;
}
.expert-hero .breadcrumb {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6c7a91;
  margin-bottom: 12px;
}
.expert-hero .breadcrumb a { color: #6c7a91; text-decoration: none; }
.expert-hero .breadcrumb span { margin: 0 6px; }
.expert-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0a2a66;
  margin: 0 0 14px;
}
.expert-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5870;
  max-width: 720px;
  margin: 0;
}

/* ── Page grid: vertical authors sidebar + main column ───── */
.expert-page-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  padding-top: 28px;
}
@media (max-width: 900px) {
  .expert-page-grid { grid-template-columns: 1fr; gap: 18px; }
}
.expert-side-authors {
  position: sticky;
  top: 92px;
  border-right: 1px solid #e4ecf5;
  padding: 4px 18px 18px 0;
}
@media (max-width: 900px) {
  .expert-side-authors { position: static; border-right: 0; border-bottom: 1px solid #e4ecf5; padding: 0 0 14px; }
}
.expert-side-authors-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c7a91;
  margin-bottom: 12px;
}
.expert-side-authors-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 900px) {
  .expert-side-authors-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
}
.expert-side-author {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2c44;
  border-left: 3px solid transparent;
  text-decoration: none;
  border-radius: 0 4px 4px 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.expert-side-author:hover {
  background: #f8fafc;
  color: #0a2a66;
}
.expert-side-author.is-active {
  background: #0a2a66;
  color: #fff;
  border-left-color: #f39a1e;
}
@media (max-width: 900px) {
  .expert-side-author {
    border: 1px solid #d8e1ee;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
  }
  .expert-side-author.is-active {
    background: #0a2a66;
    border-color: #0a2a66;
    color: #fff;
  }
}
/* ── Categories section inside sidebar ───────────────────── */
.expert-side-categories-title {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e4ecf5;
}

.expert-page-main {
  min-width: 0;
}

/* ── Filters ─────────────────────────────────────────────── */
.expert-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 22px 0 30px;
  border-bottom: 1px solid #e4ecf5;
}
.expert-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #d8e1ee;
  border-radius: 999px;
  background: #fff;
  color: #0a2a66;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.expert-filter-chip:hover { border-color: #f39a1e; color: #0a2a66; }
.expert-filter-chip.is-active {
  background: #0a2a66;
  border-color: #0a2a66;
  color: #fff;
}

/* ── Featured row ────────────────────────────────────────── */
.expert-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #e4ecf5;
}
.expert-featured-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.expert-featured-content .expert-eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f39a1e;
  font-weight: 800;
  margin-bottom: 12px;
}
.expert-featured-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #0a2a66;
  font-weight: 800;
  margin: 0 0 16px;
}
.expert-featured-content h2 a { color: inherit; text-decoration: none; }
.expert-featured-content h2 a:hover { color: #133f8f; }
.expert-featured-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #4a5870;
  margin: 0 0 18px;
}
.expert-featured-content .expert-row-meta { margin-bottom: 16px; }

/* ── List rows ───────────────────────────────────────────── */
.expert-list { padding: 16px 0 32px; }
.expert-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid #e4ecf5;
}
.expert-row:last-child { border-bottom: none; }
.expert-row-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.expert-row-media.is-empty {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eef3fb, #dde6f3);
  border-radius: 4px;
}
.expert-row-content h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0a2a66;
  font-weight: 800;
  margin: 0 0 10px;
}
.expert-row-content h3 a { color: inherit; text-decoration: none; }
.expert-row-content h3 a:hover { color: #133f8f; }
.expert-row-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a5870;
  margin: 0 0 12px;
}
.expert-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8091a8;
  font-weight: 700;
}
.expert-row-meta span { display: inline-flex; align-items: center; }
.expert-row-meta .expert-meta-cat { color: #f39a1e; }
.expert-row-readmore {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a2a66;
  text-decoration: none;
  border-bottom: 2px solid #f39a1e;
  padding-bottom: 2px;
}
.expert-row-readmore:hover { color: #133f8f; }

/* ── List row — small author strip ───────────────────────── */
.expert-list-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 12px;
}
.expert-list-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e4ecf5;
  flex: 0 0 40px;
}
.expert-list-author-meta { display: flex; flex-direction: column; line-height: 1.25; }
.expert-list-author-name { font-size: 13px; font-weight: 700; color: #0a2a66; }
.expert-list-author-title { font-size: 12px; color: #8091a8; }

.expert-empty {
  padding: 60px 0;
  text-align: center;
  color: #6c7a91;
  font-size: 16px;
  border-bottom: 1px solid #e4ecf5;
}

/* ── Pagination ──────────────────────────────────────────── */
.expert-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 0 64px;
}
.expert-pagination a,
.expert-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d8e1ee;
  background: #fff;
  color: #0a2a66;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.expert-pagination a:hover { border-color: #f39a1e; }
.expert-pagination .is-current {
  background: #0a2a66;
  border-color: #0a2a66;
  color: #fff;
}
.expert-pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* ── Article page ────────────────────────────────────────── */
.expert-article-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid #e4ecf5;
}
.expert-article-hero .breadcrumb {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c7a91;
  margin-bottom: 14px;
}
.expert-article-hero .breadcrumb a { color: #6c7a91; text-decoration: none; }
.expert-article-hero .breadcrumb span { margin: 0 6px; }
.expert-article-hero .expert-eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f39a1e;
  font-weight: 800;
  margin-bottom: 10px;
}
.expert-article-hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #0a2a66;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 920px;
}
.expert-article-hero .expert-article-summary {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5870;
  max-width: 920px;
  margin: 0 0 22px;
}
.expert-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8091a8;
}
.expert-article-meta .expert-meta-cat { color: #f39a1e; }

.expert-article-cover { padding: 32px 0 0; }
.expert-article-cover .container > img,
.expert-article-cover img {
  width: 100%;
  max-width: 920px;
  margin: 0;
  max-height: 480px;
  object-fit: cover;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ── Author hero (below cover) ───────────────────────────── */
.expert-author-hero {
  padding: 28px 0 8px;
  max-width: 920px;
}
.expert-author-hero-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid #e4ecf5;
  border-bottom: 1px solid #e4ecf5;
}
.expert-author-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f39a1e;
  flex: 0 0 96px;
}
.expert-author-body { flex: 1; min-width: 0; }
.expert-author-name {
  font-size: 22px;
  font-weight: 800;
  color: #0a2a66;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.expert-author-title {
  font-size: 13px;
  color: #6c7a91;
  margin: 0 0 8px;
  font-weight: 600;
}
.expert-author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.expert-author-expertise span {
  display: inline-block;
  padding: 4px 10px;
  background: #eef3fb;
  color: #0a2a66;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.expert-article {
  padding: 40px 0 56px;
  border-bottom: 1px solid #e4ecf5;
}
.expert-article-body {
  max-width: 920px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #1f2c44;
}
.expert-article-body h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0a2a66;
  font-weight: 800;
  margin: 1.8em 0 0.6em;
}
.expert-article-body h3 {
  font-size: 18px;
  line-height: 1.35;
  color: #0a2a66;
  font-weight: 800;
  margin: 1.5em 0 0.5em;
}
.expert-article-body p { margin: 0 0 1.25em; line-height: 1.75; }
.expert-article-body p.align-left { text-align: left; }
.expert-article-body p.align-right { text-align: right; }
.expert-article-body p.align-center { text-align: center; }
.expert-article-body p.align-justify { text-align: justify; }
.expert-article-body p:first-of-type {
  font-size: 17px;
  color: #1a2b45;
  font-weight: 500;
}
.expert-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5em auto;
}
.expert-article-body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #d8e1ee;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.expert-article-body a:hover { text-decoration-color: #f39a1e; }
.expert-article-body ul,
.expert-article-body ol { margin: 0 0 1.4em 1.2em; }
.expert-article-body li { margin-bottom: 0.5em; }
.expert-article-body blockquote {
  border-left: 3px solid #f39a1e;
  padding-left: 18px;
  margin: 1.6em 0;
  color: #0a2a66;
  font-style: italic;
}

/* ── About the Author card ───────────────────────────────── */
.expert-author-card {
  max-width: 920px;
  margin: 36px 0 0;
  padding: 28px;
  border: 1px solid #e4ecf5;
  border-radius: 6px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.expert-author-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0a2a66;
}
.expert-author-card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f39a1e;
  margin: 0 0 6px;
}
.expert-author-card-name {
  font-size: 22px;
  font-weight: 800;
  color: #0a2a66;
  margin: 0 0 4px;
}
.expert-author-card-bio {
  font-size: 13px;
  color: #6c7a91;
  font-weight: 600;
  margin: 0 0 10px;
}
.expert-author-card-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.expert-author-card-extra a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d8e1ee;
  color: #0a2a66;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.expert-author-card-extra a:hover { border-color: #f39a1e; }

/* ── Tags (override legacy .expert-tag from style.css) ───── */
.expert-article-page .expert-tags {
  max-width: 920px;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expert-article-page .expert-tags .expert-tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #d8e1ee;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #0a2a66;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Share ───────────────────────────────────────────────── */
.expert-share {
  max-width: 920px;
  margin: 32px 0 0;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e4ecf5;
}
.expert-share-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #6c7a91;
}
.expert-share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.expert-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d8e1ee;
  background: #fff;
  color: #0a2a66;
  border-radius: 2px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.expert-share-btn:hover { border-color: #f39a1e; color: #133f8f; }

/* ── Related ─────────────────────────────────────────────── */
.expert-related { padding: 48px 0 72px; }
.expert-related h2 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a2a66;
  font-weight: 800;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f39a1e;
  display: inline-block;
}
.expert-related-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #e4ecf5;
}
.expert-related-row:last-child { border-bottom: none; }
.expert-related-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.expert-related-row h3 {
  font-size: 18px;
  line-height: 1.35;
  color: #0a2a66;
  font-weight: 800;
  margin: 0 0 8px;
}
.expert-related-row h3 a { color: inherit; text-decoration: none; }
.expert-related-row h3 a:hover { color: #133f8f; }
.expert-related-row p {
  font-size: 14px;
  line-height: 1.65;
  color: #4a5870;
  margin: 0 0 8px;
}

/* ── Video embed ─────────────────────────────────────────── */
.expert-video-wrap {
  max-width: 920px;
  margin: 28px 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #0a2a66;
}
.expert-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .expert-featured { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .expert-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .expert-row-media { max-width: 360px; }
  .expert-related-row { grid-template-columns: 1fr; gap: 12px; }
  .expert-related-row > div:first-child { max-width: 280px; }
  .expert-hero { padding: 40px 0 24px; }
  .expert-article-hero { padding: 36px 0 24px; }
  .expert-article-body { font-size: 16px; }
  .expert-author-card { grid-template-columns: 1fr; }
  .expert-author-card-photo { width: 96px; height: 96px; }
  .expert-author-hero-inner { flex-direction: column; text-align: center; align-items: center; }
}
