/* CRVS-604 overrides for callyourinformer (loaded after main.css) */

/* Imported Independent recirculation has no working links or theme styles.
   Keep it out of the story; the site's own Related Articles stays visible. */
.crvs-article-body div.related:has(> ul > li > img[src^="https://static.independent.co.uk/"]) {
  display: none !important;
}

/* Real footer band: the theme footer is transparent, so it blended into the
   white feed. Give it a light band with a top divider; keep padding tight so
   the page doesn't end on a wall of empty space. */
.s-footer {
  background-color: #f6f6f6;
  border-top: 1px solid #e7e7e7;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.s-footer .footer__widget {
  margin-bottom: 3.6rem;
  text-align: left;
}

.s-footer .footer__widget-title {
  color: #000000;
  font-size: 1.4rem;
  letter-spacing: .18rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.1rem;
  position: relative;
  text-transform: uppercase;
}

.s-footer .footer__widget-title::after {
  background-color: #000000;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 4.4rem;
}

.s-footer .footer__post {
  align-items: center;
  border-bottom: 1px solid #e1e1e1;
  display: -webkit-flex;
  display: flex;
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
}

.s-footer .footer__post:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.s-footer .footer__post-thumb {
  flex: 0 0 5.6rem;
  margin-right: 1.2rem;
}

.s-footer .footer__post-thumb img {
  display: block;
  height: 5.6rem;
  object-fit: cover;
  width: 5.6rem;
}

.s-footer .footer__post h5 {
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 1.6rem;
  line-height: 1.35;
  margin: 0;
}

.s-footer .footer__post h5 a {
  color: #202020;
}

.s-footer .footer__post h5 a:hover {
  color: #000000;
}

.s-footer .footer__categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.s-footer .footer__categories li {
  border-bottom: 1px solid #e1e1e1;
  list-style: none;
}

.s-footer .footer__categories a {
  color: #202020;
  display: -webkit-flex;
  display: flex;
  font-size: 1.6rem;
  justify-content: space-between;
  padding: 1rem 0;
}

.s-footer .footer__categories a:hover,
.s-footer .footer__categories a:hover span {
  color: #000000;
}

.s-footer .footer__categories span {
  color: rgba(0, 0, 0, .45);
}

.s-footer .footer__content {
  border-top: 0;
  padding-top: 3rem;
}

.s-footer .footer__logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.s-footer .footer__logo img {
  max-height: 4.8rem;
  width: auto;
}

/* Footer social row: dark round buttons + white SVG icons on the light band. */
.s-footer .footer__social {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}

.s-footer .footer__social li {
  margin: 0 0.5rem;
}

.s-footer .footer__social a {
  display: block;
  position: relative;
  height: 3.6rem;
  width: 3.6rem;
  border-radius: 50%;
  background-color: #151515;
  transition: all 0.3s;
}

.s-footer .footer__social a:hover {
  background-color: #000000;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.s-footer .footer__social a::after {
  content: "";
  display: block;
  height: 1.4rem;
  width: 1.4rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.s-footer .footer__social span {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
}

.s-footer .footer__social .ss-facebook a::after { background-image: url(../images/icons/social/icon-facebook.svg); }
.s-footer .footer__social .ss-instagram a::after { background-image: url(../images/icons/social/icon-instagram.svg); }
.s-footer .footer__social .ss-twitter a::after { background-image: url(../images/icons/social/icon-twitter.svg); }
.s-footer .footer__social .ss-pinterest a::after { background-image: url(../images/icons/social/icon-pinterest.svg); }
.s-footer .footer__social .ss-youtube a::after { background-image: url(../images/icons/social/icon-youtube.svg); }

/* Below the sidebar breakpoint the language control floats over the feed. */
@media (max-width: 1100px) {
  #translate-wrapper { max-width: calc(100vw - 90px); }
  #translate-wrapper:has(select) { padding: 5px 8px; background: #171717; }
  #translate-wrapper select { max-width: 100%; color: #fff; margin: 0; }
  #translate-wrapper select:focus { color: #fff; }
  .s-footer { padding-bottom: 9rem; }
}
