:root {
  --clb-navy: #0B1F33;
  --clb-teal: #088F8F;
  --clb-gold: #C8A45D;
  --clb-ivory: #F8F5EF;
  --clb-charcoal: #2B2B2B;
  --clb-silver: #D8D8D8;
}

body {
  background: var(--clb-ivory);
  color: var(--clb-charcoal);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  color: var(--clb-navy);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}

a {
  color: var(--clb-teal);
}

button,
.wp-block-button__link {
  background: var(--clb-navy);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 26px;
}

.wp-block-button__link:hover {
  background: var(--clb-teal);
}

.site-header,
.site-footer {
  background: var(--clb-navy);
  color: #ffffff;
}

.gold-accent {
  color: var(--clb-gold);
}

.section-ivory {
  background: var(--clb-ivory);
  padding: 70px 8%;
}

.section-white {
  background: #ffffff;
  padding: 70px 8%;
}

.clb-card {
  background: #ffffff;
  border: 1px solid rgba(200, 164, 93, 0.35);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(11, 31, 51, 0.08);
}

.site-header,
.clb-header,
header.wp-block-template-part {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 7%;
}

.site-branding,
.clb-brand,
.wp-block-site-logo {
  display: flex;
  align-items: center;
}

.site-logo img,
.custom-logo,
.wp-block-site-logo img {
  max-height: 70px;
  width: auto;
}

.main-navigation,
.wp-block-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.wp-block-navigation__container {
  display: flex;
  align-items: center;
  gap: 22px;
}

.wp-block-button__link {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-header,
  .clb-header,
  header.wp-block-template-part {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .wp-block-navigation__container {
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-logo img,
  .custom-logo,
  .wp-block-site-logo img {
    max-height: 56px;
  }
}

/* Hide Invite Charity header button */
.site-header .wp-block-button,
.clb-header .wp-block-button,
header .wp-block-button {
  display: none !important;
}

/* Hide Invite Charity if it is the last navigation item */
header .wp-block-navigation__container > li:last-child {
  display: none !important;
}

/* Hide the second-to-last navigation item */
header .wp-block-navigation__container > li:nth-last-child(2) {
  display: none !important;
}

/* Remove hard-coded Invite Charity button in CLB header */
.site-header .header-cta,
.main-nav .header-cta,
a.header-cta {
  display: none !important;
}
/* Remove hard-coded Invite Charity button in CLB header */
.site-header .header-cta,
.main-nav .header-cta,
a.header-cta {
  display: none !important;
}

/* CLB Page Title Styling */

/* Hide page title on the Home page */
.home .entry-title,
.home .page-title,
.home h1.entry-title {
  display: none !important;
}

/* Make inner page titles more discreet */
body:not(.home) .entry-title,
body:not(.home) .page-title,
body:not(.home) h1.entry-title {
  font-size: 26px !important;
  font-weight: 400 !important;
  letter-spacing: 0.4px;
  color: #C8A45D !important;
  margin-bottom: 18px !important;
  text-align: center;
}
/* CLB Site-wide desktop spacing fix */
@media (min-width: 1024px) {
  .site-main,
  main,
  .entry-content,
  .wp-site-blocks,
  .wp-block-group,
  .page-content {
    padding-left: 7% !important;
    padding-right: 7% !important;
  }
}
/* CLB Comfortable article reading width */
.single-post .entry-content,
.single-post article {
  max-width: 860px;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* CLB Work & Impact Page Styling */

.clb-impact-section {
  padding: 70px 7%;
  background: #F8F5EF;
}

.clb-impact-intro {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.clb-impact-intro h2 {
  font-size: 42px;
  color: #0B1F33;
  margin-bottom: 18px;
}

.clb-impact-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: #2B2B2B;
}

.clb-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.clb-impact-card {
  background: #FFFFFF;
  border: 1px solid rgba(200, 164, 93, 0.35);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 12px 30px rgba(11, 31, 51, 0.08);
  transition: all 0.3s ease;
}

.clb-impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.12);
}

.clb-impact-card h3 {
  font-size: 28px;
  color: #0B1F33;
  margin-bottom: 16px;
}

.clb-impact-card p {
  font-size: 16.5px;
  line-height: 1.75;
  color: #2B2B2B;
}

.clb-impact-card .wp-block-button__link {
  background: #0B1F33;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 12px 24px;
  margin-top: 14px;
  text-decoration: none;
}

.clb-impact-card .wp-block-button__link:hover {
  background: #088F8F;
  color: #FFFFFF;
}

.clb-impact-label {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #C8A45D;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .clb-impact-grid {
    grid-template-columns: 1fr;
  }

  .clb-impact-section {
    padding: 50px 6%;
  }

  .clb-impact-intro h2 {
    font-size: 34px;
  }

  .clb-impact-card {
    padding: 30px 24px;
  }
}
/* CLB Work & Impact Grid - 4 Cards */
.clb-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Tablet view: 2 cards per row */
@media (max-width: 1100px) {
  .clb-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile view: 1 card per row */
@media (max-width: 700px) {
  .clb-impact-grid {
    grid-template-columns: 1fr;
  }
}
/* Compact CLB header menu */
.site-header nav,
.main-nav,
.wp-block-navigation__container {
  gap: 14px !important;
}

.site-header nav a,
.main-nav a,
.wp-block-navigation a,
.wp-block-navigation-item__content {
  font-size: 14px !important;
  letter-spacing: 0.2px;
}