/* Blog and Escort Types journey refresh */

.cupid-blog-index__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
  padding: 26px 28px;
  border: 1px solid var(--ce-red, #cf0032);
  border-radius: 11px;
  background: #fff;
}

.cupid-blog-index__intro span,
.cupid-escort-type-membership__heading span {
  display: block;
  margin-bottom: 7px;
  color: var(--ce-red, #cf0032);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.cupid-blog-index__intro h2,
.cupid-escort-type-membership__heading h2,
.cupid-related-types h2,
.cupid-related-articles h2 {
  margin: 0;
  color: #111;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.5px;
  text-transform: none;
}

.cupid-blog-index__intro p {
  margin: 8px 0 0;
  color: #555;
  font-size: 16px;
}

.cupid-blog-card__categories,
.cupid-blog-article__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.cupid-blog-card__categories a,
.cupid-blog-article__categories a {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fbe6eb;
  color: var(--ce-red, #cf0032) !important;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .35px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.cupid-blog-single {
  padding: 42px 0 64px;
}

.cupid-blog-single > .container {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}

.cupid-blog-article {
  overflow: hidden;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.cupid-blog-article__header {
  max-width: 960px;
  margin: 0 auto;
  padding: 46px 38px 30px;
  text-align: center;
}

.cupid-blog-article__categories {
  justify-content: center;
}

.cupid-blog-article__header h1 {
  margin: 13px 0 17px;
  color: #111;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -1.2px;
  text-transform: none;
}

.cupid-blog-article__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #666;
  font-size: 14px;
}

.cupid-blog-article__featured-image {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(320px, 48vw, 560px);
  margin: 0;
  background: #e7e7e7;
}

.cupid-blog-article__featured-backdrop {
  position: absolute;
  z-index: 0;
  inset: -28px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(26px);
  opacity: .72;
  transform: scale(1.08);
}

.cupid-blog-article__featured-image::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 22%, transparent 78%, rgba(0,0,0,.12));
}

.cupid-blog-article__featured-image img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.cupid-blog-article__content {
  max-width: 960px;
  margin: 0 auto;
  padding: 42px 38px;
  color: #272727;
  font-size: 18px;
  line-height: 1.8;
}

.cupid-blog-article__content h2,
.cupid-blog-article__content h3,
.cupid-blog-article__content h4 {
  margin-top: 1.7em;
  color: #111;
  line-height: 1.2;
  text-transform: none;
}

.cupid-blog-article__content img {
  height: auto;
  border-radius: 9px;
}

.cupid-blog-article__content a {
  color: var(--ce-red, #cf0032);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cupid-blog-article__footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 38px;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
}

.cupid-blog-share,
.cupid-blog-article__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.cupid-blog-share strong {
  margin-right: 3px;
}

.cupid-blog-share a {
  padding: 7px 11px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.cupid-blog-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 24px auto 0;
}

.cupid-blog-post-navigation a {
  display: flex;
  min-width: 0;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid #dedede;
  border-radius: 9px;
  background: #fff;
  color: #111;
  text-decoration: none;
  flex-direction: column;
}

.cupid-blog-post-navigation__next {
  text-align: right;
}

.cupid-blog-post-navigation small {
  margin-bottom: 7px;
  color: var(--ce-red, #cf0032);
  font-weight: 800;
}

.cupid-blog-post-navigation strong {
  line-height: 1.3;
}

.cupid-related-articles,
.cupid-related-types {
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 28px;
  border: 1px solid #e2e2e2;
  border-radius: 11px;
  background: #fff;
}

.cupid-related-articles .cupid-journey-section-heading,
.cupid-related-types .cupid-journey-section-heading {
  margin-bottom: 23px;
}

.cupid-related-articles .cupid-blog-card {
  display: flex;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fff;
  flex-direction: column;
}

.cupid-related-articles .cupid-blog-card__image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/*
 * Blog card media is defined here as a final, page-specific override. The
 * archive and category layouts can inherit older theme image rules, so keep
 * the frame height definite and the featured image in contain mode. This
 * preserves the complete source image while the blurred backdrop fills the
 * unused area around it.
 */
.cupid-blog-category .cupid-blog-card__media,
.cupid-related-articles .cupid-blog-card__media {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  width: 100%;
  height: clamp(210px, 21vw, 280px);
  min-height: 210px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #e7e7e7;
}

.cupid-blog-category .cupid-blog-card__backdrop,
.cupid-related-articles .cupid-blog-card__backdrop {
  position: absolute;
  z-index: 0;
  inset: -22px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(20px);
  opacity: .72;
  transform: scale(1.08);
}

.cupid-blog-category .cupid-blog-card__media::after,
.cupid-related-articles .cupid-blog-card__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.10), transparent 22%, transparent 78%, rgba(0,0,0,.10));
}

.cupid-blog-category .cupid-blog-card__image,
.cupid-related-articles .cupid-blog-card__image {
  position: relative;
  z-index: 2;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0;
  object-fit: contain !important;
  object-position: center center !important;
  background: rgba(255,255,255,.12);
}

.cupid-related-articles .cupid-blog-card__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  text-transform: none;
}

/* Escort Types directory */
.cupid-escort-types-directory__intro,
.cupid-escort-type-intro {
  padding: 38px 0 0;
}

.cupid-escort-types-directory__intro .cupid-heading-block,
.cupid-escort-type-intro .cupid-heading-block {
  margin-bottom: 22px;
}

.cupid-escort-type-search {
  display: block;
  padding: 22px 24px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
}

.cupid-escort-type-search span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.cupid-escort-type-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 16px;
}

.cupid-escort-types-directory__list {
  padding: 24px 0 62px;
}

.cupid-escort-type-directory-grid,
.cupid-related-types__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cupid-escort-type-directory-card[hidden] {
  display: none;
}

.cupid-escort-type-directory-card a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid #dedede;
  border-radius: 9px;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cupid-escort-type-directory-card a:hover,
.cupid-escort-type-directory-card a:focus-visible {
  border-color: var(--ce-red, #cf0032);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.cupid-escort-type-directory-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fbe6eb;
  color: var(--ce-red, #cf0032);
}

.cupid-escort-type-directory-card__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cupid-escort-type-directory-card strong,
.cupid-escort-type-directory-card small {
  display: block;
}

.cupid-escort-type-directory-card strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.cupid-escort-type-directory-card small {
  color: #6a6a6a;
  font-size: 12px;
}

.cupid-escort-type-directory-card__arrow {
  color: var(--ce-red, #cf0032);
  font-size: 20px;
}

.cupid-escort-type-search-empty {
  margin-top: 20px;
}

.cupid-escort-type-jump {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 16px 20px;
  border: 1px solid #dedede;
  border-radius: 9px;
  background: #fff;
}

.cupid-escort-type-jump > span {
  margin-right: 3px;
  font-weight: 800;
}

.cupid-escort-type-jump a {
  padding: 8px 13px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.cupid-escort-type-jump a:hover,
.cupid-escort-type-jump a:focus-visible {
  background: var(--ce-red, #cf0032);
  color: #fff;
}

.cupid-escort-type-results {
  padding-top: 28px;
  padding-bottom: 62px;
}

.cupid-escort-type-membership {
  scroll-margin-top: 24px;
  margin-bottom: 28px;
  padding: 25px 20px 12px;
  border: 1px solid #dedede;
  border-radius: 11px;
  background: rgba(255, 255, 255, .96);
}

.cupid-escort-type-membership__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 0 5px 16px;
  border-bottom: 1px solid #e4e4e4;
}

.cupid-escort-type-membership__heading p {
  margin: 0;
  color: #626262;
  font-size: 14px;
  white-space: nowrap;
}

.cupid-escort-type-membership .escort-types-wrap {
  margin: 0;
}

/* Escort type results use the same card treatment as the homepage. */
.cupid-escort-type-page .escort-card-col {
  display: flex;
  justify-content: center;
  padding-right: 16px;
  padding-bottom: 34px;
  padding-left: 16px;
}

.cupid-escort-type-page .escort-card {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 150px;
  min-width: 0;
  height: auto;
  flex-direction: column;
  margin: 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 5px;
  background: #000;
  box-shadow: none;
  text-decoration: none;
}

.cupid-escort-type-page .escort-card .escort-card-img {
  position: relative;
  width: 100%;
  height: 225px;
  flex: 0 0 225px;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: #eee;
}

.cupid-escort-type-page .cupid-escort-type-membership--premium .escort-card .escort-card-img {
  height: 175px;
  flex-basis: 175px;
}

.cupid-escort-type-page .cupid-escort-type-membership--standard .escort-card {
  max-width: 85px;
}

.cupid-escort-type-page .cupid-escort-type-membership--standard .escort-card .escort-card-img {
  height: 128px;
  flex-basis: 128px;
}

.cupid-escort-type-page .escort-card .escort-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cupid-escort-type-page .escort-card .escort-card-content {
  position: static;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  flex-direction: column;
  justify-content: center;
  padding: 7px 6px 8px;
  overflow: hidden;
  border-radius: 0 0 5px 5px;
  background: #000;
  text-align: center;
}

.cupid-escort-type-page .escort-card h3 {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.cupid-escort-type-page .escort-card .escort-card-content p {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 4px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  color: var(--ce-red, #cf0032);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.cupid-escort-type-page .cupid-escort-type-membership--standard .escort-card .escort-card-content {
  min-height: 49px;
  padding: 6px 4px 7px;
}

.cupid-escort-type-page .cupid-escort-type-membership--standard .escort-card h3 {
  font-size: 12px;
}

.cupid-escort-type-page .cupid-escort-type-membership--standard .escort-card .escort-card-content p {
  font-size: 9px;
}

.cupid-escort-type-page .escort-card .ecort-card-icons {
  top: 5px;
  right: 5px;
  z-index: 30;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.cupid-escort-type-load-more-wrap {
  padding: 6px 0 15px;
  text-align: center;
}

.cupid-escort-type-load-status {
  min-height: 20px;
  margin: 9px 0 0;
  color: #666;
  font-size: 13px;
}

.cupid-escort-type-empty {
  margin-bottom: 12px;
  box-shadow: none;
}

.cupid-related-types__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cupid-related-types__grid a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid #dfdfdf;
  border-radius: 7px;
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.cupid-related-types__grid a span:last-child {
  color: var(--ce-red, #cf0032);
}

.cupid-escort-type-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cupid-journey-button--secondary {
  border: 1px solid #cfcfcf !important;
  background: #fff !important;
  color: #111 !important;
}

@media (max-width: 980px) {
  .cupid-escort-type-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cupid-blog-article__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .cupid-blog-index__intro,
  .cupid-escort-type-membership__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cupid-blog-index__intro .cupid-journey-button {
    width: 100%;
  }

  .cupid-blog-single {
    padding-top: 22px;
  }

  .cupid-blog-article__header,
  .cupid-blog-article__content,
  .cupid-blog-article__footer {
    padding-right: 21px;
    padding-left: 21px;
  }

  .cupid-blog-article__content {
    padding-top: 28px;
    padding-bottom: 30px;
    font-size: 17px;
  }

  .cupid-blog-article__featured-image {
    min-height: clamp(260px, 88vw, 430px);
  }

  .cupid-blog-article__featured-image img {
    height: clamp(260px, 88vw, 430px);
  }

  .cupid-blog-article__featured-backdrop {
    inset: -20px;
    filter: blur(20px);
  }

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

  .cupid-blog-post-navigation__next {
    text-align: left;
  }

  .cupid-related-articles,
  .cupid-related-types {
    margin-top: 30px;
    padding: 21px 18px;
  }

  .cupid-escort-types-directory__intro,
  .cupid-escort-type-intro {
    padding-top: 22px;
  }

  .cupid-escort-type-directory-grid,
  .cupid-related-types__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cupid-escort-type-membership {
    padding: 20px 12px 9px;
  }

  .cupid-escort-type-page .escort-card-col {
    padding-right: 8px;
    padding-bottom: 24px;
    padding-left: 8px;
  }

  .cupid-escort-type-page .cupid-escort-type-membership--vip .escort-card .escort-card-img {
    height: 200px;
    flex-basis: 200px;
  }

  .cupid-escort-type-page .cupid-escort-type-membership--premium .escort-card .escort-card-img {
    height: 145px;
    flex-basis: 145px;
  }

  .cupid-escort-type-membership__heading p {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .cupid-blog-single > .container {
    width: calc(100% - 24px);
  }

  .cupid-blog-index__intro {
    padding: 21px 19px;
  }

  .cupid-blog-article__header h1 {
    font-size: 34px;
  }

  .cupid-blog-article__actions .cupid-journey-button,
  .cupid-escort-type-actions .cupid-journey-button {
    width: 100%;
  }
}
