.page-resources .resources-hero{
  background: var(--c-beige);
}

.page-resources .resources-hero__left{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:clamp(1.75rem, 3vw, 2.75rem) 0;
  gap:18px;
  height:100%;
}

.page-resources .resources-hero__title{
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.02em;
  line-height:.9;
  font-size:clamp(4rem, 7vw, 7.5rem);
  color:var(--c-black);
}

.page-resources .resources-hero__lead{
  font-family:"inter",sans-serif;
  font-size:clamp(1.05rem, 1.2vw, 1.15rem);
  line-height:1.8;
  color:rgba(31,31,31,.8);
  max-width:62ch;
}

.page-resources .resources-hero__media{
  width:100%;
  max-width:560px;
  background:rgba(0,0,0,.08);
  overflow:hidden;
  align-self:stretch;
}

.page-resources .resources-hero__img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  filter:grayscale(100%);
}

.page-resources .resources-filterbar{
  display:flex;
  gap:24px;
  padding:10px 0 18px;
  border-bottom:2px solid rgba(0,0,0,.18);
  margin-bottom:26px;
  overflow:auto;
}

.page-resources .resources-filterbar__btn{
  border:0;
  background:transparent;
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.01em;
  font-size:1rem;
  color:var(--c-black);
  padding:10px 8px 14px;
  position:relative;
  white-space:nowrap;
  text-decoration:none;
}

.page-resources .resources-filterbar__btn::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-2px;
  width:34px;
  height:2px;
  background:transparent;
}

.page-resources .resources-filterbar__btn.is-active::after{
  background:rgba(0,0,0,.85);
}

.page-resources .resources-grid__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}

@media (min-width:992px){
  .page-resources .resources-grid__inner{
    grid-template-columns:repeat(3, 1fr);
    gap:34px;
  }
}

.page-resources .resource-card{
  background:var(--c-beige);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  display:flex;
  flex-direction:column;
  min-height:600px;
  height:auto;
  overflow:hidden;
}

@media (max-width: 991.98px){
  .page-resources .resource-card{ min-height:540px; }
}

@media (max-width: 575.98px){
  .page-resources .resource-card{ min-height:520px; }
}

.page-resources .resource-card__media{
  position:relative;
  width:100%;
  padding:24px 24px 0;
}

.page-resources .resource-card__img{
  width:140px;
  height:140px;
  display:block;
  object-fit:cover;
  filter:grayscale(100%);
  background:rgba(0,0,0,.12);
}

.page-resources .resource-card__media-overlay{
  position:absolute;
  left:24px;
  top:24px;
  width:140px;
  height:140px;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%);
}

.page-resources .resource-card__pill{
  width:fit-content;
  padding:8px 12px;
  background:var(--c-black);
  color:var(--c-white);
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  font-size:.85rem;
}

.page-resources .resource-card__pill--on-media{
  position:absolute;
  top:24px;
  right:24px;
}

.page-resources .resource-card__body{
  padding:22px 24px 26px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}

.page-resources .resource-card--no-media .resource-card__body{
  padding-top:24px;
}

.page-resources .resource-card--no-media .resource-card__pill{
  margin-left:auto;
}

.page-resources .resource-card__title{
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.02em;
  font-size:clamp(2rem, 2.2vw, 2.55rem);
  line-height:1.05;
  color:var(--c-black);

  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.page-resources .resource-card__excerpt{
  font-family:"inter",sans-serif;
  font-size:1.02rem;
  line-height:1.75;
  color:rgba(31,31,31,.85);
  max-width:44ch;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media (max-width: 991.98px){
  .page-resources .resource-card__img{
    width:120px;
    height:120px;
  }
  .page-resources .resource-card__media-overlay{
    width:120px;
    height:120px;
  }
}

@media (max-width: 575.98px){
  .page-resources .resource-card__img{
    width:110px;
    height:110px;
  }
  .page-resources .resource-card__media-overlay{
    width:110px;
    height:110px;
  }
}

.page-resources .resources-more{
  margin-top:34px;
  display:flex;
  justify-content:center;
}

.page-resources .resources-more__inner{
  width:100%;
  display:flex;
  justify-content:center;
}

.page-resources .resources-more__btn{
  height:54px;
  min-width:min(300px, 100%);
  border:0;
  background:var(--c-black);
  color:var(--c-white);
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.01em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  cursor:pointer;
  text-decoration:none;
}

.page-resources .resources-more__end{
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  color:rgba(0,0,0,.8);
}

.page-resources .resources-news{
  background:var(--c-jizo);
  padding:26px 24px;
  display:flex;
  flex-direction:column;
  gap:18px;
  min-height:600px;
  height:auto;
  overflow:hidden;
}

@media (max-width: 991.98px){
  .page-resources .resources-news{ min-height:540px; }
}

@media (max-width: 575.98px){
  .page-resources .resources-news{ min-height:520px; }
}

.page-resources .resources-news__title{
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.01em;
  font-size:clamp(2rem, 2.2vw, 2.55rem);
  line-height:1.05;
  color:var(--c-black);
  max-width:16ch;
}

.page-resources .resources-news__text{
  font-family:"inter",sans-serif;
  font-size:1.02rem;
  line-height:1.75;
  color:rgba(31,31,31,.85);
  max-width:32ch;
}

.page-resources .resources-news__form{
  display:grid;
  gap:12px;
  margin-top:6px;
}

.page-resources .resources-news__input{
  width:100%;
  border:1px solid rgba(31,31,31,.65);
  border-radius:3px;
  padding:12px;
  font-family:"inter",sans-serif;
  font-size:1rem;
  background:var(--c-white);
  outline:none;
}

.page-resources .resources-news__btn{
  width:100%;
  height:46px;
  border:0;
  background:var(--c-black);
  color:var(--c-white);
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
}

.page-resources .resources-news__btn-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--c-white);
  display:inline-block;
}

.page-resources .resources-news__follow{
  margin-top:auto;
  padding-top:18px;
  border-top:2px solid rgba(0,0,0,.2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.page-resources .resources-news__follow-title{
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  text-transform:uppercase;
  font-size:1.25rem;
  color:var(--c-black);
}

.page-resources .resources-news__follow-icons{
  display:flex;
  gap:10px;
}

.page-resources .resources-news__icon{
  width:34px;
  height:24px;
  display:grid;
  place-items:center;
  background:var(--c-black);
  color:var(--c-white);
  text-decoration:none;
  font-family:"GT Flexa",sans-serif;
  font-weight:900;
  border-radius:2px;
}
