body.blog,
body.archive,
body.single-post,
body.search {
  background: linear-gradient(180deg, #f9fbfd 0%, #eef3f8 100%);
}

.site-main article,
.single-post .site-main > .post,
.archive .site-main .type-post,
.search .site-main .type-post {
  border: 1px solid var(--eon-color-border);
  border-radius: var(--eon-radius-md);
  background: var(--eon-color-surface);
  box-shadow: var(--eon-shadow-sm);
}

.blog .site-main article,
.archive .site-main article,
.search .site-main article {
  padding: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: var(--eon-space-lg);
}

.single-post .site-main > .post {
  width: min(100% - 2rem, 860px);
  margin: var(--eon-space-xl) auto;
  padding: clamp(1.5rem, 2.4vw, 3rem);
}

.entry-title,
.page-title {
  margin-bottom: var(--eon-space-sm);
}

.entry-meta,
.post-meta,
.wp-block-post-date,
.wp-block-post-author,
.wp-block-post-terms {
  color: var(--eon-color-text-muted);
  font-size: 0.92rem;
}

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

.entry-content blockquote,
.elementor-widget-theme-post-content blockquote {
  padding: var(--eon-space-md) var(--eon-space-lg);
  border-left: 4px solid var(--eon-color-accent);
  border-radius: var(--eon-radius-sm);
  background: var(--eon-color-surface-2);
  font-size: 1.05rem;
}

.entry-content table,
.elementor-widget-theme-post-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--eon-radius-sm);
}

.entry-content th,
.entry-content td,
.elementor-widget-theme-post-content th,
.elementor-widget-theme-post-content td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--eon-color-border);
  text-align: left;
}

.entry-content th,
.elementor-widget-theme-post-content th {
  background: var(--eon-color-surface-2);
}

.post-navigation,
.posts-navigation,
.pagination {
  margin-top: var(--eon-space-lg);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--eon-space-sm);
}

.search-form,
.wp-block-search {
  display: grid;
  gap: var(--eon-space-sm);
}

.search-form input[type="search"],
.wp-block-search__input {
  min-height: 48px;
}

.comment-list,
.comment-respond {
  margin-top: var(--eon-space-lg);
}

.comment-body {
  padding: var(--eon-space-md);
  border: 1px solid var(--eon-color-border);
  border-radius: var(--eon-radius-md);
  background: var(--eon-color-surface);
}

.widget,
.wp-block-group.is-style-default {
  margin-bottom: var(--eon-space-lg);
}

body.page-id-67 .site-main,
body.page-id-68 .site-main,
body.page-id-69 .site-main,
body.page-id-70 .site-main {
  background: #ffffff;
}

body.home .site-main,
body.home .page-content {
  background: #ffffff;
}

body.home .site-main {
  width: 100%;
  max-width: 100%;
}

body.home .page-content {
  width: 100%;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
}

body.home .page-content > .wp-block-group:not(.eon-partners-band):not(.eon-contact-band) {
  width: min(100% - 2rem, 1160px);
  margin-inline: auto;
  padding-top: var(--eon-home-section-pad-top, 2.1rem);
  padding-bottom: var(--eon-home-section-pad-bottom, 2.4rem);
}

body.page-id-66.eon-live-shell .page-content > .wp-block-group:not(.eon-partners-band):not(.eon-contact-band) {
  padding-top: calc(var(--eon-home-section-pad-top, 2.1rem) + var(--eon-header-min-height, 88px));
}

body.page-id-66.eon-live-shell h1.wp-block-heading {
  color: var(--mp-blue);
  font-family: "Raleway", "Trebuchet MS", Trebuchet, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.35rem, 3.7vw, 4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.14;
}

body.page-id-66.eon-live-shell h1.wp-block-heading + p.has-text-align-center {
  color: #666666;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0;
}

body.page-id-66.eon-live-shell .wp-block-list li::marker {
  color: #1398de;
}

body.page-id-66.eon-live-shell .wp-block-list a {
  color: #1398de;
  text-decoration: none;
}

body.page-id-66.eon-live-shell .wp-block-list a:hover,
body.page-id-66.eon-live-shell .wp-block-list a:focus-visible {
  color: #1fa6ef;
  text-decoration: none;
}

body.page-id-67 .page-content,
body.page-id-68 .page-content,
body.page-id-69 .page-content,
body.page-id-70 .page-content {
  width: min(100% - 2rem, 1160px);
  margin-inline: auto;
  padding-top: var(--eon-section-pad-top, 1.1rem);
  padding-bottom: var(--eon-section-pad-bottom, 2.2rem);
}

body.page-id-67.eon-live-shell .page-content {
  width: calc(100% - 48px) !important;
  max-width: none !important;
  margin-left: 24px !important;
  margin-right: 24px !important;
  padding-inline: 0;
}

body.page-id-67 .wp-block-heading,
body.page-id-68 .wp-block-heading,
body.page-id-69 .wp-block-heading,
body.page-id-70 .wp-block-heading {
  margin-bottom: 0.65rem;
}

body.page-id-67.eon-live-shell,
body.page-id-67.eon-live-shell p,
body.page-id-67.eon-live-shell li {
  font-family: "Raleway", "Trebuchet MS", Trebuchet, "Segoe UI", Arial, sans-serif;
  color: var(--eon-color-text);
  font-size: 16px;
  line-height: 1.55;
}

body.page-id-67.eon-live-shell h2.wp-block-heading {
  color: var(--eon-color-dark);
}

body.page-id-67.eon-live-shell h3.wp-block-heading {
  color: var(--mp-blue);
  font-size: clamp(1.95rem, 2.1vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0;
}

body.page-id-67.eon-live-shell h4.wp-block-heading {
  color: var(--eon-color-dark);
  font-size: clamp(1.5rem, 1.55vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0;
}

body.page-id-67.eon-live-shell .wp-block-list li::marker {
  color: var(--eon-color-text);
}

body.page-id-67.eon-live-shell .wp-block-image.eon-services-bullet-ring {
  margin: 0;
  text-align: center;
}

body.page-id-67.eon-live-shell .wp-block-image.eon-services-bullet-ring img {
  width: clamp(118px, 9vw, 165px);
  height: auto;
}

/* Global heading colour scheme — all eon-live-shell pages */
body.eon-live-shell h1.wp-block-heading,
body.eon-live-shell h2.wp-block-heading,
body.eon-live-shell h4.wp-block-heading {
  color: var(--eon-color-dark);
}

body.eon-live-shell h3.wp-block-heading {
  color: var(--mp-blue);
}

body.page-id-67 h1.wp-block-heading,
body.page-id-68 h1.wp-block-heading,
body.page-id-69 h1.wp-block-heading,
body.page-id-70 h1.wp-block-heading {
  font-size: clamp(calc(var(--eon-h1-size, 2.85rem) * 0.7), 2.6vw, var(--eon-h1-size, 2.85rem));
  font-weight: var(--eon-heading-weight, 700);
  letter-spacing: 0.01em;
}

body.page-id-67 h2.wp-block-heading,
body.page-id-68 h2.wp-block-heading,
body.page-id-69 h2.wp-block-heading,
body.page-id-70 h2.wp-block-heading {
  font-size: clamp(calc(var(--eon-h2-size, 1.85rem) * 0.75), 1.7vw, var(--eon-h2-size, 1.85rem));
  font-weight: var(--eon-heading-weight, 700);
}

body.page-id-67 h3.wp-block-heading,
body.page-id-68 h3.wp-block-heading,
body.page-id-69 h3.wp-block-heading,
body.page-id-70 h3.wp-block-heading {
  font-size: var(--eon-h3-size, 1.55rem);
  font-weight: var(--eon-heading-weight, 700);
}

body.page-id-67 .wp-block-columns,
body.page-id-68 .wp-block-columns {
  gap: clamp(1rem, 1.6vw, 2rem);
}

body.page-id-69 .wp-block-gallery.has-nested-images figure.wp-block-image {
  aspect-ratio: 1 / 1;
}

body.page-id-69 .wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.eon-live-shell .page-content > .eon-home-hero-block,
body.eon-live-shell .page-content > .eon-page-hero-block {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.page-id-67 .wpcf7,
body.page-id-68 .wpcf7,
body.page-id-69 .wpcf7,
body.page-id-70 .wpcf7 {
  border: 1px solid var(--eon-color-border);
  border-radius: var(--eon-radius-sm);
  background: var(--eon-color-surface);
  padding: 1rem;
}

body.page-id-67 .wpcf7 label,
body.page-id-68 .wpcf7 label,
body.page-id-69 .wpcf7 label,
body.page-id-70 .wpcf7 label {
  display: block;
  margin-bottom: 0.8rem;
}

/* Partners band + Contact band — dark sections matching live */
body.eon-live-shell .eon-partners-band {
  background: var(--mp-dark-band-bg);
  padding: 1.6rem 1rem;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.eon-live-shell .eon-partners-band img {
  max-width: min(100%, 940px);
  height: auto;
  border-radius: 0;
}

body.eon-live-shell .eon-contact-band {
  background: var(--mp-dark-band-bg);
  color: var(--mp-dark-band-text);
  padding: 2.5rem 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.eon-live-shell .eon-contact-band > * {
  max-width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

body.eon-live-shell .eon-contact-band h2,
body.eon-live-shell .eon-contact-band h3 {
  color: var(--mp-dark-band-text);
}

body.eon-live-shell .eon-contact-band p,
body.eon-live-shell .eon-contact-band a {
  color: var(--mp-dark-band-text-muted);
}

body.eon-live-shell .eon-contact-band a:hover {
  color: #ffffff;
}

/* Contact page — spacing + button styling to match live */
body.page-id-70 h1.wp-block-heading {
  margin-bottom: 2.5rem;
}

body.page-id-70 .wpcf7 input[type="submit"],
body.page-id-68 .wpcf7 input[type="submit"] {
  background: var(--mp-blue);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--eon-radius-pill);
  transition: background var(--eon-transition);
  width: auto;
}

body.page-id-70 .wpcf7 input[type="submit"]:hover,
body.page-id-68 .wpcf7 input[type="submit"]:hover {
  background: #1a7aaa;
}

/* About page team grid — compact cards matching live site */
.eon-team-heading {
  text-align: center;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 700;
}

.eon-team-grid .wp-block-column {
  text-align: left;
}

.eon-team-grid .wp-block-image img {
  max-width: 190px;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.eon-team-grid h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.eon-team-grid p {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  color: var(--eon-color-text);
}

body.page-id-68 .wp-block-image.eon-group-photo {
  text-align: center;
}

body.page-id-68 .wp-block-image.eon-group-photo img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 767px) {
  body.page-id-67 .page-content,
  body.page-id-68 .page-content,
  body.page-id-69 .page-content,
  body.page-id-70 .page-content {
    width: min(100% - 1rem, 100%);
    padding-top: calc(var(--eon-section-pad-top, 1.1rem) * 0.64);
    padding-bottom: calc(var(--eon-section-pad-bottom, 2.2rem) * 0.73);
  }

  body.page-id-67 h1.wp-block-heading,
  body.page-id-68 h1.wp-block-heading,
  body.page-id-69 h1.wp-block-heading,
  body.page-id-70 h1.wp-block-heading {
    font-size: clamp(calc(var(--eon-h1-size, 2.85rem) * 0.58), 6.2vw, calc(var(--eon-h1-size, 2.85rem) * 0.74));
  }

  body.page-id-67 .wp-block-columns,
  body.page-id-68 .wp-block-columns {
    gap: 0.8rem;
  }

  body.page-id-69 .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-post .site-main > .post,
  .blog .site-main article,
  .archive .site-main article,
  .search .site-main article {
    width: min(100% - 1rem, 100%);
    padding: 1.25rem;
  }

  body.home .page-content > .wp-block-group {
    width: min(100% - 1rem, 100%);
    padding-top: calc(var(--eon-home-section-pad-top, 2.1rem) * 0.71);
    padding-bottom: calc(var(--eon-home-section-pad-bottom, 2.4rem) * 0.75);
  }
}
