/* ==========================================================================
   EcomHolistic Blog Stylesheet
   Styles for blog archive, single posts, search results, 404, and generic
   pages. Loaded conditionally on blog-related templates.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Blog Archive
   -------------------------------------------------------------------------- */
.eh-blog-archive,
.eh-search {
  padding: 120px 24px 80px;
}

.eh-blog-archive-inner,
.eh-search-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
}

.eh-blog-archive-header {
  text-align: center;
  margin-bottom: 56px;
}

.eh-blog-archive-title {
  font-family: var(--eh-font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--eh-folk-dark);
  margin-bottom: 12px;
}

.eh-blog-archive-desc {
  font-family: var(--eh-font-body);
  font-size: 17px;
  color: var(--eh-folk-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Blog Grid — 3-column responsive
   -------------------------------------------------------------------------- */
.eh-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --------------------------------------------------------------------------
   Blog Card
   -------------------------------------------------------------------------- */
.eh-blog-card {
  background-color: var(--eh-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(87, 83, 78, 0.06),
    0 4px 12px rgba(87, 83, 78, 0.04),
    0 8px 24px rgba(87, 83, 78, 0.03);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.eh-blog-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 6px rgba(87, 83, 78, 0.08),
    0 8px 24px rgba(87, 83, 78, 0.07),
    0 16px 40px rgba(87, 83, 78, 0.05);
}

/* Card image */
.eh-blog-card-image-link {
  display: block;
  text-decoration: none;
}
.eh-blog-card-image-link:hover {
  text-decoration: none;
}

.eh-blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.eh-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.eh-blog-card:hover .eh-blog-card-image img {
  transform: scale(1.04);
}

/* Card body */
.eh-blog-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Category badge */
.eh-blog-card-category {
  display: inline-block;
  font-family: var(--eh-font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--eh-sage);
  background-color: rgba(5, 0, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.eh-blog-card-category:hover {
  background-color: rgba(5, 0, 255, 0.14);
  color: var(--eh-sage-hover);
  text-decoration: none;
}

.eh-blog-card-category-type {
  color: var(--eh-folk-mid);
  background-color: rgba(168, 162, 158, 0.1);
}

/* Card title */
.eh-blog-card-title {
  font-family: var(--eh-font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--eh-folk-dark);
  margin-bottom: 10px;
}

.eh-blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.eh-blog-card-title a:hover {
  color: var(--eh-sage);
  text-decoration: none;
}

/* Card excerpt */
.eh-blog-card-excerpt {
  font-family: var(--eh-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--eh-folk-mid);
  margin-bottom: 16px;
  flex: 1;
}

/* Card footer */
.eh-blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(168, 162, 158, 0.12);
}

/* Card meta (date) */
.eh-blog-card-meta {
  font-family: var(--eh-font-body);
  font-size: 13px;
  color: var(--eh-folk-mid);
}

/* Read more link */
.eh-blog-card-readmore {
  font-family: var(--eh-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--eh-sage);
  text-decoration: none;
  transition: color 0.2s ease;
}

.eh-blog-card-readmore:hover {
  color: var(--eh-sage-hover);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.eh-blog-pagination {
  margin-top: 56px;
  text-align: center;
}

.eh-blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.eh-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-family: var(--eh-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--eh-folk-mid);
  background-color: var(--eh-white);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 1px 3px rgba(87, 83, 78, 0.06);
}

.eh-blog-pagination .page-numbers:hover {
  color: var(--eh-sage);
  background-color: rgba(5, 0, 255, 0.06);
  text-decoration: none;
}

.eh-blog-pagination .page-numbers.current {
  background-color: var(--eh-sage);
  color: var(--eh-white);
}

.eh-blog-pagination .page-numbers.dots {
  background: none;
  box-shadow: none;
  color: var(--eh-folk-mid);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Empty / No Results
   -------------------------------------------------------------------------- */
.eh-blog-empty {
  text-align: center;
  padding: 64px 24px;
  max-width: 540px;
  margin: 0 auto;
}

.eh-blog-empty h2 {
  font-family: var(--eh-font-heading);
  font-size: 28px;
  color: var(--eh-folk-dark);
  margin-bottom: 12px;
}

.eh-blog-empty p {
  font-family: var(--eh-font-body);
  font-size: 17px;
  color: var(--eh-folk-mid);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.eh-breadcrumbs {
  font-family: var(--eh-font-body);
  font-size: 13px;
  color: var(--eh-folk-mid);
  margin-bottom: 32px;
  text-align: center;
}

.eh-breadcrumbs a {
  color: var(--eh-folk-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.eh-breadcrumbs a:hover {
  color: var(--eh-sage);
  text-decoration: none;
}

.eh-breadcrumbs-sep {
  margin: 0 8px;
  opacity: 0.5;
}

.eh-breadcrumbs-current {
  color: var(--eh-folk-dark);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Single Blog Post
   -------------------------------------------------------------------------- */
.eh-blog-single {
  padding: 120px 24px 80px;
}

.eh-blog-single-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
}

/* Article — narrower max-width for reading comfort */
.eh-blog-article {
  max-width: 780px;
  margin: 0 auto 48px;
}

/* Article header */
.eh-blog-article-header {
  margin-bottom: 36px;
}

.eh-blog-article-title {
  font-family: var(--eh-font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--eh-folk-dark);
  margin-bottom: 20px;
}

.eh-blog-article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.eh-blog-article-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--eh-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--eh-folk-dark);
}

.eh-blog-article-avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.eh-blog-article-date {
  font-family: var(--eh-font-body);
  font-size: 14px;
  color: var(--eh-folk-mid);
}

/* Featured image */
.eh-blog-article-hero {
  margin: 0 0 40px;
  border-radius: 16px;
  overflow: hidden;
}

.eh-blog-article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Single Blog Post — Entry Content (Prose Typography)
   -------------------------------------------------------------------------- */
.eh-blog-article .entry-content,
.eh-page-article .entry-content {
  font-family: var(--eh-font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--eh-folk-dark);
}

.eh-blog-article .entry-content p,
.eh-page-article .entry-content p {
  margin-bottom: 1.1em;
}

.eh-blog-article .entry-content h2,
.eh-page-article .entry-content h2 {
  font-family: var(--eh-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--eh-folk-dark);
  margin-top: 1.4em;
  margin-bottom: 0.6em;
  line-height: 1.3;
}

.eh-blog-article .entry-content h3,
.eh-page-article .entry-content h3 {
  font-family: var(--eh-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-top: 1.3em;
  margin-bottom: 0.5em;
  line-height: 1.35;
}

.eh-blog-article .entry-content h4,
.eh-page-article .entry-content h4 {
  font-family: var(--eh-font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  line-height: 1.4;
}

.eh-blog-article .entry-content a,
.eh-page-article .entry-content a {
  color: var(--eh-sage);
  text-decoration: underline;
  text-decoration-color: rgba(5, 0, 255, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.eh-blog-article .entry-content a:hover,
.eh-page-article .entry-content a:hover {
  text-decoration-color: var(--eh-sage);
}

/* Blockquote */
.eh-blog-article .entry-content blockquote,
.eh-page-article .entry-content blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 4px solid var(--eh-sage);
  background-color: rgba(5, 0, 255, 0.04);
  border-radius: 0 12px 12px 0;
  font-family: var(--eh-font-editorial);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--eh-folk-dark);
}

.eh-blog-article .entry-content blockquote p:last-child,
.eh-page-article .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Lists */
.eh-blog-article .entry-content ul,
.eh-blog-article .entry-content ol,
.eh-page-article .entry-content ul,
.eh-page-article .entry-content ol {
  margin: 1.2em 0;
  padding-left: 1.5em;
}

.eh-blog-article .entry-content li,
.eh-page-article .entry-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.eh-blog-article .entry-content ul li,
.eh-page-article .entry-content ul li {
  list-style-type: disc;
}

.eh-blog-article .entry-content ol li,
.eh-page-article .entry-content ol li {
  list-style-type: decimal;
}

/* Code */
.eh-blog-article .entry-content code,
.eh-page-article .entry-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
  background-color: rgba(87, 83, 78, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--eh-folk-dark);
}

.eh-blog-article .entry-content pre,
.eh-page-article .entry-content pre {
  margin: 2em 0;
  padding: 24px;
  background-color: var(--eh-dark-bg);
  color: var(--eh-text-on-dark);
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}

.eh-blog-article .entry-content pre code,
.eh-page-article .entry-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

/* Images inside content */
.eh-blog-article .entry-content img,
.eh-page-article .entry-content img {
  border-radius: 12px;
  margin: 1.5em 0;
}

.eh-blog-article .entry-content figure,
.eh-page-article .entry-content figure {
  margin: 2em 0;
}

.eh-blog-article .entry-content figcaption,
.eh-page-article .entry-content figcaption {
  font-size: 14px;
  color: var(--eh-folk-mid);
  text-align: center;
  margin-top: 8px;
}

/* Horizontal rule */
.eh-blog-article .entry-content hr,
.eh-page-article .entry-content hr {
  border: none;
  height: 1px;
  background-color: var(--eh-border-light);
  margin: 3em 0;
}

/* Tables */
.eh-blog-article .entry-content table,
.eh-page-article .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 15px;
}

.eh-blog-article .entry-content th,
.eh-page-article .entry-content th {
  background-color: rgba(5, 0, 255, 0.06);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--eh-border-light);
}

.eh-blog-article .entry-content td,
.eh-page-article .entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(168, 162, 158, 0.15);
}

/* --------------------------------------------------------------------------
   Tags
   -------------------------------------------------------------------------- */
.eh-blog-article-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--eh-border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eh-blog-tag {
  display: inline-block;
  font-family: var(--eh-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--eh-folk-mid);
  background-color: rgba(168, 162, 158, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.eh-blog-tag:hover {
  background-color: rgba(5, 0, 255, 0.1);
  color: var(--eh-sage);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Author Bio
   -------------------------------------------------------------------------- */
.eh-author-bio {
  max-width: 780px;
  margin: 0 auto 56px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background-color: var(--eh-white);
  padding: 32px;
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(87, 83, 78, 0.06),
    0 4px 12px rgba(87, 83, 78, 0.04);
}

.eh-author-bio-avatar {
  flex-shrink: 0;
}

.eh-author-bio-img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.eh-author-bio-name {
  font-family: var(--eh-font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-bottom: 8px;
}

.eh-author-bio-desc {
  font-family: var(--eh-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--eh-folk-mid);
}

/* --------------------------------------------------------------------------
   Related Posts
   -------------------------------------------------------------------------- */
.eh-related-posts {
  max-width: var(--eh-content-max);
  margin: 0 auto 56px;
  padding-top: 56px;
  border-top: 1px solid var(--eh-border-light);
}

.eh-related-posts-title {
  font-family: var(--eh-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--eh-folk-dark);
  margin-bottom: 32px;
  text-align: center;
}

.eh-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Small variant for related cards */
.eh-blog-card-sm .eh-blog-card-body {
  padding: 20px 20px 24px;
}

.eh-blog-card-sm .eh-blog-card-title {
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Newsletter CTA (on single post)
   -------------------------------------------------------------------------- */
.eh-blog-newsletter-cta {
  max-width: 780px;
  margin: 0 auto 40px;
  background-color: var(--eh-dark-bg);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.eh-blog-newsletter-cta-inner {}

.eh-blog-newsletter-cta h2 {
  font-family: var(--eh-font-heading);
  font-size: 28px;
  color: var(--eh-white);
  margin-bottom: 12px;
}

.eh-blog-newsletter-cta p {
  font-family: var(--eh-font-body);
  font-size: 16px;
  color: var(--eh-text-on-dark);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.eh-blog-newsletter-cta .eh-newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.eh-blog-newsletter-cta .eh-newsletter-form input {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  font-family: var(--eh-font-body);
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--eh-white);
  outline: none;
  transition: border-color 0.2s ease;
}

.eh-blog-newsletter-cta .eh-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.eh-blog-newsletter-cta .eh-newsletter-form input:focus {
  border-color: var(--eh-sage);
}

.eh-blog-newsletter-cta .eh-newsletter-form button {
  padding: 12px 28px;
  font-family: var(--eh-font-body);
  font-size: 15px;
  font-weight: 600;
  background-color: var(--eh-sage);
  color: var(--eh-white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.eh-blog-newsletter-cta .eh-newsletter-form button:hover {
  background-color: var(--eh-sage-hover);
}

/* --------------------------------------------------------------------------
   Search Page — Query highlight
   -------------------------------------------------------------------------- */
.eh-search-query {
  color: var(--eh-sage);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   404 Page
   -------------------------------------------------------------------------- */
.eh-404 {
  padding: 120px 24px 80px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-404-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
  width: 100%;
}

.eh-404-content {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.eh-404-illustration {
  max-width: 160px;
  margin: 0 auto 32px;
}

.eh-404-heading {
  font-family: var(--eh-font-heading);
  font-size: 96px;
  font-weight: 700;
  color: var(--eh-sage);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.7;
}

.eh-404-message {
  font-family: var(--eh-font-body);
  font-size: 19px;
  color: var(--eh-folk-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.eh-404-search {
  margin-top: 40px;
}

.eh-404-search-label {
  font-family: var(--eh-font-body);
  font-size: 15px;
  color: var(--eh-folk-mid);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Generic Page Template
   -------------------------------------------------------------------------- */
.eh-page {
  padding: 120px 24px 80px;
}

.eh-page-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
}

.eh-page-article {
  max-width: 780px;
  margin: 0 auto;
}

.eh-page-header {
  margin-bottom: 40px;
}

.eh-page-title {
  font-family: var(--eh-font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--eh-folk-dark);
}

/* --------------------------------------------------------------------------
   Search Form (WordPress default override)
   -------------------------------------------------------------------------- */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}

.search-form .search-field {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--eh-font-body);
  font-size: 15px;
  border: 1px solid var(--eh-border-light);
  border-radius: 8px;
  background-color: var(--eh-white);
  color: var(--eh-folk-dark);
  outline: none;
  transition: border-color 0.2s ease;
}

.search-form .search-field:focus {
  border-color: var(--eh-sage);
}

.search-form .search-submit {
  padding: 12px 24px;
  font-family: var(--eh-font-body);
  font-size: 15px;
  font-weight: 600;
  background-color: var(--eh-sage);
  color: var(--eh-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-form .search-submit:hover {
  background-color: var(--eh-sage-hover);
}

/* ==========================================================================
   Responsive: Tablet (768-1199px)
   ========================================================================== */
@media (max-width: 1199px) {
  .eh-blog-archive,
  .eh-search,
  .eh-blog-single,
  .eh-page {
    padding-top: 100px;
  }

  .eh-blog-archive-title {
    font-size: 36px;
  }

  .eh-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .eh-related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .eh-blog-article-title {
    font-size: 36px;
  }

  .eh-page-title {
    font-size: 36px;
  }

  .eh-404-heading {
    font-size: 80px;
  }
}

/* ==========================================================================
   Responsive: Mobile (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .eh-blog-archive,
  .eh-search,
  .eh-blog-single,
  .eh-page {
    padding: 88px 16px 56px;
  }

  .eh-blog-archive-header {
    margin-bottom: 36px;
  }

  .eh-blog-archive-title {
    font-size: 28px;
  }

  .eh-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .eh-blog-card-body {
    padding: 20px 20px 24px;
  }

  .eh-blog-article-title {
    font-size: 28px;
  }

  .eh-blog-article-meta {
    gap: 12px;
  }

  .eh-blog-article-hero {
    margin: 0 -16px 32px;
    border-radius: 0;
  }

  .eh-blog-article .entry-content,
  .eh-page-article .entry-content {
    font-size: 16px;
  }

  .eh-blog-article .entry-content h2,
  .eh-page-article .entry-content h2 {
    font-size: 24px;
  }

  .eh-blog-article .entry-content h3,
  .eh-page-article .entry-content h3 {
    font-size: 20px;
  }

  .eh-blog-article .entry-content blockquote,
  .eh-page-article .entry-content blockquote {
    padding: 20px 20px;
    font-size: 16px;
  }

  .eh-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
  }

  .eh-related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .eh-related-posts-title {
    font-size: 24px;
  }

  .eh-blog-newsletter-cta {
    padding: 40px 24px;
    margin: 0 -16px 40px;
    border-radius: 0;
  }

  .eh-blog-newsletter-cta h2 {
    font-size: 24px;
  }

  .eh-blog-newsletter-cta .eh-newsletter-form {
    flex-direction: column;
  }

  .eh-blog-newsletter-cta .eh-newsletter-form input {
    min-width: 0;
  }

  .eh-page-title {
    font-size: 28px;
  }

  .eh-404-heading {
    font-size: 64px;
  }

  .eh-404-message {
    font-size: 17px;
  }

  .eh-blog-pagination {
    margin-top: 40px;
  }

  .search-form {
    flex-direction: column;
  }
}

/* ==========================================================================
   Responsive: Small Mobile (< 480px)
   ========================================================================== */
@media (max-width: 479px) {
  .eh-blog-archive-title {
    font-size: 24px;
  }

  .eh-blog-article-title {
    font-size: 24px;
  }

  .eh-page-title {
    font-size: 24px;
  }

  .eh-404-heading {
    font-size: 56px;
  }

  .eh-blog-card-title {
    font-size: 17px;
  }
}
