/**
 * Theme Name: CCDI Payments
 * Template: bootstrap-basic
 * Text Domain: ccdi
 * Author : Massif Solutions
 */

/*
 * Brand colours extracted directly from ccdi.ca source CSS:
 *   #23243B  — primary dark navy  (header bg, footer bg)
 *   #314F9D  — primary blue       (links, buttons, accents)
 *   #F58720  — orange             (CTA, hover accent)
 *   #DAD9D6  — warm grey          (borders, dividers)
 *   #1D1D1B  — near-black         (body text)
 *   #FCFCFC  — off-white          (light text)
 */

/* ============================================================
   GOOGLE FONTS — must be first, before all other rules
   Loads: Barlow (body), Nunito Sans (headings), Instrument Sans (UI)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&family=Instrument+Sans:wght@400;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,400&display=swap');


/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  --ccdi-navy:        #23243B;   /* exact from source: bg-ccdi-header-bg */
  --ccdi-navy-dark:   #1D1D1B;   /* bg-[#1D1D1B] */
  --ccdi-blue:        #314F9D;   /* border-[#314F9D], text-[#314F9D] */
  --ccdi-orange:      #F58720;   /* bg-[#F58720], text-[#F58720] */
  --ccdi-orange-dark: #B93C95;   /* hover state: hover:bg-[#B93C95] */
  --ccdi-warm-grey:   #DAD9D6;   /* border-[#DAD9D6] */
  --ccdi-light-bg:    #F3F3F2;   /* bg-[#F3F3F2] */
  --ccdi-text:        #23243B;   /* text-[#23243B] */
  --ccdi-text-body:   #252525;   /* text-[#252525] */
  --ccdi-white:       #FFFFFF;
  --ccdi-off-white:   #FCFCFC;   /* text-ccdi-light */

  --ccdi-font-ui:     'Instrument Sans', system-ui, sans-serif;
  --ccdi-font-header: 'Nunito Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --ccdi-font-body:   'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ccdi-radius:      4px;
  --ccdi-radius-lg:   8px;
  --ccdi-transition:  0.2s ease;
}


/* ============================================================
   2. FULL-WIDTH LAYOUT FIX
   Root cause: header.php wraps the entire site in:
     <div class="container-fluid page-container">
   These rules ensure it spans full viewport width.
   ============================================================ */

.container-fluid.page-container,
.container.page-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Override Bootstrap's responsive container widths at all breakpoints */
@media (min-width: 768px)  { .container.page-container { max-width: 100% !important; } }
@media (min-width: 992px)  { .container.page-container { max-width: 100% !important; } }
@media (min-width: 1200px) { .container.page-container { max-width: 100% !important; } }

/* Add padding back to header rows */
.site-branding,
.main-navigation {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Constrain readable content to a comfortable width */
.site-content.row {
  max-width: 1280px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

/* Navbar full width */
.navbar,
#masthead,
.site-header {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Prevent horizontal scrollbar */
html, body { overflow-x: hidden; }


/* ============================================================
   3. GLOBAL BASE
   ============================================================ */
body {
  font-family: var(--ccdi-font-body);
  color: var(--ccdi-text-body);
  background-color: var(--ccdi-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ccdi-blue);
  text-decoration: none;
  transition: color var(--ccdi-transition);
}
a:hover,
a:focus {
  color: var(--ccdi-orange);
  text-decoration: none;
}


/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ccdi-font-header);
  color: var(--ccdi-navy);
  font-weight: 700;
  line-height: 1.2;
}

h1, .h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

/* Accent underline on page-level section headings */
.section-title {
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ccdi-orange);
  border-radius: 2px;
  margin-top: 0.5rem;
}
.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   5. HEADER — Top bar + Main nav (matches ccdi.ca)
   ============================================================ */

/* ── Page wrapper replacing .container.page-container ── */
.ccdi-page-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* .ccdi-content mirrors the old .row.site-content behaviour —
   let Bootstrap columns / WooCommerce control their own widths */
.ccdi-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

/* WooCommerce — single product, cart, checkout, account: keep constrained */
.woocommerce-page .ccdi-content {
  max-width: 1280px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Only the shop/archive listing page goes wider */
.woocommerce-page.post-type-archive .ccdi-content,
.page-template-full-width .ccdi-content {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ── Top bar ── */
.ccdi-topbar {
  background-color: var(--ccdi-navy);
  height: 36px;
  width: 100%;
}

.ccdi-topbar__inner {
  max-width: 1680px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2.5rem;
}

.ccdi-topbar__nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ccdi-topbar__link {
  color: var(--ccdi-off-white);
  font-family: var(--ccdi-font-body);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--ccdi-transition);
}
.ccdi-topbar__link:hover { opacity: 0.8; color: var(--ccdi-off-white); text-decoration: none; }

/* ── Main navbar ── */
.ccdi-navbar {
  background-color: var(--ccdi-white);
  width: 100%;
  box-shadow: 0 2px 8px rgba(35, 36, 59, 0.08);
}

.ccdi-navbar__inner {
  max-width: 1680px;
  margin: 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  gap: 2rem;
}

/* Logo */
.ccdi-navbar__logo a { display: block; line-height: 0; }
.ccdi-navbar__logo img { height: 42px; width: auto; display: block; }

/* Desktop nav list */
.ccdi-mainnav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 0;
}

.ccdi-mainnav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Top-level items */
.ccdi-mainnav__list > li {
  position: relative;
}

.ccdi-mainnav__list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ccdi-font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ccdi-navy) !important;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: opacity var(--ccdi-transition);
  white-space: nowrap;
}
.ccdi-mainnav__list > li > a:hover,
.ccdi-mainnav__list > li.current-menu-item > a:hover,
.ccdi-mainnav__list > li.current-menu-parent > a:hover { color: var(--ccdi-orange) !important; text-decoration: none; opacity: 1; }

/* Active page — blue underline indicator */
.ccdi-mainnav__list > li.current-menu-item > a,
.ccdi-mainnav__list > li.current-menu-parent > a {
  color: var(--ccdi-navy) !important;
  border-bottom: 2px solid var(--ccdi-blue);
  padding-bottom: calc(0.5rem - 2px);
}

/* Chevron turns orange on hover */
.ccdi-mainnav__list > li.menu-item-has-children:hover > a::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23F58720' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

/* Dropdown chevron — add via CSS on items with children */
.ccdi-mainnav__list > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2323243B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.ccdi-mainnav__list > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Dropdown */
.ccdi-mainnav__list > li > ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background: var(--ccdi-white);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(35, 36, 59, 0.12);
  border-radius: var(--ccdi-radius-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ccdi-mainnav__list > li:hover > ul.sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ccdi-mainnav__list > li > ul.sub-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: var(--ccdi-font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ccdi-navy) !important;
  text-decoration: none;
  transition: color var(--ccdi-transition), background var(--ccdi-transition);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ccdi-mainnav__list > li > ul.sub-menu li a:hover {
  color: var(--ccdi-blue) !important;
  background-color: rgba(49, 79, 157, 0.05);
  text-decoration: none;
}

/* Donate button */
.ccdi-navbar__donate { margin-left: 2rem; flex-shrink: 0; }
.btn-ccdi-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 39px;
  padding: 0 1.5rem;
  border-radius: var(--ccdi-radius-lg);
  background-color: #B93C95;
  color: var(--ccdi-white) !important;
  font-family: var(--ccdi-font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color var(--ccdi-transition), color var(--ccdi-transition);
  white-space: nowrap;
}
.btn-ccdi-donate:hover {
  background-color: var(--ccdi-orange);
  color: var(--ccdi-navy) !important;
  text-decoration: none !important;
}

/* ── Hamburger (mobile only) ── */
.ccdi-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.ccdi-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ccdi-navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Mobile menu ── */
.ccdi-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: var(--ccdi-white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.ccdi-mobile-menu.is-open { transform: translateX(0); }

.ccdi-mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
}
.ccdi-mobile-menu__header img { width: 134px; height: auto; }
.ccdi-mobile-menu__close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 0;
}

.ccdi-mobile-menu__nav { padding: 0 1.5rem; flex: 1; }
.ccdi-mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.ccdi-mobile-menu__list > li {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.ccdi-mobile-menu__list > li > a {
  font-size: 18px;
  font-weight: 600;
  color: var(--ccdi-navy) !important;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}
.ccdi-mobile-menu__list > li > ul.sub-menu {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0;
}
.ccdi-mobile-menu__list > li > ul.sub-menu li a {
  display: block;
  padding: 0.4rem 0;
  font-size: 14px;
  color: var(--ccdi-navy) !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--ccdi-transition);
}
.ccdi-mobile-menu__list > li > ul.sub-menu li a:hover { color: var(--ccdi-blue) !important; }

.ccdi-mobile-menu__footer {
  padding: 1.5rem;
}
.ccdi-mobile-menu__footer .btn-ccdi-donate { width: 100%; justify-content: center; height: 48px; }

/* Overlay */
.ccdi-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ccdi-mobile-overlay.is-visible { opacity: 1; pointer-events: auto; }

/* ── Responsive: show hamburger, hide desktop nav ── */
@media (max-width: 1023px) {
  .ccdi-mainnav { display: none; }
  .ccdi-hamburger { display: flex; }
  .ccdi-navbar__inner { height: 72px; }
}

/* ── Sticky header ── */
#ccdi-header {
  position: sticky;
  top: 0;
  z-index: 100;
}


/* ============================================================
   6. BUTTONS
   ============================================================ */

/* Primary blue */
.btn-primary,
.btn-ccdi {
  background-color: var(--ccdi-blue);
  border-color: var(--ccdi-blue);
  color: var(--ccdi-white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.4rem;
  border-radius: var(--ccdi-radius-lg);
  transition: background var(--ccdi-transition), box-shadow var(--ccdi-transition),
              transform var(--ccdi-transition);
}
.btn-primary:hover,
.btn-ccdi:hover {
  background-color: #2a4389;
  border-color: #2a4389;
  color: var(--ccdi-white);
  box-shadow: 0 4px 14px rgba(49,79,157,0.35);
  transform: translateY(-1px);
}

/* Orange CTA */
.btn-cta,
.btn-ccdi-cta {
  background-color: var(--ccdi-orange);
  border-color: var(--ccdi-orange);
  color: var(--ccdi-navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.5rem;
  border-radius: var(--ccdi-radius-lg);
  transition: background var(--ccdi-transition), color var(--ccdi-transition),
              box-shadow var(--ccdi-transition), transform var(--ccdi-transition);
}
.btn-cta:hover,
.btn-ccdi-cta:hover {
  background-color: var(--ccdi-orange-dark);
  border-color: var(--ccdi-orange-dark);
  color: var(--ccdi-white);
  box-shadow: 0 4px 14px rgba(185,60,149,0.35);
  transform: translateY(-1px);
}

/* Outline blue */
.btn-outline-primary,
.btn-ccdi-outline {
  background-color: transparent;
  border: 2px solid var(--ccdi-blue);
  color: var(--ccdi-blue);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--ccdi-radius-lg);
  transition: background var(--ccdi-transition), color var(--ccdi-transition),
              transform var(--ccdi-transition);
}
.btn-outline-primary:hover,
.btn-ccdi-outline:hover {
  background-color: var(--ccdi-blue);
  color: var(--ccdi-white);
  transform: translateY(-1px);
}


/* ============================================================
   7. UTILITY CLASSES
   ============================================================ */
.bg-ccdi-navy   { background-color: var(--ccdi-navy)     !important; color: var(--ccdi-white); }
.bg-ccdi-blue   { background-color: var(--ccdi-blue)     !important; color: var(--ccdi-white); }
.bg-ccdi-light  { background-color: var(--ccdi-light-bg) !important; }
.text-ccdi-blue   { color: var(--ccdi-blue)   !important; }
.text-ccdi-navy   { color: var(--ccdi-navy)   !important; }
.text-ccdi-orange { color: var(--ccdi-orange) !important; }

.form-control:focus,
.form-select:focus {
  border-color: var(--ccdi-blue);
  box-shadow: 0 0 0 0.2rem rgba(49,79,157,0.2);
}


/* ============================================================
   8. FOOTER
   ============================================================ */

.ccdi-footer {
  position: relative;
  background-color: var(--ccdi-navy);
  font-family: var(--ccdi-font-body);
  color: var(--ccdi-white);
}

/* Background image — decorative shapes */
.ccdi-footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://payments.ccdi.ca/wp-content/uploads/2026/03/footer-1680.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* All content sits above the bg image */
.ccdi-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1680px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

/* ── Top row: logo + everything else ── */
.ccdi-footer__toprow {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .ccdi-footer__toprow {
    flex-direction: row;
    gap: 0;
  }
}

/* Logo column */
.ccdi-footer__logo-wrap {
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .ccdi-footer__logo-wrap {
    width: 231px;
    margin-right: 2rem;
  }
}
.ccdi-footer__logo-wrap a { display: inline-block; }
.ccdi-footer__logo-wrap img {
  width: 164px;
  height: auto;
  display: block;
}

/* Right side: social + nav */
.ccdi-footer__right { flex: 1; }

/* ── Social row ── */
.ccdi-footer__social-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .ccdi-footer__social-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }
}

.ccdi-footer__follow-label {
  font-family: var(--ccdi-font-header);
  font-weight: 600;       /* semibold — not too heavy */
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ccdi-white);
  white-space: nowrap;
}
@media (min-width: 640px) {
  .ccdi-footer__follow-label { margin-right: 100px; }
}

.ccdi-footer__social-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.ccdi-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.ccdi-social-icon:hover {
  background-color: rgba(255,255,255,0.2);
  color: var(--ccdi-white);
}
.ccdi-social-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

/* ── Horizontal rule ── */
.ccdi-footer__rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0 0 2.5rem 0;
}

/* ── Nav columns grid ── */
.ccdi-footer__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .ccdi-footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}
@media (min-width: 1024px) {
  .ccdi-footer__nav {
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 1.25rem;
  }
}

/* Column heading — light weight, large, uppercase */
.ccdi-footer__col-heading {
  font-family: var(--ccdi-font-header);
  font-weight: 300;
  font-size: 32px;
  line-height: 36px;
  text-transform: uppercase;
  color: var(--ccdi-white);
  margin-bottom: 2rem;
  margin-top: 0;
}

/* Newsletter column heading — semibold, slightly smaller */
.ccdi-footer__col-heading--bold {
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 1.5rem;
}

/* Column link lists */
.ccdi-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ccdi-footer__col ul li a {
  font-family: var(--ccdi-font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 23px;
  color: var(--ccdi-white);
  text-decoration: none;
  transition: color 0.3s ease;
}
.ccdi-footer__col ul li a:hover {
  color: rgba(255,255,255,0.8);
}

/* Newsletter column text */
.ccdi-footer__col--newsletter p {
  font-family: var(--ccdi-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--ccdi-white);
  margin-bottom: 1.5rem;
}

/* Subscribe button — white pill */
.ccdi-footer__subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--ccdi-radius-lg);
  background-color: var(--ccdi-white);
  color: var(--ccdi-navy);
  font-family: var(--ccdi-font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 23px;
  text-decoration: none;
  border: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.ccdi-footer__subscribe-btn:hover {
  background-color: rgba(255,255,255,0.9);
  color: var(--ccdi-navy);
  text-decoration: none;
}
.ccdi-footer__subscribe-btn svg {
  color: var(--ccdi-navy);
  transition: color 0.3s ease;
  flex-shrink: 0;
}
.ccdi-footer__subscribe-btn:hover svg {
  color: var(--ccdi-orange);
}

/* ── Bottom bar ── */
.ccdi-footer__bottom {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 4rem;
  padding-top: 10px;
  padding-bottom: 18px;
  color: var(--ccdi-white);
}
@media (min-width: 768px) {
  .ccdi-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
}

.ccdi-footer__bottom-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.ccdi-footer__bottom-links a {
  font-family: var(--ccdi-font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--ccdi-white);
  text-decoration: none;
  transition: color 0.3s ease;
}
.ccdi-footer__bottom-links a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.ccdi-footer__copyright {
  font-family: var(--ccdi-font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--ccdi-white);
  margin: 0;
}

/* ── Mobile tweaks ── */
@media (max-width: 767px) {
  .ccdi-footer__inner { padding: 2.5rem 1.25rem; }
  .ccdi-footer__bottom { text-align: center; }
  .ccdi-footer__bottom-links { justify-content: center; }
}

/* ── Hide Bootstrap caret spans in CCDI nav (walker outputs clean HTML,
      but belt-and-suspenders in case any stray .caret appears) ── */
.ccdi-mainnav__list .caret,
.ccdi-mobile-menu__list .caret { display: none !important; }