/*
|--------------------------------------------------------------------------
| AGR BLOG — listing (blog.php) + single post (blog_detail.php)
|--------------------------------------------------------------------------
|
| Source of truth: Figma "ARR-CRR"
|   - Blog lIsting (Arizona gold resort Font)   node 1:2
|   - Inner Blog  (Arizona gold resort Font)    node 10:785
|
| Every selector is namespaced (.blog-*) and scoped under .blog-page or
| .blog-hero, so nothing here leaks into the rest of the site.
|
| Fonts: the site's existing Cormorant / Philosopher / Poppins — no extra
| font files are loaded for the blog.
|
*/

.blog-page,
.blog-hero {
  --blog-accent: #bc7928;
  --blog-accent-dark: #9f6420;
  --blog-ink: #010101;
  --blog-heading: #141414;
  --blog-text: #2c2c2c;
  --blog-line: rgba(0, 0, 0, 0.2);
  /* Existing site fonts (already loaded on every page) */
  --blog-display: "Cormorant", Georgia, serif; /* page banner titles */
  --blog-heading-font: "Philosopher", sans-serif; /* headings, card titles */
  --blog-ui: "Philosopher", sans-serif; /* buttons, labels, meta */
  --blog-body: "Poppins", sans-serif; /* paragraph text */
  --blog-gutter: 60px;
}

/*
|--------------------------------------------------------------------------
| PAGE SHELL
|--------------------------------------------------------------------------
*/

#main.blog-page {
  clear: both;
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: var(--blog-body);
  color: var(--blog-text);
}

.blog-page .blog-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--blog-gutter);
  padding-right: var(--blog-gutter);
}

.blog-page *,
.blog-page *::before,
.blog-page *::after {
  box-sizing: border-box;
}

.blog-page a {
  text-decoration: none;
}

/* The theme sets fonts on bare inline tags (e.g. strong -> Philosopher) */
.blog-page span,
.blog-page time,
.blog-page strong,
.blog-page b,
.blog-page em,
.blog-page i,
.blog-page u,
.blog-page small,
.blog-page label,
.blog-page a {
  font-family: inherit;
}

.blog-page img {
  max-width: 100%;
}

/*
|--------------------------------------------------------------------------
| HERO (extends the theme's .main-title-section-wrapper so the image keeps
| running behind the transparent desktop header)
|--------------------------------------------------------------------------
*/

#header-wrapper .main-title-section-wrapper.blog-hero {
  float: left;
  clear: both;
  width: 100%;
  margin: 0;
  padding: 0;
}

#header-wrapper
  #header.header-top-absolute
  ~ .blog-hero
  > .main-title-section-bg {
  top: auto;
  bottom: 0;
  height: calc(
    100% + 200px
  ); /* reaches up behind the desktop header (its height scales with the viewport) */
  background-color: #5a6383;
  background-position: center center;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.blog-hero > .main-title-section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Listing: 400px tall including the ~145px header at 1440, title top at 182px */
.blog-hero--listing .blog-hero__inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 255px;
  padding: 37px 16px 0;
}

.blog-hero .blog-hero__title {
  margin: 0;
  padding: 0;
  max-width: 705px;
  font-family: var(--blog-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  color: #fff;
}

/* Single post: an image band that only sits behind the header */
.blog-hero--band {
  height: 0;
}

.blog-hero--band > .main-title-section-bg::after {
  display: none;
}

#header-wrapper
  #header.header-top-absolute
  ~ .blog-hero--band
  > .main-title-section-bg {
  background-position: center 30%;
}

/*
|--------------------------------------------------------------------------
| SHARED BITS
|--------------------------------------------------------------------------
*/

.blog-page .blog-kicker {
  display: block;
  margin: 0;
  font-family: var(--blog-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blog-text);
}

.blog-page .blog-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-family: var(--blog-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  white-space: nowrap;
  color: var(--blog-text);
}

.blog-page .blog-meta__dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #000;
}

/* Buttons — 14px caps, 16/20 padding (122x42 solid, 124x44 outline) */
.blog-page .blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 0;
  background: var(--blog-accent);
  font-family: var(--blog-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.blog-page .blog-btn:hover,
.blog-page .blog-btn:focus-visible {
  background: var(--blog-accent-dark);
  color: #fff;
}

.blog-page .blog-btn--outline {
  border: 1px solid var(--blog-line);
  background: transparent;
  color: #000;
}

.blog-page .blog-btn--outline:hover,
.blog-page .blog-btn--outline:focus-visible {
  border-color: var(--blog-accent);
  background: var(--blog-accent);
  color: #fff;
}

.blog-page .blog-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.blog-page .blog-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.blog-page a:focus-visible,
.blog-page button:focus-visible,
.blog-page input:focus-visible {
  outline: 2px solid var(--blog-accent);
  outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| LISTING
|--------------------------------------------------------------------------
*/

.blog-listing {
  padding-top: 30px;
  padding-bottom: 120px;
}

.blog-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 50px;
  margin: 0;
  padding: 0;
}

.blog-listing__more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.blog-listing__empty {
  margin: 0;
  padding: 80px 0;
  font-family: var(--blog-body);
  font-size: 16px;
  text-align: center;
  color: var(--blog-text);
}

/* Card — 420 x 570 at 1440 */
.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.blog-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 420 / 404;
  background: #f2f0ec;
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.blog-card__media:hover .blog-card__image,
.blog-card__media:focus-visible .blog-card__image {
  transform: scale(1.04);
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.blog-page .blog-card__title {
  margin: 10px 0 0;
  padding: 0;
  font-family: var(--blog-heading-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blog-ink);
  overflow-wrap: break-word;
}

.blog-page .blog-card__title a {
  color: inherit;
  transition: color 0.25s ease;
}

.blog-page .blog-card__title a:hover,
.blog-page .blog-card__title a:focus-visible {
  color: var(--blog-accent);
}

.blog-card__action {
  margin-top: auto;
  padding-top: 20px;
}

/*
|--------------------------------------------------------------------------
| SINGLE POST
|--------------------------------------------------------------------------
*/

/* Header sits above the row so the sidebar lines up with the featured image */
.blog-details {
  display: grid;
  grid-template-columns: minmax(0, 870fr) minmax(0, 420fr);
  grid-template-areas:
    "header ."
    "main   sidebar";
  column-gap: 30px;
  row-gap: 30px;
  align-items: start;
  padding-top: 100px;
  padding-bottom: 98px;
}

.blog-details__header {
  grid-area: header;
  min-width: 0;
}

.blog-details__main {
  grid-area: main;
  min-width: 0;
}

.blog-details__main > :first-child {
  margin-top: 0;
}

.blog-page .blog-details__title {
  margin: 10px 0 0;
  padding: 0;
  font-family: var(--blog-heading-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blog-heading);
  overflow-wrap: break-word;
}

.blog-details__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 20px;
}

.blog-page .blog-details__date {
  font-family: var(--blog-ui);
  font-size: 14px;
  line-height: 17px;
  color: var(--blog-text);
}

/* Share */
.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-page .blog-share__label {
  margin-right: -4px; /* 6px between "Share" and the first icon */
  font-family: var(--blog-heading-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: var(--blog-heading);
}

.blog-page .blog-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.blog-page .blog-icon-link::before {
  /* 44px touch target, no layout cost */
  content: "";
  position: absolute;
  inset: -10px -5px;
}

.blog-page .blog-icon-link:hover {
  opacity: 0.6;
}

.blog-page .blog-icon-link img {
  display: block;
}

.blog-share__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.blog-share__status.is-visible {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  font-family: var(--blog-ui);
  font-size: 12px;
  color: var(--blog-accent);
}

/* Featured image — 870 x 608 */
.blog-details__figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 870 / 608;
  background: #f2f0ec;
}

.blog-details__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rich text coming from the admin editor */
.blog-details__content {
  margin-top: 30px;
  font-family: var(--blog-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--blog-text);
  overflow-wrap: break-word;
}

.blog-page .blog-details__content > * {
  margin-top: 0;
  margin-bottom: 20px;
}

.blog-page .blog-details__content > :last-child {
  margin-bottom: 0;
}

.blog-page .blog-details__content p {
  padding: 0;
  font-family: var(--blog-body);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  color: var(--blog-text);
}

.blog-page .blog-details__content > p:first-child {
  font-size: 18px;
  font-weight: 700;
}

.blog-page .blog-details__content h2,
.blog-page .blog-details__content h3,
.blog-page .blog-details__content h4,
.blog-page .blog-details__content h5,
.blog-page .blog-details__content h6 {
  margin-top: 30px;
  padding: 0;
  font-family: var(--blog-heading-font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blog-heading);
}

.blog-page .blog-details__content h2 {
  font-size: 34px;
  max-width: 731px;
}
.blog-page .blog-details__content h3 {
  font-size: 24px;
}
.blog-page .blog-details__content h4 {
  font-size: 22px;
}
.blog-page .blog-details__content h5,
.blog-page .blog-details__content h6 {
  font-size: 20px;
}

.blog-page .blog-details__content > h2:first-child,
.blog-page .blog-details__content > h3:first-child,
.blog-page .blog-details__content > h4:first-child {
  margin-top: 0;
}

.blog-page .blog-details__content strong,
.blog-page .blog-details__content b {
  font-weight: 700;
}

.blog-page .blog-details__content a {
  color: var(--blog-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-page .blog-details__content a:hover {
  color: var(--blog-accent-dark);
}

.blog-page .blog-details__content ul,
.blog-page .blog-details__content ol {
  margin-top: 30px;
  padding: 0 0 0 24px;
  list-style-position: outside;
}

.blog-page .blog-details__content ul {
  list-style-type: disc;
}
.blog-page .blog-details__content ol {
  list-style-type: decimal;
}

.blog-page .blog-details__content li {
  display: list-item;
  margin: 0 0 16px;
  padding: 0;
  font-family: var(--blog-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--blog-text);
}

.blog-page .blog-details__content li:last-child {
  margin-bottom: 0;
}

.blog-page .blog-details__content li > strong:first-child,
.blog-page .blog-details__content li > b:first-child {
  font-size: 18px;
}

.blog-page .blog-details__content figure,
.blog-page .blog-details__content > img,
.blog-page .blog-details__content p > img:only-child {
  display: block;
  margin: 40px 0 20px;
  padding: 0;
}

.blog-page .blog-details__content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.blog-page .blog-details__content figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #6b6b6b;
}

.blog-page .blog-details__content blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--blog-accent);
  font-family: var(--blog-heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--blog-heading);
}

.blog-page .blog-details__content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.blog-page .blog-details__content th,
.blog-page .blog-details__content td {
  padding: 10px 12px;
  border: 1px solid var(--blog-line);
  text-align: left;
}

.blog-page .blog-details__content iframe,
.blog-page .blog-details__content video {
  max-width: 100%;
}

/* Footer row: divider, back button, prev/next */
.blog-details__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding-top: 55px;
  border-top: 1px solid var(--blog-line);
}

.blog-postnav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-page .blog-postnav__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-family: var(--blog-ui);
  font-size: 16px;
  line-height: 19px;
  color: var(--blog-text);
  transition: color 0.2s ease;
}

.blog-page .blog-postnav__link--next {
  gap: 10px;
}

.blog-page a.blog-postnav__link:hover,
.blog-page a.blog-postnav__link:focus-visible {
  color: var(--blog-accent);
}

.blog-page .blog-postnav__link.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.blog-postnav__chevron {
  display: block;
  flex: 0 0 auto;
}

.blog-postnav__link--prev .blog-postnav__chevron {
  transform: rotate(90deg);
}
.blog-postnav__link--next .blog-postnav__chevron {
  transform: rotate(-90deg);
}

/*
|--------------------------------------------------------------------------
| SIDEBAR
|--------------------------------------------------------------------------
*/

.blog-sidebar {
  grid-area: sidebar;
  min-width: 0;
}

/* Newsletter card — 420 x 436 */
.blog-newsletter {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 436px;
  padding: 30px;
  overflow: hidden;
  background-color: #3a3a3a;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.blog-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.blog-newsletter > * {
  position: relative;
}

.blog-page .blog-newsletter__title {
  margin: 0;
  padding: 0;
  font-family: var(--blog-heading-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  color: #fff;
}

.blog-page .blog-newsletter__text {
  margin: 10px 0 0;
  padding: 0;
  font-family: var(--blog-body);
  font-size: 14px;
  line-height: 17px;
  text-align: left;
  color: #fff;
}

.blog-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.blog-page .blog-newsletter__input {
  flex: 1 1 200px; /* wraps the button below once the card gets narrow */
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #fff !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--blog-ui);
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: #fff;
}

.blog-page .blog-newsletter__input::placeholder {
  color: #fff;
  opacity: 1;
}

.blog-newsletter__form .blog-btn {
  flex: 0 0 auto;
  height: 42px;
  margin-top: 1px;
}

/* Sidebar blocks */
.blog-sidebar__section {
  margin-top: 50px;
}

.blog-sidebar__section + .blog-sidebar__section {
  margin-top: 35px;
}

.blog-page .blog-sidebar__heading {
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--blog-heading-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  color: var(--blog-ink);
}

.blog-page .blog-latest {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-page .blog-latest__item {
  display: block;
  margin: 0 0 20px;
  padding: 0;
}

.blog-page .blog-latest__item:last-child {
  margin-bottom: 0;
}

.blog-latest__link {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-latest__thumb {
  flex: 0 0 130px;
  width: 130px;
  height: 109px;
  overflow: hidden;
  background: #f2f0ec;
}

.blog-latest__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-latest__body {
  display: flex;
  flex-direction: column;
  gap: 21px;
  min-width: 0;
  max-width: 235px;
}

.blog-page .blog-latest__title {
  margin: 0;
  padding: 0;
  font-family: var(--blog-heading-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  color: var(--blog-ink);
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-latest__link:hover .blog-latest__title,
.blog-latest__link:focus-visible .blog-latest__title {
  color: var(--blog-accent);
}

.blog-follow {
  display: flex;
  align-items: center;
  gap: 8px;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

/* Small laptop */
@media only screen and (max-width: 1399px) {
  .blog-page,
  .blog-hero {
    --blog-gutter: 40px;
  }
}

/* ≤1200: the theme swaps to its mobile header (.m-header, 88px) */
@media only screen and (max-width: 1200px) {
  #header-wrapper
    #header.header-top-absolute
    ~ .blog-hero
    > .main-title-section-bg {
    height: 100%;
  }

  .blog-hero--listing .blog-hero__inner {
    align-items: center;
    height: 240px;
    padding: 0 16px;
  }

  .blog-hero--band {
    display: none;
  }

  .blog-listing__grid {
    column-gap: 24px;
    row-gap: 44px;
  }

  .blog-page .blog-card__title {
    font-size: 22px;
  }

  .blog-details {
    column-gap: 30px;
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .blog-page .blog-details__title {
    font-size: 36px;
  }
}

/* Tablet */
@media only screen and (max-width: 991px) {
  .blog-listing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .blog-listing {
    padding-bottom: 90px;
  }

  .blog-details {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "header"
      "main"
      "sidebar";
  }

  .blog-sidebar {
    margin-top: 30px;
  }

  .blog-page .blog-details__title {
    font-size: 34px;
  }

  .blog-page .blog-details__content h2 {
    font-size: 30px;
  }

  .blog-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    align-items: start;
    padding-top: 50px;
    border-top: 1px solid var(--blog-line);
  }

  .blog-newsletter {
    min-height: 360px;
  }

  .blog-sidebar__section {
    margin-top: 0;
  }

  .blog-sidebar__section + .blog-sidebar__section {
    grid-column: 1 / -1;
    margin-top: 40px;
  }
}

/* Large phone */
@media only screen and (max-width: 767px) {
  .blog-page,
  .blog-hero {
    --blog-gutter: 24px;
  }

  .blog-hero--listing .blog-hero__inner {
    height: 200px;
  }

  .blog-hero .blog-hero__title {
    font-size: 34px;
  }

  .blog-listing__grid {
    column-gap: 20px;
    row-gap: 36px;
  }

  .blog-page .blog-card__title {
    font-size: 20px;
  }

  .blog-card__meta {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .blog-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-sidebar__section {
    margin-top: 50px;
  }

  .blog-sidebar__section + .blog-sidebar__section {
    margin-top: 35px;
  }

  .blog-page .blog-sidebar__heading {
    font-size: 26px;
  }
}

/* Mobile */
@media only screen and (max-width: 575px) {
  .blog-page,
  .blog-hero {
    --blog-gutter: 16px;
  }

  .blog-hero--listing .blog-hero__inner {
    height: 180px;
  }

  .blog-hero .blog-hero__title {
    font-size: 32px;
  }

  .blog-listing {
    padding-top: 24px;
    padding-bottom: 70px;
  }

  .blog-listing__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .blog-listing__more {
    margin-top: 40px;
  }

  .blog-page .blog-card__title {
    font-size: 22px;
  }

  .blog-card__meta {
    flex-wrap: nowrap;
  }

  .blog-details {
    row-gap: 24px;
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .blog-sidebar {
    margin-top: 26px;
  }

  .blog-page .blog-details__title {
    font-size: 28px;
  }

  .blog-details__meta {
    margin-top: 16px;
  }

  .blog-details__figure {
    aspect-ratio: 4 / 3;
  }

  .blog-details__content {
    margin-top: 24px;
  }

  .blog-page .blog-details__content > p:first-child,
  .blog-page .blog-details__content li > strong:first-child,
  .blog-page .blog-details__content li > b:first-child {
    font-size: 17px;
  }

  .blog-page .blog-details__content h2 {
    font-size: 26px;
  }
  .blog-page .blog-details__content h3 {
    font-size: 22px;
  }
  .blog-page .blog-details__content h4 {
    font-size: 20px;
  }

  .blog-page .blog-details__content figure,
  .blog-page .blog-details__content > img,
  .blog-page .blog-details__content p > img:only-child {
    margin-top: 30px;
  }

  .blog-details__footer {
    margin-top: 40px;
    padding-top: 32px;
  }

  .blog-sidebar {
    padding-top: 40px;
  }

  .blog-newsletter {
    min-height: 320px;
    padding: 24px;
  }

  .blog-latest__thumb {
    flex-basis: 110px;
    width: 110px;
    height: 92px;
  }

  .blog-latest__body {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page *,
  .blog-page *::before,
  .blog-page *::after {
    transition: none !important;
  }
}
