/* Inner-page layouts and reusable panels */
.page-hero,
.blog-hero,
.post-hero {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 82px 0 64px;
}

.page-hero--legal {
  background: var(--color-bg);
}

.page-hero__grid,
.blog-hero__grid {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
}

.page-hero__content,
.blog-hero__content,
.post-hero__content {
  display: grid;
  gap: 18px;
}

.page-hero__content h1,
.blog-hero__content h1,
.post-hero__content h1 {
  max-width: none;
}

.page-hero__lead,
.blog-hero__lead,
.post-hero__lead {
  font-size: 1.12rem;
  max-width: 42rem;
}

.page-hero__actions,
.blog-hero__actions,
.content-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-actions--center {
  justify-content: center;
  margin-top: 30px;
}

.info-panel,
.contact-highlight,
.sidebar-card,
.legal-nav,
.empty-state,
.feature-panel {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 42px rgba(10, 34, 23, 0.04);
  padding: 26px;
}

.info-panel__label,
.contact-highlight__label,
.feature-panel__label {
  color: var(--color-muted);
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.info-panel__title,
.contact-highlight__title,
.feature-panel__title,
.sidebar-card h2,
.sidebar-card h3 {
  font-size: 1.65rem;
  line-height: 1.08;
  margin-bottom: 12px;
}

.info-list,
.link-list,
.category-list,
.legal-nav ul,
.post-tag-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.info-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-list strong {
  color: var(--color-text);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.info-list span,
.info-list small {
  color: var(--color-muted);
  display: block;
}

.info-card-grid,
.contact-method-grid,
.faq-category-grid,
.support-grid,
.stat-strip,
.related-posts {
  display: grid;
  gap: 22px;
}

.info-card-grid,
.contact-method-grid,
.faq-category-grid,
.support-grid,
.stat-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.contact-method-card,
.faq-category-card,
.support-card,
.stat-card {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px var(--color-shadow);
  min-height: 100%;
  padding: 24px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.info-card:hover,
.contact-method-card:hover,
.faq-category-card:hover,
.support-card:hover,
.stat-card:hover,
.blog-card:hover,
.featured-post:hover {
  border-color: rgba(13, 96, 53, 0.14);
  box-shadow: 0 22px 40px rgba(10, 34, 23, 0.04);
  transform: translateY(-2px);
}

.info-card__icon,
.contact-method-card__icon,
.faq-category-card__icon,
.support-card__icon {
  align-items: center;
  background: rgba(255, 247, 222, 0.94);
  border: 1px solid rgba(186, 137, 32, 0.12);
  border-radius: 50%;
  color: var(--color-gold-soft);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 16px;
  width: 44px;
}

.info-card h2,
.info-card h3,
.contact-method-card h2,
.contact-method-card h3,
.faq-category-card h2,
.faq-category-card h3,
.support-card h2,
.support-card h3,
.stat-card h2,
.stat-card h3 {
  font-size: 1.45rem;
  line-height: 1.12;
  margin-bottom: 12px;
}

.contact-method-card p,
.info-card p,
.faq-category-card p,
.support-card p,
.stat-card p {
  margin-bottom: 0;
}

.section-stack,
.copy-stack,
.legal-content,
.blog-main,
.article-footer {
  display: grid;
  gap: 24px;
}

.copy-stack h2,
.copy-stack h3,
.legal-section h2 {
  line-height: 1.08;
}

.copy-stack h2,
.legal-section h2 {
  font-size: 2.15rem;
}

.copy-stack h3 {
  font-size: 1.45rem;
}

.note-panel {
  background: rgba(255, 247, 222, 0.94);
  border: 1px solid rgba(186, 137, 32, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-gold-soft);
  font-weight: 500;
  padding: 18px 20px;
}

.media-panel,
.post-hero__image {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 42px rgba(10, 34, 23, 0.04);
  overflow: hidden;
}

.media-panel img,
.media-panel video,
.post-hero__image img {
  aspect-ratio: 2.22;
  display: block;
  object-fit: cover;
  width: 100%;
}

.media-panel__body {
  padding: 24px;
}

.media-panel__label {
  color: var(--color-gold-soft);
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-highlight strong {
  color: var(--color-text);
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card strong {
  color: var(--color-primary);
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.faq-topic-list,
.policy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.faq-topic-list li,
.policy-list li {
  color: var(--color-muted);
}

.legal-layout,
.blog-layout {
  align-items: start;
  display: grid;
  gap: 28px;
}

.legal-layout {
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
}

.blog-layout {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.35fr);
}

.legal-nav {
  position: sticky;
  top: 110px;
}

.legal-nav a {
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  display: block;
  font-weight: 600;
  padding: 10px 12px;
}

.legal-nav a:hover,
.legal-nav a:focus {
  background: rgba(13, 96, 53, 0.08);
  color: var(--color-primary);
}

.legal-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 34px rgba(10, 34, 23, 0.03);
  padding: 30px;
}

.legal-section p:last-child,
.sidebar-card p:last-child,
.empty-state p:last-child,
.info-card p:last-child,
.contact-method-card p:last-child,
.faq-category-card p:last-child,
.support-card p:last-child,
.stat-card p:last-child,
.content-card > *:last-child {
  margin-bottom: 0;
}

body:not(.home):not(.front-page) .page-hero__grid {
  display: block;
  max-width: 880px;
  text-align: center;
}

body:not(.home):not(.front-page) .page-hero__grid > :not(:first-child) {
  display: none;
}

body:not(.home):not(.front-page) .page-hero__content,
body:not(.home):not(.front-page) .blog-hero__content {
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
}

body:not(.home):not(.front-page) .page-hero__content h1,
body:not(.home):not(.front-page) .blog-hero__content h1,
body:not(.home):not(.front-page) .post-hero__content h1 {
  max-width: 12ch;
}

body:not(.home):not(.front-page) .page-hero__lead,
body:not(.home):not(.front-page) .blog-hero__lead,
body:not(.home):not(.front-page) .post-hero__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 46rem;
}

body:not(.home):not(.front-page) .page-hero__actions,
body:not(.home):not(.front-page) .blog-hero__actions {
  justify-content: center;
}

body:not(.home):not(.front-page) .page-hero__actions .button--ghost,
body:not(.home):not(.front-page) .blog-hero__actions .button--ghost,
body:not(.home):not(.front-page) .post-hero .button--ghost {
  display: none;
}

body:not(.home):not(.front-page).single-post .post-hero .article-shell {
  display: block;
  max-width: 1280px;
  text-align: center;
}

body:not(.home):not(.front-page).single-post .post-hero__content {
  justify-items: center;
}

body:not(.home):not(.front-page).single-post .post-hero__content h1 {
  max-width: 32ch;
}

body:not(.home):not(.front-page).single-post .post-hero__image {
  display: none;
}
