/* Cumbres Camper blog redesign
   Loaded after WordPress, Astra, Elementor and the shared redesign styles. */

body.cc-blog {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--font-sans);
}

.cc-blog .site-header,
.cc-blog .site-footer,
.cc-blog main {
  font-family: var(--font-sans);
}

.cc-blog .site-header {
  background: rgb(247 243 234 / 94%);
}

.cc-blog .brand img {
  width: auto;
  max-width: 220px;
  height: 49px;
  object-fit: contain;
}

.cc-blog a {
  color: inherit;
}

.cc-blog h1,
.cc-blog h2,
.cc-blog h3,
.cc-blog h4 {
  color: var(--ink);
  font-family: var(--font-display);
}

.cc-blog-hero {
  position: relative;
  padding-block: clamp(5.5rem, 10vw, 9rem);
  overflow: hidden;
  background: var(--paper);
}

.cc-blog-hero::after {
  position: absolute;
  top: 18%;
  right: -8vw;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgb(22 37 38 / 9%);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgb(22 37 38 / 2.8%), 0 0 0 14vw rgb(22 37 38 / 2%);
  content: "";
}

.cc-blog-hero__copy {
  position: relative;
  z-index: 1;
  grid-column: 1 / 9;
}

.cc-blog-hero h1 {
  max-width: 10.5ch;
  margin-bottom: 30px;
  font-size: clamp(3.4rem, 6.9vw, 6.8rem);
  letter-spacing: -.055em;
  line-height: .94;
}

.cc-blog-hero__copy > p:last-child {
  max-width: 55ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.cc-blog-hero__note {
  position: relative;
  z-index: 1;
  grid-column: 10 / -1;
  align-self: end;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px 24px 62px 24px;
  background: rgb(255 253 248 / 74%);
  box-shadow: var(--shadow-sm);
}

.cc-blog-hero__note > span {
  display: block;
  margin-bottom: 19px;
  color: var(--red-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cc-blog-hero__note strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 580;
  line-height: 1.08;
}

.cc-blog-hero__note p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.65;
}

.cc-blog-feature {
  padding-top: clamp(4rem, 7vw, 7rem);
  background: var(--white);
}

.cc-blog-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.cc-blog-feature__media {
  position: relative;
  min-height: clamp(430px, 52vw, 670px);
  overflow: hidden;
  border-radius: 28px 28px 96px 28px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.cc-blog-feature__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(22 37 38 / 14%));
  content: "";
}

.cc-blog-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.cc-blog-feature__media:hover img {
  transform: scale(1.025);
}

.cc-blog-feature__copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 4vw, 4.25rem);
  letter-spacing: -.045em;
  line-height: 1;
}

.cc-blog-feature__copy h2 a,
.cc-blog-card h3 a {
  text-decoration: none;
}

.cc-blog-feature__copy > p:not(.cc-post-meta) {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.cc-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cc-post-meta span + span::before {
  margin-right: 17px;
  color: var(--red);
  content: "·";
}

.cc-post-meta span:first-child {
  color: var(--red-dark);
}

.cc-blog-listing {
  padding-top: clamp(5rem, 9vw, 9rem);
}

.cc-blog-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, .55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 82px);
}

.cc-blog-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
}

.cc-blog-section-head > p {
  margin-bottom: 5px;
  color: var(--ink-soft);
}

.cc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
}

.cc-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 44px rgb(22 37 38 / 6%);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.cc-blog-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-sm);
}

.cc-blog-card__image {
  display: block;
  aspect-ratio: 1.37;
  overflow: hidden;
  background: var(--paper-2);
}

.cc-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.cc-blog-card:hover .cc-blog-card__image img {
  transform: scale(1.035);
}

.cc-blog-card__body {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 34px);
}

.cc-blog-card .cc-post-meta {
  margin-bottom: 17px;
  font-size: .62rem;
}

.cc-blog-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.25vw, 2.05rem);
  line-height: 1.08;
}

.cc-blog-card__body > p:not(.cc-post-meta) {
  color: var(--ink-soft);
  font-size: .9rem;
}

.cc-blog-card__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.cc-blog-card__link span {
  color: var(--red);
  transition: transform .2s ease;
}

.cc-blog-card__link:hover span {
  transform: translateX(4px);
}

.cc-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 58px;
}

.cc-blog-pagination .page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.cc-blog-pagination .current,
.cc-blog-pagination a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.cc-blog-empty {
  max-width: 650px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.cc-blog-cta {
  position: relative;
  overflow: hidden;
  background: var(--red-dark);
  color: var(--white);
}

.cc-blog-cta::after {
  position: absolute;
  right: -10%;
  bottom: -190%;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgb(255 253 248 / 18%);
  border-radius: 50%;
  box-shadow: 0 0 0 6vw rgb(255 253 248 / 3%), 0 0 0 12vw rgb(255 253 248 / 2%);
  content: "";
}

.cc-blog-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  padding-block: clamp(76px, 9vw, 120px);
}

.cc-blog-cta h2 {
  max-width: 14ch;
  margin-bottom: 20px;
  color: var(--white);
}

.cc-blog-cta p:not(.eyebrow) {
  max-width: 48ch;
  margin-bottom: 0;
  color: rgb(255 253 248 / 78%);
}

.cc-blog-cta .eyebrow {
  color: var(--sand);
}

.cc-blog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}

/* Single article */
.cc-article-hero {
  padding-block: clamp(4.5rem, 8vw, 8rem) clamp(3.5rem, 6vw, 6rem);
  background: var(--paper);
}

.cc-breadcrumb {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 45px;
  color: var(--ink-soft);
  font-size: .7rem;
  font-weight: 600;
}

.cc-breadcrumb a {
  color: var(--red-dark);
  text-decoration: none;
}

.cc-breadcrumb span[aria-current="page"] {
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-article-hero__copy {
  text-align: center;
}

.cc-article-hero__copy .cc-post-meta {
  justify-content: center;
}

.cc-article-byline {
  margin: -8px 0 28px;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.cc-article-hero h1 {
  max-width: 14ch;
  margin-inline: auto;
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.6vw, 6.5rem);
  letter-spacing: -.055em;
  line-height: .96;
}

.cc-article-standfirst {
  max-width: 64ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.55vw, 1.24rem);
}

.cc-article-hero__media {
  height: clamp(470px, 61vw, 760px);
  margin-top: clamp(48px, 7vw, 84px);
  overflow: hidden;
  border-radius: 30px 30px 112px 30px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.cc-article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-article-layout {
  display: grid;
  grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr) minmax(80px, .2fr);
  gap: clamp(30px, 6vw, 88px);
  padding-block: clamp(5rem, 9vw, 9rem);
}

.cc-article-aside {
  position: sticky;
  top: 128px;
  align-self: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cc-article-aside p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: .84rem;
  line-height: 1.65;
}

.cc-article-content {
  max-width: 740px;
  grid-column: 2;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.22vw, 1.16rem);
  line-height: 1.82;
}

.cc-article-content > p {
  margin-bottom: 1.55em;
}

.cc-article-content > p:first-child::first-letter {
  float: left;
  margin: .12em .12em 0 0;
  color: var(--red-dark);
  font-family: var(--font-display);
  font-size: 4.8em;
  line-height: .72;
}

.cc-article-content h2,
.cc-article-content h3,
.cc-article-content h4 {
  margin-top: 1.8em;
  margin-bottom: .65em;
  color: var(--ink);
}

.cc-article-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
}

.cc-article-content h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.cc-article-content a:not(.btn):not(.text-link) {
  color: var(--red-dark);
  text-decoration-thickness: 1px;
}

.cc-article-content ul,
.cc-article-content ol {
  margin: 0 0 1.7em;
  padding-left: 1.35em;
}

.cc-article-content blockquote {
  margin: 2.5em 0;
  padding: 28px 34px;
  border-left: 4px solid var(--red);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35em;
  line-height: 1.4;
}

.cc-article-share {
  margin-top: clamp(52px, 7vw, 76px);
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 24px 24px 52px 24px;
  background: var(--paper-2);
}

.cc-article-share .eyebrow {
  margin-bottom: 10px;
}

.cc-article-share h2 {
  max-width: 18ch;
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.cc-article-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cc-share-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--red-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--red-dark);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.cc-share-button:hover,
.cc-share-button:focus-visible {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.cc-share-button:focus-visible {
  outline: 3px solid rgb(169 54 45 / 24%);
  outline-offset: 3px;
}

.cc-article-share__status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 600;
}

.cc-article-inline-cta {
  margin-top: clamp(56px, 8vw, 90px);
  padding: clamp(30px, 5vw, 50px);
  border-radius: 24px 24px 64px 24px;
  background: var(--ink);
  color: rgb(255 253 248 / 76%);
}

.cc-article-inline-cta h2 {
  margin-top: 0;
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3rem);
}

.cc-article-inline-cta .eyebrow {
  color: var(--sand);
}

.cc-article-inline-cta .text-link {
  color: var(--white);
}

.cc-related {
  border-top: 1px solid var(--line);
}

.cc-blog-grid--related .cc-blog-card__body {
  min-height: 240px;
}

@media (max-width: 1080px) {
  .cc-blog .desktop-nav,
  .cc-blog .nav-cta {
    display: none;
  }

  .cc-blog .menu-toggle {
    display: grid;
  }

  .cc-blog .mobile-nav {
    position: absolute;
    z-index: 90;
    top: 100%;
    right: 0;
    left: 0;
    padding: 18px 24px 28px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .cc-blog .mobile-nav.open,
  .cc-blog .mobile-nav.is-open {
    display: grid;
  }

  .cc-blog .mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-decoration: none;
  }

  .cc-blog-hero__copy { grid-column: 1 / 8; }
  .cc-blog-hero__note { grid-column: 9 / -1; }
  .cc-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-article-layout { grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr); }
  .cc-article-content { grid-column: 2; }
}

@media (max-width: 820px) {
  .cc-blog-hero__copy,
  .cc-blog-hero__note {
    grid-column: 1 / -1;
  }

  .cc-blog-hero__note {
    max-width: 520px;
    margin-top: 32px;
  }

  .cc-blog-feature__grid,
  .cc-blog-section-head,
  .cc-blog-cta__inner {
    grid-template-columns: 1fr;
  }

  .cc-blog-feature__media {
    min-height: min(80vw, 570px);
  }

  .cc-blog-cta__actions {
    justify-content: flex-start;
  }

  .cc-article-layout {
    grid-template-columns: 1fr;
  }

  .cc-article-aside {
    position: static;
    max-width: 740px;
  }

  .cc-article-content {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  .cc-blog-hero {
    padding-block: 4.5rem 5rem;
  }

  .cc-blog-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .cc-blog-feature {
    padding-block: 76px;
  }

  .cc-blog-feature__media {
    min-height: 108vw;
    border-radius: 22px 22px 68px 22px;
  }

  .cc-blog-grid {
    grid-template-columns: 1fr;
  }

  .cc-blog-card__body {
    min-height: 0;
  }

  .cc-blog-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cc-blog-cta__actions .btn,
  .cc-blog-cta__actions .text-link {
    justify-content: center;
  }

  .cc-article-hero {
    padding-top: 3.5rem;
  }

  .cc-breadcrumb {
    margin-bottom: 32px;
  }

  .cc-article-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.25rem);
  }

  .cc-article-hero__media {
    height: 112vw;
    border-radius: 22px 22px 70px 22px;
  }

  .cc-article-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .cc-article-inline-cta {
    margin-inline: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-blog-feature__media img,
  .cc-blog-card,
  .cc-blog-card__image img {
    transition: none;
  }
}

