/* The editorial layout shares spacing and reading type across brand themes. */
.v9-blog {
  --ink: #18294a;
  --muted: #515b68;
  --paper: #fff;
  --accent: #f4cb50;
  --line: #dbe0e8;
  --soft: #f2f4f7;
  --font: Montserrat, 'Public Sans', Arial, sans-serif;
  --v9-footer: #3c2a4e;
  --v9-reading-ink: #293850;
  --v9-link-ink: #254b70;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.v9-blog-wesley {
  --ink: #030438;
  --muted: #525970;
  --accent: #ff8800;
  --line: #dce0ec;
  --soft: #f1f3f9;
  --v9-footer: #080b22;
  --v9-reading-ink: #242a48;
  --v9-link-ink: #343785;
}
.v9-blog-estrategias {
  --ink: #1b3d4d;
  --muted: #495e67;
  --accent: #d1d800;
  --line: #d6e0e3;
  --soft: #eef4f5;
  --v9-footer: #1b3d4d;
  --v9-reading-ink: #263f49;
  --v9-link-ink: #22576b;
}
.v9-blog-comunique {
  --ink: #3c1a47;
  --muted: #605267;
  --accent: #cdff00;
  --line: #e1d8e5;
  --soft: #f6f0f8;
  --v9-footer: #160e20;
  --v9-reading-ink: #432c4a;
  --v9-link-ink: #593367;
}
.v9-blog :focus-visible { outline-color: var(--v9-link-ink); }
.v9-blog a:hover { color: var(--v9-link-ink); }
.v9-blog main { flex: 1; }
.v9-wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.v9-reading { width: min(780px, calc(100% - 80px)); }
.v9-header { background: var(--ink); color: var(--white); }
.v9-header-row { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.v9-logo { display: inline-block; flex: none; width: 170px; }
.v9-logo img { display: block; width: 100%; height: auto; }
.v9-blog-wesley .v9-logo { display: inline-flex; align-items: center; gap: 12px; width: auto; font-weight: 750; }
.v9-blog-wesley .v9-logo img { width: 46px; }
.v9-nav ul, .v9-mobile-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.v9-nav a, .v9-mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-inline: clamp(9px, .9vw, 16px);
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.v9-header a:hover, .v9-header a[aria-current] { color: var(--accent); }
.v9-header :focus-visible, .v9-footer :focus-visible { outline-color: var(--accent); }
.v9-mobile-nav { display: none; }
.v9-preview { padding-block: 10px; background: var(--accent); color: var(--ink); font-size: .88rem; font-weight: 700; }

.v9-intro, .v9-post-header { background: var(--soft); border-bottom: 1px solid var(--line); }
.v9-intro { padding-block: 64px 56px; }
.v9-blog h1 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.v9-deck {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.27rem);
  overflow-wrap: anywhere;
}
.v9-list { padding-block: 18px 64px; }
.v9-list > p, .v9-list > .v9-link { margin-top: 24px; }
.v9-entry {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.v9-entry-image {
  flex: 0 0 auto;
  width: min(33%, 352px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--soft);
}
.v9-entry-content { min-width: 0; }
.v9-entry h2 { margin-bottom: 8px; font-size: clamp(1.45rem, 2.5vw, 2.05rem); overflow-wrap: anywhere; }
.v9-entry h2 a { text-decoration: none; }
.v9-entry h2 a:hover { text-decoration: underline; }
.v9-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.v9-entry .v9-meta { margin: 0; }
.v9-excerpt { margin: 12px 0 0; color: var(--muted); overflow-wrap: anywhere; }

.v9-post-header { padding-block: 42px 38px; }
.v9-back { margin: 0 0 16px; font-size: .9rem; font-weight: 650; }
.v9-back a { display: inline-flex; align-items: center; min-height: 44px; }
.v9-post-header .v9-meta { margin: 22px 0 0; }
.v9-post-content { padding-block: 36px 64px; }
.v9-cover { margin: 0 0 32px; }
.v9-cover img { width: 100%; height: auto; }
.v9-cover figcaption { margin-top: 6px; color: var(--muted); font-size: .85rem; }
.v9-blog .article-body { color: var(--v9-reading-ink); font-family: var(--font); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.75; }
.v9-blog .article-body a { color: var(--v9-link-ink); }
.v9-blog .article-body h2 { font-size: 1.7rem; }
.v9-blog .article-body h3 { font-size: 1.3rem; }
.v9-invite { margin-top: 36px; padding: 24px; background: var(--soft); }
.v9-invite h2 { margin-bottom: 8px; font-size: 1.3rem; }
.v9-invite p { margin: 0; color: var(--muted); }
.v9-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.v9-return { margin-top: 20px; }

.v9-footer { background: var(--v9-footer); color: var(--white); }
.v9-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 30px; }
.v9-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.v9-footer nav a { display: flex; align-items: center; min-height: 44px; font-size: .86rem; }
.v9-footer a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .v9-wrap, .v9-reading { width: min(100% - 40px, 1160px); }
  .v9-reading { max-width: 780px; }
  .v9-header-row { position: relative; min-height: 90px; justify-content: space-between; gap: 16px; }
  .v9-logo { width: 158px; }
  .v9-nav { display: none; }
  .v9-mobile-nav { display: block; }
  .v9-mobile-nav summary { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; color: var(--accent); cursor: pointer; }
  .v9-mobile-nav summary::-webkit-details-marker { display: none; }
  .v9-mobile-nav nav { position: absolute; z-index: 2; top: 100%; right: 0; left: 0; background: var(--ink); border-top: 1px solid #64728b; }
  .v9-mobile-nav ul { flex-direction: column; padding: 8px 12px; }
}
@media (max-width: 600px) {
  .v9-intro { padding-block: 36px; }
  .v9-entry { flex-direction: column; align-items: stretch; gap: 18px; padding-block: 24px; }
  .v9-entry-image { width: 100%; }
  .v9-post-header, .v9-post-content { padding-block: 24px; }
  .v9-post-content { padding-bottom: 48px; }
  .v9-footer-row { flex-direction: column; align-items: flex-start; }
  .v9-meta { gap: 4px 12px; }
}
