/* Blog VIADUCA — portal editorial premium */
.blog-page {
  --blog-surface: #111214;
  --blog-surface-2: #17181b;
  --blog-line: rgba(210, 164, 62, .28);
  --blog-gold: #d6a73f;
  --blog-gold-light: #f0c968;
  background:
    radial-gradient(circle at 10% 18%, rgba(190, 132, 24, .09), transparent 26rem),
    radial-gradient(circle at 88% 28%, rgba(190, 132, 24, .07), transparent 28rem),
    #090a0b;
  color: #f4f4f2;
}

.blog-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.blog-gold { color: var(--blog-gold); }
.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blog-gold-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.blog-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.blog-hero {
  position: relative;
  padding: 46px 0 34px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(210, 164, 62, .12);
}
.blog-hero::before,
.blog-hero::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 120px;
  opacity: .3;
  background-image: radial-gradient(circle, #c99625 1px, transparent 1.4px);
  background-size: 14px 14px;
  pointer-events: none;
}
.blog-hero::before { left: max(10px, calc(50% - 660px)); top: 22px; mask-image: linear-gradient(90deg, #000, transparent); }
.blog-hero::after { right: max(10px, calc(50% - 660px)); bottom: 0; mask-image: linear-gradient(-90deg, #000, transparent); }
.blog-breadcrumb { margin-bottom: 24px; color: #8e9095; font-size: .78rem; text-align: left; }
.blog-breadcrumb a { color: #b7b8bc; }
.blog-hero h1 { margin: 0; font: 800 clamp(2.35rem, 5vw, 4.2rem)/1.04 Poppins, sans-serif; letter-spacing: -.045em; }
.blog-hero p { max-width: 690px; margin: 14px auto 0; color: #b8b9bd; font-size: clamp(.95rem, 1.6vw, 1.06rem); line-height: 1.75; }

.blog-home-content { padding: 40px 0 72px; }
.blog-featured {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  min-height: 420px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(214, 167, 63, .48);
  border-radius: 16px;
  background: linear-gradient(145deg, #16171a, #0c0d0f);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.025);
}
.blog-featured-media { position: relative; min-height: 360px; overflow: hidden; }
.blog-featured-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #111216 100%); }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; transition: transform .55s ease, filter .55s ease; }
.blog-featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 58px); }
.blog-featured-label { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 7px 12px; border-radius: 999px; color: #111; background: linear-gradient(135deg, #f1cd70, #b9851d); font-size: .65rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.blog-category { color: var(--blog-gold); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.blog-featured h2 { margin: 10px 0 14px; font: 700 clamp(1.55rem, 2.6vw, 2.35rem)/1.18 Poppins, sans-serif; letter-spacing: -.03em; }
.blog-featured p { margin: 0 0 20px; color: #b8b9bd; line-height: 1.65; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: #83858b; font-size: .76rem; }
.blog-meta span + span::before { content: "•"; margin-right: 16px; color: #735b25; }
.blog-read-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--blog-gold-light); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.blog-featured:hover img { transform: scale(1.035); filter: brightness(1.06); }
.blog-featured:hover .blog-read-link { gap: 15px; }

.blog-filters {
  display: flex;
  gap: 7px;
  margin: 34px 0 26px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.blog-filters::-webkit-scrollbar { display: none; }
.blog-filter {
  flex: 1 0 auto;
  min-width: 118px;
  padding: 11px 15px;
  border: 0;
  border-radius: 9px;
  color: #a4a6ab;
  background: transparent;
  cursor: pointer;
  font: 700 .72rem/1.2 Inter, sans-serif;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.blog-filter { scroll-snap-align: start; }
.blog-filter:hover { color: #eee; background: rgba(255,255,255,.045); }
.blog-filter.is-active { color: #14110a; background: linear-gradient(135deg, #f1ce72, #b8841c); box-shadow: 0 8px 24px rgba(191,139,29,.18); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card-pro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: linear-gradient(150deg, #151619, #0e0f11);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.blog-card-pro[hidden] { display: none; }
.blog-grid > *, .blog-featured > *, .article-content > * { min-width: 0; }
.blog-card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.blog-card-image::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(10,10,11,.65)); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.blog-card-image img.blog-contain { object-fit: contain; padding: 24px; background: radial-gradient(circle at center, #202124, #0c0d0f 68%); }
.blog-card-image.blog-cover-art { aspect-ratio: 1; background: #08090a; }
.blog-card-image.blog-cover-art::after { display: none; }
.blog-card-image.blog-cover-art img { object-fit: cover; }
.blog-card-copy { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.blog-card-pro h2 { margin: 8px 0 10px; font: 700 1.05rem/1.38 Poppins, sans-serif; letter-spacing: -.018em; }
.blog-card-pro p { margin: 0 0 17px; color: #a9abb0; font-size: .86rem; line-height: 1.62; }
.blog-card-pro .blog-meta { margin-top: auto; font-size: .7rem; }
.blog-card-pro .blog-read-link { margin-top: 18px; font-size: .72rem; }
.blog-card-pro:hover { transform: translateY(-5px); border-color: rgba(214,167,63,.55); box-shadow: 0 22px 55px rgba(0,0,0,.4), 0 0 28px rgba(191,139,29,.06); }
.blog-card-pro:hover img { transform: scale(1.045); filter: brightness(1.08); }

.blog-empty { display: none; margin: 30px 0; color: #a6a8ac; text-align: center; }
.blog-empty.is-visible { display: block; }
.blog-final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding: 22px 25px;
  border: 1px solid rgba(214,167,63,.35);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(214,167,63,.1), rgba(255,255,255,.025) 48%, rgba(214,167,63,.045));
}
.blog-final-cta-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(214,167,63,.45); border-radius: 50%; color: var(--blog-gold-light); }
.blog-final-cta-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.blog-final-cta h2 { margin: 0 0 5px; font: 700 1.04rem Poppins, sans-serif; }
.blog-final-cta p { margin: 0; color: #9ea0a5; font-size: .84rem; }
.blog-cta-button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 22px; border-radius: 999px; color: #12100b; background: linear-gradient(135deg, #f1ce72, #b8841c); font-size: .76rem; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(191,139,29,.17); }

/* Article */
.article-page { background: #090a0b; color: #f4f4f2; }
.article-pro-hero { padding: 38px 0 0; background: radial-gradient(circle at 78% 18%, rgba(193,137,27,.13), transparent 26rem); }
.article-pro-head { max-width: 900px; margin: 0 auto 28px; text-align: center; }
.article-pro-head .blog-breadcrumb { margin-bottom: 30px; text-align: left; }
.article-pro-head h1 { margin: 13px auto 15px; font: 800 clamp(2rem, 5.1vw, 3.7rem)/1.08 Poppins, sans-serif; letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; }
.article-deck { max-width: 780px; margin: 0 auto 18px; color: #b6b8bd; font-size: clamp(.98rem, 1.8vw, 1.13rem); line-height: 1.7; }
.article-pro-head .blog-meta { justify-content: center; }
.article-hero-image { width: min(1080px, calc(100% - 40px)); aspect-ratio: 16 / 8.2; margin: 0 auto; overflow: hidden; border: 1px solid rgba(214,167,63,.4); border-radius: 17px; box-shadow: 0 24px 75px rgba(0,0,0,.48); }
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-image.blog-brand-visual { background: radial-gradient(circle at center, rgba(214,167,63,.1), transparent 42%), linear-gradient(145deg, #17181a, #090a0b); }
.article-hero-image.blog-brand-visual img { object-fit: contain; padding: clamp(35px, 7vw, 90px); }
.article-hero-image.blog-cover-art { width: min(760px, calc(100% - 40px)); aspect-ratio: 1; background: #08090a; }
.article-hero-image.blog-cover-art img { object-fit: cover; }
.article-content { display: grid; grid-template-columns: minmax(0, 760px) 240px; gap: 54px; justify-content: center; padding: 52px 0 78px; }
.article-copy { min-width: 0; color: #c3c5c9; font-size: 1rem; line-height: 1.85; }
.article-copy > p:first-child { color: #e0e0df; font-size: 1.08rem; }
.article-copy h2 { margin: 2em 0 .65em; color: #f4f4f2; font: 700 clamp(1.35rem, 2.5vw, 1.75rem)/1.25 Poppins, sans-serif; letter-spacing: -.025em; }
.article-copy h3 { margin: 1.7em 0 .55em; color: #eee; font: 700 1.1rem Poppins, sans-serif; }
.article-copy p { margin: 0 0 1.15em; }
.article-copy ul { margin: 0 0 1.3em; padding-left: 1.2em; }
.article-copy li { margin: .48em 0; }
.article-copy strong { color: #f0f0ed; }
.article-copy a:not(.article-source-link):not(.blog-cta-button) { color: var(--blog-gold-light); text-decoration: underline; text-decoration-color: rgba(214,167,63,.4); text-underline-offset: 3px; }
.article-callout { margin: 28px 0; padding: 21px 23px; border: 1px solid rgba(214,167,63,.36); border-left: 3px solid var(--blog-gold); border-radius: 10px; color: #d4d5d6; background: linear-gradient(105deg, rgba(214,167,63,.1), rgba(255,255,255,.025)); }
.article-callout strong { display: block; margin-bottom: 4px; color: var(--blog-gold-light); }
.article-source { margin-top: 38px; padding: 24px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: #121316; }
.article-source h2 { margin: 0 0 10px; color: var(--blog-gold-light); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.article-source p { margin-bottom: 12px; font-size: .86rem; line-height: 1.65; }
.article-source-list { display: grid; gap: 10px; margin: 15px 0 0; padding: 0; list-style: none; }
.article-source-list li { margin: 0; }
.article-source-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blog-gold-light); font-size: .78rem; font-weight: 800; text-decoration: none; }
.article-source-link { max-width: 100%; overflow-wrap: anywhere; }
.article-aside { align-self: start; position: sticky; top: 95px; }
.article-aside-card { padding: 20px; border: 1px solid rgba(214,167,63,.25); border-radius: 12px; background: #111216; }
.article-aside-card h2 { margin: 0 0 14px; font: 700 .92rem Poppins, sans-serif; }
.article-aside-card a { display: block; padding: 11px 0; color: #aeb0b5; border-top: 1px solid rgba(255,255,255,.07); font-size: .78rem; line-height: 1.45; text-decoration: none; }
.article-aside-card a:hover { color: var(--blog-gold-light); }
.article-related { padding: 55px 0 68px; border-top: 1px solid rgba(214,167,63,.18); background: #0c0d0f; }
.article-related-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.article-related-head h2 { margin: 0; font: 700 clamp(1.45rem, 2.8vw, 2rem) Poppins, sans-serif; }
.article-related .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-related .blog-card-pro h3 { margin: 8px 0 0; font: 700 .92rem/1.42 Poppins, sans-serif; }

@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 330px; }
  .blog-featured-media::after { background: linear-gradient(0deg, #111216 0, transparent 45%); }
  .blog-featured-copy { padding-top: 24px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-final-cta { grid-template-columns: auto 1fr; }
  .blog-final-cta .blog-cta-button { grid-column: 1 / -1; }
  .article-content { grid-template-columns: minmax(0, 760px); }
  .article-aside { position: static; }
}

@media (max-width: 640px) {
  .blog-wrap { width: min(calc(100% - 28px), 1160px); }
  .blog-hero { padding: 30px 0 25px; }
  .blog-breadcrumb { margin-bottom: 18px; }
  .blog-home-content { padding: 25px 0 52px; }
  .blog-featured { min-height: 0; border-radius: 13px; }
  .blog-featured-media { min-height: 220px; }
  .blog-featured-copy { padding: 25px 21px 28px; }
  .blog-featured h2 { font-size: 1.42rem; }
  .blog-filters { margin-top: 25px; }
  .blog-filter { min-width: max-content; padding-inline: 17px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-copy { padding: 18px; }
  .blog-final-cta { grid-template-columns: 1fr; text-align: center; }
  .blog-final-cta-icon { margin-inline: auto; }
  .article-pro-hero { padding-top: 26px; }
  .article-pro-head { width: min(calc(100% - 28px), 900px); }
  .article-pro-head h1 { font-size: clamp(1.78rem, 9vw, 2.5rem); }
  .article-deck { font-size: .96rem; }
  .article-hero-image { width: calc(100% - 28px); aspect-ratio: 4 / 3; border-radius: 12px; }
  .article-hero-image.blog-cover-art { width: calc(100% - 28px); aspect-ratio: 1; }
  .article-content { padding: 36px 0 55px; }
  .article-copy { font-size: .95rem; line-height: 1.78; }
  .article-related .blog-grid { grid-template-columns: 1fr; }
  .article-related-head { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card-pro, .blog-card-image img, .blog-featured-media img { transition: none; }
}
