
:root {
  --transiente-shadow: 0 18px 55px rgba(37, 43, 85, .12);
  --transiente-border: rgba(72, 84, 164, .16);
}
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(37,43,85,.08);
  box-shadow: 0 8px 30px rgba(37,43,85,.05);
  backdrop-filter: blur(14px);
}
.site-header img { display: block; }
.hero-transiente { min-height: min(760px, 88vh); }
.hero-transiente .wp-block-cover__image-background { object-position: center center; }
.hero-transiente .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(16,18,37,.88) 0%, rgba(16,18,37,.62) 55%, rgba(16,18,37,.20) 100%) !important;
}
.hero-transiente .hero-copy { max-width: 760px; }
.hero-transiente h1 { text-wrap: balance; }
.eyebrow {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}
.editorial-card {
  height: 100%;
  border: 1px solid var(--transiente-border);
  border-radius: 24px;
  box-shadow: var(--transiente-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.editorial-card:hover { transform: translateY(-5px); box-shadow: 0 25px 65px rgba(37,43,85,.16); }
.editorial-card .wp-block-post-featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  margin: 0;
  padding: 18px;
  background: #fff;
}
.editorial-card .wp-block-post-featured-image a { display: block; width: 100%; }
.editorial-card .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}
.service-card { min-height: 250px; }
.rounded-image img { border-radius: 28px; box-shadow: var(--transiente-shadow); }
.number-mark {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #4854A4;
  color: #fff;
  font-weight: 700;
}
.cta-transiente { border-radius: 32px; overflow: hidden; }
.cta-transiente .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(37,43,85,.96), rgba(72,84,164,.80)) !important;
}
.site-footer a { color: inherit; }
.site-footer .wp-block-navigation a:hover { opacity: .8; }
.transiente-book-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
  gap: .8rem;
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid var(--transiente-border);
  border-radius: 20px;
  background: #F7F5F0;
}
.transiente-book-meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #6B6D76; }
.transiente-book-meta dd { margin: .15rem 0 0; font-weight: 600; }
.transiente-book-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.transiente-book-actions a { display:inline-flex; align-items:center; padding:.75rem 1.1rem; border-radius:999px; text-decoration:none; font-weight:600; background:#4854A4; color:#fff; }
.transiente-book-actions a.secondary { background:transparent; color:#4854A4; border:1px solid #4854A4; }
@media (max-width: 782px) {
  .site-header .wp-block-buttons { display: none; }
  .hero-transiente { min-height: 680px; }
  .hero-transiente .wp-block-cover__background { background: rgba(16,18,37,.73) !important; }
  .editorial-card .wp-block-post-featured-image { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .editorial-card { transition: none; }
}
