/* CRVS-604 footer tuned for feedyourheadmag. */
.crvs-footer{
  --fy-yellow:#ffcc00;
  --fy-ink:#212529;
  --fy-bg:#1a1c1f;
  --fy-panel:#212529;
  --fy-deeper:#121417;
  --fy-text:#e8e8ea;
  --fy-muted:#9aa0a6;
  --fy-line:rgba(255,255,255,.1);
  background:var(--fy-bg);
  border-top:4px solid var(--fy-yellow);
  color:var(--fy-text);
  font-family:"Montserrat",sans-serif;
  margin-top:0;
}
.crvs-footer *{box-sizing:border-box;}
.crvs-footer a{color:inherit;text-decoration:none;}
.crvs-footer__inner{max-width:1140px;margin:0 auto;padding:54px 15px 0;}
.crvs-footer__cols{display:grid;grid-template-columns:1fr 1fr .9fr;gap:42px;}
.crvs-footer__title{
  color:#fff;
  display:inline-block;
  font-size:14px;
  font-weight:700;
  letter-spacing:.6px;
  line-height:1.3;
  margin:0 0 24px;
  position:relative;
  text-transform:uppercase;
}
.crvs-footer__title::after{
  background:var(--fy-yellow);
  bottom:-9px;
  content:"";
  height:3px;
  left:0;
  position:absolute;
  width:100%;
}
.crvs-post{
  align-items:center;
  border-bottom:1px solid var(--fy-line);
  display:flex;
  gap:14px;
  margin-bottom:16px;
  padding-bottom:16px;
}
.crvs-post:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0;}
.crvs-post__img{
  border-radius:3px;
  flex:0 0 88px;
  height:62px;
  object-fit:cover;
  width:88px;
}
.crvs-post__title{
  color:#e9e9eb;
  display:block;
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  transition:color .2s;
}
.crvs-post:hover .crvs-post__title{color:var(--fy-yellow);}
.crvs-cats{list-style:none;margin:0;padding:0;}
.crvs-cats li{border-bottom:1px solid var(--fy-line);}
.crvs-cats li:first-child{border-top:1px solid var(--fy-line);}
.crvs-cats a{
  align-items:center;
  color:#dedede;
  display:flex;
  font-size:14px;
  font-weight:500;
  justify-content:space-between;
  padding:12px 0;
  transition:color .2s,padding-left .2s;
}
.crvs-cats a:hover{color:var(--fy-yellow);padding-left:7px;}
.crvs-cats a span{color:var(--fy-muted);font-size:12px;font-weight:400;}
.crvs-footer__brand{
  background:var(--fy-panel);
  border-top:1px solid var(--fy-line);
  margin-top:42px;
  padding:32px 15px 28px;
  text-align:center;
}
.crvs-footer__logo{display:inline-block;margin-bottom:0;}
.crvs-footer__logo img{display:inline-block;height:47px;max-width:230px;width:auto;}
.crvs-footer__copy{
  background:var(--fy-deeper);
  color:#9aa0a6;
  font-size:13px;
  padding:17px 15px;
  text-align:center;
}
/* tablet: the third widget (Popular Categories) was meant to take the full width under the two post lists, but the
   rule named .crvs-footer__col while the widgets carry .crvs-footer__widget, so it never applied and the categories
   sat under "Recent Posts" next to an empty half. Selector corrected; the list then runs in two columns so its rows
   do not stretch across the whole footer. */
@media(max-width:1024px){
  .crvs-footer__cols{gap:34px;grid-template-columns:1fr 1fr;}
  .crvs-footer__widget:last-child{grid-column:1 / -1;}
  .crvs-footer__widget:last-child .crvs-cats{display:grid;grid-template-columns:1fr 1fr;column-gap:34px;}
  .crvs-footer__widget:last-child .crvs-cats li:nth-child(2){border-top:1px solid var(--fy-line);}
}
@media(max-width:767px){
  .crvs-footer__inner{padding-top:40px;}
  .crvs-footer__cols{grid-template-columns:1fr;gap:32px;}
  .crvs-footer__widget:last-child{grid-column:auto;}
  .crvs-footer__widget:last-child .crvs-cats{display:block;}
  .crvs-footer__widget:last-child .crvs-cats li:nth-child(2){border-top:0;}
}
