.brandtastic-footer {
  --brandtastic-footer-blue: var(--guardian-navy);
  --brandtastic-footer-dark: var(--guardian-navy);
  --brandtastic-footer-red: var(--guardian-burgundy);
  --brandtastic-footer-black: var(--guardian-charcoal);
  --brandtastic-body: var(--guardian-font-body);
  padding-bottom: 25px;
  color: var(--guardian-warm-white);
  background: var(--brandtastic-footer-dark);
  font-family: var(--guardian-font-body);
}

.brandtastic-footer .brandtastic-footer-logo {
  width: min(100%, 360px);
  aspect-ratio: 720 / 283;
  overflow: visible;
}
.brandtastic-footer .guardian-footer-logo {
  position: absolute;
  inset: 0;
  background-color: #fff;
  mask: url("img/guardian/guardian-home-services.webp") center / contain no-repeat;
}
.brandtastic-footer a { color: inherit; text-decoration: none; }
.brandtastic-footer a:hover, .brandtastic-footer a:focus-visible { color: inherit; }
.brandtastic-footer-feature { padding: 48px 0; color: var(--brandtastic-footer-black); background: var(--guardian-surface); }
.brandtastic-footer-feature__inner { width: min(calc(100% - 80px), 1300px); margin-inline: auto; }
.brandtastic-footer-feature__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding-block: 40px; }
.brandtastic-footer-feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.brandtastic-footer-feature h2 { margin: 0; color: var(--guardian-burgundy); font-family: var(--guardian-font-heading); font-size: 45px; font-weight:600; line-height: 1.2; letter-spacing: 1.35px; text-transform: capitalize; }
.brandtastic-footer-feature__line { display: block; width: 171px; height: 10px; background: var(--brandtastic-footer-red); }
.brandtastic-footer-feature p { margin: 0; font-size: 19px; font-weight: 400; line-height: 28px; letter-spacing: .57px; }
.brandtastic-footer-feature__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.brandtastic-footer .brandtastic-footer-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 15px; border: 0; border-radius: 5px; color: var(--guardian-warm-white); background: var(--guardian-burgundy); font-size: 19px; font-weight: 600; line-height: 28px; letter-spacing: .57px; text-align: center; text-transform: capitalize; transition: background-color .2s; }
.brandtastic-footer .brandtastic-footer-button:hover,
.brandtastic-footer .brandtastic-footer-button:focus-visible { color: var(--guardian-warm-white); background: var(--guardian-navy); }
.brandtastic-footer .brandtastic-footer-button--outline { padding: 10px 13px; border: 2px solid var(--brandtastic-footer-blue); color: var(--brandtastic-footer-black); background: transparent; }
.brandtastic-footer .brandtastic-footer-button--outline:hover,
.brandtastic-footer .brandtastic-footer-button--outline:focus-visible { color: var(--guardian-warm-white); background: var(--brandtastic-footer-blue); }
.brandtastic-footer__inner { display: flex; flex-direction: column; gap: 30px; width: min(calc(100% - 80px),1300px); margin: 100px auto 0; }
.brandtastic-footer__content { display: grid; grid-template-columns: minmax(0,500fr) minmax(0,725fr); align-items: start; gap: 75px; }
.brandtastic-footer-about { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.brandtastic-footer-logo { position: relative; display: block; width: min(100%,311.692px); aspect-ratio: 311.692 / 81; overflow: hidden; }
.brandtastic-footer-logo__main { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.brandtastic-footer-logo__tagline { position: absolute; top: 84.71%; left: 30.84%; width: 67.83%; height: auto; }
.brandtastic-footer-about p { margin: 0; font-size: 18px; font-weight: 300; line-height: 23px; letter-spacing: .54px; }
.brandtastic-footer__details { display: grid; grid-template-columns: minmax(0,325fr) minmax(0,300fr); align-items: stretch; column-gap: clamp(30px,5vw,100px); }
.brandtastic-footer-news { min-width: 0; }
.brandtastic-footer-news > h2, .brandtastic-footer-contact > h2 { margin: 0; color: var(--guardian-warm-white); font-family: var(--guardian-font-heading); font-size: 24px; font-weight: 600; line-height: 33px; letter-spacing: .72px; text-transform: capitalize; }
.brandtastic-footer-news__posts { display: flex; flex-direction: column; gap: 15px; padding: 0; margin: 15px 0 0; list-style: none; }
.brandtastic-footer-post { display: flex; align-items: center; gap: 10px; height: 70px; filter: drop-shadow(0 3px 4.5px rgb(0 0 0 / .25)); transition: opacity .2s ease; }
.brandtastic-footer-post__image { display: block; flex: 0 0 70px; width: 70px; height: 70px; overflow: hidden; border-radius: 5px; }
.brandtastic-footer-post__image img { display: block; width: 70px; height: 70px; object-fit: cover; }
.brandtastic-footer-post__placeholder { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; color: var(--guardian-warm-white); background: var(--guardian-burgundy); font-size: 14px; font-weight: 600; }
.brandtastic-footer-post__title { display: -webkit-box; min-width: 0; overflow: hidden; margin: 0; color: var(--guardian-warm-white); font-family: var(--guardian-font-body); font-size: 19px; font-weight:600; line-height: 26px; letter-spacing: .57px; text-transform: capitalize; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.brandtastic-footer-post:hover { opacity: .8; }
.brandtastic-footer-news__empty { margin: 15px 0 0; font-size: 18px; }
.brandtastic-footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; min-width: 0; }
.brandtastic-footer-phone { display: inline-flex; align-items: center; gap: 11.4px; font-size: 22.8px; font-weight: 600; line-height: 28px; letter-spacing: .684px; white-space: nowrap; }
.brandtastic-footer-phone img { flex: 0 0 22.8px; width: 22.8px; height: 22.8px; }
.brandtastic-footer-socials { display: flex; align-items: center; justify-content: flex-start; gap: 20px; width: 100%; padding: 0; margin: 0; list-style: none; }
.brandtastic-footer-socials a { display: block; width: 32px; height: 32px; transition: opacity .2s; }
.brandtastic-footer-socials a:hover { opacity: .75; }
.brandtastic-footer-socials img { width: 32px; height: 32px; }
.brandtastic-footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 0; min-height: 20px; font-size: 15px; font-weight: 600; line-height: 20px; letter-spacing: .45px; }
.brandtastic-footer-legal__item { display: inline-block; min-height: 20px; }
.brandtastic-footer-legal__item + .brandtastic-footer-legal__item::before { content: ""; display: inline-block; width: 2px; height: 15px; margin-inline: 10px; vertical-align: middle; background: var(--guardian-warm-white); }
.brandtastic-footer-legal a { display: inline-flex; align-items: center; gap: 5px; }
.brandtastic-footer-legal a:hover:not(:has(.brandtastic-footer-credit-logo)) { text-decoration: underline; }
.brandtastic-footer-credit-logo { position: relative; display: inline-block; flex: 0 0 104.409px; width: 104.409px; height: 16px; }
.brandtastic-footer-credit-logo__brand { position: absolute; top: 2.76%; left: 0; width: 51.8274px; height: 15.5079px; }
.brandtastic-footer-credit-logo__tastic { position: absolute; top: -.01%; left: 50.79%; width: 47.8548px; height: 16.0009px; }
.brandtastic-footer-credit-logo__trademark { position: absolute; top: 30.87%; left: 97.06%; width: 3.07445px; height: 3.07445px; }
.brandtastic-footer-credit-logo__brand path,
.brandtastic-footer-credit-logo__tastic path { transition: fill .3s ease; }
.brandtastic-footer-legal a:hover .brandtastic-footer-credit-logo__brand path,
.brandtastic-footer-legal a:focus-visible .brandtastic-footer-credit-logo__brand path { fill: var(--guardian-burgundy); }
.brandtastic-footer-legal a:hover .brandtastic-footer-credit-logo__tastic path,
.brandtastic-footer-legal a:focus-visible .brandtastic-footer-credit-logo__tastic path { fill: var(--guardian-burgundy); }
@media (max-width: 1400px) {
  .brandtastic-footer-feature__inner { column-gap: 50px; }
  .brandtastic-footer-feature h2 { font-size: 38px; letter-spacing: 1.14px; }
  .brandtastic-footer__content { gap: 45px; }
}
@media (max-width: 1100px) {
  .brandtastic-footer-feature { padding-right: 32px; }
  .brandtastic-footer-feature__inner { column-gap: 32px; }
  .brandtastic-footer-feature h2 { font-size: 34px; letter-spacing: 1.02px; }
  .brandtastic-footer__content { grid-template-columns: 1fr; gap: 45px; }
  .brandtastic-footer-about { max-width: 500px; }
  .brandtastic-footer__inner { margin-top: 70px; }
  .brandtastic-footer__details { grid-template-columns: minmax(0,325px) minmax(0,300px); justify-content: space-between; gap: 45px; }
}
@media (max-width: 750px) {
  .brandtastic-footer-feature { padding-right: 0; }
  .brandtastic-footer-feature__inner { grid-template-columns: 1fr; }
  .brandtastic-footer-feature__image { min-height: 0; height: 300px; }
  .brandtastic-footer-feature__copy { padding: 40px 24px; }
  .brandtastic-footer-feature h2 { font-size: 32px; letter-spacing: .96px; }
  .brandtastic-footer__inner { width: calc(100% - 48px); margin-top: 55px; gap: 40px; }
  .brandtastic-footer__details { grid-template-columns: 1fr; gap: 40px; }
  .brandtastic-footer-news { max-width: 400px; }
  .brandtastic-footer-contact { max-width: 300px; }
  .brandtastic-footer-legal__item + .brandtastic-footer-legal__item::before { display: none; }
  .brandtastic-footer-legal { gap: 8px 20px; }
}
@media (max-width: 380px) {
  .brandtastic-footer-feature__copy { padding-inline: 20px; }
  .brandtastic-footer-feature__buttons { gap: 12px; }
  .brandtastic-footer .brandtastic-footer-button { font-size: 16px; letter-spacing: .48px; padding-inline: 12px; }
  .brandtastic-footer .brandtastic-footer-button--outline { padding-inline: 10px; }
  .brandtastic-footer__inner { width: calc(100% - 40px); }
}

/* Guardian contact details and useful local links. */
.guardian-footer-email { max-width: 100%; overflow-wrap: anywhere; font-size: 16px; line-height: 1.5; }
.guardian-footer-towns { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--guardian-navy); font-size: 16px; }
.brandtastic-footer .guardian-footer-towns a { text-decoration: underline; text-underline-offset: 3px; }
.guardian-footer-navigation { padding-top: 24px; border-top: 1px solid rgb(var(--guardian-warm-white-rgb) / .2); }
.guardian-footer-navigation ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 0; margin: 0; list-style: none; font-size: 16px; }
.guardian-footer-navigation a:hover, .guardian-footer-navigation a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.brandtastic-footer-contact { gap: 20px; }
.brandtastic-footer-feature__line { width: 64px; height: 3px; }
.brandtastic-footer__inner { margin-top: 64px; }
.brandtastic-footer-post { filter: none; }
.brandtastic-footer-legal { font-size: 13px; font-weight: 400; letter-spacing: .01em; }
.brandtastic-footer-legal__item + .brandtastic-footer-legal__item::before { width: 1px; opacity: .35; }
@media (max-width: 750px) {
  .brandtastic-footer__inner { margin-top: 48px; }
}

/* Service-area callout without decorative photography. */
.brandtastic-footer-feature { padding: 48px 0; }
.brandtastic-footer-feature__copy { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px 48px; padding: 0; }
.brandtastic-footer-feature__text { grid-column: 1; }
.guardian-footer-towns { grid-column: 1; }
.brandtastic-footer-feature__buttons { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-content: flex-end; }
.brandtastic-footer-feature h2 { font-size: 34px; letter-spacing: .01em; }
@media (max-width: 1100px) {
  .brandtastic-footer-feature__copy { grid-template-columns: 1fr; gap: 20px; }
  .brandtastic-footer-feature__buttons { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}
@media (max-width: 750px) {
  .brandtastic-footer-feature { padding: 36px 0; }
  .brandtastic-footer-feature__inner { width: calc(100% - 48px); }
  .brandtastic-footer-feature h2 { font-size: 28px; }
}
