.resources-section {
  display: flex;
  padding-left: 1.5rem;
  padding-top: 1.5rem;
}
.resources-section h1 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.resource-container {
  display: flex;
  padding: 0.75rem;
  width: calc(33.333% - 1rem);
}

.resource {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  flex: 1;
  overflow: hidden;
}
.resource p {
  font-size: 0.85rem;
}
.featured .resource {
  padding: 0;
  flex-direction: column;
  color: var(--white-off);
  background-color: var(--purple-dark);
}
.featured-text {
  padding: 1.5rem 1.5rem 4rem;
  position: relative;
  flex: 1;
}
.resources-main {
  flex-grow: 1;
  padding-left: calc(1.5rem + 2px);
  position: relative;
  width: calc(100% - 10rem);
}
.resources-main:before {
  content: '';
  position: absolute;
  inset: 0;
  right: auto;
  width: 2px;
  background: var(--purple-dark);
  opacity: 0.08;
}
.resources-featured-section {
  margin-bottom: 1.5rem;
  width: 100%;
}
.resources-featured-section {
  position: relative;
}
.resources-featured-section .splide__arrow--prev {
  display: none;
}
.resources-featured-section .splide__arrows {
  position: absolute;
  right: -0.5rem;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.resources-featured-section .splide__arrow--next {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--purple-light);
  background: var(--gray);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--box-shadow-small-dark);
  transition: all 0.2s ease;
}
.resources-featured-section .splide__arrow svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: var(--purple-med);
  opacity: 0.35;
  transition: all 0.2s ease;
}
.resources-featured-section .splide__arrow:hover {
  background: var(--white-off);
}
.resources-featured-section .splide__arrow:hover svg {
  opacity: 1;
}
.resources-filter-section {
  padding: 0 1.35rem 0 0;
  width: 10.8rem;
  flex: none;
}
.resources-filter-section .pre-header {
  font-size: 0.55rem;
  margin-bottom: 0.25rem;
}
.resources-filter-section .tag-list {
  display: flex;
  flex-direction: column;
}
.list-container {
  position: relative;
  padding-top: 1.35rem;
  padding-bottom: 0.3rem;
}
.resources-filter-section .list-container:before {
  position: absolute;
  content: '';
  inset: 0;
  bottom: auto;
  background: var(--purple-dark);
  opacity: 0.08;
  height: 2px;
}
.resources-filter-section .tag-list a {
  font-size: 0.85rem;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.35rem 0;
  line-height: 125%;
}
.resources-filter-section .tag-list a:before {
  content: '';
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid var(--purple-med);
  background: var(--white-off);
  display: inline-block;
  margin-bottom: 1px;
  margin-right: 0.5rem;
  flex: none;
}
.resources-filter-section .tag-list a.active:before {
  background: var(--purple-med);
}
.resources-filter-section .tag-list a.active:after {
  content: '✓';
  position: absolute;
  left: 0.05rem;
  font-size: 0.6rem;
  color: var(--white);
  font-weight: 900;
}
.resources-feed-section {
  padding-top: 0;
}
.resources-main .row-fluid {
  flex-wrap: wrap;
  justify-content: stretch;
}
.resource .tag {
  font-size: 0.55rem;
  padding-top: 0.05rem;
}
.resource .cta {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--purple-dark);
  font-size: 0.9rem;
  opacity: 0.5;
}
.resource:hover .cta {
  opacity: 1;
}
.featured-section-header {
  font-family: var(--header);
  color: var(--purple-dark);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.featured .resource .cta {
  color: var(--white);
}
.featured .resource .tag {
  color: var(--purple-dark);
}
.resource .cta:after {
  content: "→";
  font-size: 1.25rem;
  line-height: 0;
  display: block;
  position: absolute;
  right: -1.25rem;
  top: 0.6rem;
  transition: all 0.2s ease-out;
  opacity: 0;
}

.resource:hover .cta:after {
  opacity: 1;
  right: -1.5rem;
}

.resource h3 {
  color: var(--purple-dark);
  font-family: var(--header);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 0.65rem;
}
.featured .resource h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0;
}
.resource .speaker-image {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}
.featured .resource * {
  color: var(--white-off);
}

.resource .speaker {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.resource .speakers {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.resource .speaker-text {
  display: flex;
  flex-direction: column;
}
.resource .speaker-image img {
  object-fit: cover;
  object-position: center;
}
.resource .speaker-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white-sub);
}
.resource .speaker-title {
  font-size: .55rem;
  text-transform: uppercase;
  font-weight: 500;
}

.resources-feed-section .row-fluid {
  column-gap: 1.5rem;
  row-gap: 1.5rem;
}

.resource-container {
  padding: 0;
  position: relative;
}

.featured-tag {
  background: var(--green-light);
}

.type-tag {
  background: transparent;
  border: 1px solid var(--purple-light);
}

.featured .resource .type-tag {
  color: var(--white-off);
  border-color: var(--white-off);
}
.resource .featured-image {
  position: absolute;
  inset: 0;
}
.resource .featured-image img {
  width: 100%;      
  height: 100%;
  object-fit: cover;
}
.resource .featured-image:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--purple-dark);
  opacity: 0.6;
  transition: all 0.2s ease-out;
}
.resource:hover .featured-image:after {
  opacity: 0.5;
}
.resources-side-nav {
  position: sticky;
  top: calc(64px + 1rem);
}

@media screen and (max-width: 1360px) {
  .resource-container {
    width: calc(50% - 1rem);
  }
}

@media screen and (max-width: 1023px) {
  .resource-container {
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  .featured .resource {
    height: 15rem;
  }
  .featured .resource .featured-text {
    padding-bottom: 1.75rem;
    transition: all 0.2s ease-out;
    position: absolute;
    bottom: 0;
  }
  .featured .resource:hover .featured-text {
    bottom: 3rem;
  }
  .featured .resource .cta {
    transition: all 0.2s ease-out;
    opacity: 0;
    bottom: -1rem;
  
  }
  .featured .resource:hover .cta {
    opacity: 1;
  }
  .featured .resource .tag-list {
    transition: all 0.2s ease-out;
    opacity: 1;
  }
  .featured .resource:hover .tag-list {
    opacity: 0;
  }
}

@media screen and (max-width: 640px) {
  .resources-section {
    display: block;
    padding: 0.5rem 1.25rem;
  }
  .resources-filter-section {
    width: 100%;
    padding: 0;
  }
  .resources-main {
    padding: 0;
    width: 100%;
  }
  .resources-main:before, .list-container:before; {
    content: none;
  }
  .resources-filter-section .tag-list {
    column-gap: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 0;
    margin-bottom: 0;
  }
  .resources-filter-section {
    position: relative;
    margin-bottom: 1rem;
  }
  .resources-filter-section:after {
    position: absolute;
    content: '';
    inset: 0;
    top: auto;
    background: var(--purple-dark);
    opacity: 0.08;
    height: 2px;
  }
  .list-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .resources-filter-section .pre-header {
    font-size: .55rem;
    margin-bottom: 0;
    width: auto;
    position: absolute;
    top: -0.3rem;
    background-image: url(https://www.leapfin.com/hubfs/accents/bg_grain_purple.png);
    background-size: auto;
    padding-right: 0.5rem;
  }
  .featured .resource h3, .resource h3 {
    font-size: 1.25rem;
  }
  .featured-text {
    padding: 1.5rem 1.25rem 4rem;
    position: relative;
    flex: 1;
  }
  .resources-main:before {
    content: none;
  }
  .resources-main .row-fluid {
    gap: 1rem;
  }
  .resources-featured-section, .resources-topic-section {
    margin-bottom: 1rem;
  }
}
@media screen and (min-width: 480px) {
  .resources-featured-section:after {
    right: 0;
    transform: rotate(180deg);
    background: url(https://www.leapfin.com/hubfs/accents/bg_grain_purple_fade_thin.png);
    bottom: 0;
    content: "";
    height: 100%;
    margin: auto 0;
    position: absolute;
    top: 0;
    width: 100px;
    z-index: 1;
  }
}
@media screen and (max-width: 480px) {
  .resources-featured-section .splide__arrows {
    right: -0.85rem;
  }
  .resources-featured-section .splide__arrow--next {
    width: 1.7rem;
    height: 1.7rem;
  }
  .resources-featured-section .splide__arrow svg {
    width: 0.75rem;
    height: 0.75rem;
  }
}
