/* =================================
   OVERRIDE ALL BRAND COLORS TO BLUE
   ================================= */

:root {
  --primary-green: #709bff !important;
  --primary-red: #5178e8 !important;
  --red-hover: #3d5bc9 !important;
  --green-hover: #709bff !important;
}

/* Page titles - green to blue */
.block-field-blocknodepagetitle span {
  color: #709bff !important;
}

/* Services section - green hover to blue */
.block-views-blockservices-block-1 .views-view-grid__item-inner:hover {
  border-color: #709bff !important;
}

/* Function cards - alternating red to blue */
.view-function .views-view-responsive-grid__item:nth-child(even) .views-field-title {
  background: #5178e8 !important;
}

/* Specific responsibilities - alternating red to blue */
.view-specific-responsibilities .views-view-responsive-grid__item:nth-child(even) .views-field-title {
  background: #5178e8 !important;
}

/* Core mandate - green header to blue */
.paragraph--type--core-mandate .field--name-field-intro-text {
  background: #709bff !important;
}

.paragraph--type--core-mandate .field--name-field-mandate-statement {
  border-left-color: #709bff !important;
}

.paragraph--type--core-mandate .field--name-field-mandate-statement strong {
  color: #709bff !important;
}

/* Regional coverage - green h5 and red h6 to blue */
.view-regional-coverage .views-field-body h5 {
  color: #709bff !important;
  border-bottom-color: #709bff !important;
}

.view-regional-coverage .views-field-body h6 {
  color: #5178e8 !important;
  border-bottom-color: #5178e8 !important;
}

.view-regional-coverage .views-field-body li {
  color: #5178e8 !important;
}

/* Staff table - green header to blue */
.view-staff-table table thead {
  background: #709bff !important;
}

.view-staff-table table td::before {
  color: #709bff !important;
}

/* Policy highlights - red to blue */
.view-policy-highlights .views-view-responsive-grid__item:nth-child(4) .views-field-title {
  color: #5178e8 !important;
}

/* Key foreign policy areas - green to blue */
.view-key-foreign-policy-areas .views-field-title {
  color: #709bff !important;
}

/* Diaspora policy document - red buttons to blue */
.view-diaspora-policy-document .views-field-field-english-version-link a,
.view-diaspora-policy-document .views-field-field-swahili-version-link a {
  background-color: #5178e8 !important;
}

.view-diaspora-policy-document .views-field-field-english-version-link a:hover,
.view-diaspora-policy-document .views-field-field-swahili-version-link a:hover {
  background-color: #709bff !important;
}

/* Diaspora policy grid - green to blue */
.view-diaspora-policy-grid .views-field-title {
  color: #709bff !important;
}

/* Trade page - alert and card headers */
.field--name-body .alert-success {
  border-left-color: #709bff !important;
}

.field--name-body .alert-heading {
  color: #709bff !important;
}

.field--name-body .card-header.bg-success {
  background: #709bff !important;
}

.field--name-body .card-header.bg-danger {
  background: #5178e8 !important;
}

.field--name-body .card.border-success .card-header {
  background: #709bff !important;
}

/* Core functions view - text colors */
.view-our-core-functions .text-success {
  color: #709bff !important;
}

.view-our-core-functions .text-danger {
  color: #5178e8 !important;
}