/**
 * Blog pages
 * Listing + article route styles.
 * Shared tokens come from home.css.
 */

.hero.blog-hero {
  background-image: url("../../images/blog-hero-bg.jpg") !important;
  background-position: center 36% !important;
  min-height: auto !important;
  overflow: hidden !important;
}

.hero.blog-hero .hero-overlay {
  background:
    linear-gradient(
      98deg,
      rgba(8, 16, 32, 0.98) 0%,
      rgba(10, 20, 38, 0.94) 34%,
      rgba(14, 28, 46, 0.72) 62%,
      rgba(16, 31, 49, 0.22) 100%
    ),
    radial-gradient(circle at 18% 24%, rgba(211, 138, 80, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(8, 14, 25, 0.1), rgba(8, 14, 25, 0.24));
}

.hero.blog-hero .hero-container {
  flex: none;
  align-items: stretch;
  padding-top: 12px;
  padding-bottom: 30px;
}

.blog-hero-simple {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 8px 0 18px;
  margin-top: -10px;
}

.blog-hero-copy {
  max-width: 720px;
  text-align: left;
}

.blog-hero-copy h1 {
  max-width: 9ch;
  color: #fff;
  font-size: clamp(2.9rem, 4.8vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  text-shadow: 0 10px 30px rgba(7, 14, 28, 0.34);
}

.blog-hero-copy .hero-desc {
  max-width: 560px;
  margin: 0 0 34px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
}

.blog-hero-copy .hero-actions {
  margin-bottom: 24px;
  justify-content: flex-start;
}

.about-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 500;
}

.about-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-breadcrumb a:hover {
  color: #fff;
}

.about-breadcrumb i {
  font-size: 9px;
}

.about-breadcrumb,
.hero.blog-hero .hero-pill {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 500;
}

.blog-library {
  padding: 64px 0 96px;
  background:
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf8f5 0%, #fffdfb 100%);
}

.blog-library-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: 34px;
  margin-bottom: 34px;
  border-radius: 18px;
  border: 1px solid rgba(211, 138, 80, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(253, 243, 233, 0.94));
  box-shadow: 0 18px 44px rgba(15, 28, 46, 0.08);
}

.blog-library-intro__copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.18;
}

.blog-library-intro__copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.blog-library-intro__stats {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

.blog-stat-card {
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(211, 138, 80, 0.12);
  box-shadow: 0 10px 26px rgba(15, 28, 46, 0.06);
}

.blog-stat-card strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 8px;
}

.blog-stat-card span {
  display: block;
  font-size: 0.92rem;
  color: var(--charcoal);
  font-weight: 600;
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 35, 50, 0.06);
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.05);
}

.blog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(26, 35, 50, 0.08);
  background: #fff;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.blog-filter strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--brand-lt);
  color: var(--brand);
  font-size: 0.78rem;
}

.blog-filter:hover,
.blog-filter.active {
  border-color: rgba(211, 138, 80, 0.3);
  background: var(--brand-lt);
  color: var(--brand);
}

.blog-filter.active strong {
  background: var(--brand);
  color: #fff;
}

.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.blog-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.86rem;
}

.blog-search input {
  width: 260px;
  padding: 12px 16px 12px 40px;
  border-radius: 999px;
  border: 1px solid rgba(26, 35, 50, 0.08);
  background: var(--warm-bg);
  color: var(--charcoal);
  font-family: var(--body-font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-search input:focus {
  border-color: rgba(211, 138, 80, 0.4);
  box-shadow: 0 0 0 4px rgba(211, 138, 80, 0.1);
  background: #fff;
}

.blog-results-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.blog-result-count,
.blog-result-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.blog-result-count strong {
  color: var(--charcoal);
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(26, 35, 50, 0.08);
  box-shadow: 0 24px 50px rgba(15, 28, 46, 0.1);
  margin-bottom: 30px;
}

.blog-featured-card__media {
  min-height: 420px;
}

.blog-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-card__body {
  padding: 38px 36px;
  background:
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.16), transparent 28%),
    linear-gradient(180deg, #1a2332 0%, #101826 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-card__eyebrow,
.blog-featured-card__category {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-featured-card__eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}

.blog-featured-card__category {
  background: rgba(211, 138, 80, 0.16);
  color: #f6c48c;
  margin-bottom: 18px;
}

.blog-featured-card__body h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  line-height: 1.2;
  color: #fff;
}

.blog-featured-card__body p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: inherit;
  opacity: 0.78;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.blog-btn-primary:hover {
  background: var(--brand-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(211, 138, 80, 0.22);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  min-width: 0;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(26, 35, 50, 0.08);
  box-shadow: 0 18px 34px rgba(15, 28, 46, 0.06);
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.blog-card__link:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 138, 80, 0.24);
  box-shadow: 0 22px 38px rgba(15, 28, 46, 0.1);
}

.blog-card__media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card__link:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 28, 46, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.blog-card__body .blog-card-meta {
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-card__body h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.32;
  color: var(--charcoal);
}

.blog-card__body p {
  margin: 0 0 18px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
  flex: 1;
}

.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
}

.blog-empty {
  padding: 54px 28px;
  margin-top: 20px;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(211, 138, 80, 0.24);
  background: rgba(255, 255, 255, 0.82);
}

.blog-empty i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand);
  font-size: 1.4rem;
}

.blog-empty h3 {
  margin-bottom: 8px;
  color: var(--charcoal);
}

.blog-empty p {
  margin: 0;
  color: var(--muted);
}

.blog-post-hero {
  position: relative;
  min-height: clamp(620px, 82svh, 860px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 58px) 0 76px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.blog-post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(7, 15, 28, 0.94) 0%, rgba(10, 19, 34, 0.9) 38%, rgba(10, 20, 37, 0.56) 100%),
    radial-gradient(circle at 18% 22%, rgba(211, 138, 80, 0.24), transparent 32%);
}

.blog-post-hero .container {
  position: relative;
  z-index: 1;
}

.blog-post-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  gap: 34px;
  align-items: end;
}

.blog-post-hero__content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.blog-post-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(211, 138, 80, 0.28);
  background: rgba(211, 138, 80, 0.16);
  color: #f7ca96;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-post-hero h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.7rem, 4.4vw, 4.85rem);
  line-height: 1.03;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(7, 14, 28, 0.32);
}

.blog-post-hero__excerpt {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
  line-height: 1.9;
}

.blog-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.blog-post-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blog-post-hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-post-hero__topics span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 500;
}

.blog-post-hero__panel {
  position: relative;
  z-index: 1;
}

.blog-post-hero__panel-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(11, 24, 41, 0.88), rgba(8, 16, 29, 0.8)),
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.18), transparent 34%);
  box-shadow: 0 28px 70px rgba(7, 13, 24, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.blog-post-hero__panel-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: #f3c493;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-post-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.blog-post-stat {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-post-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}

.blog-post-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  line-height: 1.5;
}

.blog-post-outline {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-post-outline__head {
  margin-bottom: 14px;
}

.blog-post-outline__head h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.15rem;
}

.blog-post-outline__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.7;
}

.blog-post-outline__list {
  display: grid;
  gap: 10px;
}

.blog-post-outline__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.blog-post-outline__item:hover {
  transform: translateY(-1px);
  border-color: rgba(211, 138, 80, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.blog-post-outline__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(211, 138, 80, 0.16);
  color: #ffcc95;
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-post-outline__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.45;
}

.blog-post-summary {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.blog-post-summary__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 18px;
}

.blog-post-summary__card,
.blog-post-summary__mini {
  border: 1px solid rgba(26, 35, 50, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(15, 28, 46, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blog-post-summary__card {
  padding: 24px 26px;
  border-radius: 24px;
}

.blog-post-summary__card p {
  margin: 10px 0 0;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.8;
}

.blog-post-summary__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-post-summary__mini {
  padding: 20px;
  border-radius: 22px;
}

.blog-post-summary__mini strong {
  display: block;
  margin-bottom: 6px;
  color: var(--charcoal);
  font-family: var(--heading-font);
  font-size: 2rem;
  line-height: 1;
}

.blog-post-summary__mini span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-post-page {
  padding: 34px 0 96px;
  background:
    radial-gradient(circle at top left, rgba(211, 138, 80, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #fbf8f5 100%);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(211, 138, 80, 0.08);
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(211, 138, 80, 0.14);
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(290px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.blog-article,
.blog-side-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(26, 35, 50, 0.06);
  box-shadow: 0 24px 58px rgba(15, 28, 46, 0.07);
}

.blog-article {
  padding: 32px 32px 36px;
  overflow: hidden;
}

.blog-article__cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 28px;
  display: block;
}

.blog-article__lead {
  margin: 0 0 30px;
  padding: 22px 24px;
  border: 1px solid rgba(211, 138, 80, 0.16);
  border-left: 4px solid var(--brand);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(253, 243, 233, 0.96), rgba(255, 255, 255, 0.98));
  color: var(--charcoal);
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.9;
}

.post-section + .post-section {
  margin-top: 20px;
}

.post-section {
  padding: 24px 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(26, 35, 50, 0.06);
  background:
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.07), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
  scroll-margin-top: calc(var(--header-h) + 32px);
}

.post-section h2 {
  margin-bottom: 14px;
  color: var(--charcoal);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.24;
}

.post-section p {
  margin: 0 0 14px;
  color: #485161;
  font-size: 1rem;
  line-height: 1.92;
}

.post-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #485161;
}

.post-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.84;
}

.post-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #f3c493);
  box-shadow: 0 0 0 6px rgba(211, 138, 80, 0.1);
}

.post-list--ordered {
  counter-reset: item;
}

.post-list--ordered li::before {
  content: counter(item);
  counter-increment: item;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-lt);
  box-shadow: none;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.post-note {
  margin-top: 14px !important;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(211, 138, 80, 0.12);
  background: rgba(211, 138, 80, 0.08);
  color: var(--charcoal) !important;
}

.post-steps {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.post-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26, 35, 50, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.post-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(211, 138, 80, 0.16), rgba(211, 138, 80, 0.08));
  color: var(--brand);
  font-weight: 700;
  font-family: var(--heading-font);
}

.post-step__body h3 {
  margin: 2px 0 8px;
  font-size: 1.03rem;
  color: var(--charcoal);
}

.post-step__body p {
  margin: 0;
}

.blog-takeaways {
  margin-top: 34px;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(253, 243, 233, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(211, 138, 80, 0.15);
}

.blog-takeaways__head h3 {
  margin-bottom: 14px;
  color: var(--charcoal);
}

.blog-takeaways ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.blog-takeaways li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #485161;
  line-height: 1.8;
}

.blog-takeaways li::before {
  content: "\f058";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--brand);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.blog-disclaimer-box {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1a2332 0%, #101826 100%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.8;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 18px;
}

.blog-side-card {
  padding: 24px;
}

.blog-side-card h4 {
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 1.22rem;
}

.blog-side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.blog-side-role {
  margin-bottom: 10px !important;
  color: var(--brand) !important;
  font-weight: 700;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-tag-list span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(211, 138, 80, 0.1);
  border: 1px solid rgba(211, 138, 80, 0.12);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
}

.related-posts {
  display: grid;
  gap: 12px;
}

.related-post {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #fff8f2;
  border: 1px solid rgba(211, 138, 80, 0.1);
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.related-post:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 138, 80, 0.22);
  box-shadow: 0 14px 28px rgba(15, 28, 46, 0.08);
}

.related-post img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
}

.related-post span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.related-post strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.93rem;
  line-height: 1.5;
}

.blog-side-card--cta {
  background:
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.16), transparent 28%),
    linear-gradient(180deg, #1a2332 0%, #101826 100%);
}

.blog-side-card--cta h4,
.blog-side-card--cta p {
  color: #fff;
}

.blog-side-card--cta p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.blog-side-card--cta .sec-tag {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1100px) {
  .blog-library-intro,
  .blog-featured-card,
  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .blog-post-hero__layout,
  .blog-post-summary__grid {
    grid-template-columns: 1fr;
  }

  .blog-post-hero__content,
  .blog-post-hero__panel {
    max-width: 760px;
  }

  .blog-library-intro__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .hero.blog-hero .hero-container {
    padding-top: 10px;
    padding-bottom: 24px;
  }

  .blog-hero-simple {
    padding: 6px 0 10px;
    margin-top: -6px;
  }

  .blog-post-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 46px) 0 56px;
  }

  .blog-post-hero h1 {
    max-width: none;
  }

  .blog-post-hero__panel-card,
  .blog-post-summary__card,
  .blog-post-summary__mini {
    padding: 22px;
  }

  .blog-post-hero__stats,
  .blog-post-summary__stack {
    grid-template-columns: 1fr;
  }

  .blog-toolbar,
  .blog-results-row {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search input {
    width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-card__media {
    min-height: 280px;
  }

  .blog-featured-card__body,
  .blog-library-intro,
  .blog-article,
  .blog-side-card {
    padding: 24px;
  }

  .blog-library-intro__stats {
    grid-template-columns: 1fr;
  }

  .blog-article__cover {
    height: 280px;
  }
}

@media (max-width: 560px) {
  .blog-hero-copy h1 {
    max-width: none;
    font-size: 2.35rem;
  }

  .about-breadcrumb {
    gap: 8px;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .blog-hero-simple {
    padding: 4px 0 6px;
    margin-top: -4px;
  }

  .blog-hero-copy .hero-actions {
    margin-bottom: 20px;
    flex-direction: column;
  }

  .blog-hero-meta {
    gap: 8px;
  }

  .blog-hero-meta span {
    width: 100%;
  }

  .blog-library {
    padding: 42px 0 68px;
  }

  .blog-library-intro__copy h2,
  .blog-featured-card__body h2 {
    font-size: 1.7rem;
  }

  .blog-post-hero {
    padding: calc(var(--header-h) + 38px) 0 44px;
  }

  .blog-post-hero h1 {
    font-size: 2.2rem;
  }

  .blog-post-hero__excerpt,
  .blog-post-summary__card p,
  .post-section p,
  .post-list li,
  .blog-takeaways li {
    font-size: 0.95rem;
  }

  .blog-post-hero__meta span,
  .blog-post-hero__topics span {
    width: 100%;
    justify-content: flex-start;
  }

  .blog-post-hero__panel-card,
  .blog-post-summary__card,
  .blog-post-summary__mini,
  .blog-article,
  .blog-side-card,
  .post-section,
  .blog-takeaways {
    padding: 20px;
  }

  .blog-post-summary {
    margin-top: -28px;
  }

  .blog-back-link {
    width: 100%;
    justify-content: center;
  }

  .post-step {
    grid-template-columns: 1fr;
  }
}
