.resources-hero{
  background:#fff;
  padding:55px 0 35px;
}

.resources-hero-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:55px;
  align-items:center;
}

.section-label{
  color:var(--orange);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  display:block;
  margin-bottom:22px;
}

.resources-hero h1{
  font-size:48px;
  line-height:1.16;
  color:var(--blue-dark);
  font-weight:800;
  max-width:660px;
}

.resources-hero h1 span{
  color:var(--orange);
}

.orange-line{
  width:48px;
  height:3px;
  background:var(--orange);
  border-radius:10px;
  margin:18px 0;
}

.orange-line.small{
  width:38px;
  margin:10px 0 22px;
}

.resources-hero p{
  color:var(--gray);
  font-size:18px;
  line-height:1.8;
  max-width:620px;
}

.resources-hero-image{
  position:relative;
  min-height:410px;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
}

.resources-hero-image img{
  width:88%;
  height:360px;
  object-fit:cover;
  position:relative;
  z-index:3;
}

.shape-blue{
  position:absolute;
  width:86%;
  height:96%;
  left:0;
  bottom:0;
  background:linear-gradient(180deg,#6aa0ff,#0057e6);
  border-radius:320px 320px 0 0;
  z-index:1;
}

.shape-orange{
  position:absolute;
  width:28%;
  height:30%;
  left:13%;
  bottom:0;
  background:var(--orange);
  border-radius:180px 180px 0 0;
  z-index:2;
}

/* FILTROS */

.filters-section{
  background:#f5f6f8;
  padding:20px 0;
}

.filters-box{
  display:grid;
  grid-template-columns:2fr .75fr .75fr .75fr .5fr;
  gap:14px;
  background:#f7f8fb;
  padding:18px;
  border-radius:12px;
}

.search-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 16px;
}

.search-box i{
  color:var(--blue-dark);
}

.search-box input,
.filters-box select{
  width:100%;
  border:none;
  outline:none;
  background:#fff;
  color:var(--text);
  font-family:inherit;
  font-size:14px;
}

.filters-box select{
  border:1px solid var(--border);
  border-radius:8px;
  padding:15px;
}

.filters-box button{
  border:none;
  background:var(--blue-dark);
  color:#fff;
  border-radius:8px;
  font-weight:800;
  cursor:pointer;
}

/* ARTÍCULOS */

.articles-section{
  padding:35px 0 45px;
  background:#fff;
}

.articles-layout{
  display:grid;
  grid-template-columns:1fr 310px;
  gap:32px;
}

.section-title-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.section-title-row h2,
.popular-resources h2{
  color:var(--blue-dark);
  font-size:28px;
  font-weight:800;
}

.see-all{
  color:var(--blue);
  font-size:14px;
  font-weight:700;
}

.articles-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.article-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  transition:.25s;
  cursor:pointer;
}

.article-card:hover{
  transform:translateY(-4px);
}

.article-card img{
  width:100%;
  height:155px;
  object-fit:cover;
}

.article-content{
  padding:18px;
}

.badge{
  display:inline-block;
  font-size:10px;
  font-weight:800;
  padding:5px 9px;
  border-radius:20px;
  margin-bottom:12px;
  text-transform:uppercase;
}

.badge.blue{
  background:#edf4ff;
  color:var(--blue);
}

.badge.orange{
  background:#fff4e8;
  color:var(--orange);
}

.badge.green{
  background:#eef8ea;
  color:#4f9a3a;
}

.badge.purple{
  background:#f3eafd;
  color:#7c3fd0;
}

.article-card h3{
  color:var(--blue-dark);
  font-size:18px;
  line-height:1.35;
  margin-bottom:12px;
}

.article-card p{
  color:var(--gray);
  font-size:14px;
  line-height:1.7;
  margin-bottom:16px;
}

.article-meta{
  display:flex;
  gap:16px;
  color:#7a8292;
  font-size:12px;
}

/* SIDEBAR */

.sidebar{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.sidebar-card{
  background:#f7f8fb;
  border-radius:12px;
  padding:24px;
}

.sidebar-card h3{
  color:var(--blue-dark);
  font-size:24px;
}

.category-list li{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--blue-dark);
  font-size:14px;
  padding:11px 0;
}

.category-list span{
  margin-left:auto;
}

.category-list i{
  color:var(--blue);
}

.newsletter{
  background:var(--blue-dark);
  border-radius:12px;
  padding:28px;
  color:#fff;
}

.newsletter-icon{
  width:74px;
  height:74px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  margin-bottom:18px;
}

.newsletter h3{
  font-size:24px;
  margin-bottom:16px;
}

.newsletter p{
  font-size:15px;
  line-height:1.8;
  color:rgba(255,255,255,.85);
  margin-bottom:18px;
}

.newsletter input{
  width:100%;
  padding:16px;
  border:none;
  border-radius:8px;
  margin-bottom:14px;
  font-family:inherit;
}

.newsletter button{
  width:100%;
  border:none;
  background:var(--orange);
  color:#fff;
  padding:16px;
  border-radius:8px;
  font-weight:800;
  cursor:pointer;
}

.newsletter small{
  display:block;
  margin-top:14px;
  color:rgba(255,255,255,.78);
  line-height:1.6;
}

/* VER MÁS */

.more-wrapper{
  text-align:center;
  margin-top:28px;
}

#loadMoreBtn{
  background:#fff;
  border:1px solid var(--blue-dark);
  color:var(--blue-dark);
  padding:14px 36px;
  border-radius:8px;
  font-weight:800;
  cursor:pointer;
}

/* RECURSOS POPULARES */

.popular-resources{
  background:#fff;
  padding:25px 0 55px;
}

.resources-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
}

.resource-item{
  display:flex;
  gap:16px;
  padding:22px;
  border-right:1px solid var(--border);
  color:var(--blue-dark);
}

.resource-item:last-child{
  border-right:none;
}

.resource-item i{
  font-size:28px;
  color:var(--blue);
}

.resource-item span{
  font-size:10px;
  font-weight:800;
  color:var(--blue);
}

.resource-item h3{
  font-size:15px;
  line-height:1.4;
  margin:6px 0;
}

.resource-item p{
  font-size:13px;
  color:var(--gray);
}

/* CTA */

.resources-cta{
  background:#fff;
  padding:0 0 15px;
}

.resources-cta-box{
  background:linear-gradient(90deg,#08235a,#0c2b6d);
  border-radius:12px;
  padding:38px 70px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
}

.resources-cta h2{
  color:#fff;
  font-size:32px;
  max-width:680px;
  line-height:1.3;
}

.btn-white{
  background:#fff;
  color:var(--blue-dark);
  padding:17px 34px;
  border-radius:10px;
  font-weight:800;
  display:inline-flex;
  gap:12px;
  align-items:center;
}

@media(max-width:1100px){
  .resources-hero-grid,
  .articles-layout,
  .filters-box,
  .resources-row,
  .resources-cta-box{
    grid-template-columns:1fr;
  }

  .articles-grid{
    grid-template-columns:1fr 1fr;
  }

  .resources-hero h1{
    font-size:38px;
  }

  .resources-hero-image img{
    height:320px;
  }

  .resources-cta-box{
    padding:32px;
    align-items:flex-start;
  }
}

@media(max-width:650px){
  .articles-grid{
    grid-template-columns:1fr;
  }

  .resources-hero h1{
    font-size:32px;
  }

  .section-title-row{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .resources-cta h2{
    font-size:26px;
  }

  .btn-white,
  #searchBtn{
    width:100%;
  }
}