:root {
  color-scheme: light;
  --ink: #14212f;
  --ink-2: #273848;
  --muted: #647587;
  --line: #d8e2ea;
  --line-strong: #bdcad6;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --soft-blue: #eaf3f9;
  --warm: #fbf4e9;
  --navy: #102a43;
  --brand: #2368a2;
  --brand-dark: #17446f;
  --accent: #b5343d;
  --gold: #bd9140;
  --green: #3d7369;
  --shadow-sm: 0 8px 20px rgba(20, 33, 47, 0.06);
  --shadow-md: 0 22px 54px rgba(20, 33, 47, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

/* Tipografia editorial mais serena: preserva a hierarquia sem excesso de peso. */
body {
  font-weight: 400;
}

h1,
h2,
h3,
strong {
  font-weight: 700;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(181, 52, 61, 0.78);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 7px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 850;
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.top-strip {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-height: 34px;
  padding: 7px clamp(18px, 4vw, 56px);
  background: #a78955;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 820;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.utility-links svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.top-strip a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  min-height: 104px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 234, 0.95);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 264px;
}

.brand .custom-logo {
  width: 264px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.primary-nav .menu-item {
  position: relative;
  list-style: none;
}

.primary-nav a,
.submenu-toggle {
  border-radius: 999px;
  color: #2c3d4f;
  font-size: 0.91rem;
  font-weight: 760;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
}

.submenu-toggle {
  width: 34px;
  min-height: 34px;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-item-has-children {
  display: inline-flex;
  align-items: center;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  display: none;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.sub-menu .sub-menu {
  top: 0;
  left: calc(100% + 8px);
}

.sub-menu .menu-item-has-children {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.sub-menu .menu-item-has-children > a {
  grid-column: 1;
}

.sub-menu .menu-item-has-children > .submenu-toggle {
  grid-column: 2;
}

.menu-item-has-children.is-open > .sub-menu {
  display: grid;
  gap: 2px;
}

.sub-menu a {
  width: 100%;
  justify-content: flex-start;
  border-radius: 7px;
  white-space: normal;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a,
.submenu-toggle:hover {
  background: var(--soft-blue);
  color: var(--brand-dark);
}

.header-action,
.button,
.ghost-button,
.button-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border-radius: 7px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.button,
.header-action {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
}

.button-link {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
}

.button-link:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.button-link.light {
  border-color: var(--line);
  background: #fff;
  color: var(--brand-dark);
}

.button-link.light:hover {
  border-color: var(--line-strong);
  background: #f8fbfd;
}

.button:hover,
.header-action:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.ghost-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
  padding: 0 15px;
}

.ghost-button:hover {
  border-color: var(--line-strong);
  background: #f8fbfd;
}

.text-link {
  min-height: auto;
  color: var(--brand-dark);
  justify-content: flex-start;
  white-space: normal;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.icon-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

main {
  min-height: 72vh;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section.compact {
  padding-top: clamp(36px, 6vw, 68px);
  padding-bottom: clamp(36px, 6vw, 68px);
}

.section.alt {
  background: var(--soft);
}

.section.blue {
  background:
    linear-gradient(135deg, rgba(234, 243, 249, 0.95) 0%, rgba(251, 244, 233, 0.74) 54%, #fff 100%);
}

.shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
}

.page-kicker a {
  color: var(--brand-dark);
}

.page-kicker span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aabba;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5.8vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

p {
  max-width: 70ch;
}

h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3.25vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: #405365;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero {
  position: relative;
  min-height: clamp(520px, 64vh, 680px);
  display: grid;
  align-items: stretch;
  padding: 0 clamp(18px, 4vw, 56px);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 27, 43, 0.96) 0%, rgba(20, 42, 61, 0.84) 48%, rgba(20, 42, 61, 0.38) 100%),
    linear-gradient(0deg, rgba(11, 27, 43, 0.28), rgba(11, 27, 43, 0.28));
  pointer-events: none;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
}

.hero-slide {
  display: block;
  background: var(--hero-slide-image) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition:
    opacity 680ms ease,
    transform 5200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-full-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(44px, 5vw, 68px);
  height: clamp(64px, 8vw, 92px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 0.8;
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
  opacity: 0.86;
  text-shadow: 0 3px 14px rgba(11, 27, 43, 0.48);
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  color: #fff;
  opacity: 1;
  outline: none;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev {
  left: clamp(12px, 2vw, 26px);
}

.hero-arrow-next {
  right: clamp(12px, 2vw, 26px);
}

.hero .shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  align-items: center;
  padding: clamp(76px, 10vw, 118px) 0 clamp(64px, 8vw, 92px);
  pointer-events: none;
}

.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4vw, 3.85rem);
  line-height: 1.08;
}

.hero p,
.hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

.hero .lead {
  max-width: 660px;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.62;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .ghost-button {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.78);
}

.hero-stack {
  display: grid;
  gap: 12px;
}

.hero-panel,
.priority-panel {
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 7px;
  font-size: 2.35rem;
  line-height: 1;
}

.hero-panel span,
.priority-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.priority-panel {
  display: grid;
  gap: 12px;
}

.priority-panel a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.13);
  padding: 10px;
  font-weight: 780;
}

.priority-panel svg {
  width: 18px;
  height: 18px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 2px 8px rgba(11, 27, 43, 0.22);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 30px;
  background: #fff;
}

.quick-grid,
.card-grid,
.service-grid,
.stats-grid,
.institution-grid,
.highlight-grid,
.content-band-grid {
  display: grid;
  gap: 16px;
}

.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -44px;
  position: relative;
  z-index: 4;
}

.quick-card,
.content-card,
.service-card,
.stat-card,
.doc-card,
.presbytery-card,
.contact-card,
.institution-card,
.feature-card,
.article-hero,
.spotlight-card,
.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.quick-card {
  display: grid;
  gap: 12px;
  min-height: 142px;
  padding: 20px;
}

.quick-card svg {
  width: 24px;
  height: 24px;
}

.quick-card,
.service-card,
.content-card,
.doc-card,
.presbytery-card,
.contact-card,
.institution-card,
.mini-post {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.quick-card svg,
.service-card svg,
.contact-card svg,
.institution-card svg {
  color: var(--accent);
}

.quick-card span,
.meta,
.small-copy {
  color: var(--muted);
  font-size: 0.91rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.single-news-layout {
  grid-template-columns: minmax(0, 1fr);
}

.single-news-layout .feature-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.feature-card,
.article-hero {
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.image-fallback,
.thumb-fallback,
.article-placeholder {
  display: block;
  background: linear-gradient(135deg, #e7eef5, #f8fafc);
}

.image-fallback {
  aspect-ratio: 16 / 9;
}

.thumb-fallback {
  width: 112px;
  height: 84px;
  border-radius: 6px;
}

.feature-card > div,
.article-hero > div {
  padding: clamp(22px, 4vw, 34px);
}

.news-list {
  display: grid;
  gap: 12px;
}

.mini-post {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-post:hover,
.quick-card:hover,
.service-card:hover,
.content-card:hover,
.doc-card:hover,
.presbytery-card:hover,
.institution-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.mini-post img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
}

.home-editorial-section,
.home-blog-section {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.78), rgba(255, 255, 255, 0.96));
}

.home-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: 24px;
  align-items: start;
}

.home-editorial-main {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.home-editorial-iprtv {
  padding: 0;
}

.home-blog-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 22px;
}

.home-blog-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 650;
}

.home-blog-topics a:hover {
  border-color: var(--line-strong);
  background: var(--soft);
}

.home-blog-featured,
.home-blog-card,
.home-blog-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.home-blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  min-height: 320px;
  overflow: hidden;
}

.home-blog-featured-image {
  display: block;
  min-height: 100%;
  overflow: hidden;
}

.home-blog-featured-image img,
.home-blog-featured-image .image-fallback {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.home-blog-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
}

.home-blog-featured-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.1;
  max-width: 760px;
}

.home-blog-featured-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.home-blog-featured-copy .ghost-button {
  align-self: flex-start;
}

.home-blog-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.home-blog-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.home-blog-card-image {
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.home-blog-card-image img,
.home-blog-card-image .image-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-blog-card-copy {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.home-blog-card-copy h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.22;
}

.home-blog-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-blog-list {
  display: grid;
  gap: 12px;
}

.home-blog-mini {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.home-blog-mini:hover,
.home-blog-featured:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.home-blog-mini-image {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  background: var(--soft);
}

.home-blog-mini-image img,
.home-blog-mini-image .thumb-fallback {
  display: block;
  width: 132px;
  height: 96px;
  object-fit: cover;
}

.home-blog-mini h3 {
  margin: 5px 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

/* Blog da home: dois destaques compactos e quatro chamadas menores. */
.home-blog-layout {
  gap: 20px 24px;
  align-items: start;
}

.home-blog-lead {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-blog-lead:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.home-blog-lead-image {
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.home-blog-lead-image img,
.home-blog-lead-image .image-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-blog-lead-copy {
  display: grid;
  gap: 10px;
  padding: 18px 20px 21px;
}

.home-blog-lead-copy > .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  box-shadow: 0 5px 16px rgba(14, 40, 65, 0.14);
}

.home-blog-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.home-blog-byline img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.home-blog-byline span {
  overflow: hidden;
  color: var(--brand-dark);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-blog-byline i {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--red);
}

.home-blog-lead-copy h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.home-blog-lead-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-blog-mini {
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 104px;
  padding: 10px;
  box-shadow: none;
}

.home-blog-mini-image img,
.home-blog-mini-image .thumb-fallback {
  width: 116px;
  height: 82px;
}

.home-blog-mini-copy {
  min-width: 0;
}

.home-blog-mini h3 {
  display: -webkit-box;
  margin: 0 0 9px;
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.24;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-blog-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 0.76rem;
}

.home-blog-mini-meta span {
  color: var(--brand);
  font-weight: 700;
}

.home-sidebar {
  position: sticky;
  top: 114px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.home-sidebar-card {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.home-sidebar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-sidebar-head h2 {
  margin: 0;
  font-size: 1.08rem;
}

.home-sidebar-head .eyebrow {
  margin-bottom: 4px;
}

.home-sidebar .rss-columns {
  grid-template-columns: 1fr;
  gap: 14px;
}

.home-sidebar .rss-source {
  padding-top: 12px;
}

.home-sidebar .rss-source-item {
  min-height: 0;
  box-shadow: none;
}

.home-sidebar .rss-source-item.has-image {
  grid-template-columns: 68px minmax(0, 1fr);
}

.home-sidebar .rss-source-thumb {
  width: 68px;
}

.home-sidebar .rss-source-title {
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.32;
}

.home-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-social-grid a {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 82px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 820;
}

.home-social-grid svg {
  width: 25px;
  height: 25px;
  color: var(--accent);
}

.home-social-grid a:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.home-sidebar-posts {
  display: grid;
  gap: 10px;
}

.home-sidebar-post {
  display: grid;
  gap: 4px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.home-sidebar-post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-sidebar-post span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.home-sidebar-post strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.28;
}

.home-journal-card {
  display: grid;
  gap: 12px;
  color: var(--ink);
}

.home-journal-cover {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.home-journal-cover img,
.home-journal-cover .journal-issue-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-journal-cover .journal-issue-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  font-weight: 820;
}

.home-journal-copy {
  display: grid;
  gap: 5px;
}

.home-journal-copy strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.home-journal-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
}

.home-journal-copy em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 860;
}

.home-journal-copy em svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.home-newsletter-card {
  background: linear-gradient(145deg, #0f2d48 0%, #143f49 100%);
  color: #fff;
}

.home-newsletter-card .eyebrow,
.home-newsletter-card p {
  color: rgba(255, 255, 255, 0.74);
}

.home-newsletter-card h2 {
  color: #fff;
}

.home-newsletter-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.home-newsletter-form label {
  display: grid;
  gap: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  font-weight: 820;
}

.home-newsletter-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0 12px;
}

.home-newsletter-form input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.home-newsletter-form .button-primary {
  width: 100%;
  justify-content: center;
  border-color: #fff;
  background: #fff;
  color: var(--brand-dark);
}

.content-band-grid {
  grid-template-columns: 0.76fr 1.24fr;
  align-items: stretch;
}

.spotlight-card {
  padding: 24px;
  background: linear-gradient(135deg, #102a43 0%, #173d45 100%);
  color: #fff;
}

.spotlight-card p {
  color: rgba(255, 255, 255, 0.72);
}

.program-list {
  display: grid;
  gap: 10px;
}

.program-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
}

.program-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--warm);
  color: var(--brand-dark);
}

.institutions-section {
  background: var(--soft);
}

.institutions-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.publisher-showcase {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.publisher-showcase.is-compact {
  grid-template-columns: 1fr;
  align-content: start;
}

.publisher-showcase.is-compact .publisher-copy {
  justify-items: start;
  margin-bottom: -4px;
}

.publisher-showcase.is-compact .publisher-slider {
  width: min(100%, 350px);
  justify-self: center;
  aspect-ratio: 4 / 4.45;
}

.publisher-showcase.is-compact .publisher-slide img {
  object-fit: contain;
}

.publisher-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.2;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.publisher-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.publisher-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.publisher-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publisher-dots {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.publisher-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(12, 34, 58, 0.34);
  box-shadow: 0 1px 4px rgba(12, 34, 58, 0.18);
  cursor: pointer;
}

.publisher-dot.is-active {
  width: 24px;
  background: #fff;
}

.publisher-copy {
  display: grid;
  gap: 10px;
  align-content: center;
}

.publisher-copy h3 {
  margin: 0;
  color: var(--navy);
}

.institution-call-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.institution-call {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.institution-call img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.institution-call strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.12;
}

.institution-call span {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.35;
}

.institution-call:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.institution-call:hover strong {
  color: var(--brand-dark);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  .hero-dot {
    transition: none;
  }

  .publisher-slide {
    transition: none;
  }

  .publisher-dot {
    transition: none;
  }
}

.iprtv-section {
  background:
    linear-gradient(180deg, #f3f8fc 0%, #ffffff 100%);
}

.iprtv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
}

.iprtv-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  color: inherit;
  background: #ffffff;
  border: 1px solid #cbd9e5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.iprtv-card:nth-child(3n + 2) {
  background: #f8fbfd;
}

.iprtv-card:nth-child(3n) {
  background: #fff9f5;
  border-color: #ead7c9;
}

.iprtv-card:nth-child(3n + 4) {
  background: #f7fbf8;
  border-color: #cfe1d5;
}

.iprtv-card:hover {
  border-color: rgba(182, 49, 63, 0.42);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.iprtv-card.is-featured {
  grid-row: span 3;
  grid-template-columns: 1fr;
  align-content: start;
  padding: 14px;
  background: #ffffff;
  border-color: rgba(181, 52, 61, 0.38);
  box-shadow: 0 18px 42px rgba(20, 33, 47, 0.13);
}

.iprtv-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  border-radius: calc(var(--radius) - 2px);
}

.iprtv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iprtv-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: #c81e32;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.iprtv-card:not(.is-featured) .iprtv-play {
  width: 34px;
  height: 34px;
}

.iprtv-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.iprtv-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.iprtv-label {
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.iprtv-card.is-featured .iprtv-label {
  color: var(--accent);
}

.iprtv-card strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.2;
}

.iprtv-card.is-featured strong {
  font-size: clamp(1.22rem, 2.6vw, 1.85rem);
}

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

.content-card {
  overflow: hidden;
}

.content-card-image {
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.content-card-image img,
.content-card-image .image-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-card div {
  padding: 18px;
}

.content-card .button,
.content-card .ghost-button {
  margin-top: 8px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 190px;
  padding: 20px;
}

.service-card svg {
  margin-bottom: 18px;
}

.institution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.institution-card {
  padding: 20px;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.split.center {
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.filters {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #324354;
  font-size: 0.82rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 46px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}

.field input::placeholder {
  color: #8796a5;
}

.doc-list {
  display: grid;
  gap: 12px;
}

.rss-list {
  display: grid;
  gap: 12px;
}

.rss-list.is-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rss-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
}

.rss-source {
  min-width: 0;
  border-top: 3px solid var(--accent);
  background: #fff;
  padding-top: 14px;
}

.rss-source-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rss-source-head h3 {
  margin: 0;
  font-size: 1rem;
}

.rss-source-list {
  display: grid;
  gap: 10px;
}

.rss-source-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.rss-source-item.has-image {
  grid-template-columns: 76px minmax(0, 1fr);
}

.rss-source-thumb {
  display: block;
  width: 76px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, #e7eef5, #f8fafc);
}

.rss-source-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rss-source-title {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.32;
}

.rss-source-title:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rss-source-item .meta {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
}

.rss-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.rss-card.has-image {
  grid-template-columns: 180px minmax(0, 1fr) auto;
}

.rss-list.is-home .rss-card {
  grid-template-columns: 1fr;
  align-items: start;
  overflow: hidden;
  padding: 0;
}

.rss-card-media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, #e7eef5, #f8fafc);
}

.rss-list:not(.is-home) .rss-card-media {
  aspect-ratio: 4 / 3;
}

.rss-list.is-home .rss-card-media {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.rss-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rss-list.is-home .rss-card-main,
.rss-list.is-home .rss-card .ghost-button {
  margin-left: 18px;
  margin-right: 18px;
}

.rss-list.is-home .rss-card-main {
  padding-top: 18px;
}

.rss-list.is-home .rss-card .ghost-button {
  margin-bottom: 18px;
}

.rss-card h3 {
  max-width: 820px;
}

.rss-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.rss-panel,
.rss-empty {
  padding: clamp(20px, 4vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.rss-empty {
  border-style: dashed;
}

.rss-empty p {
  color: var(--muted);
}

.doc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.doc-card.is-featured {
  border-color: #b7ccdc;
  background: linear-gradient(90deg, #fff 0%, #f4f9fc 100%);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

span.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: #eef5fb;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 0 10px;
}

.route-intro {
  display: grid;
  gap: 10px;
}

span.tag.red {
  background: #f8e9ea;
  color: #8b2027;
}

span.tag.green {
  background: #eaf3f1;
  color: #28584f;
}

span.tag.gold {
  background: #fbf2df;
  color: #7a5617;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 20px;
}

.stat-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
}

.timeline {
  display: grid;
  gap: 16px;
  border-left: 2px solid var(--line);
  padding-left: 24px;
}

.timeline article {
  position: relative;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
}

.presbytery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.presbytery-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

.presbytery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.contact-page {
  background: linear-gradient(180deg, #f6f9fc 0%, #fff 42%);
}

.contact-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(245, 249, 252, 0.98) 0%, rgba(255, 255, 255, 0.92) 62%, rgba(177, 143, 83, 0.12) 100%);
  padding: clamp(52px, 7vw, 96px) 0;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.contact-hero-copy {
  display: grid;
  gap: 18px;
}

.contact-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-hero-copy .lead {
  max-width: 780px;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.contact-hero-actions svg {
  width: 20px;
  height: 20px;
}

.contact-hero-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.contact-hero-panel > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(182, 49, 63, 0.1);
  color: var(--accent);
}

.contact-hero-panel svg {
  width: 25px;
  height: 25px;
}

.contact-hero-panel strong {
  color: var(--navy);
  font-size: 1.55rem;
}

.contact-hero-panel p {
  margin: 0;
  color: var(--muted);
}

.contact-hero-panel a {
  color: var(--blue);
  font-weight: 800;
}

.contact-main-section {
  padding-top: clamp(36px, 6vw, 72px);
}

.contact-main-section-first {
  padding-top: clamp(28px, 5vw, 58px);
}

.contact-anchor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.contact-anchor-grid a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(16, 33, 50, 0.05);
}

.contact-anchor-grid svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.contact-anchor-grid a:hover,
.contact-anchor-grid a:focus-visible {
  border-color: rgba(35, 112, 171, 0.42);
  outline: none;
  transform: translateY(-1px);
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-method-card {
  display: grid;
  gap: 10px;
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(16, 33, 50, 0.05);
}

.contact-method-card svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.contact-method-card span {
  align-self: end;
  color: var(--muted);
  font-weight: 760;
}

.contact-method-card strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.contact-method-card:hover,
.contact-method-card:focus-visible {
  border-color: rgba(35, 112, 171, 0.42);
  box-shadow: 0 18px 38px rgba(16, 33, 50, 0.09);
  outline: none;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch;
  margin-top: 22px;
}

.contact-directory-section {
  margin-top: clamp(32px, 5vw, 64px);
}

.contact-directory-section:first-of-type {
  margin-top: 0;
}

.contact-section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.contact-section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

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

.contact-directory-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-directory-plain .contact-directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 70px);
  padding: clamp(18px, 3vw, 28px) 0 0;
  border-top: 1px solid var(--line);
}

.contact-directory-plain .contact-directory-item {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 0.58fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.contact-directory-plain .contact-directory-item h3 {
  font-size: 1.08rem;
}

.contact-directory-item {
  display: grid;
  gap: 16px;
  min-height: 176px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(16, 33, 50, 0.05);
}

.contact-directory-item h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.16;
}

.contact-directory-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
}

.contact-directory-links {
  display: grid;
  gap: 8px;
  align-content: end;
}

.contact-directory-links a,
.contact-directory-links .contact-muted {
  display: inline-grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-directory-links .contact-muted {
  color: var(--muted);
}

.contact-directory-links svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.contact-map-copy,
.contact-map-card,
.contact-extra-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-map-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: clamp(24px, 3vw, 38px);
}

.contact-map-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.02;
}

.contact-map-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-info-list {
  display: grid;
  gap: 10px;
  margin: 8px 0;
}

.contact-info-list span,
.contact-info-list a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 760;
}

.contact-info-list a {
  color: var(--blue);
}

.contact-info-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-address {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-address strong {
  color: var(--navy);
  font-size: 1rem;
}

.contact-map-card {
  overflow: hidden;
  min-height: 480px;
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  filter: saturate(0.94) contrast(1.02);
}

.contact-extra-content {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.contact-page-gutenberg .contact-editor-hero .shell {
  display: grid;
  gap: 16px;
}

.contact-page-gutenberg .contact-editor-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.contact-page-gutenberg .contact-editor-hero .lead {
  max-width: 860px;
}

.contact-page .contact-gutenberg-shell {
  width: min(1840px, calc(100% - clamp(24px, 4vw, 80px)));
  max-width: none;
}

.contact-gutenberg-content {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-gutenberg-content > * + * {
  margin-top: clamp(26px, 4vw, 48px);
}

.contact-page .contact-gutenberg-content .wp-block-group,
.contact-page .contact-gutenberg-content .wp-block-columns,
.contact-page .contact-gutenberg-content .iprb-contact-pattern,
.contact-page .contact-gutenberg-content .iprb-contact-directory-band,
.contact-page .contact-gutenberg-content .iprb-contact-support,
.contact-page .contact-gutenberg-content .iprb-contact-final {
  width: 100%;
  max-width: none !important;
}

.iprb-contact-pattern {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
}

.iprb-contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: end;
  max-width: none;
  padding: clamp(18px, 3vw, 30px) 0 clamp(10px, 2vw, 18px);
}

.iprb-contact-intro .eyebrow,
.iprb-contact-intro h2 {
  grid-column: 1;
}

.iprb-contact-intro p:not(.eyebrow) {
  grid-column: 1 / -1;
  max-width: 1120px;
}

.iprb-contact-intro h2,
.iprb-contact-pattern > h2,
.iprb-contact-support > h2,
.iprb-contact-final h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.iprb-contact-support > h2,
.iprb-contact-final h2 {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  align-items: center;
}

.iprb-contact-support > h2 {
  gap: 12px;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.iprb-contact-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.iprb-contact-directory-band,
.iprb-contact-support,
.iprb-contact-final {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.iprb-contact-directory-band::before,
.iprb-contact-support::before,
.iprb-contact-final::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.iprb-contact-columns {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.08fr) minmax(360px, 0.9fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: flex-start;
  margin: 0;
}

.iprb-contact-columns > .wp-block-column {
  min-width: 0;
  height: 100%;
  padding: clamp(18px, 2vw, 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(16, 33, 50, 0.05);
}

.iprb-contact-columns h3,
.iprb-contact-final h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.iprb-contact-section-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(182, 49, 63, 0.08);
  border: 1px solid rgba(182, 49, 63, 0.22);
  border-radius: 14px;
}

.iprb-contact-support > h2 .iprb-contact-section-icon,
.iprb-contact-final h2 .iprb-contact-section-icon {
  width: clamp(46px, 4.2vw, 56px);
  height: clamp(46px, 4.2vw, 56px);
  border-radius: 18px;
}

.iprb-contact-support > h2 .iprb-contact-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.iprb-contact-section-icon.has-editable-icon::before {
  content: none;
}

.iprb-contact-section-icon::before {
  content: "□";
}

.iprb-contact-section-icon.is-organs::before {
  content: "▦";
}

.iprb-contact-section-icon.is-institutions::before {
  content: "⌂";
}

.iprb-contact-section-icon.is-service::before {
  content: "✉";
}

.iprb-contact-section-icon.is-support::before {
  content: "◇";
}

.iprb-contact-section-icon.is-map::before {
  content: "⌖";
}

.iprb-template-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(182, 49, 63, 0.08);
  border: 1px solid rgba(182, 49, 63, 0.22);
  border-radius: 14px;
}

.iprb-template-icon--small {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 1rem;
}

.iprb-template-icon--large {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 1.35rem;
}

.iprb-icon-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.iprb-icon-heading__text {
  min-width: 0;
}

.iprb-contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.iprb-contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(0.96rem, 0.9vw, 1.04rem);
  line-height: 1.55;
}

.iprb-contact-list strong {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1.08rem;
}

.iprb-contact-list a,
.iprb-contact-final a {
  color: var(--blue);
  font-weight: 800;
  word-break: normal;
  overflow-wrap: break-word;
}

.iprb-contact-support {
  display: grid;
  gap: 18px;
}

.iprb-contact-support .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.iprb-contact-support .wp-block-column {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(16, 33, 50, 0.05);
}

.iprb-contact-support h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.iprb-contact-support p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.iprb-contact-final {
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

.iprb-contact-final > .wp-block-column {
  min-width: 0;
}

.iprb-contact-final > .wp-block-column:first-child {
  padding: clamp(18px, 2.5vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(16, 33, 50, 0.05);
}

.iprb-contact-final p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.iprb-contact-map {
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.iprb-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

.contact-editor-note {
  padding: 22px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-editor-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.presbytery-card,
.contact-card {
  padding: 18px;
}

.presbytery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
}

.presbytery-card-media {
  display: block;
  background: var(--soft);
}

.presbytery-card-media img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.presbytery-card-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 2.2vw, 24px);
}

.presbytery-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.presbytery-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.presbytery-role-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.presbytery-role-list div {
  display: grid;
  grid-template-columns: minmax(104px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.presbytery-role-list dt,
.presbytery-role-list dd {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.38;
}

.presbytery-role-list dt {
  color: var(--muted);
  font-weight: 850;
}

.presbytery-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.presbytery-contact-row a {
  color: var(--brand-dark);
  font-weight: 800;
}

.page-content--wide {
  max-width: 1180px;
}

.presbytery-page-intro {
  margin-bottom: 30px;
}

.memorial-hero {
  padding: clamp(42px, 5vw, 72px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(8, 31, 52, 0.92), rgba(23, 70, 115, 0.8)),
    radial-gradient(circle at 82% 18%, rgba(188, 50, 62, 0.2), transparent 34%),
    #081f34;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.memorial-hero .page-kicker a,
.memorial-hero .page-kicker span {
  color: rgba(255, 255, 255, 0.82);
}

.memorial-hero .page-kicker {
  grid-column: 1 / -1;
  margin-bottom: clamp(4px, 1vw, 10px);
}

.memorial-hero-inner {
  display: grid;
  gap: clamp(18px, 3vw, 42px);
  grid-template-columns: minmax(0, 0.82fr) minmax(220px, 0.18fr);
  align-items: center;
}

.memorial-hero-copy {
  max-width: 820px;
}

.memorial-hero .eyebrow {
  color: #f3d28f;
}

.memorial-hero h1 {
  max-width: 840px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.15rem, 4.6vw, 4.25rem);
  line-height: 0.98;
}

.memorial-hero .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.memorial-hero-stats {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.memorial-hero-stats strong {
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.memorial-hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

.memorial-section {
  padding: clamp(36px, 6vw, 72px) clamp(14px, 2vw, 28px);
  background: linear-gradient(180deg, #f7fafc 0%, #fff 26%);
}

.memorial-section .shell {
  width: min(100%, 1180px);
}

.memorial-year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.memorial-year-nav a {
  padding: 9px 15px;
  color: var(--brand-dark);
  font-weight: 850;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.memorial-year-block {
  margin-top: clamp(28px, 5vw, 52px);
}

.memorial-year-header {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.memorial-year-header span,
.memorial-year-header p {
  color: var(--muted);
  font-weight: 800;
}

.memorial-year-header h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.memorial-year-header p {
  margin: 0;
  padding: 8px 14px;
  background: #eaf3fb;
  border-radius: 999px;
}

.memorial-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.memorial-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.memorial-photo {
  display: grid;
  place-items: center;
  margin: 0;
  background: linear-gradient(135deg, #eaf3fb, #f9f4ed);
}

.memorial-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.05;
  object-fit: cover;
}

.memorial-photo span {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3.05;
  color: var(--brand-dark);
  font-size: 2.8rem;
  font-weight: 900;
}

.memorial-card-body {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 11px 12px 12px;
}

.memorial-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.14;
}

.memorial-dates {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.memorial-open {
  width: fit-content;
  margin: 0;
  padding: 8px 0 0;
  color: var(--brand-dark);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}

.memorial-open::before {
  content: "▸";
  margin-right: 4px;
}

.memorial-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(8, 31, 52, 0.78);
  backdrop-filter: blur(8px);
}

.memorial-modal[hidden] {
  display: none;
}

.memorial-modal-panel {
  position: relative;
  width: min(100%, 880px);
  max-height: min(82vh, 780px);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(209, 224, 236, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(8, 31, 52, 0.32);
}

.memorial-modal-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 54px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 14px 14px -42px auto;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  background: #eef6fc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.memorial-modal-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 34px);
  padding: clamp(24px, 4vw, 42px);
}

.memorial-modal-photo {
  margin: 0;
}

.memorial-modal-photo img,
.memorial-modal-photo span {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  background: linear-gradient(135deg, #eaf3fb, #f9f4ed);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.memorial-modal-photo span {
  color: var(--brand-dark);
  font-size: 4rem;
  font-weight: 900;
}

.memorial-modal-copy {
  min-width: 0;
}

.memorial-modal-copy .eyebrow {
  margin-bottom: 10px;
}

.memorial-modal-copy h3 {
  margin: 0 48px 10px 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.memorial-modal-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 750;
}

.memorial-modal-text {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.72;
}

.memorial-modal-text > *:first-child {
  margin-top: 0;
}

.memorial-modal-text > *:last-child {
  margin-bottom: 0;
}

body.memorial-modal-open {
  overflow: hidden;
}

.page-hero {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(234, 243, 249, 0.96) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(251, 244, 233, 0.7) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.35rem, 5.6vw, 4.85rem);
}

.page-hero .lead {
  max-width: 780px;
}

.page-hero-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(189, 202, 214, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-hero-card svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.page-hero-card strong {
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.page-hero-card span {
  color: var(--muted);
}

.institutional-page-section {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 56px);
  background: #fff;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.page-content {
  min-width: 0;
}

.page-featured-media {
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-featured-media img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.page-content-body {
  width: min(860px, 100%);
  color: #2d3a48;
  font-size: 1.06rem;
}

.page-content-body > *:first-child {
  margin-top: 0;
}

.page-content-body > *:last-child {
  margin-bottom: 0;
}

.page-content-body h2,
.page-content-body h3,
.page-content-body h4 {
  color: var(--ink);
}

.page-content-body h2 {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.page-content-body h3 {
  margin-top: 28px;
  font-size: 1.26rem;
}

.page-content-body p,
.page-content-body li {
  line-height: 1.75;
}

.page-content-body a {
  color: var(--brand-dark);
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content-body ul,
.page-content-body ol {
  padding-left: 1.35rem;
}

.page-content-body blockquote {
  margin: 30px 0;
  padding: 18px 22px;
  background: var(--soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--brand-dark);
  font-size: 1.18rem;
  font-weight: 740;
}

.page-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-content-body th,
.page-content-body td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.page-content-body th {
  background: var(--soft-blue);
  color: var(--brand-dark);
}

.page-content-body .wp-block-image {
  width: min(420px, 100%);
  margin: 28px auto 34px;
}

.page-content-body .wp-block-image img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-content-body p > img,
.page-content-body p > a > img {
  width: min(340px, 100%);
  margin: 18px auto 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-content-body .wp-block-table {
  max-width: 100%;
  margin: 28px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-content-body .wp-block-table table {
  margin: 0;
  min-width: 680px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-content-body .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 38px;
}

.page-content-body .wp-block-gallery .wp-block-image {
  width: auto !important;
  margin: 0;
}

.page-content-body .wp-block-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-content-body .wp-block-gallery img[alt*="Editora"],
.page-content-body .wp-block-gallery img[alt*="MISPA"],
.page-content-body .wp-block-gallery img[alt*="Seminário"],
.page-content-body .wp-block-gallery img[alt*="Seminario"] {
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.page-content-body .wp-block-columns {
  gap: 18px;
  margin: 30px 0;
}

.page-content-body .wp-block-column {
  min-width: 0;
}

.page-content-body .wp-block-column:not(:only-child) {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-content-body .wp-block-buttons {
  gap: 10px;
  margin: 24px 0 30px;
}

.page-content-body .wp-block-button__link {
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.page-content-body .wp-block-button__link:hover {
  background: var(--brand-dark);
}

.contact-page .page-content-body.contact-gutenberg-content {
  width: 100% !important;
  max-width: none !important;
}

.contact-page .contact-gutenberg-shell {
  width: min(1840px, calc(100% - clamp(24px, 4vw, 80px))) !important;
  max-width: none !important;
}

.contact-page .iprb-contact-pattern,
.contact-page .iprb-contact-directory-band,
.contact-page .iprb-contact-support,
.contact-page .iprb-contact-final {
  width: 100% !important;
  max-width: none !important;
}

.contact-page .iprb-contact-columns.wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr) minmax(420px, 0.95fr);
  gap: clamp(20px, 2vw, 34px);
  align-items: stretch;
  width: 100%;
  margin: 0;
}

.contact-page .iprb-contact-columns > .wp-block-column:not(:only-child),
.contact-page .iprb-contact-support .wp-block-column:not(:only-child),
.contact-page .iprb-contact-final > .wp-block-column:not(:only-child) {
  border-radius: var(--radius-sm);
}

.contact-page .iprb-contact-list a {
  overflow-wrap: normal;
  word-break: normal;
}

.contact-page .iprb-contact-support > h2 {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 0 24px !important;
  color: var(--navy) !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
  line-height: 1.15 !important;
}

.contact-page .iprb-contact-support > h2 .iprb-contact-section-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
}

.contact-page .iprb-contact-section-icon.has-editable-icon::before {
  content: none !important;
}

.page-id-413 .page-content-body p {
  columns: 2 240px;
  column-gap: 34px;
}

.page-id-413 .page-content-body h2 + p {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-id-412 .page-content-body .wp-block-image {
  width: min(340px, 100%);
}

.page-id-403 .page-content-body {
  max-width: none;
}

.journal-renewed-layout {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.journal-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  padding: clamp(24px, 5vw, 44px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 42, 67, 0.98), rgba(35, 104, 162, 0.9)),
    var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.journal-hero-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.journal-hero-copy .eyebrow,
.journal-hero-copy .lead {
  color: rgba(255, 255, 255, 0.82);
}

.journal-hero-copy h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
}

.journal-hero-copy .button {
  width: fit-content;
  margin-top: 6px;
  border-color: #fff;
  background: #fff;
  color: var(--brand-dark);
}

.journal-cover-feature {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: 0;
  color: #fff;
  text-align: center;
  font-weight: 820;
}

.journal-cover-feature img {
  width: min(270px, 100%);
  max-height: 390px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 24px 56px rgba(5, 16, 28, 0.34);
}

.journal-cover-placeholder,
.journal-issue-placeholder {
  display: grid;
  place-items: center;
  width: min(270px, 100%);
  aspect-ratio: 0.72;
  min-height: 260px;
  padding: 18px;
  color: var(--brand-dark);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(219, 232, 240, 0.98)),
    var(--soft-blue);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
  box-shadow: 0 24px 56px rgba(5, 16, 28, 0.22);
}

.journal-summary,
.journal-archive {
  display: grid;
  gap: 18px;
}

.journal-summary h2,
.journal-archive h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

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

.journal-summary-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.journal-summary-item span {
  width: fit-content;
  padding: 5px 8px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 850;
  background: var(--soft-blue);
  border: 1px solid #c8dce9;
  border-radius: 999px;
}

.journal-summary-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.42;
}

.journal-year-list {
  display: grid;
  gap: 12px;
}

.journal-year-group {
  display: grid;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.journal-year-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  color: var(--brand-dark);
  cursor: pointer;
  list-style: none;
}

.journal-year-group summary::-webkit-details-marker {
  display: none;
}

.journal-year-group summary span {
  font-size: 1.18rem;
  font-weight: 850;
}

.journal-year-group summary small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.journal-year-group summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 760;
  background: var(--soft-blue);
  border-radius: 999px;
}

.journal-year-group[open] summary {
  border-bottom: 1px solid var(--line);
}

.journal-year-group[open] summary::after {
  content: "-";
}

.journal-issue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.journal-issue-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.journal-issue-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.journal-issue-card.is-disabled {
  cursor: default;
  opacity: 0.74;
}

.journal-issue-card.is-disabled:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transform: none;
}

.journal-issue-card img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 5px;
  background: var(--soft);
}

.journal-issue-card span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 820;
  text-align: center;
}

.journal-issue-card .journal-issue-placeholder {
  width: 100%;
  min-height: 0;
  box-shadow: none;
}

.journal-managed-empty {
  padding: 18px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-sidebar {
  position: sticky;
  top: 136px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-side-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-side-panel.is-muted {
  background: var(--soft);
}

.page-side-panel h2 {
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 1rem;
}

.page-side-panel p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-side-links,
.page-related-list {
  display: grid;
  gap: 8px;
}

.page-side-links a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink);
  font-weight: 820;
}

.page-side-links svg {
  color: var(--accent);
}

.page-side-links a:hover,
.page-related-list a:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.page-related-list a {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 760;
}

.page-related-list a:last-child {
  border-bottom: 0;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-page {
  background: var(--soft);
}

.article-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.article-hero img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.article-body {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 42px 0 0;
  color: #2d3a48;
  font-size: 1.06rem;
}

.article-body blockquote {
  margin: 28px 0;
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 20px;
  color: var(--brand-dark);
  font-size: 1.25rem;
  font-weight: 750;
}

.site-footer {
  display: grid;
  gap: 34px;
  padding: 52px clamp(18px, 4vw, 56px) 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(35, 104, 162, 0.28), transparent 34%),
    linear-gradient(180deg, #101922 0%, #0c141d 100%);
  color: rgba(255, 255, 255, 0.84);
}

.footer-main > *,
.footer-link-grid > *,
.footer-tools,
.footer-brand,
.footer-bottom,
.footer-bottom div {
  min-width: 0;
}

.site-footer p,
.site-footer a,
.site-footer span {
  overflow-wrap: anywhere;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-logo img {
  width: min(112px, 34vw);
  height: auto;
  max-height: 112px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social span {
  margin: 0;
  color: inherit;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-tools {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.footer-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.footer-tool {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  margin: 0 !important;
  padding: 12px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 850;
}

.footer-tool:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-tool svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link-grid nav,
.footer-contact {
  min-width: 0;
}

.utility-menu {
  display: contents;
}

.utility-menu li {
  list-style: none;
}

.article-body img {
  border-radius: var(--radius);
  height: auto;
}

.article-body a {
  color: var(--brand-dark);
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(420px, 56vw, 660px);
  display: grid;
  align-items: end;
  padding: clamp(76px, 9vw, 128px) clamp(18px, 4vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(188, 50, 62, 0.22), transparent 32%),
    linear-gradient(135deg, #081f34 0%, #163f66 100%);
}

.blog-article-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.blog-article-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
}

.blog-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 31, 52, 0.94) 0%, rgba(8, 31, 52, 0.76) 46%, rgba(8, 31, 52, 0.38) 100%),
    linear-gradient(0deg, rgba(8, 31, 52, 0.76), rgba(8, 31, 52, 0.08));
}

.blog-article-hero .page-kicker {
  margin-bottom: clamp(28px, 5vw, 80px);
}

.blog-article-hero .page-kicker a,
.blog-article-hero .page-kicker span,
.blog-article-hero .meta {
  color: rgba(255, 255, 255, 0.78);
}

.blog-article-heading {
  width: min(880px, 100%);
}

.blog-article-heading h1 {
  margin: 18px 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.blog-article-heading .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.blog-article-shell {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, #f7fafc 0%, #fff 22%);
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.blog-article-main {
  min-width: 0;
}

.blog-reading-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.blog-article-content {
  width: min(760px, 100%);
  padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 74px);
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.86;
}

.blog-article-content > p:first-child {
  font-size: clamp(1.15rem, 1.7vw, 1.34rem);
  line-height: 1.72;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  color: var(--ink);
  line-height: 1.12;
}

.blog-article-content h2 {
  margin-top: 2.2em;
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
}

.blog-article-content h3 {
  margin-top: 2em;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.blog-article-content blockquote {
  margin: 34px 0;
  padding: 24px 26px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
}

.blog-share-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.blog-share-strip span {
  flex: 1 0 100%;
  margin-right: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-share-strip a,
.blog-share-strip button,
.blog-author-links a,
.blog-category-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--brand-dark);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  background: #eef6fc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.blog-share-strip .blog-share-icon {
  justify-content: center;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  color: rgba(188, 50, 62, 0.86);
  background: #f4f6f7;
  border: 1px solid transparent;
  border-radius: 10px;
}

.blog-share-strip .blog-share-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-share-strip .blog-share-icon:hover {
  color: var(--accent);
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(188, 50, 62, 0.08);
}

.blog-share-strip .blog-share-icon.is-copied {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.blog-author-box,
.blog-related-footer,
.blog-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.blog-author-box {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 28px);
}

.blog-author-box img,
.blog-side-author img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.blog-author-box span,
.blog-side-author span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-author-box h2,
.blog-side-card h2 {
  margin: 4px 0 10px;
  color: var(--ink);
}

.blog-author-box p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.blog-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.blog-author-links a {
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  background: #f4f6f7;
}

.blog-author-links a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-author-links a span {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: none;
}

.blog-author-links a:hover {
  color: var(--accent);
  background: #fff;
  border-color: rgba(188, 50, 62, 0.34);
}

.blog-author-links .blog-author-social-icon {
  justify-content: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.blog-archive-hero {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(37, 117, 175, 0.12), transparent 32%),
    linear-gradient(135deg, #f5f9fc 0%, #fff 52%, #fbf6eb 100%);
  border-bottom: 1px solid var(--line);
}

.blog-archive-hero-inner {
  display: grid;
  gap: 28px;
}

.blog-archive-heading {
  max-width: 820px;
}

.blog-archive-heading h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.98;
}

.blog-archive-heading .lead {
  max-width: 760px;
}

.blog-archive-shell {
  padding: clamp(34px, 6vw, 72px) 0;
  background: #fff;
}

.blog-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(22px, 4vw, 38px);
  align-items: start;
}

.blog-archive-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.blog-featured-image {
  display: block;
  min-height: 100%;
  background: #edf3f7;
}

.blog-featured-image img,
.blog-featured-image .image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.blog-featured-content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
}

.blog-featured-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
}

.blog-featured-content h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-featured-content p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
}

.blog-featured-content .button {
  justify-self: start;
  margin-top: 4px;
}

.blog-archive-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
}

.blog-archive-section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.blog-archive-section-title > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

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

.blog-empty-card {
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.blog-empty-card h2 {
  margin: 0 0 8px;
}

.blog-empty-card p {
  margin: 0;
  color: var(--ink-2);
}

.blog-archive-sidebar .blog-side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.blog-tag-cloud a {
  background: #f5f8fb;
}

.blog-tag-cloud a:hover {
  color: var(--accent);
  border-color: rgba(188, 50, 62, 0.34);
  background: #fff;
}

.blog-side-list a small {
  float: right;
  color: var(--muted);
  font-weight: 850;
}

.blog-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
}

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

.blog-side-card h2 {
  font-size: 1.12rem;
}

.blog-side-search .filters {
  display: grid;
  gap: 10px;
  margin: 0;
}

.blog-side-search .field {
  display: grid;
  gap: 6px;
}

.blog-side-search input {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.blog-side-search .button {
  justify-content: center;
  width: 100%;
}

.blog-side-author {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.blog-side-author img {
  width: 72px;
  height: 72px;
}

.blog-side-author-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.blog-side-author-link h2 {
  transition: color 0.2s ease;
}

.blog-side-author-link:hover h2 {
  color: var(--brand);
}

.blog-side-author .blog-side-list {
  grid-column: 1 / -1;
}

.blog-side-list {
  display: grid;
  gap: 10px;
}

.blog-side-list a {
  color: var(--ink-2);
  font-weight: 780;
  text-decoration: none;
}

.blog-side-list.is-rich a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.blog-side-list.is-rich span {
  color: var(--accent);
  font-weight: 900;
}

.blog-side-list.is-rich strong {
  color: var(--ink);
  line-height: 1.25;
}

.blog-category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-side-cta {
  background: linear-gradient(135deg, #081f34 0%, #174673 100%);
}

.blog-side-cta h2 {
  color: #fff;
  font-size: 1.35rem;
}

.blog-side-cta .eyebrow {
  color: #f3d28f;
}

.blog-related-footer {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 32px);
}

.blog-related-footer h2 {
  margin: 0 0 18px;
  color: var(--ink);
}

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

.blog-related-card {
  display: grid;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.blog-related-card img,
.blog-related-card .image-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.blog-related-card strong {
  line-height: 1.24;
}

.blog-related-card small {
  color: var(--muted);
  font-weight: 780;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-social a {
  display: inline-flex;
  margin: 0;
  color: #fff;
}

.site-footer .footer-social span,
.site-footer .footer-tool span {
  display: inline;
  margin: 0;
  color: inherit;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a,
.footer-bottom span {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.empty-state {
  padding: 28px;
  background: #fff;
  border: 1px dashed #b8cad9;
  border-radius: var(--radius);
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 32px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 820;
  padding: 0 12px;
}

.pagination .current {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .icon-button {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 108px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-menu {
    display: grid;
    gap: 2px;
    width: 100%;
  }

  .menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .menu-item-has-children > a {
    grid-column: 1;
  }

  .menu-item-has-children > .submenu-toggle {
    grid-column: 2;
  }

  .menu-item-has-children > .sub-menu {
    grid-column: 1 / -1;
  }

  .sub-menu .menu-item-has-children > .sub-menu {
    grid-column: 1 / -1;
  }

  .primary-nav a {
    justify-content: space-between;
    border-radius: 7px;
  }

  .sub-menu,
  .sub-menu .sub-menu {
    position: static;
    min-width: 0;
    margin: 0 0 6px 12px;
    box-shadow: none;
    background: #f8fbfd;
  }

	  .hero .shell,
	  .news-layout,
	  .single-news-layout .feature-card,
	  .split,
	  .article-hero,
    .blog-article-layout,
	    .blog-archive-layout,
	    .blog-featured-card,
      .home-editorial-layout,
	    .home-blog-layout,
	    .home-blog-featured,
	  .page-hero-grid,
	  .page-layout,
    .memorial-hero-inner,
	  .content-band-grid,
	  .institutions-layout,
	  .iprtv-layout,
  .journal-hero-card {
	    grid-template-columns: 1fr;
	  }

  .page-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iprtv-card.is-featured {
    grid-row: auto;
  }

  .quick-grid,
  .service-grid,
  .stats-grid,
  .rss-list.is-home,
  .presbytery-grid,
  .contact-grid,
  .institution-grid,
  .institution-call-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publisher-showcase {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  }

  .journal-issue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .filters {
    position: static;
  }

	  .article-hero img {
	    min-height: 300px;
	  }

	  .feature-card img {
	    min-height: 280px;
	  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .memorial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .memorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .blog-archive-hero {
    padding: 42px 0;
  }

  .blog-archive-heading h1 {
    font-size: clamp(2.15rem, 11vw, 3.45rem);
  }

  .blog-featured-image img,
  .blog-featured-image .image-fallback {
    min-height: 240px;
  }

  .blog-archive-section-title {
    align-items: start;
    flex-direction: column;
  }

  .blog-archive-grid,
  .blog-sidebar,
  .home-sidebar,
  .home-blog-layout {
    grid-template-columns: 1fr;
  }

  .home-social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .memorial-modal-grid {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .memorial-modal-photo {
    max-width: 220px;
  }

  .memorial-modal-copy h3 {
    margin-right: 34px;
  }

  .memorial-modal-text {
    font-size: 0.95rem;
  }

  .top-strip {
    justify-content: center;
    padding: 7px 12px;
    font-size: 0.72rem;
  }

  .utility-links {
    justify-content: center;
    gap: 10px 14px;
  }

  .site-header {
    gap: 10px;
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 10px 14px;
  }

  .brand img {
    width: 162px;
  }

  .brand .custom-logo {
    width: 162px;
  }

  .header-action {
    display: inline-flex;
    min-height: 42px;
    padding: 0 11px;
    font-size: 0.86rem;
  }

  .header-action svg {
    width: 17px;
    height: 17px;
  }

  .primary-nav {
    inset: 76px 14px auto 14px;
  }

  .hero {
    min-height: 460px;
  }

  .hero .shell {
    padding-top: 52px;
    padding-bottom: 66px;
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.15rem);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .inline-actions {
    display: grid;
  }

  .inline-actions .button,
  .inline-actions .ghost-button {
    width: 100%;
  }

  .quick-grid,
  .card-grid,
  .service-grid,
  .stats-grid,
  .rss-list.is-home,
  .presbytery-grid,
  .journal-summary-grid,
  .journal-issue-grid,
  .contact-grid,
  .institution-grid,
  .institution-call-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-link-grid,
  .footer-tool-grid {
    grid-template-columns: 1fr;
  }

  .presbytery-role-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    gap: 26px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-logo img,
  .footer-logo-symbol {
    width: min(96px, 32vw);
  }

  .footer-social a {
    min-height: 38px;
  }

  .footer-tool {
    min-height: 52px;
  }

  .publisher-showcase {
    grid-template-columns: 1fr;
  }

  .institution-call-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .institution-call {
    gap: 6px;
    padding: 8px;
  }

  .institution-call strong {
    font-size: 0.86rem;
    line-height: 1.14;
  }

  .institution-call span {
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .section-title {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero,
  .institutional-page-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
  }

  .page-sidebar {
    grid-template-columns: 1fr;
  }

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

  .blog-article-hero {
    min-height: 420px;
  }

  .blog-article-heading h1 {
    font-size: clamp(2.15rem, 12vw, 3.5rem);
  }

  .blog-share-strip {
    position: static;
  }

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

  .page-side-panel {
    padding: 16px;
  }

  .memorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .memorial-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  .memorial-hero-stats {
    max-width: 260px;
  }

  .page-content-body .wp-block-gallery {
    grid-template-columns: 1fr;
  }

  .mini-post {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .mini-post img {
    width: 92px;
    height: 76px;
  }

  .home-blog-featured-image img,
  .home-blog-featured-image .image-fallback {
    min-height: 240px;
  }

  .home-blog-featured-copy h3 {
    font-size: clamp(1.5rem, 7.5vw, 2.1rem);
  }

  .home-blog-mini {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .home-blog-mini-image img,
  .home-blog-mini-image .thumb-fallback {
    width: 96px;
    height: 76px;
  }

  .doc-card {
    grid-template-columns: 1fr;
  }

  .rss-card,
  .rss-card.has-image {
    grid-template-columns: 1fr;
  }

  .rss-list:not(.is-home) .rss-card-media {
    aspect-ratio: 16 / 9;
  }

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

  .iprtv-card,
  .iprtv-card.is-featured {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 10px;
  }

  .iprtv-card.is-featured strong {
    font-size: 1.05rem;
  }

  .doc-card .ghost-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand img,
  .brand .custom-logo {
    width: 138px;
  }

  .header-action {
    width: 42px;
    padding: 0;
  }

  .header-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .brand img {
    width: 142px;
  }

  .brand .custom-logo {
    width: 142px;
  }

  .quick-card,
  .service-card,
  .content-card div,
  .doc-card,
  .presbytery-card,
  .contact-card,
  .institution-card {
    padding: 16px;
  }

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

  .mini-post img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .iprtv-card,
  .iprtv-card.is-featured {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }

  .iprtv-card strong,
  .iprtv-card.is-featured strong {
    font-size: 0.96rem;
  }

  .iprtv-card:not(.is-featured) .iprtv-play,
  .iprtv-play {
    width: 30px;
    height: 30px;
  }
}

.institutions-hero {
  background:
    linear-gradient(110deg, rgba(239, 247, 252, .94), rgba(255, 252, 246, .92)),
    var(--soft);
}

.institutions-hero-grid {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.institutions-hero-card,
.institution-feature-card,
.institutions-overview-items span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.institutions-hero-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.institutions-hero-card svg,
.institutions-overview-items svg {
  color: var(--accent);
}

.institutions-hero-card svg {
  height: 34px;
  width: 34px;
}

.institutions-hero-card strong {
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.institutions-hero-card span,
.institution-feature-body > p,
.institutions-contact p {
  color: var(--muted);
  line-height: 1.6;
}

.institutions-overview {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  padding-bottom: 32px;
}

.institutions-overview-copy h2 {
  margin: 0;
  max-width: 780px;
}

.institutions-overview-items {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.institutions-overview-items span {
  align-items: center;
  color: var(--brand-dark);
  display: flex;
  font-weight: 800;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
}

.institutions-overview-items svg {
  height: 22px;
  width: 22px;
}

.institutions-feature-grid {
  display: grid;
  gap: 22px;
}

.institution-feature-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
}

.institution-feature-media {
  background: #eef5fb;
  min-height: 270px;
  position: relative;
}

.institution-feature-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.institution-feature-media::after {
  background: linear-gradient(180deg, rgba(7, 31, 54, 0), rgba(7, 31, 54, .74));
  content: "";
  inset: 0;
  position: absolute;
}

.institution-feature-media > span {
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  bottom: 18px;
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 900;
  left: 18px;
  letter-spacing: .05em;
  padding: 8px 12px;
  position: absolute;
  text-transform: uppercase;
  z-index: 1;
}

.institution-feature-symbol {
  align-items: center;
  background: linear-gradient(135deg, #0b2a45, #1d6ea8);
  color: #fff;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 270px;
}

.institution-feature-symbol svg {
  height: 82px;
  opacity: .9;
  width: 82px;
}

.institution-feature-body {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.institution-feature-heading {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.institution-feature-heading h2 {
  margin: 4px 0 0;
}

.institution-feature-icon {
  align-items: center;
  background: #f7ecdf;
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.institution-feature-icon svg,
.institution-feature-links .button-link svg {
  height: 20px;
  width: 20px;
}

.institution-feature-body > p {
  font-size: 1.04rem;
  margin: 0;
}

.institution-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.institution-focus-list li {
  background: #eff6fc;
  border: 1px solid #d8e7f3;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: .9rem;
  font-weight: 800;
  padding: 8px 12px;
}

.institution-feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.institutions-contact {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.institutions-contact h2 {
  margin-bottom: 8px;
}

.institutions-contact p {
  margin: 0;
  max-width: 760px;
}

.iprb-institutions-gutenberg {
  display: grid;
  gap: 24px;
}

.iprb-institutions-gutenberg > *,
.iprb-institution-block-grid > *,
.iprb-institution-block-card > *,
.iprb-institution-highlights > *,
.institution-card-head > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

.iprb-institutions-gutenberg > *,
.iprb-institution-block-grid > *,
.iprb-institution-block-card > * {
  width: 100%;
}

.iprb-institutions-hero-block {
  background:
    linear-gradient(135deg, rgba(7, 31, 54, 0.96), rgba(23, 68, 111, 0.93)),
    radial-gradient(circle at 95% 10%, rgba(183, 148, 92, 0.28), transparent 30%);
  border: 1px solid rgba(216, 231, 243, 0.32);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(20, 33, 47, 0.14);
  padding: 30px;
}

.iprb-institutions-hero-block .eyebrow {
  color: #f2d59b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.iprb-institutions-hero-block h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.06;
  margin: 0;
  max-width: 880px;
}

.iprb-institutions-hero-block p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 920px;
}

.iprb-institution-highlights {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.iprb-institution-highlights p {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 33, 47, 0.05);
  color: var(--muted);
  margin: 0;
  padding: 18px;
}

.iprb-institution-highlights strong {
  color: var(--brand-dark);
  display: inline-block;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.iprb-institution-intro-panel,
.iprb-institution-contact-panel {
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-red);
  border-radius: 8px;
  padding: 26px 30px;
}

.iprb-institution-contact-panel {
  background: linear-gradient(135deg, #fff, #eff6fc);
  border-left-color: var(--gold);
}

.iprb-institution-intro-panel h3,
.iprb-institution-contact-panel h3 {
  color: var(--ink);
  margin: 0 0 10px;
}

.iprb-institution-intro-panel p,
.iprb-institution-contact-panel p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
  margin: 0;
  max-width: 980px;
}

.iprb-institution-block-grid {
  display: grid;
  align-items: stretch;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.iprb-institution-block-card {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(23, 68, 111, 0.28), rgba(180, 49, 64, 0.22)) border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.iprb-institution-block-card::before {
  background: linear-gradient(90deg, var(--brand-red), var(--gold));
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.iprb-institution-block-card.is-wide-card {
  grid-column: 1 / -1;
}

.institution-card-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 2px;
  width: 100%;
}

.institution-card-head .wp-block-image,
.institution-card-head figure {
  margin: 0;
}

.institution-logo-image img {
  display: block;
  height: 46px;
  max-width: 138px;
  object-fit: contain;
  object-position: left center;
  width: 138px;
}

.institution-tag {
  align-items: center;
  background: #eff6fc;
  border: 1px solid #d8e7f3;
  border-radius: 999px;
  color: var(--brand-dark) !important;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  padding: 8px 11px;
  text-align: center;
  white-space: nowrap;
}

.iprb-institution-block-card h3 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 0;
}

.iprb-institution-block-card p {
  color: var(--muted);
  margin: 0;
}

.iprb-institution-block-card ul {
  color: var(--ink-2);
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 20px;
}

.iprb-institution-block-card li + li {
  margin-top: 6px;
}

.institution-logo-slot {
  align-items: center;
  align-self: flex-start;
  background: #eff6fc;
  border: 1px solid #d8e7f3;
  border-radius: 8px;
  color: var(--brand-dark);
  display: inline-flex;
  justify-content: center;
  min-height: 72px;
  min-width: 180px;
  padding: 14px 18px;
}

.institution-logo-slot .wp-block-image,
.institution-logo-slot figure {
  margin: 0;
}

.institution-logo-slot img {
  display: block;
  height: 70px;
  max-width: 190px;
  object-fit: contain;
  width: 190px;
}

.institution-logo-slot p {
  color: var(--brand-dark);
}

.iprb-institution-block-card .wp-block-buttons {
  margin-top: auto;
  width: auto;
}

.iprb-institutions-page {
  clear: both;
  display: block;
  max-width: 100%;
  overflow: visible;
}

.iprb-institutions-page > * + * {
  margin-top: 24px;
}

.iprb-institution-page-hero {
  background: linear-gradient(135deg, #071f36, #17446f);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 33, 47, 0.14);
  color: #fff;
  padding: clamp(24px, 4vw, 42px);
}

.iprb-institution-page-hero .eyebrow {
  color: #f2d59b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.iprb-institution-page-hero h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0;
  max-width: 920px;
}

.iprb-institution-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 900px;
}

.iprb-institution-summary {
  gap: 14px;
  margin-bottom: 0;
}

.iprb-institution-summary .wp-block-column {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 33, 47, 0.05);
  padding: 18px;
}

.iprb-institution-summary p {
  color: var(--muted);
  margin: 0;
}

.iprb-institution-summary strong {
  color: var(--brand-dark);
}

.iprb-institution-lead {
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-red);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  padding: 22px 26px;
}

.iprb-institution-row {
  align-items: stretch !important;
  gap: 24px;
  margin-bottom: 0;
}

.iprb-institution-row .wp-block-column {
  display: flex;
}

.iprb-institution-native-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  position: relative;
  width: 100%;
}

.iprb-institution-native-card::before {
  background: linear-gradient(90deg, var(--brand-red), var(--gold));
  border-radius: 8px 8px 0 0;
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.iprb-institution-native-card > * {
  max-width: none !important;
}

.iprb-institution-logo {
  align-items: center;
  display: flex;
  height: 54px;
  margin: 0 0 18px;
}

.iprb-institution-title {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  margin: 0 0 18px;
  padding-bottom: 16px;
}

.iprb-institution-title .iprb-institution-logo {
  flex: 0 0 auto;
  height: 56px;
  margin: 0;
  width: auto;
}

.iprb-institution-logo img {
  display: block;
  height: 48px;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.iprb-institution-title .iprb-institution-logo img {
  height: 54px;
  max-width: 84px;
}

.iprb-institution-title h3 {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.95;
  margin: 0;
}

.iprb-institution-photo {
  margin: 0 0 18px;
}

.iprb-institution-photo img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.iprb-institution-native-card h3 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin: 0 0 12px;
}

.iprb-institution-native-card .iprb-institution-title h3 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.95;
  margin: 0;
}

.iprb-institution-subtitle {
  color: var(--brand-dark);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.25;
  margin: 0 0 10px;
}

.iprb-institution-location {
  align-items: flex-start;
  color: var(--brand-dark) !important;
  display: flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 8px;
  line-height: 1.45;
  margin: 0 0 14px !important;
}

.iprb-institution-location a {
  color: inherit;
  text-decoration: none;
}

.iprb-institution-location a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.iprb-institution-location::before {
  background: currentColor;
  content: "";
  flex: 0 0 auto;
  height: 18px;
  margin-top: 1px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 18px;
}

.iprb-institution-native-card p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0 0 14px;
}

.iprb-institution-native-card ul {
  color: var(--ink-2);
  margin: 0 0 18px;
  padding-left: 20px;
}

.iprb-institution-native-card li + li {
  margin-top: 6px;
}

.iprb-institution-native-card .wp-block-buttons {
  margin-top: auto;
}

.iprb-institution-native-card .iprb-icon-links {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.iprb-icon-links .wp-block-button__link {
  align-items: center;
  background: transparent !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px;
  color: var(--brand-dark) !important;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
  line-height: 1;
  padding: 10px 13px !important;
}

.iprb-icon-links .wp-block-button__link::before {
  background: currentColor;
  content: "";
  height: 17px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h6v2H7v10h10v-4h2v6H5V5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 17px;
}

.iprb-icon-links a[href*="instagram.com"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Zm5.25-2.25a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E");
}

.iprb-icon-links a[href*="wa.me"]::before,
.iprb-icon-links a[href*="whatsapp"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12.04 2A9.9 9.9 0 0 0 2.1 11.9c0 1.75.46 3.45 1.34 4.95L2 22l5.3-1.38a9.86 9.86 0 0 0 4.74 1.2h.01A9.91 9.91 0 0 0 12.04 2Zm5.82 14.16c-.25.7-1.43 1.34-2.01 1.43-.52.08-1.18.12-1.9-.12-.44-.14-1-.32-1.72-.63-3.03-1.31-5-4.35-5.15-4.55-.15-.2-1.23-1.64-1.23-3.13s.78-2.22 1.06-2.52c.28-.3.61-.38.82-.38h.59c.18 0 .44-.07.69.53.25.6.85 2.08.92 2.23.08.15.13.33.03.53-.1.2-.15.32-.3.5-.15.17-.32.39-.45.52-.15.15-.31.31-.13.61.18.3.8 1.32 1.72 2.14 1.18 1.05 2.18 1.38 2.48 1.53.3.15.48.13.66-.08.18-.2.76-.88.96-1.18.2-.3.4-.25.68-.15.28.1 1.78.84 2.08.99.3.15.5.22.58.35.08.13.08.75-.17 1.45Z'/%3E%3C/svg%3E");
}

.iprb-institution-wide {
  background: linear-gradient(135deg, #fff, #eff6fc);
}

.iprb-program-page {
  display: grid;
  gap: 24px;
}

.iprb-program-page > * {
  min-width: 0;
}

.iprb-program-intro,
.iprb-program-panel,
.iprb-program-card,
.iprb-program-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.iprb-program-intro {
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(234, 243, 249, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
}

.iprb-program-intro .eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.iprb-program-intro h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  margin: 0 0 14px;
}

.iprb-program-intro p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 780px;
}

.iprb-program-grid {
  align-items: stretch;
  gap: 18px;
  margin-block: 0;
}

.iprb-program-grid .wp-block-column {
  display: flex;
}

.iprb-program-card,
.iprb-program-panel {
  background: #fff;
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  width: 100%;
}

.iprb-program-card::before {
  background: var(--brand);
  border-radius: 8px 8px 0 0;
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.iprb-program-card.is-accent-red::before {
  background: var(--accent);
}

.iprb-program-card.is-accent-green::before {
  background: var(--green);
}

.iprb-program-card.is-accent-gold::before {
  background: var(--gold);
}

.iprb-program-card h3,
.iprb-program-panel h3 {
  color: var(--ink);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.18;
  margin: 0 0 12px;
}

.iprb-program-card p,
.iprb-program-panel p,
.iprb-program-card li,
.iprb-program-panel li {
  color: var(--ink-2);
}

.iprb-program-card ul,
.iprb-program-panel ol,
.iprb-program-panel ul {
  margin-bottom: 0;
}

.iprb-program-panel {
  background: linear-gradient(135deg, #fff, #f5f8fb);
}

.iprb-program-note {
  border-left: 5px solid var(--gold);
  color: var(--muted);
  font-weight: 650;
  margin: 0;
  padding: 18px 20px;
}

.iprb-program-table {
  margin: 0;
  overflow-x: auto;
}

.iprb-program-table table {
  min-width: 720px;
}

.iprb-program-table th {
  background: var(--navy);
  color: #fff;
}

.iprb-program-table td:first-child {
  color: var(--brand-dark);
  font-weight: 800;
}

.iprb-app-promo {
  align-items: center;
}

.iprb-app-promo .wp-block-column {
  align-items: center;
  justify-content: center;
}

.iprb-app-screen {
  display: flex;
  justify-content: center;
  margin: 0;
}

.iprb-app-screen img {
  width: min(210px, 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

.iprb-store-links {
  gap: 10px;
  margin-top: 18px;
}

.iprb-store-links .wp-block-button__link {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 850;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
}

.iprb-store-links .wp-block-button__link::before {
  background: currentColor;
  content: "";
  height: 18px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm2 3v12h6V5H9Zm3 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 18px;
}

.iprb-download-actions {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
}

.iprb-download-actions .wp-block-button {
  flex: 1 1 260px;
}

.iprb-download-actions .wp-block-button__link {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 58px;
  padding: 16px 20px;
  text-align: center;
  width: 100%;
}

.iprb-download-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 28px rgba(35, 104, 162, 0.2);
}

.iprb-download-actions .wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand-dark);
}

.iprb-video-panel {
  overflow: hidden;
}

.iprb-program-video {
  margin: 18px 0 0;
}

.iprb-program-video .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
  background: #0b1220;
  border-radius: 8px;
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.iprb-program-video iframe {
  border: 0;
  height: 100% !important;
  inset: 0;
  position: absolute;
  width: 100% !important;
}

.iprb-age-profile {
  overflow: hidden;
}

.iprb-age-profile-grid {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(240px, 0.9fr) minmax(300px, 1.2fr);
  margin-top: 22px;
}

.iprb-age-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 22px;
}

.iprb-age-summary span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.iprb-age-summary strong {
  color: var(--brand-dark);
  display: block;
  font-size: clamp(2.65rem, 4.4vw, 3.65rem);
  line-height: 1;
  white-space: nowrap;
}

.iprb-age-summary p {
  margin: 12px 0 0;
}

.iprb-age-donut {
  aspect-ratio: 1;
  background: conic-gradient(#b5343d 0 4%, #2368a2 4% 44%, #bd9140 44% 72.6%, #647587 72.6% 100%);
  border-radius: 50%;
  display: grid;
  margin-inline: auto;
  max-width: 260px;
  place-items: center;
  width: 100%;
}

.iprb-age-donut span {
  background: #fff;
  border-radius: 50%;
  display: block;
  height: 48%;
  width: 48%;
}

.iprb-age-bars {
  display: grid;
  gap: 14px;
}

.iprb-age-bar {
  display: grid;
  gap: 7px;
}

.iprb-age-bar span {
  color: var(--ink);
  font-weight: 820;
}

.iprb-age-bar strong {
  color: var(--brand-dark);
  font-size: 1rem;
  line-height: 1.1;
}

.iprb-age-bar em {
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 999px;
  display: block;
  height: 12px;
  max-width: 100%;
  width: calc(var(--bar) * 1%);
}

@media (max-width: 900px) {
  .iprb-age-profile-grid {
    grid-template-columns: 1fr;
  }
}

.iprb-institutions-gutenberg,
.iprb-institution-block-grid,
.iprb-institution-highlights {
  display: block;
}

.iprb-institution-block-grid > *,
.iprb-institution-highlights > * {
  margin-top: 16px !important;
}

.norms-archive {
  background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 42%);
}

.norms-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 78px) 0;
}

.norms-hero-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
}

.norms-hero h1 {
  color: var(--ink);
  font-size: clamp(2.15rem, 4.5vw, 4.35rem);
  line-height: 1.04;
  margin: 12px 0 18px;
  max-width: 920px;
}

.norms-hero .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  max-width: 860px;
}

.norms-hero-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 43, 68, 0.06);
  display: grid;
  gap: 7px;
  padding: 22px;
}

.norms-hero-number {
  color: var(--blue);
  font-size: clamp(2.35rem, 4.5vw, 3.45rem);
  font-weight: 850;
  line-height: 0.95;
}

.norms-hero-label {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.norms-hero-card span:last-of-type {
  color: var(--muted);
  font-weight: 750;
}

.norms-library-section {
  padding-top: clamp(34px, 5vw, 66px);
}

.norms-finder { display: grid; gap: 20px; margin-bottom: 26px; padding: clamp(22px, 4vw, 34px); background: linear-gradient(135deg, #e8f3fa 0%, #f2f7fb 58%, #eaf1f7 100%); border: 1px solid #b9d1e2; border-left: 5px solid var(--brand); border-radius: 10px; box-shadow: 0 18px 50px rgba(15, 43, 68, 0.09); }
.norms-finder-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.norms-finder-heading h2 { margin: 0 0 7px; font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
.norms-finder-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.norms-finder-heading > strong { flex: 0 0 auto; padding: 8px 13px; color: var(--brand-dark); background: var(--soft-blue); border-radius: 999px; font-size: 0.9rem; font-weight: 650; }
.norms-finder-controls { display: grid; grid-template-columns: minmax(280px, 1fr) auto; gap: 12px; align-items: end; }
.norms-finder-controls label { display: grid; gap: 7px; color: var(--ink-2); font-size: 0.83rem; font-weight: 650; }
.norms-finder-controls input, .norms-finder-controls select { width: 100%; min-height: 48px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid #9dbed5; border-radius: 8px; box-shadow: 0 3px 10px rgba(16, 42, 67, 0.04); }
.norms-search-field input { min-height: 54px; border-width: 2px; border-color: var(--brand); font-size: 1rem; }
.norms-search-submit { min-height: 54px; }
.norms-finder-controls input:focus, .norms-finder-controls select:focus { border-color: var(--brand); outline: 3px solid rgba(35, 104, 162, 0.12); }
.norms-finder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.norms-clear { padding: 8px 4px; color: var(--brand-dark); background: transparent; border: 0; font: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.norms-finder-scope { margin: -6px 0 0; color: var(--brand-dark); font-size: 0.82rem; font-weight: 600; }
.norms-finder-scope::before { content: "✓"; margin-right: 7px; color: var(--green); }
.norms-library-section > .shell > .norms-finder-actions { margin: 0 0 18px; }
.norms-search-results { display: grid; gap: 22px; }
.norms-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.norms-results-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.norms-results-list { display: grid; gap: 14px; }
.norm-result-card { padding: clamp(20px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-sm); }
.norm-result-card h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.norm-result-snippet { max-width: 90ch; margin: 0 0 12px; color: var(--ink-2); line-height: 1.7; }
.norm-result-snippet mark, .norm-result-card h3 mark { padding: 1px 3px; color: #3d2c00; background: #ffe58a; border-radius: 3px; }
.norm-result-owner { margin: 0 0 16px; color: var(--muted); font-size: 0.9rem; font-weight: 650; }

.norms-library {
  display: grid;
  gap: 16px;
}

.norms-group {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 43, 68, 0.06);
  overflow: hidden;
}

.norms-group summary {
  align-items: center;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  font-size: clamp(1.28rem, 2.4vw, 1.85rem);
  font-weight: 850;
  justify-content: space-between;
  list-style: none;
  padding: 20px clamp(20px, 4vw, 32px);
}

.norms-group summary::after { content: "+"; flex: 0 0 auto; margin-left: 4px; color: var(--brand); font-size: 1.35rem; font-weight: 500; }
.norms-group[open] summary::after { content: "−"; }

.norms-group summary::-webkit-details-marker {
  display: none;
}

.norms-group summary span:last-child {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  padding: 7px 13px;
}

.norms-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(18px, 3vw, 30px);
}

.norm-card {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 18px;
}

.norm-card-icon {
  align-items: center;
  background: #fff6f7;
  border: 1px solid rgba(184, 50, 62, 0.22);
  border-radius: 8px;
  color: var(--red);
  display: grid;
  height: 48px;
  justify-items: center;
  width: 48px;
}

.norm-card-icon svg {
  height: 27px;
  width: 27px;
}

.norm-card-body {
  min-width: 0;
}

.norm-card-type {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.norm-card h2 {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.norm-card p {
  color: var(--muted);
  margin: 0;
}

.norm-card-meta {
  color: var(--blue);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 8px;
  margin-top: 14px;
}

.norm-card-meta span {
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 6px 10px;
}

.norm-card-actions {
  grid-column: 2;
}

.norm-card-actions .button-link {
  min-height: 42px;
}

.norms-empty {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 46px);
}

.norms-no-results { padding: clamp(28px, 5vw, 46px); text-align: center; background: #fff; border: 1px dashed var(--line-strong); border-radius: 8px; }
.norms-no-results h2 { margin: 0 0 8px; }
.norms-no-results p { margin: 0 auto 18px; color: var(--muted); }

.norm-single {
  background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 44%);
}

.norm-single-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 7vw, 86px) 0;
}

.norm-single-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
}

.norm-single-hero h1 {
  color: var(--ink);
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  line-height: 1;
  margin: 12px 0 18px;
  max-width: 980px;
}

.norm-single-hero .lead {
  max-width: 850px;
}

.norm-single-panel,
.norm-single-tools,
.norm-single-content {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 43, 68, 0.06);
}

.norm-single-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.norm-single-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.norm-single-panel dl div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  padding-top: 12px;
}

.norm-single-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.norm-single-panel dd {
  color: var(--ink);
  font-weight: 850;
  margin: 0;
}

.norm-single-panel-actions {
  display: grid;
  gap: 9px;
}

.norm-single-body-section {
  padding-top: clamp(34px, 5vw, 66px);
}

.norm-single-body-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.norm-single-content {
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
}

.norm-single-featured {
  margin: 0 0 28px;
}

.norm-single-featured img {
  border-radius: 8px;
  width: 100%;
}

.norm-single-reading {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.norm-single-empty {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.norm-single-empty h2 {
  color: var(--ink);
  margin: 0 0 8px;
}

.norm-share-strip {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
}

.norm-share-strip > span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-right: 6px;
  text-transform: uppercase;
}

.norm-share-strip a {
  align-items: center;
  background: #f5f7f9;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--red);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.norm-share-strip svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 22px;
}

.norm-share-strip a:first-of-type svg {
  fill: currentColor;
  stroke: none;
}

.norm-share-strip a:hover {
  background: #fff;
  border-color: var(--line-strong);
}

.norm-single-tools {
  display: grid;
  gap: 18px;
  padding: 22px;
  position: sticky;
  top: 118px;
}

.norm-single-tools section + section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.norm-single-tools h2 {
  color: var(--brand-dark);
  font-size: 1rem;
  margin: 0 0 12px;
}

.norm-search-form {
  display: grid;
  gap: 8px;
}

.norm-search-form input[type="search"] {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

.norm-search-form button {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  min-height: 44px;
}

.norm-related-list {
  display: grid;
  gap: 9px;
}

.norm-related-list a {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 4px;
  padding: 0 0 10px;
}

.norm-related-list a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.norm-related-list span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.norm-related-list strong {
  line-height: 1.25;
}

@media (max-width: 980px) {
  .contact-hero-grid,
  .contact-map-layout {
    grid-template-columns: 1fr;
  }

  .contact-gutenberg-shell {
    width: min(100% - 28px, 920px);
  }

  .contact-page .contact-gutenberg-shell {
    width: min(100% - 28px, 920px) !important;
  }

  .iprb-contact-intro {
    grid-template-columns: 1fr;
  }

  .iprb-contact-columns {
    grid-template-columns: 1fr 1fr;
  }

  .contact-page .iprb-contact-columns.wp-block-columns {
    grid-template-columns: 1fr 1fr;
  }

  .iprb-contact-highlight {
    grid-column: 1 / -1;
  }

  .iprb-contact-support .wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-anchor-grid,
  .contact-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-directory-grid,
  .contact-directory-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-directory-plain .contact-directory-grid {
    grid-template-columns: 1fr;
  }

  .contact-directory-plain .contact-directory-item {
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 0.65fr);
  }

  .contact-map-card,
  .contact-map-card iframe,
  .iprb-contact-map,
  .iprb-contact-map iframe {
    min-height: 380px;
  }

  .institutions-hero-grid,
  .institutions-overview,
  .institution-feature-card,
  .institutions-contact {
    grid-template-columns: 1fr;
  }

  .iprb-institution-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .norms-hero-grid,
  .norm-single-hero-grid,
  .norm-single-body-grid,
  .norms-grid {
    grid-template-columns: 1fr;
  }

  .norms-finder-controls { grid-template-columns: 1fr 1fr; }
  .norms-search-field { grid-column: 1 / -1; }

  .norm-single-tools {
    position: static;
  }

  .institution-feature-media,
  .institution-feature-symbol {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .contact-hero {
    padding: 38px 0;
  }

  .contact-hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .contact-hero-actions {
    display: grid;
  }

  .contact-anchor-grid,
  .contact-method-grid {
    grid-template-columns: 1fr;
  }

  .iprb-contact-directory-band,
  .iprb-contact-support,
  .iprb-contact-final {
    padding: 18px;
  }

  .contact-gutenberg-shell {
    width: min(100% - 20px, 620px);
  }

  .contact-page .contact-gutenberg-shell {
    width: min(100% - 20px, 620px) !important;
  }

  .iprb-contact-columns {
    grid-template-columns: 1fr;
  }

  .contact-page .iprb-contact-columns.wp-block-columns {
    grid-template-columns: 1fr;
  }

  .iprb-contact-support .wp-block-columns {
    grid-template-columns: 1fr;
  }

  .iprb-contact-highlight {
    grid-column: auto;
  }

  .iprb-contact-support > h2,
  .iprb-contact-final h2,
  .iprb-contact-columns h3,
  .iprb-contact-final h3 {
    align-items: flex-start;
  }

  .contact-directory-grid,
  .contact-directory-grid-compact {
    grid-template-columns: 1fr;
  }

  .contact-directory-plain .contact-directory-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-directory-item {
    min-height: auto;
  }

  .contact-map-card,
  .contact-map-card iframe,
  .iprb-contact-map,
  .iprb-contact-map iframe {
    min-height: 320px;
  }

  .institutions-overview-items {
    grid-template-columns: 1fr;
  }

  .institution-feature-body,
  .institutions-hero-card {
    padding: 22px;
  }

  .institution-feature-heading {
    display: grid;
  }

  .institutions-contact .button-link,
  .institution-feature-links .button-link {
    width: 100%;
  }

  .iprb-institution-block-grid {
    grid-template-columns: 1fr;
  }

  .iprb-institution-highlights {
    grid-template-columns: 1fr;
  }

  .iprb-institutions-hero-block,
  .iprb-institution-block-card {
    padding: 20px;
  }

  .institution-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .institution-tag {
    white-space: normal;
  }

  .iprb-institution-title {
    align-items: flex-start;
  }

  .iprb-institution-native-card .iprb-institution-title h3 {
    font-size: clamp(1.7rem, 10vw, 2.4rem);
  }

  .norms-group summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .norms-finder-heading { align-items: flex-start; flex-direction: column; }
  .norms-finder-controls { grid-template-columns: 1fr; }
  .norms-search-field { grid-column: auto; }
  .norms-search-submit { width: 100%; }
  .norms-results-heading { align-items: flex-start; flex-direction: column; }

  .norm-card,
  .norm-card-actions {
    grid-column: auto;
  }

  .norm-card {
    grid-template-columns: 1fr;
  }

  .norm-share-strip {
    align-items: flex-start;
  }

  .norm-share-strip > span {
    flex: 1 0 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Home: chamada para o mapa de igrejas */
.home-church-finder-section {
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 72px);
  background: #fff;
}

.home-quick-section {
  padding-block: 0 clamp(28px, 4vw, 44px);
}

.home-church-finder-heading {
  margin-bottom: 24px;
}

.home-church-finder-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #c8d8e4;
  border-radius: 18px;
  background: #fff;
  color: #172b3d;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(16, 42, 67, .11);
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-church-finder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(16, 42, 67, .15);
}

.home-church-finder-card:focus-visible {
  outline: 4px solid rgba(189, 145, 64, .45);
  outline-offset: 4px;
}

.home-church-finder-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 54px);
  background: #fff;
}

.home-church-finder-copy::before {
  display: none;
}

.home-church-finder-copy .eyebrow {
  position: relative;
  color: #f2d59b;
}

.home-church-finder-copy h2 {
  position: relative;
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.home-church-finder-copy > p:not(.eyebrow) {
  position: relative;
  max-width: 530px;
  margin: 0;
  color: #526575;
  font-size: 1.02rem;
  line-height: 1.7;
}

.home-church-finder-highlights {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
}

.home-church-finder-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #536979;
  font-size: .82rem;
  font-weight: 700;
}

.home-church-finder-highlights svg {
  width: 17px;
  height: 17px;
  color: #bd9140;
}

.home-church-finder-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 11px;
  margin-top: 28px;
  padding: 15px 20px;
  border-radius: 8px;
  background: #2368a2;
  color: #fff;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.home-church-finder-button svg {
  width: 18px;
  height: 18px;
}

.home-church-finder-card:hover .home-church-finder-button {
  background: #174f7d;
  transform: translateX(4px);
}

.home-church-finder-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 32px 28px 28px;
  background:
    radial-gradient(circle at 72% 20%, rgba(189, 145, 64, .17), transparent 28%),
    linear-gradient(135deg, #eef6fb 0%, #ffffff 58%, #fbf4e9 100%);
}

.home-church-finder-visual img {
  display: block;
  width: min(100%, 500px);
  height: auto;
  transition: transform .35s ease;
}

.home-church-finder-card:hover .home-church-finder-visual img {
  transform: scale(1.018);
}

.home-church-finder-stamp {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid #d8e2ea;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #17446f;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .09);
}

.home-church-finder-stamp i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bd9140;
  box-shadow: 0 0 0 5px rgba(189, 145, 64, .15);
}

.home-church-finder-caption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  color: #647587;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
}

.home-church-finder-stats {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 12px;
  background: #e4edf3;
}

.home-church-finder-stats span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 12px 8px;
  background: #f8fbfd;
  text-align: center;
}

.home-church-finder-stats span::before {
  content: "";
  width: 26px;
  height: 3px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: #bd9140;
}

.home-church-finder-stats strong {
  color: #17446f;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
}

.home-church-finder-stats small {
  margin-top: 7px;
  color: #5f7180;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .home-church-finder-card {
    grid-template-columns: 1fr;
  }
  .home-church-finder-copy::before { display: none; }
  .home-church-finder-visual {
    min-height: 430px;
    padding: 28px 24px 42px;
  }
  .home-church-finder-caption { left: 24px; }
  .home-church-finder-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .home-church-finder-section { padding-block: 42px; }
  .home-church-finder-card { min-height: 0; border-radius: 12px; }
  .home-church-finder-copy { padding: 34px 24px 38px; }
  .home-church-finder-highlights { display: grid; }
  .home-church-finder-button { width: 100%; justify-content: center; }
  .home-church-finder-visual { min-height: 340px; padding: 34px 8px 38px; }
  .home-church-finder-stamp { top: 18px; right: 18px; }
  .home-church-finder-caption { right: 16px; bottom: 16px; left: 16px; }
  .home-church-finder-stats { grid-template-columns: 1fr 1fr; padding: 10px; }
  .home-church-finder-stats span:last-child { grid-column: 1 / -1; }
}

/* Home experimental 0.8.0: hierarchy without sidebar. */
.home-journal-publisher-section {
  padding-block: clamp(58px, 7vw, 92px);
  background: #fff;
}

.home-section-intro {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.home-feature-panel {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.home-feature-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.home-feature-heading h3 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.home-journal-feature {
  background: linear-gradient(145deg, #f5f8fb 0%, #fff 68%);
}

.home-journal-feature .home-journal-card {
  grid-template-columns: minmax(150px, .75fr) minmax(180px, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}

.home-journal-feature .home-journal-cover img,
.home-journal-feature .home-journal-cover .journal-issue-placeholder {
  aspect-ratio: 4 / 5;
}

.home-journal-feature .home-journal-copy strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.home-publisher-feature {
  background: linear-gradient(145deg, #fffaf0 0%, #fff 68%);
}

.home-publisher-feature .publisher-slider {
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 4 / 3;
}

.home-publisher-feature .publisher-slide img {
  object-fit: contain;
}

.institutions-layout.is-full-width {
  display: block;
}

.institutions-layout.is-full-width .institution-call-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-new-layout,
.home-editorial-main {
  display: block;
  width: 100%;
  max-width: none;
}

.home-blog-section,
.home-editorial-iprtv {
  padding-block: clamp(34px, 5vw, 64px);
}

.home-editorial-iprtv {
  margin-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.home-support-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  margin-top: clamp(42px, 6vw, 80px);
  padding-top: clamp(42px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.home-support-sections > .home-sidebar-card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 16px;
}

.home-support-sections > .home-sidebar-news {
  grid-column: 1 / -1;
}

.home-support-sections .home-sidebar-head h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.home-support-sections .rss-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-support-sections .home-sidebar-posts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.home-support-sections .home-sidebar-post {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

@media (max-width: 900px) {
  .home-journal-publisher-grid,
  .home-support-sections {
    grid-template-columns: 1fr;
  }

  .home-support-sections > .home-sidebar-news {
    grid-column: auto;
  }

  .home-support-sections .rss-columns,
  .institutions-layout.is-full-width .institution-call-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 0.9.4 — grade IPRB News: destaque 2x2 + cinco chamadas. */
.home26-now-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 220px 220px 205px;
  gap: 16px;
}

.home26-now-content .home26-story {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 0;
  height: 100%;
}

.home26-now-content .home26-story-image,
.home26-now-content .home26-story-image img,
.home26-now-content .home26-story-image .image-fallback {
  height: 100%;
  min-height: 0;
}

.home26-now-content .home26-news-row {
  display: contents;
}

.home26-now-content .home26-news-row > a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--h26-line);
  border-radius: 9px;
  background: #f7fafc;
}

.home26-now-content .home26-news-row > a:nth-child(1) { grid-column: 3; grid-row: 1; }
.home26-now-content .home26-news-row > a:nth-child(2) { grid-column: 3; grid-row: 2; }
.home26-now-content .home26-news-row > a:nth-child(3) { grid-column: 1; grid-row: 3; }
.home26-now-content .home26-news-row > a:nth-child(4) { grid-column: 2; grid-row: 3; }
.home26-now-content .home26-news-row > a:nth-child(5) { grid-column: 3; grid-row: 3; }

.home26-now-content .home26-news-row img,
.home26-now-content .home26-news-row .thumb-fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
}

.home26-now-content .home26-news-row span {
  display: grid;
  gap: 5px;
  padding: 11px 13px 13px;
}

.home26-now-content .home26-news-row small {
  font-size: .62rem;
}

.home26-now-content .home26-news-row strong {
  font-size: .82rem;
  line-height: 1.22;
  -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
  .home26-now-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 430px repeat(3, 190px);
  }

  .home26-now-content .home26-story {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .home26-now-content .home26-news-row > a:nth-child(1),
  .home26-now-content .home26-news-row > a:nth-child(2),
  .home26-now-content .home26-news-row > a:nth-child(3),
  .home26-now-content .home26-news-row > a:nth-child(4),
  .home26-now-content .home26-news-row > a:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .home26-now-content .home26-news-row > a:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .home26-now-content {
    grid-template-columns: 1fr;
    grid-template-rows: 420px repeat(5, 118px);
  }

  .home26-now-content .home26-news-row > a:nth-child(5) {
    grid-column: auto;
  }

  .home26-now-content .home26-news-row > a {
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: 1fr;
  }
}

@media (max-width: 600px) {
  .home-journal-publisher-grid { gap: 16px; }
  .home-feature-heading { align-items: flex-start; flex-direction: column; }
  .home-journal-feature .home-journal-card { grid-template-columns: 112px minmax(0, 1fr); }
  .home-support-sections .rss-columns,
  .home-support-sections .home-sidebar-posts,
  .institutions-layout.is-full-width .institution-call-grid { grid-template-columns: 1fr; }
}

/* Home 0.8.1 — fluxo editorial sereno, com respiro e hierarquia. */
.home .section {
  padding-inline: clamp(26px, 7vw, 96px);
}

.home .section > .shell,
.home .hero > .shell {
  width: min(1080px, 100%);
}

.home .hero {
  min-height: clamp(470px, 58vh, 610px);
  padding-inline: clamp(26px, 7vw, 96px);
}

.home .hero .shell {
  padding-block: clamp(68px, 9vw, 100px);
}

.home-quick-section {
  position: relative;
  z-index: 5;
  padding-bottom: clamp(34px, 5vw, 56px);
  background: #fff;
}

.home-quick-section .quick-grid {
  gap: 0;
  margin-top: -30px;
  overflow: hidden;
  border: 1px solid #dce5ec;
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(22, 54, 79, .09);
}

.home-quick-section .quick-card {
  min-height: 104px;
  padding: 19px 22px;
  border: 0;
  border-right: 1px solid #e3eaf0;
  border-radius: 0;
  box-shadow: none;
}

.home-quick-section .quick-card:last-child {
  border-right: 0;
}

.home-quick-section .quick-card:hover {
  background: #f8fafc;
  box-shadow: none;
  transform: none;
}

.home-quick-section .quick-card h3 {
  margin: 0;
  font-size: .98rem;
}

.home-quick-section .quick-card span {
  font-size: .82rem;
  line-height: 1.4;
}

.home-church-finder-section {
  padding-block: clamp(58px, 8vw, 88px);
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.home-church-finder-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.home-church-finder-card {
  grid-template-columns: minmax(300px, .9fr) minmax(390px, 1.1fr);
  min-height: 350px;
  border-color: #d6e1e9;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 52, 77, .08);
}

.home-church-finder-copy {
  padding: clamp(32px, 4vw, 46px);
}

.home-church-finder-visual {
  padding: 34px;
}

.home-church-finder-visual img {
  width: min(92%, 440px);
}

.home-church-finder-stats {
  padding: 0;
  background: #eef3f7;
}

.home-church-finder-stats span {
  min-height: 76px;
  background: rgba(255, 255, 255, .78);
}

.home-journal-publisher-section {
  background: #fff;
}

.home-section-intro {
  margin-inline: auto;
  text-align: center;
}

.home-section-intro .eyebrow {
  justify-content: center;
}

.home-journal-publisher-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.home-feature-panel {
  padding: clamp(24px, 3vw, 32px);
  border-color: #dce5ec;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(20, 52, 77, .07);
}

.home-journal-feature {
  background: #f6f9fb;
}

.home-publisher-feature {
  background: #fdfaf4;
}

.home-publisher-feature .publisher-slider {
  width: min(100%, 390px);
  border: 0;
  background: transparent;
}

.home-publisher-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.home-publisher-note span {
  padding: 7px 11px;
  border: 1px solid #eadfc9;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #6f5b36;
  font-size: .78rem;
  font-weight: 700;
}

.institutions-section {
  padding-block: clamp(64px, 8vw, 94px);
  background: #f3f6f8;
}

.institutions-layout.is-full-width .institution-call-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.institutions-layout.is-full-width .institution-call {
  grid-column: span 3;
  padding: 0 0 18px;
  overflow: hidden;
  border-color: #dce5ec;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(20, 52, 77, .055);
}

.institutions-layout.is-full-width .institution-call:nth-child(-n + 2) {
  grid-column: span 6;
}

.institutions-layout.is-full-width .institution-call img {
  border-radius: 0;
}

.institutions-layout.is-full-width .institution-call strong,
.institutions-layout.is-full-width .institution-call span {
  margin-inline: 18px;
}

.institutions-layout.is-full-width .institution-call:nth-child(-n + 2) strong {
  font-size: 1.18rem;
}

.home-editorial-section {
  padding-block: clamp(68px, 9vw, 104px);
  background: #fff;
}

.home-blog-section {
  padding: 0;
  background: transparent;
}

.home-blog-layout {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.home-blog-lead {
  grid-column: span 6;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 52, 77, .07);
}

.home-blog-mini {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}

.home-blog-mini-image img,
.home-blog-mini-image .thumb-fallback {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.home-blog-mini-copy {
  padding: 14px 15px 16px;
}

.home-editorial-iprtv {
  margin-top: clamp(64px, 8vw, 92px);
  padding-top: clamp(58px, 7vw, 78px);
}

.home-support-sections {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 20px;
  margin-top: clamp(64px, 8vw, 92px);
  padding-top: clamp(58px, 7vw, 78px);
}

.home-support-sections > .home-sidebar-card {
  padding: clamp(22px, 3vw, 30px);
  border-color: #dce5ec;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(20, 52, 77, .055);
}

.home-support-sections > .home-sidebar-news {
  padding: clamp(28px, 4vw, 40px);
  background: #f6f9fb;
}

.home-social-grid a {
  background: #f8fafb;
  border-radius: 10px;
}

.home-support-sections > .home-sidebar-card:not(.home-sidebar-news) {
  grid-column: 1 / -1;
}

.home-support-sections > .home-sidebar-card:not(.home-sidebar-news) .home-sidebar-head {
  justify-content: center;
  text-align: center;
}

.home-support-sections > .home-sidebar-card:not(.home-sidebar-news) .home-social-grid {
  width: min(620px, 100%);
  margin-inline: auto;
}

@media (max-width: 960px) {
  .home-journal-publisher-grid,
  .home-support-sections { grid-template-columns: 1fr; }
  .institutions-layout.is-full-width .institution-call,
  .institutions-layout.is-full-width .institution-call:nth-child(-n + 2) { grid-column: span 6; }
  .home-blog-mini { grid-column: span 6; grid-template-columns: 116px minmax(0, 1fr); }
  .home-blog-mini-image img,
  .home-blog-mini-image .thumb-fallback { width: 116px; height: 100%; aspect-ratio: auto; }
}

@media (max-width: 700px) {
  .home .section { padding-inline: 20px; }
  .home .hero { padding-inline: 20px; }
  .home-quick-section .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-quick-section .quick-card { border-bottom: 1px solid #e3eaf0; }
  .home-quick-section .quick-card:nth-child(2n) { border-right: 0; }
  .home-quick-section .quick-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .home-church-finder-card { grid-template-columns: 1fr; }
  .home-church-finder-visual { min-height: 320px; }
  .home-journal-feature .home-journal-card { grid-template-columns: 102px minmax(0, 1fr); }
  .institutions-layout.is-full-width .institution-call,
  .institutions-layout.is-full-width .institution-call:nth-child(-n + 2),
  .home-blog-lead,
  .home-blog-mini { grid-column: 1 / -1; }
  .home-support-sections .rss-columns { grid-template-columns: 1fr; }
}

/* IPRB Home 2026 — redesign completo 0.9.0 */
.home26 {
  --h26-navy: #102f49;
  --h26-blue: #246ea8;
  --h26-gold: #bd9140;
  --h26-paper: #f7f4ed;
  --h26-mist: #f1f6f9;
  --h26-line: #dce5eb;
  overflow: hidden;
  background: #fff;
}

.home26-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.home26-section {
  padding-block: clamp(76px, 9vw, 126px);
}

.home26-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.home26-heading > div > span,
.home26-overline,
.home26-meta {
  display: block;
  margin-bottom: 10px;
  color: #9a3039;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home26-heading h2,
.home26-mission h2,
.home26-trust h2 {
  max-width: 760px;
  margin: 0;
  color: var(--h26-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.03;
}

.home26-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--h26-navy);
  font-size: .88rem;
  font-weight: 750;
  white-space: nowrap;
}

.home26-heading > a svg { width: 16px; }

.home26-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--h26-blue);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
}

.home26-button.is-gold {
  background: var(--h26-gold);
  color: #102a43;
}

.home26-paths {
  position: relative;
  z-index: 5;
  margin-top: -28px;
}

.home26-paths-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(216, 226, 234, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 20px 54px rgba(13, 43, 66, .12);
}

.home26-paths a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 8px 15px;
  align-content: start;
  align-items: start;
  min-height: 170px;
  padding: 58px 28px 28px;
  border-right: 1px solid var(--h26-line);
}

.home26-paths a:last-child { border-right: 0; }
.home26-paths a > span { display: flex; align-items: flex-start; justify-content: center; grid-row: 1 / 3; padding-top: 1px; color: var(--h26-gold); }
.home26-paths a > span svg { display: block; width: 28px; height: 28px; }
.home26-paths strong { align-self: start; color: var(--h26-navy); font-size: 1rem; line-height: 1.25; }
.home26-paths small { align-self: start; color: #667988; font-size: .8rem; line-height: 1.45; }
.home26-paths a:hover { background: #f7fafc; }

.home26-now { padding-top: clamp(104px, 12vw, 154px); }
.home26-now-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .72fr); gap: 30px; align-items: stretch; }
.home26-story { display: grid; grid-template-columns: minmax(300px, 1.12fr) minmax(280px, .88fr); min-height: 410px; overflow: hidden; border-radius: 10px; background: var(--h26-mist); }
.home26-story-image { min-height: 100%; overflow: hidden; }
.home26-story-image img, .home26-story-image .image-fallback { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.home26-story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); }
.home26-story-copy h3 { margin: 0; color: var(--h26-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 2.7vw, 2.5rem); font-weight: 500; line-height: 1.08; }
.home26-story-copy p { margin: 20px 0 0; color: #5b6e7c; line-height: 1.7; }
.home26-agenda { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 42px); border: 1px solid #dccba8; border-radius: 10px; background: var(--h26-paper); }
.home26-agenda h3 { margin: 0; color: var(--h26-navy); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; line-height: 1.1; }
.home26-agenda > p { margin: 18px 0 24px; color: #65727b; line-height: 1.65; }
.home26-agenda .home26-button { align-self: flex-start; }
.home26-agenda-links { display: grid; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2d7c0; }
.home26-agenda-links a { color: var(--h26-navy); font-size: .84rem; font-weight: 700; }

.home26-mission { background: var(--h26-navy); color: #fff; }
.home26-mission-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(42px, 7vw, 90px); align-items: center; }
.home26-mission .home26-overline { color: #e4c071; }
.home26-mission h2 { color: #fff; }
.home26-mission-copy > p { max-width: 590px; margin: 28px 0; color: rgba(255,255,255,.75); font-size: 1.04rem; line-height: 1.75; }
.home26-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.home26-stats span { display: grid; gap: 4px; }
.home26-stats strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 500; }
.home26-stats small { color: rgba(255,255,255,.62); font-size: .72rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.home26-map { position: relative; display: grid; place-items: center; min-height: 530px; padding: 36px; border: 1px solid rgba(255,255,255,.14); border-radius: 50% 50% 44% 56% / 52% 42% 58% 48%; background: radial-gradient(circle at 50% 48%, rgba(255,255,255,.1), rgba(255,255,255,.025) 68%); }
.home26-map::before { position: absolute; inset: 8%; border: 1px dashed rgba(222,186,105,.28); border-radius: 50%; content: ""; }
.home26-map img { position: relative; width: min(88%, 510px); filter: brightness(0) invert(1); opacity: .92; }
.home26-map > span { position: absolute; right: 4%; bottom: 8%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; color: var(--h26-navy); font-size: .8rem; font-weight: 800; }

.home26-editorial { background: #fff; }
.home26-editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); gap: 30px; }
.home26-reading-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.home26-reading-list article { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding-block: 20px; border-top: 1px solid var(--h26-line); }
.home26-reading-list article:nth-child(-n + 2) { border-top: 0; padding-top: 0; }
.home26-reading-thumb { overflow: hidden; border-radius: 6px; }
.home26-reading-thumb img, .home26-reading-thumb .thumb-fallback { width: 110px; height: 82px; object-fit: cover; }
.home26-reading-list span { color: #7b8994; font-size: .72rem; }
.home26-reading-list h3 { margin: 7px 0 0; color: var(--h26-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 500; line-height: 1.24; }
.home26-video { position: relative; min-height: 410px; overflow: hidden; border-radius: 10px; background: #0f2d46; color: #fff; }
.home26-video::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(8,27,43,.92) 100%); content: ""; }
.home26-video > img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.home26-play { position: absolute; z-index: 2; top: 24px; left: 24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--h26-blue); }
.home26-video-copy { position: absolute; z-index: 2; right: 28px; bottom: 28px; left: 28px; display: grid; gap: 8px; }
.home26-video-copy small { color: #e2bd6a; font-size: .74rem; font-weight: 800; letter-spacing: .1em; }
.home26-video-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.4vw, 2.15rem); font-weight: 500; line-height: 1.08; }
.home26-video-copy em { font-size: .82rem; font-style: normal; font-weight: 800; }

.home26-publications { background: var(--h26-paper); }
.home26-heading.is-light > p { max-width: 380px; margin: 0; color: #6e736f; line-height: 1.65; }
.home26-publications-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; }
.home26-journal { display: grid; grid-template-columns: minmax(150px, .75fr) minmax(180px, 1fr); gap: 30px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid #dfd4bd; border-radius: 10px; background: rgba(255,255,255,.66); }
.home26-journal-cover { overflow: hidden; border-radius: 5px; box-shadow: 0 18px 35px rgba(48,43,34,.18); }
.home26-journal-cover img { width: 100%; aspect-ratio: 4 / 5.25; object-fit: cover; }
.home26-journal > span:last-child, .home26-books .publisher-slide > span { display: grid; gap: 10px; }
.home26-journal small, .home26-books small { color: #9a3039; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.home26-journal strong, .home26-books strong { color: var(--h26-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 500; line-height: 1.1; }
.home26-journal em, .home26-books em { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--h26-navy); font-size: .82rem; font-style: normal; font-weight: 800; }
.home26-books { position: relative; min-height: 430px; overflow: hidden; border-radius: 10px; background: #fff; }
.home26-books .publisher-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(180px, .85fr) minmax(210px, 1.15fr); gap: 30px; align-items: center; padding: clamp(24px, 4vw, 40px); }
.home26-books .publisher-slide > img { width: 100%; height: 340px; object-fit: contain; }
.home26-books .publisher-dots { right: 30px; bottom: 24px; left: auto; }
.home26-books .publisher-dot { border-color: #a8b5bf; background: #d6dee4; }
.home26-books .publisher-dot.is-active { background: var(--h26-blue); }

.home26-network { background: #fff; }
.home26-network-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 18px; }
.home26-network-item { position: relative; overflow: hidden; border-radius: 9px; background: var(--h26-navy); }
.home26-network-item.is-featured { grid-column: span 2; grid-row: span 2; }
.home26-network-item img { width: 100%; height: 100%; object-fit: cover; opacity: .74; transition: transform .4s ease, opacity .25s ease; }
.home26-network-item::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(9,31,48,.91) 100%); content: ""; }
.home26-network-item > span { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: 20px; display: grid; gap: 5px; color: #fff; }
.home26-network-item strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 500; line-height: 1.08; }
.home26-network-item.is-featured strong { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.home26-network-item small { color: rgba(255,255,255,.72); font-size: .78rem; }
.home26-network-item:hover img { transform: scale(1.025); opacity: .88; }

.home26-trust { padding-block: clamp(72px, 9vw, 112px); background: var(--h26-mist); }
.home26-trust-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(450px, 1.22fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.home26-trust h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); }
.home26-trust-links { border-top: 1px solid #cfdce4; }
.home26-trust-links a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .8fr) 22px; gap: 20px; align-items: center; min-height: 92px; border-bottom: 1px solid #cfdce4; color: var(--h26-navy); }
.home26-trust-links a > span { color: #687986; font-size: .82rem; }
.home26-trust-links svg { color: var(--h26-gold); }

.home26-social { padding-block: 34px; border-top: 1px solid rgba(255,255,255,.12); background: var(--h26-navy); color: #fff; }
.home26-social .home26-container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.home26-social p { display: grid; gap: 3px; margin: 0; }
.home26-social p span { color: #dfbd70; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home26-social p strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 500; }
.home26-social .home26-container > div { display: flex; flex-wrap: wrap; gap: 10px; }
.home26-social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 750; }
.home26-social a svg { width: 17px; height: 17px; }

/* Hero integrado ao novo sistema, sem aparência de landing page comercial. */
.home .hero { min-height: clamp(540px, 67vh, 720px); }
.home .hero::after { background: linear-gradient(90deg, rgba(10,33,51,.96) 0%, rgba(15,47,73,.76) 52%, rgba(15,47,73,.18) 100%); }
.home .hero .shell { width: min(1120px, calc(100% - 48px)); padding-block: clamp(100px, 13vw, 150px); }
.home .hero-copy { max-width: 690px; }
.home .hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5.5vw, 5.2rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.home .hero .lead { max-width: 590px; font-size: 1.05rem; }

@media (max-width: 980px) {
  .home26-paths-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home26-paths a:nth-child(2) { border-right: 0; }
  .home26-paths a:nth-child(-n + 2) { border-bottom: 1px solid var(--h26-line); }
  .home26-now-grid, .home26-mission-grid, .home26-editorial-grid, .home26-publications-grid, .home26-trust-grid { grid-template-columns: 1fr; }
  .home26-story { grid-template-columns: minmax(280px, 1fr) minmax(250px, .8fr); }
  .home26-agenda { min-height: 0; }
  .home26-map { width: min(620px, 100%); min-height: 500px; margin-inline: auto; }
  .home26-network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .home26-container, .home .hero .shell { width: min(100% - 36px, 1120px); }
  .home26-section { padding-block: 70px; }
  .home26-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .home26-heading h2, .home26-mission h2, .home26-trust h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .home26-paths { margin-top: -16px; }
  .home26-paths a { grid-template-columns: 32px minmax(0, 1fr); min-height: 126px; padding: 38px 16px 20px; }
  .home26-paths a > span svg { width: 22px; height: 22px; }
  .home26-paths small { display: none; }
  .home26-now { padding-top: 90px; }
  .home26-story { grid-template-columns: 1fr; }
  .home26-story-image img, .home26-story-image .image-fallback { min-height: 240px; aspect-ratio: 16 / 10; }
  .home26-map { min-height: 360px; padding: 18px; }
  .home26-map > span { right: 1%; bottom: 2%; }
  .home26-stats { gap: 8px; }
  .home26-stats strong { font-size: 1.55rem; }
  .home26-reading-list { grid-template-columns: 1fr; }
  .home26-reading-list article:nth-child(2) { border-top: 1px solid var(--h26-line); padding-top: 20px; }
  .home26-video, .home26-video > img { min-height: 340px; }
  .home26-journal, .home26-books .publisher-slide { grid-template-columns: 115px minmax(0, 1fr); gap: 20px; }
  .home26-books { min-height: 370px; }
  .home26-books .publisher-slide > img { height: 270px; }
  .home26-network-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .home26-network-item.is-featured { grid-column: auto; grid-row: span 2; }
  .home26-trust-links a { grid-template-columns: minmax(0, 1fr) 20px; gap: 12px; padding-block: 18px; }
  .home26-trust-links a > span { grid-column: 1; grid-row: 2; }
  .home26-trust-links a > svg { grid-column: 2; grid-row: 1 / 3; }
  .home26-social .home26-container { align-items: flex-start; flex-direction: column; }
  .home .hero { min-height: 590px; }
  .home .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
}

/* 0.9.1 — retorno à tipografia institucional e reforço de Blog/IPRTV. */
.home26-heading h2,
.home26-mission h2,
.home26-trust h2,
.home26-story-copy h3,
.home26-agenda h3,
.home26-stats strong,
.home26-reading-list h3,
.home26-video-copy strong,
.home26-journal strong,
.home26-books strong,
.home26-network-item strong,
.home26-social p strong,
.home .hero h1 {
  font-family: inherit;
}

.home26-blog-feature {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--h26-navy);
  color: #fff;
}

.home26-blog-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(8, 29, 46, .94) 100%);
  content: "";
}

.home26-blog-feature > img,
.home26-blog-feature > .image-fallback {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.home26-blog-feature > span {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  gap: 9px;
}

.home26-blog-feature small {
  color: #e3be6d;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home26-blog-feature strong {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.12;
}

.home26-blog-feature em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-style: normal;
  font-weight: 800;
}

.home26-tv {
  background: var(--h26-navy);
}

.home26-tv .home26-heading h2,
.home26-tv .home26-heading > a {
  color: #fff;
}

.home26-tv .home26-heading > div > span {
  color: #e2bd6a;
}

.home26-tv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home26-tv-grid .home26-video {
  min-height: 220px;
}

.home26-tv-grid .home26-video > img {
  min-height: 220px;
}

.home26-tv-grid .home26-video.is-featured {
  grid-row: 1 / 3;
  min-height: 500px;
}

.home26-tv-grid .home26-video.is-featured > img {
  min-height: 500px;
}

.home26-tv-grid .home26-video:not(.is-featured) .home26-play {
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
}

.home26-tv-grid .home26-video:not(.is-featured) .home26-video-copy {
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.home26-tv-grid .home26-video:not(.is-featured) .home26-video-copy strong {
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .home26-tv-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .home26-tv-grid .home26-video.is-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 430px;
  }
}

@media (max-width: 600px) {
  .home26-editorial-grid,
  .home26-tv-grid {
    grid-template-columns: 1fr;
  }

  .home26-reading-list {
    grid-template-columns: 1fr;
  }

  .home26-tv-grid .home26-video.is-featured {
    grid-column: auto;
    min-height: 350px;
  }

  .home26-tv-grid .home26-video.is-featured > img {
    min-height: 350px;
  }
}

/* 0.9.2 — refinamento dos blocos editoriais e institucionais. */
.home26-now-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.home26-news-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home26-news-row > a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--h26-line);
  border-radius: 8px;
  background: #fff;
}

.home26-news-row img,
.home26-news-row .thumb-fallback {
  width: 86px;
  height: 70px;
  border-radius: 5px;
  object-fit: cover;
}

.home26-news-row span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.home26-news-row small {
  color: #9a3039;
  font-size: .65rem;
  font-weight: 750;
}

.home26-news-row strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--h26-navy);
  font-size: .8rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home26-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home26-stats span { grid-column: span 2; }
.home26-stats span:nth-child(n + 4) { grid-column: span 3; }

.home26-stats strong {
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
}

.home26-stats small {
  line-height: 1.25;
}

.home26-journal {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #123650 0%, #0e2b43 100%);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}

.home26-journal::after {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(224,189,111,.18);
  border-radius: 50%;
  content: "";
}

.home26-journal-cover,
.home26-journal-info {
  position: relative;
  z-index: 1;
}

.home26-journal-info small {
  color: #e1bd6b;
}

.home26-journal-info strong {
  color: #fff;
}

.home26-journal-info p {
  margin: 4px 0 6px;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  line-height: 1.6;
}

.home26-journal-info > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin-top: 5px;
  padding: 11px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--h26-navy);
  font-size: .8rem;
  font-weight: 800;
}

.home26-journal-info > a.is-secondary {
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,.48);
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.82);
}

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

.home26-book {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e1d8c6;
  border-radius: 9px;
  background: rgba(255,255,255,.78);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home26-book:hover {
  box-shadow: 0 14px 30px rgba(50,43,29,.09);
  transform: translateY(-2px);
}

.home26-book > img {
  width: 105px;
  height: 148px;
  object-fit: contain;
}

.home26-book > span {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home26-book small {
  color: #9a3039;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.home26-book strong {
  color: var(--h26-navy);
  font-size: .96rem;
  line-height: 1.2;
}

.home26-book em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #687581;
  font-size: .7rem;
  font-style: normal;
  font-weight: 750;
}

.home26-institutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home26-institution-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--h26-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(19,49,72,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home26-institution-card:hover {
  box-shadow: 0 18px 40px rgba(19,49,72,.11);
  transform: translateY(-3px);
}

.home26-institution-logo {
  display: grid;
  place-items: center;
  height: 210px;
  min-height: 210px;
  padding: 0;
  overflow: hidden;
  background: #f4f7f9;
}

.home26-institution-logo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transition: transform .35s ease;
}

.home26-institution-card:hover .home26-institution-logo img {
  transform: scale(1.025);
}

.home26-institution-card:first-child .home26-institution-logo {
  padding: 36px 24px;
  background: linear-gradient(135deg, #12354d, #1c5a78);
}

.home26-institution-card:first-child .home26-institution-logo img {
  object-fit: contain;
}

.home26-institution-card:nth-child(2) .home26-institution-logo img {
  object-position: center 34%;
}

.home26-institution-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.home26-institution-copy strong {
  color: var(--h26-navy);
  font-size: 1.18rem;
}

.home26-institution-copy small {
  margin-top: 10px;
  color: #677885;
  font-size: .84rem;
  line-height: 1.55;
}

.home26-institution-copy em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--h26-blue);
  font-size: .76rem;
  font-style: normal;
  font-weight: 800;
}

.home26-social a.is-instagram {
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed, #db2777, #f59e0b);
}

.home26-social a.is-facebook {
  border-color: transparent;
  background: #1877f2;
}

.home26-social a.is-youtube {
  border-color: transparent;
  background: #e62117;
}

@media (max-width: 1040px) {
  .home26-news-row { grid-template-columns: 1fr; }
  .home26-institutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home26-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home26-stats span,
  .home26-stats span:nth-child(n + 4) { grid-column: auto; }
}

@media (max-width: 720px) {
  .home26-books-grid,
  .home26-institutions-grid { grid-template-columns: 1fr; }
  .home26-journal { grid-template-columns: 112px minmax(0, 1fr); }
  .home26-book { grid-template-columns: 92px minmax(0, 1fr); }
  .home26-book > img { width: 92px; height: 132px; }
  .home26-institution-card { min-height: 0; }
  .home26-institution-logo { min-height: 160px; }
  .home26-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home26-stats span:last-child { grid-column: 1 / -1; }
}

/* 0.9.3 — composição editorial de Agora na IPRB. */
.home26-now-content {
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
  gap: 18px;
  align-items: stretch;
}

.home26-now-content .home26-story {
  position: relative;
  display: block;
  min-height: 580px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--h26-navy);
  color: #fff;
}

.home26-now-content .home26-story::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,28,44,.04) 20%, rgba(7,28,44,.92) 100%);
  content: "";
}

.home26-now-content .home26-story-image,
.home26-now-content .home26-story-image img,
.home26-now-content .home26-story-image .image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.home26-now-content .home26-story-copy {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 44px);
  bottom: clamp(24px, 4vw, 42px);
  left: clamp(24px, 4vw, 44px);
  display: block;
  padding: 0;
}

.home26-now-content .home26-story-copy .home26-meta {
  color: #e4bf6d;
}

.home26-now-content .home26-story-copy h3 {
  max-width: 670px;
  color: #fff;
  font-size: clamp(1.9rem, 3.3vw, 3.25rem);
  font-weight: 700;
}

.home26-now-content .home26-story-copy p {
  display: -webkit-box;
  max-width: 620px;
  margin-top: 16px;
  overflow: hidden;
  color: rgba(255,255,255,.76);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home26-now-content .home26-news-row {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home26-now-content .home26-news-row > a {
  grid-template-columns: 1fr;
  align-content: start;
  padding: 0;
  overflow: hidden;
  background: #f7fafc;
}

.home26-now-content .home26-news-row img,
.home26-now-content .home26-news-row .thumb-fallback {
  width: 100%;
  height: 105px;
  border-radius: 0;
  object-fit: cover;
}

.home26-now-content .home26-news-row span {
  padding: 13px 14px 15px;
}

.home26-now-content .home26-news-row strong {
  font-size: .9rem;
  -webkit-line-clamp: 2;
}

@media (max-width: 1120px) {
  .home26-now-content {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
}

@media (max-width: 820px) {
  .home26-now-content {
    grid-template-columns: 1fr;
  }

  .home26-now-content .home26-story,
  .home26-now-content .home26-story-image,
  .home26-now-content .home26-story-image img,
  .home26-now-content .home26-story-image .image-fallback {
    min-height: 470px;
  }

  .home26-now-content .home26-news-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .home26-now-content .home26-story,
  .home26-now-content .home26-story-image,
  .home26-now-content .home26-story-image img,
  .home26-now-content .home26-story-image .image-fallback {
    min-height: 440px;
  }

  .home26-now-content .home26-news-row {
    grid-template-columns: 1fr;
  }

  .home26-now-content .home26-news-row > a {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .home26-now-content .home26-news-row img,
  .home26-now-content .home26-news-row .thumb-fallback {
    width: 108px;
    height: 100%;
    min-height: 96px;
  }
}

/* Ordem final 0.9.4: garante que a matriz substitua a experiência 0.9.3. */
.home26-now-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 220px 220px 205px;
  gap: 16px;
}
.home26-now-content .home26-story { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; height: 100%; }
.home26-now-content .home26-story-image,
.home26-now-content .home26-story-image img,
.home26-now-content .home26-story-image .image-fallback { height: 100%; min-height: 0; }
.home26-now-content .home26-news-row { display: contents; }
.home26-now-content .home26-news-row > a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--h26-line);
  border-radius: 9px;
  background: #f7fafc;
}
.home26-now-content .home26-news-row > a:nth-child(1) { grid-column: 3; grid-row: 1; }
.home26-now-content .home26-news-row > a:nth-child(2) { grid-column: 3; grid-row: 2; }
.home26-now-content .home26-news-row > a:nth-child(3) { grid-column: 1; grid-row: 3; }
.home26-now-content .home26-news-row > a:nth-child(4) { grid-column: 2; grid-row: 3; }
.home26-now-content .home26-news-row > a:nth-child(5) { grid-column: 3; grid-row: 3; }
.home26-now-content .home26-news-row img,
.home26-now-content .home26-news-row .thumb-fallback { width: 100%; height: 100%; min-height: 0; border-radius: 0; object-fit: cover; }
.home26-now-content .home26-news-row span { display: grid; gap: 5px; padding: 11px 13px 13px; }
.home26-now-content .home26-news-row small { font-size: .62rem; }
.home26-now-content .home26-news-row strong { font-size: .82rem; line-height: 1.22; -webkit-line-clamp: 2; }

@media (max-width: 900px) {
  .home26-now-content { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 430px repeat(3, 190px); }
  .home26-now-content .home26-story { grid-column: 1 / -1; grid-row: 1; }
  .home26-now-content .home26-news-row > a:nth-child(1),
  .home26-now-content .home26-news-row > a:nth-child(2),
  .home26-now-content .home26-news-row > a:nth-child(3),
  .home26-now-content .home26-news-row > a:nth-child(4),
  .home26-now-content .home26-news-row > a:nth-child(5) { grid-column: auto; grid-row: auto; }
  .home26-now-content .home26-news-row > a:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .home26-now-content { grid-template-columns: 1fr; grid-template-rows: 420px repeat(5, 118px); }
  .home26-now-content .home26-news-row > a:nth-child(5) { grid-column: auto; }
  .home26-now-content .home26-news-row > a { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: 1fr; }
}

/* Agora na IPRB 0.10.0: uma matéria principal, seis notícias e aniversariantes. */
.home26-now-content {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 220px 220px 190px;
}
.home26-now-content .home26-story {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.home26-now-content .home26-news-row > a:nth-child(1) { grid-column: 3; grid-row: 1; }
.home26-now-content .home26-news-row > a:nth-child(2) { grid-column: 4; grid-row: 1; }
.home26-now-content .home26-news-row > a:nth-child(3) { grid-column: 3; grid-row: 2; }
.home26-now-content .home26-news-row > a:nth-child(4) { grid-column: 4; grid-row: 2; }
.home26-now-content .home26-news-row > a:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }
.home26-now-content .home26-news-row > a:nth-child(6) { grid-column: 3 / 5; grid-row: 3; }
.home26-now-content .home26-news-row > a:nth-child(5),
.home26-now-content .home26-news-row > a:nth-child(6) {
  grid-template-columns: minmax(128px, .8fr) minmax(0, 1.2fr);
  grid-template-rows: 1fr;
}

.home26-birthdays {
  position: relative;
  justify-content: flex-start;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(199, 151, 61, .18), transparent 35%),
    linear-gradient(160deg, #fffdf8 0%, #f7f0e4 100%);
}
.home26-birthdays::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(199, 151, 61, .25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.home26-birthdays h3 { font-size: clamp(1.65rem, 2.4vw, 2.3rem); }
.home26-birthday-date {
  margin: 12px 0 20px !important;
  color: #9c6c18 !important;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.home26-birthday-list {
  display: grid;
  gap: 9px;
  width: 100%;
}
.home26-birthday-person {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(19, 50, 75, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}
.home26-birthday-person > span,
.home26-birthday-empty > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #b02d34;
  color: #fff;
}
.home26-birthday-person svg,
.home26-birthday-empty svg { width: 20px; height: 20px; }
.home26-birthday-person p { display: grid; gap: 2px; margin: 0; min-width: 0; }
.home26-birthday-person strong { color: var(--h26-navy); font-size: .92rem; line-height: 1.2; }
.home26-birthday-person small { overflow: hidden; color: #6b747a; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.home26-birthday-message {
  position: relative;
  z-index: 1;
  margin: 20px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid rgba(156, 108, 24, .22);
  color: #5f6569 !important;
  font-size: .83rem;
}
.home26-birthday-empty {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(199, 151, 61, .3);
  border-radius: 9px;
  background: rgba(255, 255, 255, .65);
}
.home26-birthday-empty p { margin: 0 !important; color: #5f6569 !important; font-size: .87rem; }

@media (max-width: 1180px) {
  .home26-now-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 430px repeat(3, 190px);
  }
  .home26-now-content .home26-story { grid-column: 1 / -1; grid-row: 1; }
  .home26-now-content .home26-news-row > a:nth-child(1),
  .home26-now-content .home26-news-row > a:nth-child(2),
  .home26-now-content .home26-news-row > a:nth-child(3),
  .home26-now-content .home26-news-row > a:nth-child(4),
  .home26-now-content .home26-news-row > a:nth-child(5),
  .home26-now-content .home26-news-row > a:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }
}

@media (max-width: 580px) {
  .home26-now-content { grid-template-columns: 1fr; grid-template-rows: 420px repeat(6, 118px); }
  .home26-now-content .home26-news-row > a:nth-child(1),
  .home26-now-content .home26-news-row > a:nth-child(2),
  .home26-now-content .home26-news-row > a:nth-child(3),
  .home26-now-content .home26-news-row > a:nth-child(4),
  .home26-now-content .home26-news-row > a:nth-child(5),
  .home26-now-content .home26-news-row > a:nth-child(6) {
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: 1fr;
  }
}

/* Publicações 0.10.3: capas em destaque e informações abaixo. */
.home26-publications-grid {
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: stretch;
}
.home26-journal {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  height: 100%;
  padding: clamp(24px, 2.8vw, 32px);
  box-sizing: border-box;
}
.home26-journal-cover {
  display: block;
  width: min(68%, 250px);
  margin-inline: auto;
  transition: transform .25s ease, box-shadow .25s ease;
}
.home26-journal-cover:hover {
  box-shadow: 0 24px 42px rgba(0,0,0,.28);
  transform: translateY(-4px);
}
.home26-journal-cover img {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  max-height: 315px;
  object-fit: contain;
}
.home26-journal-info {
  display: grid;
  gap: 9px;
  text-align: left;
}
.home26-journal-info strong {
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}
.home26-journal-info p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.45;
}
.home26-journal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-top: 10px;
}
.home26-journal-actions > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 11px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--h26-navy);
  font-size: .8rem;
  font-weight: 800;
}
.home26-journal-actions > a svg { width: 16px; height: 16px; }
.home26-journal-actions > a.is-secondary {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.48);
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.86);
}

.home26-publisher {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
}
.home26-publisher-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 2px 2px 4px;
}
.home26-publisher-heading > span {
  color: #9a3039;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.home26-publisher-heading h3 {
  margin: 0;
  color: var(--h26-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 500;
}
.home26-publisher-heading p {
  max-width: 620px;
  margin: 0;
  color: #6e736f;
  font-size: .88rem;
  line-height: 1.45;
}
.home26-books-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.home26-book {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  min-height: 0;
}
.home26-book-cover {
  display: grid;
  place-items: center;
  min-height: 145px;
  padding: 12px;
  border-bottom: 1px solid #ebe3d5;
  background: #fff;
}
.home26-book > .home26-book-cover img {
  width: 100%;
  height: 125px;
  object-fit: contain;
  transition: transform .25s ease;
}
.home26-book:hover > .home26-book-cover img { transform: scale(1.035); }
.home26-book-copy {
  display: grid;
  gap: 5px;
  padding: 12px 14px 14px;
}
.home26-book-copy strong {
  font-size: .86rem;
  line-height: 1.22;
}
.home26-book-copy > span {
  color: #6f7980;
  font-size: .7rem;
  line-height: 1.45;
}
.home26-book-copy em { margin-top: 4px; }
.home26-book-copy small { font-size: .57rem; }
.home26-book-copy em { font-size: .65rem; }

@media (max-width: 980px) {
  .home26-publications-grid { grid-template-columns: 1fr; }
  .home26-journal { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); align-items: center; }
}
@media (max-width: 680px) {
  .home26-journal { display: flex; }
  .home26-journal-cover { width: min(68%, 250px); }
  .home26-books-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home26-books-grid { grid-template-rows: none; }
  .home26-book-cover { min-height: 155px; padding: 14px 10px; }
  .home26-book > .home26-book-cover img { height: 135px; }
  .home26-book-copy { padding: 14px; }
}
@media (max-width: 430px) {
  .home26-books-grid { grid-template-columns: 1fr; }
  .home26-book-cover { min-height: 230px; }
  .home26-book > .home26-book-cover img { height: 195px; }
}

/* Institution profiles: brand, official destination and direct social links. */
.home26-network .home26-container {
  width: min(1460px, calc(100% - 64px));
}

.home26-institutions-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.home26-institution-card {
  min-width: 0;
  min-height: 510px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(19,49,72,.07);
}

.home26-institution-media {
  position: relative;
  display: block;
  height: 195px;
  min-height: 195px;
  overflow: hidden;
  background: #eef3f6;
}

.home26-institution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home26-institution-card:nth-child(4) .home26-institution-image {
  padding: 22px;
  object-fit: contain;
  background: #f5f1e8;
}

.home26-institution-card:hover .home26-institution-image {
  transform: scale(1.035);
}

.home26-institution-brand {
  position: absolute;
  z-index: 2;
  top: auto;
  right: 14px;
  bottom: 14px;
  left: auto;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 14px;
  border: 2px solid rgba(169,47,53,.22);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(16,47,73,.28);
  transform: none;
}

.home26-institution-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.home26-institution-copy {
  padding: 21px 20px 19px;
}

.home26-institution-copy strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.home26-institution-copy small {
  margin-top: 9px;
  font-size: .8rem;
  line-height: 1.52;
}

.home26-institution-socials {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.home26-institution-social-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home26-institution-social-row.is-networks {
  justify-content: space-between;
}

.home26-institution-social-row.is-networks > b {
  color: #71808a;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home26-institution-network-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.home26-institution-social-row.is-whatsapp,
.home26-institution-social-row.is-location {
  padding-top: 8px;
  border-top: 1px solid #e6edf1;
}

.home26-institution-network-icons a {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #d9e2e8;
  border-radius: 50%;
  color: var(--h26-blue);
  background: #f7fafb;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.home26-institution-network-icons a:hover,
.home26-institution-network-icons a:focus-visible {
  border-color: var(--h26-blue);
  color: #fff;
  background: var(--h26-blue);
  transform: translateY(-2px);
}

.home26-institution-network-icons svg {
  width: 15px;
  height: 15px;
}

.home26-institution-social-row.is-whatsapp a,
.home26-institution-social-row.is-location a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 39px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--h26-navy);
  background: #f3f7f9;
  font-size: .7rem;
  font-weight: 780;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.home26-institution-social-row.is-whatsapp a {
  color: #176a50;
  background: #edf8f3;
}

.home26-institution-social-row.is-whatsapp a:hover,
.home26-institution-social-row.is-whatsapp a:focus-visible {
  color: #fff;
  background: #176a50;
  transform: translateY(-1px);
}

.home26-institution-social-row.is-location a:hover,
.home26-institution-social-row.is-location a:focus-visible {
  color: #fff;
  background: var(--h26-blue);
  transform: translateY(-1px);
}

.home26-institution-social-row.is-whatsapp a > svg:first-child,
.home26-institution-social-row.is-location a > svg:first-child {
  width: 18px;
  height: 18px;
}

.home26-institution-social-row.is-whatsapp a > svg:last-child,
.home26-institution-social-row.is-location a > svg:last-child {
  width: 13px;
  height: 13px;
}

.home26-institution-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 18px;
  color: var(--h26-navy);
  font-size: .78rem;
  font-weight: 800;
}

.home26-institution-more svg {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}

.home26-institution-more:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1180px) {
  .home26-network .home26-container { width: min(1120px, calc(100% - 48px)); }
  .home26-institutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home26-institutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home26-institution-card { min-height: 500px; }
  .home26-institution-copy { padding: 20px; }
}

@media (max-width: 520px) {
  .home26-network .home26-container { width: min(100% - 36px, 1120px); }
  .home26-institutions-grid { grid-template-columns: 1fr; }
  .home26-institution-card { min-height: 0; }
  .home26-institution-media { height: 235px; }
}

/* Horizontal editorial ribbon fed by three external RSS sources. */
.home26-rss-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #dce5eb;
  border-bottom: 1px solid #dce5eb;
  background: #f3f7f9;
}

.home26-rss-strip-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(1460px, calc(100% - 64px));
  margin-inline: auto;
}

.home26-rss-strip-heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-height: 174px;
  padding: 26px 28px 26px 0;
  border-right: 1px solid #d6e1e7;
}

.home26-rss-strip-heading > span {
  color: #a92f35;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home26-rss-strip-heading h2 {
  max-width: 220px;
  margin: 8px 0 14px;
  color: var(--h26-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.08;
}

.home26-rss-strip-heading a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--h26-blue);
  font-size: .68rem;
  font-weight: 800;
}

.home26-rss-strip-heading a svg {
  width: 13px;
  height: 13px;
}

.home26-rss-strip-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home26-rss-strip-item {
  min-width: 0;
  border-right: 1px solid #d6e1e7;
}

.home26-rss-strip-item:last-child {
  border-right: 0;
}

.home26-rss-strip-item a {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-height: 248px;
  padding: 16px 14px 18px;
  transition: background .2s ease;
}

.home26-rss-strip-item a:hover,
.home26-rss-strip-item a:focus-visible {
  background: #fff;
}

.home26-rss-strip-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 92px;
  margin-bottom: 13px;
  overflow: hidden;
  border-radius: 7px;
  background: #dfe8ed;
}

.home26-rss-strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.home26-rss-strip-item a:hover .home26-rss-strip-image img {
  transform: scale(1.04);
}

.home26-rss-strip-image i {
  display: grid;
  place-items: center;
  color: #8aa0ad;
}

.home26-rss-strip-image i svg {
  width: 28px;
  height: 28px;
}

.home26-rss-strip-item > a > span:not(.home26-rss-strip-image) {
  color: #a92f35;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home26-rss-strip-item strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 9px;
  color: var(--h26-navy);
  font-size: .76rem;
  font-weight: 780;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home26-rss-strip-item small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 13px;
  color: #71808a;
  font-size: .63rem;
}

.home26-rss-strip-item small svg {
  width: 12px;
  height: 12px;
  color: var(--h26-blue);
}

@media (max-width: 1180px) {
  .home26-rss-strip-inner {
    grid-template-columns: 220px minmax(0, 1fr);
    width: min(1120px, calc(100% - 48px));
  }
  .home26-rss-strip-heading { padding-right: 20px; }
  .home26-rss-strip-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .home26-rss-strip-item {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }
  .home26-rss-strip-item a { padding-inline: 14px; }
}

@media (max-width: 900px) {
  .home26-rss-strip-inner {
    display: block;
    width: 100%;
  }
  .home26-rss-strip-heading {
    min-height: 0;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid #d6e1e7;
  }
  .home26-rss-strip-heading h2 { max-width: none; }
  .home26-rss-strip-item {
    flex: 0 0 min(78vw, 310px);
    scroll-snap-align: start;
  }
}

/* RSS layout: three newspapers, with two horizontal stories per source. */
.home26-rss-strip-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
}

.home26-rss-source-column {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid #d6e1e7;
}

.home26-rss-source-column:last-child {
  border-right: 0;
}

.home26-rss-source-column h3 {
  margin: 0 0 11px;
  color: #a92f35;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home26-rss-row + .home26-rss-row {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid #dce5eb;
}

.home26-rss-row a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 78px;
}

.home26-rss-row-image {
  display: grid;
  place-items: center;
  width: 92px;
  height: 72px;
  overflow: hidden;
  border-radius: 7px;
  background: #dfe8ed;
}

.home26-rss-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.home26-rss-row a:hover .home26-rss-row-image img {
  transform: scale(1.05);
}

.home26-rss-row-image i {
  display: grid;
  place-items: center;
  color: #8aa0ad;
}

.home26-rss-row-image svg {
  width: 24px;
  height: 24px;
}

.home26-rss-row-copy {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.home26-rss-row-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--h26-navy);
  font-size: .75rem;
  font-weight: 780;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home26-rss-row-copy small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: #71808a;
  font-size: .6rem;
}

.home26-rss-row-copy small svg {
  width: 11px;
  height: 11px;
  color: var(--h26-blue);
}

@media (max-width: 1180px) {
  .home26-rss-strip-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
  .home26-rss-source-column {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .home26-rss-source-column {
    min-width: 0;
    padding: 9px 7px 12px;
  }
  .home26-rss-source-column h3 {
    overflow: hidden;
    margin-bottom: 8px;
    font-size: .56rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home26-rss-row a {
    display: block;
    min-height: 0;
  }
  .home26-rss-row-image {
    width: 100%;
    height: 58px;
    margin-bottom: 7px;
    border-radius: 5px;
  }
  .home26-rss-row-copy strong {
    font-size: .6rem;
    line-height: 1.28;
    -webkit-line-clamp: 3;
  }
  .home26-rss-row-copy small {
    gap: 3px;
    margin-top: 5px;
    font-size: .5rem;
  }
  .home26-rss-row + .home26-rss-row {
    margin-top: 8px;
    padding-top: 8px;
  }
}
