.ci-cdash-custom-news .ci-cdash-section-title {
    margin: 0 0 16px !important;
    font-family: var(--ci-cd-serif) !important;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
    font-weight: 500;
    color: var(--ci-cd-text);
}
.ci-cdash-custom-news .ci-cdash__eyebrow {
    color: var(--ci-cd-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    margin-bottom: 8px;
    display: block;
}
.ci-cdash-custom-news-hero {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
}
.ci-cdash-custom-news-hero-media {
    position: relative;
    background: #ece7e1;
    overflow: hidden;
}
.ci-cdash-custom-news-hero-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 2 / 1;
}
.ci-cdash-custom-news-hero-media .ci-cdash-news__badge {
    left: 16px;
    top: 16px;
    bottom: auto;
    background: var(--ci-cd-red);
    color: #fff;
}
@media (min-width: 992px) {
    .ci-cdash-custom-news-hero {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }
    .ci-cdash-custom-news-hero-media {
        flex: 0 0 60%;
        max-width: 60%;
    }
    .ci-cdash-custom-news-hero-body {
        flex: 1;
        padding-right: 24px;
    }
}
.ci-cdash-news-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 0;
}
.ci-cdash-custom-news-explore {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--ci-cd-border, #e5e1db);
}
.ci-cdash-news-pill {
    padding: 8px 24px;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    border: 1px solid var(--ci-cd-border);
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ci-cdash-news-pill:hover,
.ci-cdash-news-pill.active {
    background: var(--ci-cd-red);
    color: #fff;
    border-color: var(--ci-cd-red);
}
.ci-cdash-custom-news-feed {
    margin-bottom: 64px;
}
.ci-cdash-custom-news-feed__head {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--ci-cd-red);
}
.ci-cdash-custom-news-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ci-cdash-custom-news-essential-wrap {
    position: relative;
}
.ci-cdash-custom-news-essential-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
.ci-cdash-custom-news-essential-head__copy {
    flex: 1;
    min-width: 0;
}
.ci-cdash-custom-news-essential-head__copy p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    max-width: 640px;
}
.ci-cdash-custom-news-essential-nav {
    display: flex;
    gap: 8px;
    flex: none;
}
.ci-cdash-custom-news-essential-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ci-cd-border, #d9d4cd);
    background: #fff;
    color: var(--ci-cd-text, #111);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.ci-cdash-custom-news-essential-nav button:hover:not(:disabled) {
    border-color: var(--ci-cd-red);
    color: var(--ci-cd-red);
}
.ci-cdash-custom-news-essential-nav button:disabled {
    opacity: 0.35;
    cursor: default;
}
.ci-cdash-custom-news-essential-viewport {
    overflow: hidden;
    width: 100%;
    padding: 4px;
    margin: -4px;
}
.ci-cdash-custom-news-essential {
    display: flex;
    width: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}
.ci-cdash-custom-news-essential__page {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-right: 0;
}
@media (min-width: 768px) {
    .ci-cdash-custom-news-essential__page {
        grid-template-columns: repeat(3, 1fr);
    }
}
.ci-cdash-custom-news-essential .ci-cdash-news__item--col .ci-cdash-news__thumb {
    height: 140px !important;
    aspect-ratio: 16 / 9;
}
.ci-cdash-news-load-more {
    display: block;
    width: fit-content;
    min-width: 320px;
    margin: 40px auto 0;
    text-align: center;
    padding: 14px 36px;
    border: 1px solid var(--ci-cd-red);
    color: var(--ci-cd-red);
    font-weight: 700;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
}
.ci-cdash-news-load-more:hover {
    background: #fbf9f6;
}

/* Feed rows — compact list: fixed-width thumb, text carries the row */
.ci-cdash-custom-news-grid .ci-cdash-news-row,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    min-height: 0;
    padding: 24px 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--ci-cd-border, #e5e1db) !important;
    background: transparent;
    overflow: visible;
}
/* Must beat display:grid !important so topic chips can hide non-matches. */
.ci-cdash-custom-news-grid .ci-cdash-news-row.is-filtered-out,
.ci-cdash-custom-news-grid .ci-cdash-hidden-news-row.is-filtered-out {
    display: none !important;
}
.ci-cdash-custom-news-grid .ci-cdash-hidden-news-row {
    display: block;
    border-bottom: 1px solid var(--ci-cd-border, #e5e1db);
}
.ci-cdash-custom-news-grid .ci-cdash-hidden-news-row > .ci-cdash-news-row,
.ci-cdash-custom-news-grid .ci-cdash-hidden-news-row > .ci-cdash-news__item--row {
    width: 100%;
    border-bottom: none !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}
.ci-cdash-custom-news-grid > .ci-cdash-news-row:last-child,
.ci-cdash-custom-news-grid > .ci-cdash-hidden-news-row:last-child {
    border-bottom: none !important;
}
.ci-cdash-custom-news-grid > .ci-cdash-news-row:first-child {
    padding-top: 8px !important;
}
@media (min-width: 768px) {
    .ci-cdash-custom-news-grid .ci-cdash-news-row,
    .ci-cdash-custom-news-grid .ci-cdash-news__item--row {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
        gap: 28px;
    }
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__thumb,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__thumb {
    position: relative;
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: 150px;
    min-height: 0;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #ece7e1;
    align-self: start;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__thumb img,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__thumb img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__body,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__item-body {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    min-width: 0;
    min-height: 0;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__cat {
    color: var(--ci-cd-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__title,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__item-title {
    margin: 0 0 8px !important;
    font-family: var(--ci-cd-serif);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem) !important;
    font-weight: 600;
    line-height: 1.2;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__title a,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__item-title a {
    color: var(--ci-cd-text);
    text-decoration: none;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__excerpt,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__excerpt {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row__meta {
    margin-top: auto;
    font-size: 12px;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__meta {
    order: -1;
    margin: 0 0 10px;
    justify-content: flex-start;
}
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__time {
    display: none;
}

/* Hover treatments, matching the overview page */
.ci-cdash-custom-news-hero-media img,
.ci-cdash-custom-news-grid .ci-cdash-news-row__thumb img,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__thumb img {
    transition: transform 0.35s ease;
}
.ci-cdash-custom-news-hero:hover .ci-cdash-custom-news-hero-media img,
.ci-cdash-custom-news-grid .ci-cdash-news-row:hover .ci-cdash-news-row__thumb img,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row:hover .ci-cdash-news__thumb img {
    transform: scale(1.04);
}
.ci-cdash-custom-news-hero-media {
    transition: box-shadow 0.25s ease;
}
.ci-cdash-custom-news-hero:hover .ci-cdash-custom-news-hero-media {
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.14);
}
/* The hero headline carries an inline colour, so the hover state must outrank it. */
.ci-cdash-custom-news-hero h3,
.ci-cdash-custom-news-grid .ci-cdash-news-row__title a,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row .ci-cdash-news__item-title a {
    transition: color 0.2s ease;
}
.ci-cdash-custom-news-hero:hover h3,
.ci-cdash-custom-news-grid .ci-cdash-news-row:hover .ci-cdash-news-row__title a,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row:hover .ci-cdash-news__item-title a {
    color: var(--ci-cd-red) !important;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row {
    transition: background-color 0.2s ease;
}
.ci-cdash-custom-news-grid .ci-cdash-news-row:hover,
.ci-cdash-custom-news-grid .ci-cdash-news__item--row:hover {
    background: #fbf9f6;
}
.ci-cdash-news-load-more:hover,
.ci-cdash-news-load-more:focus-visible {
    background: var(--ci-cd-red);
    border-color: var(--ci-cd-red);
    color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .ci-cdash-custom-news-hero:hover .ci-cdash-custom-news-hero-media img,
    .ci-cdash-custom-news-grid .ci-cdash-news-row:hover .ci-cdash-news-row__thumb img,
    .ci-cdash-custom-news-grid .ci-cdash-news__item--row:hover .ci-cdash-news__thumb img {
        transform: none;
    }
}
@media screen and (max-width: 768px) {
            .coin-news-section {
                padding-top: 0;
            }

            h1.guides-section-title,
            h2.guides-section-title {
                line-height: 1.1em;
                margin-bottom: 5px;
            }
        }
/* Site footer v2 — matches footer mockup */

:root {
  --ci-footer-red: #8b1538;
  --ci-footer-red-dark: #6f112d;
  --ci-footer-bg: #f5f5f5;
  --ci-footer-text: #111111;
  --ci-footer-muted: #111111;
  --ci-footer-border: #e0e0e0;
  --ci-footer-serif: "Playfair Display", "Playfair Fallback", Georgia, "Times New Roman", Times, serif;
  --ci-footer-sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.ci-has-v2-footer .site-footer:not(.ci-site-footer),
body.ci-has-v2-footer .footer-copyright,
body.ci-has-v2-footer .footer-all-reviews,
body.ci-has-v2-footer .footer-disclaimer,
body.ci-has-v2-footer .footer-lang-switcher {
  display: none !important;
}

/* Sticky footer on flex column body (same behaviour as legacy .site-footer) */
body.ci-has-v2-footer #main.main-wrapper {
  flex: 1 0 auto;
}

body.ci-has-v2-footer .ci-site-footer {
  margin-top: auto;
  flex-shrink: 0;
}

.ci-site-footer {
  box-sizing: border-box;
  width: 100%;
  font-family: var(--ci-footer-sans);
  color: var(--ci-footer-text);
  background: var(--ci-footer-bg) !important;
  margin-top: 0;
  padding: 0;
  border-top: 1px solid var(--ci-footer-border);
  line-height: normal;
}

.ci-site-footer *,
.ci-site-footer *::before,
.ci-site-footer *::after {
  box-sizing: border-box;
}

.ci-site-footer__inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 0;
}

.ci-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  padding-bottom: 36px;
}

.ci-site-footer__brand {
  padding-right: 40px;
}

.ci-site-footer__col {
  padding: 0 32px;
  border-left: 1px solid var(--ci-footer-border);
}

.ci-site-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 0 0 18px;
  line-height: 0;
}

.ci-site-footer__logo-img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 206px;
}

.ci-site-footer__tagline {
  margin: 0 0 22px;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ci-footer-muted);
}

.ci-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ci-site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--ci-footer-red);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease;
}

.ci-site-footer__social-link:hover {
  background: var(--ci-footer-red-dark);
  color: #fff;
}

.ci-site-footer__social-link svg,
.ci-site-footer__social-icon-img {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}

.ci-site-footer__social-icon-img {
  filter: brightness(0) invert(1);
}

.ci-site-footer__heading {
  margin: 0 0 14px;
  font-family: var(--ci-footer-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ci-footer-red);
}

.ci-site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ci-site-footer__links li + li {
  margin-top: 8px;
}

.ci-site-footer__links a {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ci-footer-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.ci-site-footer__links a:hover {
  color: var(--ci-footer-red);
}

.ci-site-footer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0 22px;
  border-top: 1px solid var(--ci-footer-border);
}

.ci-site-footer__bar:not(:has(.ci-site-footer__center)) {
  grid-template-columns: 1fr auto;
}

.ci-site-footer__copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ci-footer-text);
  justify-self: start;
}

.ci-site-footer__center {
  justify-self: center;
  text-align: center;
}

.ci-site-footer__cookies,
.ci-site-footer__center .cn-revoke-cookie,
.ci-site-footer__center .gdpr-cmp-manage-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ci-footer-text);
  text-decoration: none;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
  width: auto;
}

.ci-site-footer__cookies:hover,
.ci-site-footer__center .cn-revoke-cookie:hover,
.ci-site-footer__center .gdpr-cmp-manage-link:hover,
.ci-site-footer__center .gdpr-cmp-manage-link:focus {
  color: var(--ci-footer-red);
  text-decoration: underline;
}

/* GDPR CMP prints a duplicate manage link after the footer in wp_footer */
body.ci-has-v2-footer #gdpr-cmp-manage-link {
  display: none !important;
}

body.ci-has-v2-footer #ciFooterCookies #gdpr-cmp-manage-link {
  display: inline-block !important;
}

/* Never show the plugin revoke strip; footer bar link is the control */
body.ci-has-v2-footer #cookie-notice .cookie-revoke-container {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Collapse fixed bar when only the revoke strip would show (below footer) */
body.ci-has-v2-footer #cookie-notice.cookie-revoke-visible:not(.cookie-notice-visible),
body.ci-has-v2-footer #cookie-notice.ci-footer-revoke-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  background: transparent !important;
}

body.ci-has-v2-footer #cookie-notice.cookie-notice-visible {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
}

.ci-site-footer__rss {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ci-footer-text);
  text-decoration: none;
  transition: color 0.15s ease;
  justify-self: end;
}

.ci-site-footer__rss:hover {
  color: var(--ci-footer-red);
}

.ci-site-footer__rss svg {
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .ci-site-footer__inner {
    width: calc(100% - 32px);
    padding-top: 44px;
  }

  .ci-site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .ci-site-footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
    border-bottom: 1px solid var(--ci-footer-border);
    padding-bottom: 28px;
  }

  .ci-site-footer__col {
    border-left: none;
    padding: 0;
  }

  .ci-site-footer__col:nth-child(odd) {
    padding-right: 16px;
  }
}

@media (max-width: 600px) {
  .ci-site-footer__inner {
    width: calc(100% - 24px);
    padding-top: 36px;
  }

  /* Brand full width; link columns in two side-by-side columns */
  .ci-site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 20px;
  }

  .ci-site-footer__brand {
    grid-column: 1 / -1;
    padding-bottom: 24px;
  }

  .ci-site-footer__col {
    min-width: 0;
  }

  .ci-site-footer__col:nth-child(2) {
    padding-right: 10px;
  }

  .ci-site-footer__col:nth-child(3) {
    padding-left: 0;
  }

  /* About: full width below the first pair */
  .ci-site-footer__grid > .ci-site-footer__col:last-child {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .ci-site-footer__bar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 14px 12px;
  }

  .ci-site-footer__bar:not(:has(.ci-site-footer__center)) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .ci-site-footer__copy {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    text-align: center;
    width: 100%;
  }

  .ci-site-footer__center {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  .ci-site-footer__rss {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .ci-site-footer__bar:not(:has(.ci-site-footer__center)) .ci-site-footer__rss {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

/* Accordion columns: one chevron on small screens, plain headings on desktop. */
.ci-site-footer__accordion {
  min-width: 0;
  padding: 0 32px;
  border-left: 1px solid var(--ci-footer-border);
}

.ci-site-footer__accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

.ci-site-footer__accordion-summary::-webkit-details-marker {
  display: none;
}

.ci-site-footer__accordion-summary::marker {
  content: '';
}

.ci-site-footer__accordion-summary .ci-site-footer__heading {
  margin: 0;
}

.ci-site-footer__accordion-icon {
  display: none;
  flex: 0 0 auto;
  color: var(--ci-footer-red);
  line-height: 0;
}

.ci-site-footer__accordion-icon svg {
  display: block;
  transition: transform 0.15s ease;
}

.ci-site-footer__accordion[open] .ci-site-footer__accordion-icon svg {
  transform: rotate(180deg);
}

.ci-site-footer__accordion-panel {
  padding-top: 14px;
}

.ci-site-footer__sitemap {
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ci-footer-text);
  text-decoration: none;
}

.ci-site-footer__sitemap:hover {
  color: var(--ci-footer-red);
  text-decoration: underline;
}

.ci-site-footer__utilities {
  display: contents;
}

@media (min-width: 992px) {
  .ci-site-footer__accordion-summary {
    pointer-events: none;
    cursor: default;
  }

  .ci-site-footer__accordion-panel {
    display: block;
  }
}

@media (max-width: 991px) {
  .ci-site-footer__accordion {
    border-left: none;
    padding: 0;
  }

  .ci-site-footer__accordion-icon {
    display: inline-flex;
  }

  .ci-site-footer__accordion:nth-of-type(odd) {
    padding-right: 16px;
  }
}

@media (max-width: 600px) {
  .ci-site-footer__accordion {
    min-width: 0;
    padding-right: 0;
  }

  .ci-site-footer__grid > .ci-site-footer__accordion:last-child {
    grid-column: 1 / -1;
  }

  .ci-site-footer__sitemap {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    text-align: center;
  }

  .ci-site-footer__center {
    grid-row: 2;
  }

  .ci-site-footer__rss {
    grid-row: 2;
  }
}

/* Decorative icons are confined to the mobile/tablet footer. */
.ci-site-footer__section-icon,
.ci-site-footer__utility-icon { display: none; }

@media (max-width: 1100px) {
  .ci-site-footer__inner { width: calc(100% - 48px); padding-top: 36px; }
  .ci-site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 0; }
  .ci-site-footer__brand { grid-column: auto; padding: 0 0 24px; border: 0; }
  .ci-site-footer__logo { margin-bottom: 18px; }
  .ci-site-footer__logo-img { width: 232px; height: auto; max-width: 100%; }
  .ci-site-footer__tagline { max-width: 38ch; margin-bottom: 18px; font-size: 14px; line-height: 1.65; }
  .ci-site-footer__social { gap: 2px; margin-left: -4px; }
  .ci-site-footer__social-link { position: relative; width: 44px; height: 44px; background: transparent; border-radius: 8px; }
  .ci-site-footer__social-link::before { content: ''; position: absolute; inset: 6px; border-radius: 5px; background: var(--ci-footer-red); transition: background .15s ease; }
  .ci-site-footer__social-link:hover { background: transparent; }
  .ci-site-footer__social-link:hover::before { background: var(--ci-footer-red-dark); }
  .ci-site-footer__social-link :is(svg, img) { position: relative; width: 18px; height: 18px; }
  .ci-site-footer__grid > .ci-site-footer__accordion { grid-column: auto; padding: 0; border: 0; border-top: 1px solid var(--ci-footer-border); }
  .ci-site-footer__accordion-summary { min-height: 64px; justify-content: flex-start; gap: 14px; cursor: pointer; pointer-events: auto; }
  .ci-site-footer__accordion-summary .ci-site-footer__heading { font-family: var(--ci-footer-serif); font-size: 17px; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--ci-footer-text); }
  .ci-site-footer__section-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #f3e8eb; color: var(--ci-footer-red); }
  .ci-site-footer__accordion-icon { display: inline-flex; margin-left: auto; padding: 8px; }
  .ci-site-footer__accordion-panel { display: block; padding: 0 0 18px 48px; }
  .ci-site-footer__accordion:not([open]) > .ci-site-footer__accordion-panel { display: none; }
  .ci-site-footer__links li + li { margin-top: 0; }
  .ci-site-footer__links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }
  .ci-site-footer__copyright { padding: 24px 0 !important; border-top: 1px solid var(--ci-footer-border); }
  .ci-site-footer__copy { width: 100%; text-align: center; font-size: 12px; color: #555; }
  .ci-site-footer__bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto; gap: 0; padding: 14px 0 20px; }
  .ci-site-footer__bar :is(.ci-site-footer__sitemap, .ci-site-footer__center, .ci-site-footer__rss) { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-width: 0; min-height: 44px; grid-column: auto; grid-row: auto; justify-self: stretch; font-size: 11px; text-align: center; }
  .ci-site-footer__bar .ci-site-footer__center { border-inline: 1px solid var(--ci-footer-border); padding-inline: 8px; }
  .ci-site-footer__center :is(.ci-site-footer__cookies, .cn-revoke-cookie, .gdpr-cmp-manage-link) { font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .ci-site-footer__utility-icon { display: block; flex: 0 0 15px; }
  .ci-site-footer :is(a, button, summary):focus-visible { outline: 2px solid var(--ci-footer-red); outline-offset: 3px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .ci-site-footer__inner { width: calc(100% - 64px); padding-top: 40px; }
  .ci-site-footer__grid { grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); column-gap: 40px; padding-bottom: 28px; }
  .ci-site-footer__brand { grid-column: 1; grid-row: 1 / span 3; padding: 8px 0 0; }
  .ci-site-footer__grid > .ci-site-footer__accordion { grid-column: 2; }
  .ci-site-footer__grid > .ci-site-footer__accordion:last-child { border-bottom: 1px solid var(--ci-footer-border); }
  .ci-site-footer__accordion-summary { min-height: 68px; }
  .ci-site-footer__accordion-summary .ci-site-footer__heading { font-size: 18px; }
  .ci-site-footer__bar { max-width: 560px; margin-inline: auto; }
  .ci-site-footer__bar :is(.ci-site-footer__sitemap, .ci-site-footer__rss),
  .ci-site-footer__center :is(.ci-site-footer__cookies, .cn-revoke-cookie, .gdpr-cmp-manage-link) { font-size: 12px; }
}

@media (max-width: 359px) {
  .ci-site-footer__inner { width: calc(100% - 32px); }
  .ci-site-footer__bar :is(.ci-site-footer__sitemap, .ci-site-footer__center, .ci-site-footer__rss) { gap: 4px; font-size: 10px; }
  .ci-site-footer__center :is(.ci-site-footer__cookies, .cn-revoke-cookie, .gdpr-cmp-manage-link) { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ci-site-footer__social-link::before,
  .ci-site-footer__accordion-icon svg { transition: none; }
}

/* Trustpilot review link beneath the existing footer social icons. */
#ciSiteFooter .ci-site-footer__trustpilot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 260px;
  max-width: 100%;
  margin-top: 24px;
  padding: 20px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-family: var(--ci-footer-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
#ciSiteFooter .ci-site-footer__trustpilot:hover {
  border-color: #9ca3af;
  color: #111;
}
#ciSiteFooter .ci-site-footer__trustpilot:focus-visible {
  outline: 2px solid var(--ci-footer-red);
  outline-offset: 3px;
}
#ciSiteFooter .ci-site-footer__trustpilot-brand {
  margin-top: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
}
#ciSiteFooter .ci-site-footer__trustpilot-logo {
  display: block;
  width: 170px;
  max-width: calc(100% - 26px);
  height: auto;
  filter: none;
}
#ciSiteFooter .ci-site-footer__trustpilot-external {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #56616e;
}