/**
 * EZGation — Blog / News archives + single post (client mockup)
 * Scoped: body.page-id-453 | body.page-id-465 | body.single-post | body.ez-blog-archive
 */

/* ── Archive pages ─────────────────────────────────────────── */

body.page-id-453 .elementor-widget-theme-page-title .elementor-heading-title,
body.page-id-465 .elementor-widget-theme-page-title .elementor-heading-title {
  font-family: var(--ez-font-heading) !important;
  font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  color: #fff !important;
}

/* Hero subhead on teal band */
body.page-id-453 .elementor-location-header .elementor-heading-title,
body.page-id-465 .elementor-location-header .elementor-heading-title,
body.page-id-453 .ez-blog-hero .elementor-heading-title,
body.page-id-465 .ez-blog-hero .elementor-heading-title {
  font-family: var(--ez-font-heading) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

/* Kill orphan Elementor Google fonts on these pages */
body.page-id-453 .elementor-heading-title,
body.page-id-465 .elementor-heading-title,
body.page-id-453 .elementor-button,
body.page-id-465 .elementor-button {
  font-family: var(--ez-font-heading) !important;
}
body.page-id-453 .elementor-button,
body.page-id-465 .elementor-button,
body.page-id-453 .elementor-post__excerpt,
body.page-id-465 .elementor-post__excerpt,
body.page-id-453 .elementor-post__meta-data,
body.page-id-465 .elementor-post__meta-data {
  font-family: var(--ez-font-sans) !important;
}
body.page-id-453 .elementor-post__title,
body.page-id-453 .elementor-post__title a,
body.page-id-465 .elementor-post__title,
body.page-id-465 .elementor-post__title a {
  font-family: var(--ez-font-heading) !important;
  font-weight: 700 !important;
}

body.page-id-453 .elementor-element-13066222 .elementor-widget-text-editor,
body.page-id-465 .elementor-element-13066222 .elementor-widget-text-editor {
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ez-muted);
}

/* Posts grid — kill Elementor floating card chrome */
body.page-id-453 .elementor-element-de0b400,
body.page-id-465 .elementor-element-de0b400 {
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-id-453 .elementor-posts-container,
body.page-id-465 .elementor-posts-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

body.page-id-453 .elementor-posts-container .elementor-post,
body.page-id-465 .elementor-posts-container .elementor-post {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ez-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.page-id-453 .elementor-post__card,
body.page-id-465 .elementor-post__card {
  display: flex;
  flex-direction: column;
  flex: 1;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

/* Featured image missing → branded default thumb (CSS fallback if PHP filter missed) */
body.page-id-453 .elementor-post__card:not(:has(.elementor-post__thumbnail))::before,
body.page-id-465 .elementor-post__card:not(:has(.elementor-post__thumbnail))::before,
body.ez-blog-archive .elementor-post__card:not(:has(.elementor-post__thumbnail))::before {
  content: "";
  display: block;
  order: 0;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  max-height: 180px;
  background:
    center / cover no-repeat url("blog-default-thumb.jpg"),
    linear-gradient(145deg, #0f3d38 0%, #009383 55%, #e8f5e9 100%);
  border-bottom: 1px solid var(--ez-line);
}

body.page-id-453 .elementor-post__thumbnail,
body.page-id-465 .elementor-post__thumbnail,
body.page-id-453 .elementor-post__thumbnail__link,
body.page-id-465 .elementor-post__thumbnail__link {
  order: 0;
}

/* DOM is text then meta — put date under image, above title */
body.page-id-453 .elementor-post__meta-data,
body.page-id-465 .elementor-post__meta-data {
  order: 1;
  padding: 1rem 1.35rem 0 !important;
  margin: 0 !important;
}

body.page-id-453 .elementor-posts-container .elementor-post:hover,
body.page-id-465 .elementor-posts-container .elementor-post:hover {
  border-color: color-mix(in srgb, var(--ez-primary) 35%, var(--ez-line));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}

/* Thumbnail when present */
body.page-id-453 .elementor-post__thumbnail,
body.page-id-465 .elementor-post__thumbnail {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f5f9 55%, #ecfdf5 100%);
  overflow: hidden;
}

body.page-id-453 .elementor-post__thumbnail img,
body.page-id-465 .elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-id-453 .elementor-post__text,
body.page-id-465 .elementor-post__text {
  order: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.45rem 1.35rem 1.4rem;
  gap: 0.5rem;
}

/* Kill Elementor cards hover wash */
body.page-id-453 .elementor-posts__hover-gradient .elementor-post__card::after,
body.page-id-465 .elementor-posts__hover-gradient .elementor-post__card::after {
  display: none !important;
}

body.page-id-453 .elementor-post__title,
body.page-id-465 .elementor-post__title {
  font-family: var(--ez-font-heading) !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em;
  margin: 0 !important;
}

body.page-id-453 .elementor-post__title a,
body.page-id-465 .elementor-post__title a {
  color: var(--ez-ink) !important;
  text-decoration: none !important;
}

body.page-id-453 .elementor-post__title a:hover,
body.page-id-465 .elementor-post__title a:hover {
  color: var(--ez-primary) !important;
}

body.page-id-453 .elementor-post-date,
body.page-id-465 .elementor-post-date {
  font-size: 0.8125rem !important;
  color: var(--ez-muted) !important;
}

body.page-id-453 .elementor-post__excerpt,
body.page-id-465 .elementor-post__excerpt {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ez-muted);
  margin: 0 !important;
  flex: 1;
}

body.page-id-453 .elementor-post__read-more,
body.page-id-465 .elementor-post__read-more {
  margin-top: 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--ez-primary) !important;
  text-decoration: none !important;
  align-self: flex-start;
}

body.page-id-453 .elementor-post__read-more:hover,
body.page-id-465 .elementor-post__read-more:hover {
  color: var(--ez-ink) !important;
}

/* Pagination */
body.page-id-453 .elementor-pagination,
body.page-id-465 .elementor-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

body.page-id-453 .elementor-pagination .page-numbers,
body.page-id-465 .elementor-pagination .page-numbers {
  min-width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--ez-line);
  background: #fff;
  color: var(--ez-ink);
  font-size: 0.875rem;
  text-decoration: none;
}

body.page-id-453 .elementor-pagination .page-numbers.current,
body.page-id-465 .elementor-pagination .page-numbers.current {
  background: var(--ez-primary);
  border-color: var(--ez-primary);
  color: #fff;
}

/* Bottom CTA band — light face; Elementor kit still paints white titles
   (designed for the old teal gradient). Force ink + kill overlay/gradient. */
body.page-id-453 .elementor-element-5e45c55f,
body.page-id-465 .elementor-element-5e45c55f,
.elementor-453 .elementor-element-5e45c55f,
.elementor-465 .elementor-element-5e45c55f {
  background: #f3f7f6 !important;
  background-image: none !important;
  border-top: 1px solid var(--ez-line, #d7e8e4);
}
body.page-id-453 .elementor-element-5e45c55f > .elementor-background-overlay,
body.page-id-465 .elementor-element-5e45c55f > .elementor-background-overlay,
.elementor-453 .elementor-element-5e45c55f > .elementor-background-overlay,
.elementor-465 .elementor-element-5e45c55f > .elementor-background-overlay {
  opacity: 0 !important;
  pointer-events: none !important;
}
body.page-id-453 .elementor-element-5e45c55f > .elementor-shape,
body.page-id-465 .elementor-element-5e45c55f > .elementor-shape {
  color: #fff;
}
body.page-id-453 .elementor-element-5e45c55f .elementor-heading-title,
body.page-id-465 .elementor-element-5e45c55f .elementor-heading-title,
.elementor-453 .elementor-element-5e45c55f .elementor-heading-title,
.elementor-465 .elementor-element-5e45c55f .elementor-heading-title {
  color: #0f172a !important;
}

/* Inquiry CTA button — brand primary on light band */
body.page-id-453 .elementor-element-a790e4a .elementor-button,
body.page-id-465 .elementor-element-a790e4a .elementor-button {
  background: var(--ez-primary, #009383) !important;
  color: #fff !important;
  border: 2px solid var(--ez-primary, #009383) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0.7rem 1.25rem !important;
  fill: #fff !important;
}

body.page-id-453 .elementor-element-a790e4a .elementor-button:hover,
body.page-id-465 .elementor-element-a790e4a .elementor-button:hover,
body.page-id-453 .elementor-element-a790e4a .elementor-button:focus,
body.page-id-465 .elementor-element-a790e4a .elementor-button:focus {
  background: #0f3d38 !important;
  border-color: #0f3d38 !important;
  color: #fff !important;
  fill: #fff !important;
}

/* Hero Browse — centered under title, no library glow / float leftovers */
body.page-id-453 .elementor-element-02b3ad3,
body.page-id-465 .elementor-element-02b3ad3 {
  position: static !important;
  z-index: auto !important;
  padding: 0.75rem 0 0 !important;
  max-width: none !important;
  text-align: center !important;
  width: 100% !important;
}

body.page-id-453 .elementor-element-02b3ad3 .elementor-button,
body.page-id-465 .elementor-element-02b3ad3 .elementor-button {
  background: var(--ez-primary, #009383) !important;
  color: #fff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  padding: 0.7rem 1.25rem !important;
}

body.page-id-453 .elementor-element-5e45c55f .elementor-heading-title,
body.page-id-465 .elementor-element-5e45c55f .elementor-heading-title {
  font-family: var(--ez-font-heading) !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  body.page-id-453 .elementor-posts-container,
  body.page-id-465 .elementor-posts-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.page-id-453 .elementor-posts-container,
  body.page-id-465 .elementor-posts-container {
    grid-template-columns: 1fr;
  }
}

/* ── Blog / single rail = PDP measure (1200) + gutter ─────────
 * Matches body.single-product --ez-pdp-measure / --ez-pdp-gutter.
 * Hero bg stays full-bleed; text/cards pad with --ez-blog-gutter.
 */
body.ez-blog-archive,
body.single-post {
  --ez-blog-measure: 75rem; /* 1200px — same as PDP */
  --ez-blog-gutter: max(1.5rem, calc((100vw - var(--ez-blog-measure)) / 2));
}
@media (max-width: 767px) {
  body.ez-blog-archive,
  body.single-post {
    --ez-blog-gutter: 1rem;
  }
}

/* ── Single post (redesign 2026-10-15) ─────────────────────── */

body.single-post .ez-single {
  --ez-line: #e2e8f0;
  --ez-muted: #64748b;
  --ez-ink: #0f172a;
  --ez-primary: #009383;
  --ez-aside: 17.5rem; /* 280px */
  background: #fff;
}

body.single-post main.site-main.ez-single {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  padding-bottom: 0 !important;
}

/* Shared horizontal rail — same L/R inset as product page */
body.single-post .ez-single__rail {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--ez-blog-gutter);
  box-sizing: border-box;
}

body.single-post .ez-single__hero {
  border-bottom: 0;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #163f39 0%, #009383 62%, #0b6b60 100%);
  color: #fff;
  width: 100%;
  max-width: none;
  padding-block: 2.25rem 2.5rem;
}

body.single-post .ez-single__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1rem;
}

body.single-post .ez-single__crumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

body.single-post .ez-single__crumb a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.single-post .ez-single__crumb-sep {
  opacity: 0.5;
}

body.single-post .ez-single__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

body.single-post .ez-single__cats a {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

body.single-post .ez-single__cats a:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.single-post .ez-single__title {
  font-family: var(--ez-font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 0.85rem;
  max-width: 46rem;
}

body.single-post .ez-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

body.single-post .ez-single__meta-sep {
  opacity: 0.55;
}

/* Featured image sits in the same rail (only when post has a real thumb) */
body.single-post .ez-single__media {
  padding-top: 1.5rem;
}

body.single-post .ez-single__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ez-line);
  background: #e8f5e9;
  aspect-ratio: 21 / 9;
  max-height: 360px;
}

body.single-post .ez-single__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Body: prose + aside, same left edge as hero title */
body.single-post .ez-single__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ez-aside);
  gap: 2.75rem 3rem;
  align-items: start;
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

body.single-post .ez-single__content {
  min-width: 0;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #334155;
}

body.single-post .ez-single__content > *:first-child {
  margin-top: 0;
}

body.single-post .ez-single__content h2,
body.single-post .ez-single__content h3 {
  font-family: var(--ez-font-heading);
  color: var(--ez-ink);
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin: 2.1rem 0 0.7rem;
}

body.single-post .ez-single__content h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

body.single-post .ez-single__content h3 {
  font-size: 1.2rem;
}

body.single-post .ez-single__content p {
  margin: 0 0 1.1rem;
}

body.single-post .ez-single__content ul,
body.single-post .ez-single__content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

body.single-post .ez-single__content li {
  margin: 0.35rem 0;
}

body.single-post .ez-single__content a {
  color: var(--ez-primary);
  text-underline-offset: 2px;
}

body.single-post .ez-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

body.single-post .ez-single__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.9375rem;
}

body.single-post .ez-single__content th,
body.single-post .ez-single__content td {
  border: 1px solid var(--ez-line);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

body.single-post .ez-single__content th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--ez-ink);
}

body.single-post .ez-single__content tr:nth-child(even) td {
  background: #fafbfc;
}

body.single-post .ez-single__tags {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ez-line);
  font-size: 0.875rem;
  color: var(--ez-muted);
}

body.single-post .ez-single__tags a {
  color: var(--ez-primary);
}

body.single-post .ez-single__aside {
  position: sticky;
  top: 5.5rem;
}

body.single-post .ez-single__cta {
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: 14px;
  background: #163f39;
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 63, 57, 0.18);
}

body.single-post .ez-single__cta-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #99dfd3;
}

body.single-post .ez-single__cta-title {
  font-family: var(--ez-font-heading);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.55rem;
  color: #fff;
}

body.single-post .ez-single__cta-text {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

body.single-post .ez-single__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: #009383;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none !important;
  border: none;
  box-sizing: border-box;
}

body.single-post .ez-single__cta-btn:hover {
  filter: brightness(1.06);
}

body.single-post .ez-single__cta-link {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #99dfd3 !important;
  text-decoration: none !important;
}

body.single-post .ez-single__cta-link:hover {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Related — same rail left edge as hero + body */
body.single-post .ez-single__related {
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

body.single-post .ez-single__related-title {
  font-family: var(--ez-font-heading);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ez-line);
  color: var(--ez-ink);
}

body.single-post .ez-single__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.single-post .ez-single__related-card {
  margin: 0;
}

body.single-post .ez-single__related-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--ez-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.single-post .ez-single__related-link:hover {
  border-color: color-mix(in srgb, var(--ez-primary) 35%, var(--ez-line));
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}

body.single-post .ez-single__related-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background:
    center / cover no-repeat url("blog-default-thumb.jpg"),
    linear-gradient(145deg, #0f3d38 0%, #009383 55%, #e8f5e9 100%);
  overflow: hidden;
}

body.single-post .ez-single__related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.single-post .ez-single__related-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem 1.2rem;
  flex: 1;
}

body.single-post .ez-single__related-grid .ez-rel-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ez-primary);
}

body.single-post .ez-single__related-grid .ez-rel-title {
  font-family: var(--ez-font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ez-ink);
}

body.single-post .ez-single__related-grid .ez-rel-date {
  font-size: 0.8125rem;
  color: var(--ez-muted);
  margin-top: auto;
}

@media (max-width: 960px) {
  body.single-post .ez-single__body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body.single-post .ez-single__aside {
    position: static;
    max-width: 24rem;
  }

  body.single-post .ez-single__content {
    max-width: none;
  }

  body.single-post .ez-single__related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.single-post .ez-single__hero {
    padding-block: 1.75rem 2rem;
  }

  body.single-post .ez-single__figure {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}


/* Beat Elementor page CSS (.elementor-453/.elementor-465) that still names missing Google fonts */
body.page-id-453.elementor-page-453 .elementor-heading-title,
body.page-id-465.elementor-page-465 .elementor-heading-title,
.elementor-453 .elementor-heading-title,
.elementor-465 .elementor-heading-title {
  font-family: var(--ez-font-heading) !important;
}
body.page-id-453.elementor-page-453 .elementor-button,
body.page-id-465.elementor-page-465 .elementor-button,
.elementor-453 .elementor-button,
.elementor-465 .elementor-button {
  font-family: var(--ez-font-sans) !important;
}
body.page-id-453 .elementor-element-2487ca18 .elementor-heading-title,
body.page-id-465 .elementor-element-2487ca18 .elementor-heading-title,
.elementor-453 .elementor-element-2487ca18 .elementor-heading-title,
.elementor-465 .elementor-element-2487ca18 .elementor-heading-title {
  font-family: var(--ez-font-heading) !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: none !important;
}
body.page-id-453 .elementor-element-7ed616ff .elementor-heading-title,
body.page-id-465 .elementor-element-7ed616ff .elementor-heading-title,
.elementor-453 .elementor-element-7ed616ff .elementor-heading-title,
.elementor-465 .elementor-element-7ed616ff .elementor-heading-title {
  font-family: var(--ez-font-sans) !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.92) !important;
  text-transform: none !important;
}
body.page-id-453 .elementor-element-556d0e6f .elementor-heading-title,
body.page-id-465 .elementor-element-556d0e6f .elementor-heading-title,
.elementor-453 .elementor-element-556d0e6f .elementor-heading-title,
.elementor-465 .elementor-element-556d0e6f .elementor-heading-title {
  font-family: var(--ez-font-heading) !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-transform: none !important;
}
body.page-id-453 .elementor-element-b10360e .elementor-heading-title,
body.page-id-465 .elementor-element-b10360e .elementor-heading-title,
.elementor-453 .elementor-element-b10360e .elementor-heading-title,
.elementor-465 .elementor-element-b10360e .elementor-heading-title {
  font-family: var(--ez-font-sans) !important;
  font-weight: 500 !important;
  color: #475569 !important;
  text-transform: none !important;
}


/* ── PHP archive / category / tag (2026-10-15) ─────────────── */

body.ez-blog-archive .ez-archive {
  --ez-line: #e2e8f0;
  --ez-muted: #64748b;
  --ez-primary: #009383;
}

/* Beat Hello / ez-tokens page-edge so hero can go edge-to-edge */
body.ez-blog-archive main.site-main.ez-archive {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  padding-bottom: 0 !important;
}

/* Blog archive hero — photo + left teal veil (same language as About/Contact) */
body.ez-blog-archive .ez-archive__hero {
  background-color: #0f3d38;
  background-image:
    linear-gradient(
      105deg,
      rgba(15, 61, 56, 0.92) 0%,
      rgba(15, 61, 56, 0.82) 28%,
      rgba(15, 61, 56, 0.55) 58%,
      rgba(15, 61, 56, 0.28) 100%
    ),
    url("/wp-content/uploads/2026/10/page-hero-blog.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  color: #fff;
  width: 100%;
  max-width: none;
  padding: 4.75rem var(--ez-blog-gutter) 4.5rem;
  margin: 0 0 2.5rem;
  box-sizing: border-box;
  min-height: 16rem;
}
body.ez-blog-archive .ez-archive__hero-inner {
  max-width: none;
  margin: 0;
  width: 100%;
}
body.ez-blog-archive .ez-archive__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.875rem;
  margin: 0 0 1rem;
  opacity: 0.92;
}
body.ez-blog-archive .ez-archive__crumb a {
  color: #fff !important;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
body.ez-blog-archive .ez-archive__crumb a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
body.ez-blog-archive .ez-archive__crumb-sep {
  opacity: 0.55;
}
body.ez-blog-archive .ez-archive__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3c7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
body.ez-blog-archive .ez-archive__title {
  margin: 0;
  font-family: var(--ez-font-heading, inherit);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}
body.ez-blog-archive .ez-archive__desc {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
body.ez-blog-archive .ez-archive__desc p {
  margin: 0;
}
body.ez-blog-archive .ez-archive__title {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
/* News category archive — field sprinkler photo (distinct from Blog lifestyle) */
body.ez-blog-archive.category-news .ez-archive__hero {
  background-image:
    linear-gradient(
      105deg,
      rgba(15, 61, 56, 0.92) 0%,
      rgba(15, 61, 56, 0.82) 28%,
      rgba(15, 61, 56, 0.55) 58%,
      rgba(15, 61, 56, 0.28) 100%
    ),
    url("/wp-content/uploads/2026/10/page-hero-news.jpg");
  background-position: center 38%;
}

/* News Elementor page (465) — replace teal gradient with photo hero */
body.page-id-465 .elementor-element-13066222,
.elementor-465 .elementor-element-13066222,
body.page-id-453 .elementor-element-13066222,
.elementor-453 .elementor-element-13066222 {
  background-color: #0f3d38 !important;
  background-image:
    linear-gradient(
      105deg,
      rgba(15, 61, 56, 0.92) 0%,
      rgba(15, 61, 56, 0.82) 28%,
      rgba(15, 61, 56, 0.55) 58%,
      rgba(15, 61, 56, 0.28) 100%
    ),
    url("/wp-content/uploads/2026/10/page-hero-news.jpg") !important;
  background-size: cover !important;
  background-position: center 38% !important;
  background-repeat: no-repeat !important;
  min-height: 18rem !important;
  padding-top: 3.25rem !important;
  padding-bottom: 3.25rem !important;
}
body.page-id-465 .elementor-element-13066222 > .elementor-background-overlay,
.elementor-465 .elementor-element-13066222 > .elementor-background-overlay,
body.page-id-453 .elementor-element-13066222 > .elementor-background-overlay,
.elementor-453 .elementor-element-13066222 > .elementor-background-overlay {
  opacity: 0 !important;
  pointer-events: none !important;
}
body.page-id-465 .elementor-element-13066222 > .elementor-container,
.elementor-465 .elementor-element-13066222 > .elementor-container,
body.page-id-453 .elementor-element-13066222 > .elementor-container,
.elementor-453 .elementor-element-13066222 > .elementor-container {
  background: transparent !important;
}
body.page-id-453 .elementor-element-13066222 {
  background-image:
    linear-gradient(
      105deg,
      rgba(15, 61, 56, 0.92) 0%,
      rgba(15, 61, 56, 0.82) 28%,
      rgba(15, 61, 56, 0.55) 58%,
      rgba(15, 61, 56, 0.28) 100%
    ),
    url("/wp-content/uploads/2026/10/page-hero-blog.jpg") !important;
  background-position: center 42% !important;
}
body.page-id-453 .elementor-element-2487ca18 .elementor-heading-title,
body.page-id-465 .elementor-element-2487ca18 .elementor-heading-title,
.elementor-453 .elementor-element-2487ca18 .elementor-heading-title,
.elementor-465 .elementor-element-2487ca18 .elementor-heading-title {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
body.page-id-453 .elementor-element-7ed616ff .elementor-heading-title,
body.page-id-465 .elementor-element-7ed616ff .elementor-heading-title,
.elementor-453 .elementor-element-7ed616ff .elementor-heading-title,
.elementor-465 .elementor-element-7ed616ff .elementor-heading-title {
  color: #7dd3c7 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.ez-blog-archive .ez-archive__grid {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0 var(--ez-blog-gutter);
  max-width: none;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  width: 100%;
}
body.ez-blog-archive .ez-archive__card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ez-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.ez-blog-archive .ez-archive__card:hover {
  border-color: color-mix(in srgb, var(--ez-primary) 35%, var(--ez-line));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}
body.ez-blog-archive .ez-archive__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}
body.ez-blog-archive .ez-archive__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8f5e9;
}
body.ez-blog-archive .ez-archive__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.ez-blog-archive .ez-archive__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  padding: 1rem 1.35rem 0;
  font-size: 0.8125rem;
  color: var(--ez-muted);
}
body.ez-blog-archive .ez-archive__cat {
  color: var(--ez-primary);
  font-weight: 700;
}
body.ez-blog-archive .ez-archive__card-title {
  display: block;
  padding: 0.45rem 1.35rem 0;
  font-family: var(--ez-font-heading, inherit);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
body.ez-blog-archive .ez-archive__excerpt {
  display: block;
  padding: 0.5rem 1.35rem 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ez-muted);
}
body.ez-blog-archive .ez-archive__pager {
  max-width: none;
  margin: 0 0 3.5rem;
  padding: 0 var(--ez-blog-gutter);
  box-sizing: border-box;
}
body.ez-blog-archive .ez-archive__pager .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}
body.ez-blog-archive .ez-archive__pager .page-numbers a,
body.ez-blog-archive .ez-archive__pager .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--ez-line);
  color: #0f172a;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}
body.ez-blog-archive .ez-archive__pager .page-numbers .current {
  background: var(--ez-primary);
  border-color: var(--ez-primary);
  color: #fff;
}
body.ez-blog-archive .ez-archive__pager .page-numbers a:hover {
  border-color: var(--ez-primary);
  color: var(--ez-primary);
}
body.ez-blog-archive .ez-archive__empty {
  max-width: none;
  margin: 0 0 3rem;
  padding: 0 var(--ez-blog-gutter);
  box-sizing: border-box;
  color: var(--ez-muted);
}

@media (max-width: 900px) {
  body.ez-blog-archive .ez-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  body.ez-blog-archive .ez-archive__grid {
    grid-template-columns: 1fr;
  }
}
