/* Define accessible colors*/
:root {
  --agency-yellow: #fcb040;
  --agency-yellow-dark: #d9921f; /* better contrast */
  --agency-gold-accessible: #a35b00;
  --nav-text-dark: #222;
}

/* =========================
   Inner page navbar fix
   ========================= */

body.inner-page .navbar {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

body.inner-page .navbar .navbar-brand,
body.inner-page .navbar-nav > li > a {
  color: #333;
}


/* ===============================
   SIMPLE CONTACT (ACCESSIBLE)
================================ */

#contact {
  background-color: #111;
  color: #fff;
  padding: 80px 0;
}

#contact h2,
#contact h3 {
  color: #fff;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  font-size: 1.25rem;
}

.contact-icon {
  color: #fcb040;
  margin-right: 16px;
  flex-shrink: 0;
}

.contact-text a {
  color: #fcb040;
  font-weight: 600;
  text-decoration: none;
}

.contact-text a:hover,
.contact-text a:focus {
  text-decoration: underline;
}

.contact-label {
  display: block;
  font-size: 1.15rem;        /* larger label */
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.contact-item {
  align-items: flex-start;
}

.contact-text {
  line-height: 1.4;
}

#contact a,
#contact .contact-icon {
  color: #fcb040;
}


.resource-item {
  margin-bottom: 28px;
}

.resource-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-meta {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 2px solid #eee;
  margin-top: 6px;
}

.resource-title {
  font-weight: 600;
}

.resource-description {
  font-size: 0.9em;
  color: #777;
}

/* =================================
   ACCESSIBLE RESOURCE LINKS
================================= */

.resource-main a,
.resource-meta a {
  color: #a35b00;
  font-weight: 600;
}

.resource-main a:hover,
.resource-main a:focus,
.resource-meta a:hover,
.resource-meta a:focus {
  color: #6f3f00;
  text-decoration: underline;
}


/* ================================
   ACCESSIBLE NAVIGATION STYLES
================================ */

/* Inner pages navbar */
body.inner-page .navbar-default {
  background-color: #fff;
  border-bottom: 1px solid #e7e7e7;
}

/* Normal nav links */
body.inner-page .navbar-default .navbar-nav > li > a,
body.inner-page .navbar-default .navbar-brand {
  color: var(--nav-text-dark);
}

/* Hover state */
body.inner-page .navbar-default .navbar-nav > li > a:hover,
body.inner-page .navbar-default .navbar-nav > li > a:focus {
  color: var(--agency-yellow-dark);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Active state — multiple cues */
body.inner-page .navbar-default .navbar-nav > li.active > a,
body.inner-page .navbar-default .navbar-nav > li.active > a:hover,
body.inner-page .navbar-default .navbar-nav > li.active > a:focus {
  color: var(--agency-yellow-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Shrink state compatibility */
body.inner-page .navbar-default.navbar-shrink .navbar-nav > li > a {
  color: var(--nav-text-dark);
}

body.inner-page .navbar-default.navbar-shrink .navbar-nav > li.active > a {
  color: var(--agency-yellow-dark);
}

