.comcom-social-quotes {
  --cc-dark: #161616;
  --cc-muted: #7a7a7a;
  --cc-border: #ece6df;
  --cc-badge: #ff6466;
  --cc-radius: 5px;
  width: 100%;
  color: var(--cc-dark);
  font-family: "Montserrat", sans-serif;
}

.comcom-social-quotes a {
  color: inherit;
  text-decoration: none;
}

.comcom-quotes-home {
  margin: 0 0 64px;
}

.comcom-quotes-home .cq-section-head {
  position: relative;
  display: block;
  margin: 0 0 24px;
  padding: 14px 18px 16px;
  border-bottom: 1px solid var(--cc-border);
  background: linear-gradient(
    90deg,
    rgba(94, 146, 205, 0) 0%,
    rgba(94, 146, 205, 0.34) 6%,
    rgba(94, 146, 205, 0.34) 58%,
    rgba(94, 146, 205, 0.16) 78%,
    rgba(94, 146, 205, 0) 100%
  );
}

.comcom-quotes-home .cq-section-head::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -1px;
  width: 86px;
  height: 3px;
  background: #ff0000;
}

.comcom-quotes-home .cq-section-title {
  margin: 0;
  font-size: 28px;
  line-height: .98;
  letter-spacing: 0;
  font-weight: 700;
  color: #1C296A;
}

.comcom-quotes-home .cq-section-title a {
  color: inherit;
  text-decoration: none;
}

.comcom-quotes-home .cq-section-title a:hover,
.comcom-quotes-home .cq-section-title a:focus {
  color: #ff0000;
}

.comcom-quotes-swiper {
  position: relative;
  overflow: hidden;
}

.comcom-quotes-swiper .swiper-slide {
  height: auto;
}

.cq-home-card {
  height: 100%;
}

.comcom-quotes-home .cq-home-card {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 0;
}

.cq-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--cc-radius);
  background: #efe8dd;
}

.comcom-quotes-home .cq-card-media {
  height: 190px;
  aspect-ratio: auto;
  border-radius: var(--cc-radius);
  background: #efe8dd;
}

.cq-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  transition: none;
}


.comcom-quotes-home .cq-card-body {
  padding: 4px 2px 0;
}

.cq-card-name {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
  line-height: 1.14;
  font-weight: 700;
  color: #1C296A;
}

.cq-card-name a {
  color: inherit;
  text-decoration: none;
}

.cq-card-name a:hover,
.cq-card-name a:focus {
  color: #ff0000;
}

.comcom-quotes-home .cq-card-name {
  margin: 0;
  color: #1C296A;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1.12 !important;
  letter-spacing: 0;
  font-weight: 700;
  word-break: break-word;
}

.comcom-quotes-home .cq-card-name span {
  color: inherit;
}

.cq-card-name span {
  color: #625a54;
}

.cq-card-quote {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: #36312d;
  font-style: italic;
}

.comcom-quotes-home .cq-card-quote {
  margin: 14px 0 0;
  min-height: 0;
  color: #303030;
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cq-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 11px;
  color: #817973;
  font-size: 13px;
  line-height: 1.35;
}

.comcom-quotes-home .cq-card-meta {
  margin-top: 14px;
  color: var(--cc-muted);
  font-size: 12px;
}

/* Homepage only: keep social network and quote date on one compact line. */
.comcom-quotes-home .cq-card-meta--top {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 7px;
  margin-top: 6px;
  line-height: 1.2;
}

.comcom-quotes-home .cq-card-meta--top .cq-card-meta-item {
  display: inline-flex;
  align-items: center;
}

.comcom-quotes-home .cq-card-social {
  font-weight: 600;
  color: black;
}

.comcom-quotes-home .cq-card-social a {
  font-weight: inherit;
}

.comcom-quotes-home .cq-card-date {
  font-weight: 600;
  color: black;
}

.comcom-quotes-home .cq-card-meta-separator {
  color: var(--cc-muted);
}

/* Homepage only: read-more link below the quote text. */
.comcom-quotes-home .cq-card-footer {
  margin-top: 14px;
}

.comcom-quotes-home .cq-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cc-dark);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
}

.comcom-quotes-home .cq-card-readmore::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.comcom-quotes-home .cq-card-readmore:hover,
.comcom-quotes-home .cq-card-readmore:focus {
  color: #ff0000;
  text-decoration: none;
}

.cq-card-meta a {
  color: #171717;
  font-weight: 700;
  text-decoration: none;
}

.cq-card-meta a:hover,
.cq-card-meta a:focus {
  color: #777777;
}

.comcom-quotes-prev,
.comcom-quotes-next {
  position: absolute;
  top: 31%;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.88);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.comcom-quotes-prev {
  left: 10px;
}

.comcom-quotes-next {
  right: 10px;
}

.comcom-quotes-prev::before,
.comcom-quotes-next::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.comcom-quotes-prev::before {
  transform: rotate(135deg);
}

.comcom-quotes-next::before {
  transform: rotate(-45deg);
}

.comcom-quotes-pagination {
  margin-top: 14px;
  text-align: center;
}

.comcom-quotes-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cfc6bf;
  opacity: 1;
}

.comcom-quotes-pagination .swiper-pagination-bullet-active {
  background: var(--cc-badge);
}

.comcom-quotes-home .comcom-quotes-prev,
.comcom-quotes-home .comcom-quotes-next {
  top: 95px;
  width: 34px;
  height: 34px;
  background: rgba(14, 21, 35, 0.92);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 21, 35, 0.16);
}

.comcom-quotes-home .comcom-quotes-prev:hover,
.comcom-quotes-home .comcom-quotes-prev:focus,
.comcom-quotes-home .comcom-quotes-next:hover,
.comcom-quotes-home .comcom-quotes-next:focus {
  background: var(--cc-badge);
  outline: none;
}

.comcom-quotes-home .comcom-quotes-prev {
  left: 12px;
}

.comcom-quotes-home .comcom-quotes-next {
  right: 12px;
}

.comcom-quotes-home .comcom-quotes-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.comcom-quotes-home .comcom-quotes-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0;
  background: #d7d0c9;
}

.comcom-quotes-home .comcom-quotes-pagination .swiper-pagination-bullet-active {
  background: #ff0000;
}

.comcom-quote-archive-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 0 80px;
}

.comcom-quote-archive-header {
  position: relative;
  margin: 0 0 64px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--cc-border);
  text-align: left;
}

.comcom-quote-archive-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 86px;
  height: 3px;
  background: #ff0000;
}

.comcom-quote-archive-title {
  margin: 0;
  color: #1C296A;
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  line-height: 47.88px;
  font-weight: 700;
}

.cq-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 34px;
  align-items: start;
}

.cq-archive-card .cq-card-media {
  aspect-ratio: 870 / 570;
  border-radius: 5px;
}

.cq-archive-card .cq-card-body {
  padding: 22px 0 0;
}

.cq-archive-card .cq-card-name {
  margin: 0 0 20px;
  color: #1C296A;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
}

.cq-archive-card .cq-card-name span {
  color: inherit;
}

.cq-archive-card .cq-card-quote {
  margin: 0 0 22px;
  color: var(--postx_preset_Contrast_2_color, #272727);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cq-archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #929292;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 22px;
}

.cq-archive-meta a {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.cq-archive-meta a:hover,
.cq-archive-meta a:focus {
  color: var(--postx_preset_Contrast_1_color, #0e1523);
}

.cq-archive-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cq-archive-meta-author img,
.cq-archive-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.cq-archive-meta-date svg {
  width: 14px;
  height: 14px;
}

.cq-archive-meta-sep {
  color: inherit;
}

.cq-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.cq-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #e4dad3;
  border-radius: 4px;
  color: #171717;
  background: #fff;
  font-weight: 700;
}

.cq-pagination .page-numbers.current,
.cq-pagination .page-numbers:hover,
.cq-pagination .page-numbers:focus {
  border-color: var(--cc-badge);
  background: var(--cc-badge);
  color: #fff;
}

.comcom-quote-highlight {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-left: 4px solid #ff4f5f;
  background: #fff;
  color: #171717;
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
  line-height: 1.42;
  font-weight: 700;
}

.comcom-quote-single-template {
  max-width: 1110px;
  margin: 0 auto;
  padding: 54px 24px 76px;
  color: #171923;
  font-family: "Montserrat", sans-serif;
}

.comcom-quote-single-image {
  margin: 0 0 34px;
}

.comcom-quote-single-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
}

.comcom-quote-single-title {
  margin: 0 0 16px;
  color: #171923;
  font-family: "Montserrat", sans-serif;
  font-size: 58px;
  line-height: 1.13;
  font-weight: 700;
}

.comcom-quote-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 28px;
  color: #6f7380;
  font-size: 14px;
  line-height: 1.4;
}

.comcom-quote-post-meta a {
  color: #171923;
  font-weight: 700;
  text-decoration: none;
}

.comcom-quote-post-meta a:hover,
.comcom-quote-post-meta a:focus {
  color: #2872fa;
}

.comcom-quote-post-meta .avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  vertical-align: middle;
}

.comcom-quote-post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.comcom-quote-source-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e1e8ed;
  color: #6f7380;
  font-size: 14px;
}

.comcom-quote-source-line a {
  color: #171923;
  font-weight: 700;
  text-decoration: none;
}

.comcom-quote-source-line a:hover,
.comcom-quote-source-line a:focus {
  color: #2872fa;
}

.comcom-quote-single-content {
  color: #262a33;
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  line-height: 1.7;
}

.comcom-quote-single-content p {
  margin: 0 0 1.35em;
}

.comcom-quote-single-content a {
  color: #2872fa;
}

/* Single quote page: previous/next Social Quote navigation. */
.comcom-quote-navigation {
  margin-top: 48px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #f7f7f7;
  overflow: hidden;
}

.comcom-quote-navigation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comcom-quote-nav-item {
  min-width: 0;
}

.comcom-quote-nav-item + .comcom-quote-nav-item {
  border-left: 1px solid #dfe3e8;
}

.comcom-quote-nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
  padding: 22px 42px;
  color: #171923;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.comcom-quote-nav-link:hover,
.comcom-quote-nav-link:focus {
  color: #171923;
  background: #ffffff;
  text-decoration: none;
  outline: none;
}

.comcom-quote-nav-direction {
  display: block;
  margin-bottom: 7px;
  color: #737986;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comcom-quote-nav-title {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.comcom-quote-nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.comcom-quote-nav-previous {
  text-align: left;
}

.comcom-quote-nav-previous::before {
  left: 20px;
  transform: translateY(-50%) rotate(135deg);
}

.comcom-quote-nav-next {
  text-align: right;
}

.comcom-quote-nav-next::before {
  right: 20px;
  transform: translateY(-50%) rotate(-45deg);
}

.comcom-quote-nav-empty {
  min-height: 116px;
}

.comcom-social-quotes-slot .comcom-quotes-home {
  margin-bottom: 0;
}

.comcom-social-quotes-slot--video-column {
  width: 100%;
  margin: 4px 0 52px;
}

.comcom-social-quotes-slot--video-column .comcom-quotes-home {
  margin: 0;
}

.comcom-social-quotes-slot--video-column .cq-section-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.comcom-social-quotes-slot--video-column .cq-home-card {
  display: block;
}

.comcom-social-quotes-slot--video-column .cq-card-media {
  height: 230px;
  aspect-ratio: auto;
}

.comcom-social-quotes-slot--video-column .cq-card-body {
  padding: 12px 0 0;
}

/* Keep the homepage sidebar card compact so the next block does not get pushed down. */
.comcom-social-quotes-slot--video-column .cq-card-meta--top {
  margin-top: 4px;
}

.comcom-social-quotes-slot--video-column .cq-card-quote {
  margin-top: 8px;
  line-height: 1.45;
}

.comcom-social-quotes-slot--video-column .cq-card-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 10px;
}

.comcom-social-quotes-slot--video-column .cq-card-readmore {
  margin-left: auto;
  text-align: right;
}

.comcom-social-quotes-slot--video-column .comcom-quotes-pagination {
  margin-top: 12px;
  margin-bottom: 0;
}

.comcom-social-quotes-slot--video-column .cq-card-name {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1.22 !important;
  font-weight: 700;
}

.comcom-social-quotes-slot--video-column .cq-card-quote {
  font-size: 15px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.comcom-social-quotes-slot--video-column .comcom-quotes-prev,
.comcom-social-quotes-slot--video-column .comcom-quotes-next {
  top: 115px;
}

@media (max-width: 1280px) {
  .comcom-social-quotes-slot--video-column .cq-card-media {
    height: 460px;
  }

  .comcom-social-quotes-slot--video-column .comcom-quotes-prev,
  .comcom-social-quotes-slot--video-column .comcom-quotes-next {
    top: 230px;
  }
}

@media (max-width: 1024px) {
  .comcom-quote-archive-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .comcom-social-quotes-slot--video-column .cq-card-media {
    height: 420px;
  }

  .comcom-social-quotes-slot--video-column .comcom-quotes-prev,
  .comcom-social-quotes-slot--video-column .comcom-quotes-next {
    top: 210px;
  }

  .cq-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .comcom-quotes-home .cq-section-head {
    padding: 12px 14px 14px;
  }

  .comcom-quotes-home .cq-section-head::after {
    left: 14px;
  }

  .comcom-quote-archive-title {
    font-size: 30px;
    line-height: 38px;
  }

  .cq-card-name,
  .cq-archive-card .cq-card-name {
    font-size: 24px;
    line-height: 29px;
  }

  .cq-card-quote {
    font-size: 15px;
  }

  .comcom-quotes-home .cq-section-title {
    font-size: 30px;
    line-height: .98;
  }

  .comcom-quotes-home .cq-card-name {
    font-size: 20px;
  }

  .comcom-quotes-home .cq-card-quote {
    font-size: 14px;
  }

  .comcom-quote-highlight {
    padding: 16px;
    font-size: 19px;
  }

  .comcom-quote-single-template {
    padding: 34px 18px 54px;
  }

  .comcom-quote-single-title {
    font-size: 32px;
  }

  .comcom-quote-single-content {
    font-size: 17px;
  }

  .comcom-quote-navigation {
    margin-top: 36px;
  }

  .comcom-quote-navigation-grid {
    grid-template-columns: 1fr;
  }

  .comcom-quote-nav-item + .comcom-quote-nav-item {
    border-left: 0;
    border-top: 1px solid #dfe3e8;
  }

  .comcom-quote-nav-link {
    min-height: 96px;
    padding: 18px 38px;
  }

  .comcom-quote-nav-title {
    font-size: 16px;
  }

  .comcom-quote-nav-empty {
    display: none;
  }

  .comcom-social-quotes-slot--video-column {
    margin-top: 0;
    margin-bottom: 42px;
  }

  .comcom-quotes-home .cq-home-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comcom-quotes-home .cq-card-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .comcom-social-quotes-slot--video-column .cq-card-media {
    height: 340px;
    aspect-ratio: auto;
  }

  .comcom-quotes-home .comcom-quotes-prev,
  .comcom-quotes-home .comcom-quotes-next {
    top: 28vw;
  }

  .comcom-social-quotes-slot--video-column .comcom-quotes-prev,
  .comcom-social-quotes-slot--video-column .comcom-quotes-next {
    top: 170px;
  }

  .cq-archive-grid {
    grid-template-columns: 1fr;
  }

  .comcom-quote-archive-shell {
    padding: 32px 18px 48px;
  }
}

/* v2.4.0: homepage panel chrome is centralized in homepage-editorial-sections.css. */
body.home .comcom-quotes-home {
  margin: 0;
}
body.home .comcom-quotes-home .cq-section-head {
  background: transparent;
}
body.home .comcom-quotes-home .cq-section-head::after {
  display: none;
}
