/* Limited to category/tag archives and pricing page 82; no template replacement. */
body:is(.category,.tag) {
  background: #faf7f0;
  color: #294942;
}
body:is(.category,.tag) [data-elementor-type="templately-header"],
body:is(.category,.tag) [data-elementor-type="templately-header"] > .elementor-section {
  background-color: #173f3b !important;
}
body:is(.category,.tag) #content.site-main {
  width: min(1140px, calc(100% - 40px));
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 0 72px;
}
body:is(.category,.tag) #content > .page-header {
  margin: 0 0 32px;
  color: #173f3b;
}
body:is(.category,.tag) #content > .page-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px;
}
body:is(.category,.tag) #content > .page-content > article.post {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffefb;
  border: 1px solid #dce5de;
  border-radius: 16px;
  box-shadow: 0 8px 28px #173f3b0a;
  margin: 0;
  padding: 0 0 26px;
}
/* Image link follows the title in Hello Elementor markup. */
body:is(.category,.tag) #content article.post > a:has(> .wp-post-image) {
  order: -1;
  display: block;
}
body:is(.category,.tag) #content article.post .wp-post-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body:is(.category,.tag) #content article.post .entry-title {
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  line-height: 1.35;
  margin: 24px 24px 14px;
  overflow-wrap: anywhere;
}
body:is(.category,.tag) #content article.post .entry-title a {
  color: #20564e;
  text-decoration: none;
}
body:is(.category,.tag) #content article.post > p {
  margin: 0 24px 12px;
  font-size: 1rem;
  line-height: 1.75;
  color: #4c615a;
}
body:is(.category,.tag) #content :is(.pagination,.posts-navigation,.navigation) {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 24px;
}
body:is(.category,.tag) #content .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  color: #20564e;
  border-radius: 6px;
}
body:is(.category,.tag) #content .page-numbers.current {
  background: #20564e;
  color: #fff;
}
body:is(.category,.tag) #content a:focus-visible,
body.page-id-82 .eael-pricing a:focus-visible {
  outline: 3px solid #b28848;
  outline-offset: 4px;
}
/* Only sections actually containing EA pricing cards are affected. */
body.page-id-82 .elementor-inner-section:has(.elementor-widget-eael-pricing-table) > .elementor-container {
  align-items: stretch;
  max-width: 1140px;
}
body.page-id-82 .elementor-inner-column:has(.elementor-widget-eael-pricing-table) > .elementor-widget-wrap {
  display: flex;
  align-content: stretch;
}
body.page-id-82 .elementor-widget-eael-pricing-table,
body.page-id-82 .elementor-widget-eael-pricing-table > .elementor-widget-container,
body.page-id-82 .eael-pricing {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-width: 0;
}
body.page-id-82 .eael-pricing .eael-pricing-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce5de !important;
  border-radius: 16px;
  background: #fffefb;
  box-shadow: 0 8px 28px #173f3b0a;
}
body.page-id-82 .eael-pricing .header {
  box-sizing: border-box;
  min-height: 132px;
  padding: 24px 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #20564e !important;
}
body.page-id-82 .eael-pricing .header :is(.title,.subtitle) {
  color: #fff !important;
  line-height: 1.4;
  margin: 0;
}
body.page-id-82 .eael-pricing .header .title {
  font-size: 1.5rem;
}
body.page-id-82 .eael-pricing .eael-pricing-tag {
  box-sizing: border-box;
  min-height: 112px;
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #20564e !important;
  background: #eff5ef !important;
}
body.page-id-82 .eael-pricing :is(.price-tag,.price-currency,.price-period,.original-price) {
  color: #20564e !important;
}
body.page-id-82 .eael-pricing .body {
  flex: 1;
  padding: 24px 20px !important;
  color: #40594f;
  line-height: 1.65;
}
body.page-id-82 .eael-pricing .body li {
  padding-top: 8px;
  padding-bottom: 8px;
}
body.page-id-82 .eael-pricing .li-icon {
  color: #20564e !important;
}
body.page-id-82 .eael-pricing .li-icon svg {
  fill: currentColor;
}
body.page-id-82 .eael-pricing .footer {
  margin-top: auto;
  padding: 0 24px 28px !important;
}
body.page-id-82 .eael-pricing .eael-pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid #20564e !important;
  border-radius: 8px;
  background: #20564e !important;
  color: #fff !important;
  line-height: 1.4;
}
body.page-id-82 .eael-pricing .eael-pricing-button:hover {
  background: #173f3b !important;
}
@media (max-width: 1024px) {
  body:is(.category,.tag) #content > .page-content {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
  }
  body.page-id-82 .elementor-inner-section:has(.elementor-widget-eael-pricing-table) > .elementor-container {
    flex-wrap: wrap;
  }
  body.page-id-82 .elementor-inner-column:has(.elementor-widget-eael-pricing-table) {
    width: 50% !important;
    margin-bottom: 24px;
  }
}
@media (max-width: 640px) {
  body:is(.category,.tag) #content.site-main {
    width: calc(100% - 32px);
    padding-top: 32px;
  }
  body:is(.category,.tag) #content > .page-content {
    grid-template-columns: minmax(0,1fr);
  }
  body.page-id-82 .elementor-inner-column:has(.elementor-widget-eael-pricing-table) {
    width: 100% !important;
  }
  body.page-id-82 .eael-pricing .header {
    min-height: 112px;
  }
}

/* Archive introduction emitted at the start of Hello Elementor's main loop. */
body:is(.category,.tag) #content .eva-archive-intro {
  grid-column: 1 / -1;
  padding: 32px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: #f1eee4;
  color: #294942;
}
body:is(.category,.tag) #content .eva-archive-eyebrow {
  margin: 0 0 12px;
  color: #20564e;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body:is(.category,.tag) #content .eva-archive-intro h1 {
  margin: 0 0 16px;
  color: #173f3b;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
body:is(.category,.tag) #content .eva-archive-description {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.75;
}
body:is(.category,.tag) #content .eva-archive-description p {
  margin: 0 0 16px;
}
body:is(.category,.tag) #content .eva-archive-all {
  display: inline-block;
  color: #20564e;
  font-weight: 600;
  text-underline-offset: 4px;
}
/* Normalize the original EA wrapper spacing and price-row heights. */
body.page-id-82 .eael-pricing {
  padding: 0 !important;
}
body.page-id-82 .eael-pricing .header {
  height: 132px;
}
body.page-id-82 .eael-pricing .eael-pricing-tag {
  height: 128px;
  flex-shrink: 0;
}
