.cmo-series-wrap {
  padding: 30px 25px 56px;
}

body.post-type-archive-cmo-series {
  background: #eef1f5;
}

body.post-type-archive-cmo-series .archive-subtitle {
  display: none;
}

.cmo-series-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.cmo-series-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cmo-series-logo__image {
  display: block;
  width: min(240px, 42vw);
  height: auto;
}

.cmo-series-logo__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 206px;
  min-height: 92px;
  padding: 18px 28px;
  background: #166980;
  color: #fff;
  border: 2px solid #123f50;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.cmo-brought-by {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #161b2f;
  text-decoration: none;
}

.cmo-brought-by__label {
  font-size: 14px;
  line-height: 1.2;
}

.cmo-brought-by__logo {
  display: block;
  width: min(240px, 34vw);
  height: auto;
}

.cmo-brought-by__text {
  font-size: 28px;
  line-height: 1;
}

.cmo-series-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  align-items: start;
}

.cmo-series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 30px;
}

.cmo-card {
  min-width: 0;
  background: #fff;
	margin: 0px !important;
}

.cmo-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1.78 / 1;
  overflow: hidden;
  background: #dcecf4;
  text-decoration: none;
}

.cmo-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fff;
}

.cmo-card__thumb-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #166980;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0;
}

.cmo-card__body {
  padding: 34px 32px 32px;
}

.cmo-card__title {
  margin: 0 0 28px;
  color: #070824;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.12;
}

.cmo-card__title a {
  color: inherit;
  text-decoration: none;
}

.cmo-card__title a:hover {
    color: inherit;
  text-decoration: none;
}

.cmo-card__excerpt {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e8ee;
  color: #8e95a1;
  font-size: 14px;
  line-height: 1.9;
}

.cmo-card__button {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  background: #9574b1;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
}

/* .cmo-card__button:hover {
  background: #7d5f9a;
  color: #fff;
} */

.cmo-card__button:hover {
    color: #fff !important;
    text-decoration: unset !important;
}

.cmo-series-empty,
.cmo-widget__empty {
  margin: 0;
  color: #68707c;
  font-size: 14px;
  line-height: 1.5;
}

.cmo-series-pagination {
  margin-top: 36px;
}

.cmo-series-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmo-series-pagination a,
.cmo-series-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #d8dde4;
  color: #111;
  font-size: 13px;
  text-decoration: none;
}

.cmo-series-pagination .current,
.cmo-series-pagination a:hover {
  border-color: #166980;
  background: #166980;
  color: #fff;
}

.cmo-widget {
  margin-bottom: 36px;
}

.cmo-widget__title {
  margin: 0 0 16px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.cmo-rank {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmo-rank__item {
  display: grid;
  grid-template-columns: 30px 48px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-bottom: 18px;
}

.cmo-rank__num {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid #e5a9c5;
  border-radius: 50%;
  color: #b65b87;
  font-size: 13px;
  font-weight: 700;
}

.cmo-rank__thumb,
.cmo-rank__thumb img,
.cmo-rank__thumb-placeholder {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.cmo-rank__thumb {
  overflow: hidden;
  background: #e9f2f6;
}

.cmo-rank__thumb img {
  object-fit: cover;
}

.cmo-rank__thumb-placeholder {
  background: #166980;
}

.cmo-rank__body {
  min-width: 0;
}

.cmo-rank__title {
  display: block;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.cmo-rank__title:hover {
  color: #166980;
}

.cmo-rank__author {
  display: block;
  margin-top: 4px;
  color: #9b2f3a;
  font-size: 12px;
  line-height: 1.3;
}

.cmo-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmo-social__btn {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.cmo-social__btn:hover {
  color: #fff;
  filter: brightness(0.92);
}

.cmo-social__btn--linkedin { background: #0a66c2; }
.cmo-social__btn--instagram { background: #d6336c; }
.cmo-social__btn--tiktok { background: #111; }

@media (max-width: 900px) {
  .cmo-series-layout {
    grid-template-columns: 1fr;
  }

  .cmo-series-sidebar {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .cmo-series-wrap {
    padding: 22px 18px 44px;
  }

  .cmo-series-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cmo-series-logo__text {
    min-width: 184px;
    min-height: 78px;
    font-size: 22px;
  }

  .cmo-series-logo__image {
    width: 210px;
    max-width: 100%;
  }

  .cmo-brought-by {
    align-items: flex-start;
  }

  .cmo-brought-by__logo {
    width: 220px;
    max-width: 100%;
  }

  .cmo-series-grid,
  .cmo-social {
    grid-template-columns: 1fr;
  }
}
