/*
 * For the Spotlight post type
 */

:root {
  --gap-featured: 21px;
  --gap-featured-wide: 21px;
  --gap-compact-logo: 40px;
}

/* Spotlight Categories */
.spotlight-categories-listing {
  display: inline-block;
}
.spotlight-categories-listing ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  column-gap: 10px;
  padding: 0!important;
}
.spotlight-categories-listing ul li {
  background-color: #29c4a9;
  padding: 0;
}
.spotlight-categories-listing ul li:hover, .spotlight-categories-listing ul li button:hover {
  cursor: pointer;
  background-color: #ececec;
}
.spotlight-categories-listing button.category {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border: none;
  width: fit-content;
  padding: 10px;
  background-color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #03398b;
}
.spotlight-categories-listing button.category.selected {
  color: #ffffff;
  background-color: #03398b;
  background-color: #29c4a9;
}

/* Spotlight Posts */
.spotlight-posts-listing div.spotlight-wrapper {
  display: flex!important;
  flex-direction: row!important;
  gap: var(--gap-compact-logo);
  flex-wrap: wrap;
}
.spotlight-posts-listing div.spotlight-wrapper.featured {
  gap: var(--gap-featured);
}
.spotlight-posts-listing div.spotlight-wrapper.featured-wide {
  flex-direction: column !important;
}
.spotlight.featured-wide {
  max-width: unset;
  flex-basis: calc(50% - var(--gap-featured-wide));
}
.spotlight-posts-listing .card-spotlight {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  padding: 12px;
  min-width: 269px;
  max-width: calc((100% / 4) - 40px);
  justify-content: space-between;
  opacity: 1;
}
.spotlight-posts-listing .card-spotlight.featured {
  background-color: #F7F7F7;
  transition: background-color .3s ease;
  min-width: 272px;
  max-width: calc((100% / 3) - 20px);
  padding: 25px;
}
.spotlight-posts-listing .card-spotlight.featured:hover {
  background-color: #ECECEC;
}
.spotlight-posts-listing .card-spotlight.featured-wide {
  max-width: unset;
  flex: 1 1;
}
.spotlight-posts-listing .card-spotlight.hide {
  display: none;
  visibility: hidden;
  opacity: 0;
}
.spotlight-posts-listing .card-spotlight .small, .spotlight-posts-listing .card-spotlight .small * {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4em;
  color: #737373;
}
.spotlight-posts-listing .card-spotlight .meta-wrapper {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  justify-content: space-between;
}
.spotlight-posts-listing .card-spotlight.featured .meta-wrapper {
  padding-top: 37px;
  justify-content: space-between;
}
.spotlight-posts-listing .card-spotlight .title {
  font-weight: 700;
  font-size: 22px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  color: #03398b;
  border: none;
}
.spotlight-posts-listing .card-spotlight.featured .title {
  font-size: 28px;
}
.spotlight-posts-listing .card-spotlight .description {
  height: 100%;
}
.spotlight-posts-listing .card-spotlight.featured .description {
  line-height: 1.6em;
  color: #666;
}
.spotlight-posts-listing .card-spotlight.featured-wide .logo,
.spotlight-posts-listing .card-spotlight.featured-wide .description {
  width: 50%;
}
.spotlight-posts-listing .website {
  padding-bottom: 1.4em !important;
  padding-top: 0.4em !important;
}
.spotlight-posts-listing .website a {
  text-decoration: underline;
}
.spotlight-posts-listing .et_pb_text_inner a.readmore {
  text-decoration: none;
  transition: 150ms ease-in-out;
  border-bottom: 2px solid #29C4A9 !important;
  transition: 150ms ease-in-out;
  width: fit-content;
  color: #03398b!important;
  padding-bottom: 3px!important;
  color: #03398b;
  font-weight: 700!important;
  line-height: 1.5em !important;
  letter-spacing: 1px;
  font-size: 15px;
  display: inline;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.spotlight-posts-listing .et_pb_text_inner a.readmore:hover {
  border-bottom-width: 4px!important;
}
.spotlight-posts-listing .et_pb_text_inner a.readmore.website {
  color: #737373!important;
  border-bottom: none!important;/*1px solid #737373!important;*/
  text-transform: capitalize;
  font-weight: revert!important;
}
.spotlight-posts-listing .et_pb_text_inner a.readmore.website:hover {
  border-bottom-width: 3px!important;
}
.spotlight-empty-list.hide {
  display: none;
  visibility: hidden;
}
@media screen and (max-width: 1335px) {
  .spotlight-posts-listing .card-spotlight.compact-logo {
    max-width: calc((100% / 3) - var(--gap-compact-logo));
  } 
}
@media screen and (max-width: 1026px) {
  .spotlight-posts-listing .card-spotlight.compact-logo {
    max-width: calc((100% / 2) - var(--gap-compact-logo));
  } 
}
@media screen and (max-width: 647px) {
  .spotlight-posts-listing .card-spotlight.compact-logo {
    max-width: 100%;
  } 
}
@media screen and (max-width: 1027px) {
  .spotlight-posts-listing .card-spotlight.featured {
    max-width: calc((100% / 2) - var(--gap-featured));
  }
}
@media screen and (max-width: 634px) {
  .spotlight-posts-listing .card-spotlight.featured {
    max-width: 100%;
  }
}

.card-spotlight .content-wrapper {
  display: flex;
  gap: 1.5rem;
}
.card-spotlight .content-wrapper.row {
  flex-direction: row;
}
.card-spotlight .content-wrapper.column {
  flex-direction: column;
}

/* Icons - Leveraging Divi Icons */
.divi-icon {
  padding: 0;
  margin: 0;
  display: inline-block;
}
.divi-icon:after {
  padding: 0;
  margin: 0;
  font-weight: 600 !important;
  font-size: 12px;
  padding-right: 5px;
}
.divi-icon.icon-external:after {
  font-family: FontAwesome !important;
  content: "\F35D";
}
.divi-icon.icon-tag:after {
  font-family: ETmodules !important;
  content: '\E0FE';
}
.divi-icon.icon-money-magnifier:after {
  font-family: FontAwesome !important;
  content: '\F155';
  top: -0.2px;
  position: relative;
}
