/* My Mocks — personalized quiz cards (beats .cft-content-panel link/list rules) */

.cft-content-panel .cft-my-mocks,
.cft-my-mocks {
  margin: 0 0 8px;
}

.cft-content-panel .cft-my-mocks__heading,
.cft-my-mocks__heading {
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

.cft-content-panel .cft-my-mocks__intro,
.cft-content-panel .cft-my-mocks--guest p,
.cft-content-panel .cft-my-mocks__empty p,
.cft-my-mocks__intro,
.cft-my-mocks--guest p,
.cft-my-mocks__empty p {
  color: rgba(232, 255, 252, 0.92) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  line-height: 1.65;
  font-size: 16px;
}

.cft-content-panel .cft-my-mocks__list,
.cft-my-mocks__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cft-content-panel .cft-my-mocks__item,
body.cft-is-content .cft-content-panel .cft-my-mocks__item,
.cft-my-mocks__item {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.cft-content-panel .cft-my-mocks__list > .cft-my-mocks__item:before,
body.cft-is-content .cft-content-panel .cft-my-mocks__list > .cft-my-mocks__item:before {
  content: none !important;
  display: none !important;
}

/* Card link — must override .cft-content-panel a { padding:0; background:transparent } */
.cft-content-panel .cft-my-mocks__link,
body.cft-is-content .cft-content-panel a.cft-my-mocks__link,
.cft-my-mocks__link {
  display: flex !important;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  min-height: 124px;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 18px !important;
  text-decoration: none !important;
  border: 1px solid rgba(63, 238, 230, 0.55) !important;
  border-bottom: 3px solid #3feee6 !important;
  background: #ffffff !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2) !important;
  color: #0e636f !important;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cft-content-panel .cft-my-mocks__link:hover,
.cft-content-panel .cft-my-mocks__link:focus,
body.cft-is-content .cft-content-panel a.cft-my-mocks__link:hover,
body.cft-is-content .cft-content-panel a.cft-my-mocks__link:focus,
.cft-my-mocks__link:hover,
.cft-my-mocks__link:focus {
  transform: translateY(-5px);
  border-color: rgba(255, 133, 165, 0.75) !important;
  border-bottom-color: #ff85a5 !important;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28) !important;
  color: #0a4a53 !important;
  background: #fffafb !important;
}

.cft-my-mocks__icon {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0e636f 0%, #08525c 100%);
  color: #3feee6 !important;
  font-size: 20px;
  line-height: 1;
}

.cft-my-mocks__icon .fa {
  color: #3feee6 !important;
}

.cft-my-mocks__link:hover .cft-my-mocks__icon {
  background: linear-gradient(180deg, #ff85a5 0%, #e56b8a 100%);
}

.cft-my-mocks__link:hover .cft-my-mocks__icon .fa {
  color: #fff !important;
}

.cft-my-mocks__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 24px 22px 22px !important;
  box-sizing: border-box;
}

.cft-content-panel .cft-my-mocks__title,
.cft-my-mocks__title {
  display: block;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  line-height: 1.4 !important;
  color: #0e636f !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cft-my-mocks__link:hover .cft-my-mocks__title {
  color: #0a4a53 !important;
}

.cft-my-mocks__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.cft-content-panel .cft-my-mocks__badge,
.cft-my-mocks__badge {
  display: inline-flex !important;
  align-items: center;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(14, 99, 111, 0.12) !important;
  color: #0e636f !important;
  border: 1px solid rgba(14, 99, 111, 0.18) !important;
}

.cft-my-mocks__item.is-expired .cft-my-mocks__badge {
  background: rgba(255, 133, 165, 0.18) !important;
  color: #b33d61 !important;
  border-color: rgba(255, 133, 165, 0.35) !important;
}

.cft-content-panel .cft-my-mocks__cta,
.cft-my-mocks__cta {
  display: inline-flex !important;
  align-items: center;
  margin-left: auto;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  white-space: nowrap;
  background: #0e636f !important;
  color: #3feee6 !important;
  border: none !important;
}

.cft-my-mocks__link:hover .cft-my-mocks__cta {
  background: #ff85a5 !important;
  color: #fff !important;
}

.cft-content-panel a.cft-my-mocks__browse,
.cft-my-mocks__browse {
  display: inline-flex !important;
  align-items: center;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  background: #3feee6 !important;
  color: #0a3d44 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
}

.cft-content-panel a.cft-my-mocks__browse:hover,
.cft-my-mocks__browse:hover {
  background: #ff85a5 !important;
  color: #fff !important;
}

/* Tighter page hero on My Mocks */
body.page-slug-my-mocks .cft-content-hero,
body.page-id-1347 .cft-content-hero {
  padding: 22px 24px !important;
  margin-bottom: 18px !important;
}

body.page-slug-my-mocks .cft-content-hero h1,
body.page-id-1347 .cft-content-hero h1 {
  margin-bottom: 0 !important;
}

@media (max-width: 860px) {
  .cft-content-panel .cft-my-mocks__list,
  .cft-my-mocks__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .cft-my-mocks__icon {
    flex-basis: 46px;
    font-size: 18px;
  }

  .cft-my-mocks__body {
    padding: 18px 16px 16px 16px !important;
  }

  .cft-content-panel .cft-my-mocks__title,
  .cft-my-mocks__title {
    font-size: 0.98rem !important;
  }
}
