/*

Theme Name: Accessible Theme
Theme URI: http://example.com/
Author: Your Name
Description: WCAG 2.2 AAA accessible theme with responsive layout.
Version: 1.0
Text Domain: accessible-theme
*/

/* ========== Base Styles ========== */

html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #fff;
  color: #000;
}
img {
  max-width: 100%;
  height: auto;
}
.site-main a {
  color: #004080;
  text-decoration: underline;
}

a:hover:not(.custom-logo-link),
a:focus:not(.custom-logo-link) {
  text-decoration: none;
  background-color: #FFD700;
  color: #000;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
p {
  margin: 0 0 1rem;
}
ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid #ccc;
  color: #555;
}

/* ========== Layout Utilities ========== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.align-left { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }
.hidden { display: none !important; }

/* ========== Skip Link ========== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 1rem;
  background: #000;
  color: #fff;
  z-index: 100;
}

/* ========== Header ========== */
.site-header {
  
  color: #ffffff;
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.site-logo img {
  display: block;
  height: 150px;
  width: 150px;
  max-width: 100%; /* allow it to scale responsively */
  object-fit: contain;
  box-sizing: border-box; /* includes border in total width */
  border: 3px solid transparent; /* reserve space for focus style */
}



.site-title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #ffffff;
}
.site-description {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  color: #ffffff;
}
.header-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}
/* ========== Navigation ========== */
.menu-toggle {
  padding: 0.5rem 1rem;
  border: 2px solid #FFD700;
  background: transparent;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}
.menu-toggle:hover,
.menu-toggle:focus {
  background-color: #FFD700;
  color: #000000;
  outline: 3px solid #FFD700;
}
.menu-arrow {
  margin-left: 0.5rem;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  background-color: #004080;
  border-top: 3px solid #FFD700;
  z-index: 99;
}
.site-nav.active {
  display: block;
}

.main-menu {
  margin: 0;
  padding: 1rem 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.main-menu li {
  margin-bottom: 0.5rem;
}
.main-menu a {
  color: #ffffff;
  text-decoration: underline;
  display: block;
  padding: 0.5rem 0;
}
.main-menu a:hover,
.main-menu a:focus {
  background-color: #FFD700;
  color: #000000;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  text-decoration: none;
}

/* ========== Search ========== */
.site-search .search-form {
  display: flex;
  gap: 0.5rem;
}
.search-field {
  padding: 0.5rem;
  font-size: 1rem;
  width: 200px;
}
.search-submit {
  background-color: #1e7e34 !important;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #ffffff;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.search-submit:hover,
.search-submit:focus {
  background-color: #FFD700;
  color: #000000;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}


/* ========== Footer ========== */


.footer-links a {
  color: #ffffff;
  text-decoration: underline;
}
.footer-links a:hover,
.footer-links a:focus {
  background-color: #FFD700;
  color: #000000;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  text-decoration: none;
}

/* ========== Buttons ========== */
button,
.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #004080;
  background-color: #FFD700;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
  background-color: #FFD700 !important;
  color: #000000 !important;
  outline: 3px solid #FFD700 !important;
  outline-offset: 2px !important;
}


/* ========== Forms ========== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
textarea,
select {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 0;
  margin-bottom: 1rem;
  background: #fff;
  color: #000;
}
textarea {
  min-height: 120px;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
}
/* ========== Callouts / Content Blocks ========== */
.callout,
.info-box,
.notice {
  border: 2px solid #FFD700;
  background-color: #fff8dc;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
}
.callout strong {
  color: #004080;
}

/* ========== Accessibility Utilities ========== */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ========== Responsive Utilities ========== */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .stack {
    flex-direction: column !important;
  }
}

@media (max-width: 768px) {
  .next-meeting-box {
    display: block !important;
    padding: 1em;
    margin: 1em 0;
     background-color: #f6f7f8 !important;
    border: 5px solid #0B3863!important; 
  border-radius: 5px !important;

  }

  .next-meeting-box .meeting-details {
    list-style: none;
    padding-left: 0;
  }

  .next-meeting-box .meeting-details li {
    font-size: 1em;
    margin-bottom: 0.75em;
  }

  .pdf-link {
    display: inline-block;
    color: #003366;
    font-weight: bold;
  }

  .pdf-icon {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin-right: 0.3em;
  }
}

/* ====== Download document styling ====== */
.meeting-documents {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.meeting-documents ul,
.meeting-documents li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.meeting-documents .pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #003366;
  border: 2px solid #003366;
  border-radius: 5px;
  padding: 0.5rem 0.75rem;
  background-color: #f1f1f1;
  transition: background-color 0.3s ease;
}

.meeting-documents .pdf-link:hover,
.meeting-documents .pdf-link:focus {
  background-color: #FFD700;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  color: #000;
  text-decoration: none;
}

.document-link {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #f1f1f1;
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #003366;
  border-radius: 5px;
  white-space: normal;
}

.document-link:hover,
.document-link:focus {
  background-color: #002a5e;
  color: #fff;
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

.document-link .pdf-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}



/* ========== Spacing Helpers ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mb-1 { margin-bottom: 1rem !important; }
.pt-1 { padding-top: 1rem !important; }
.pb-1 { padding-bottom: 1rem !important; }

/* ========== Grid Helpers ========== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}
.col {
  padding-left: 1rem;
  padding-right: 1rem;
  flex: 1 1 100%;
}
@media (min-width: 768px) {
  .col-6 { flex: 0 0 50%; }
  .col-4 { flex: 0 0 33.3333%; }
  .col-3 { flex: 0 0 25%; }
}

/* === Icon Block Row (Guaranteed 3-column layout, responsive) === */
.icon-block-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  margin-bottom: 2rem;
}

.icon-block-row .icon-block {
  flex: 1 1 30%;
  max-width: 32%;
  box-sizing: border-box;
  padding: 1.5rem;
  background-color: #f8f8f8;
  border: 2px solid #FFD700;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Inner content (icon + text layout) */
.icon-block-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-block .icon img {
  width: 48px;
  height: 48px;
}

.icon-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .icon-block-row {
    flex-direction: column;
  }

  .icon-block-row .icon-block {
    max-width: 100%;
    width: 100%;
    margin-bottom: 1rem;
  }
}

.icon-block-row > p {
  display: none;
  margin: 0;
  padding: 0;
}
.site-header .header-top {
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  width: 100%;

  box-sizing: border-box;
}

.site-nav {
  display: none;
}

.site-nav.active {
  display: block;
}
/* === Footer full width background === */
.site-footer {
  position: relative;
  color: #ffffff;
  padding: 2rem 1rem;
  background-color: transparent; /* important for ::before to show */
  z-index: 1;
}

.site-footer::before {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  height: auto;
  width: 100%;
  z-index: -1;
}




/* Inner content stays centered */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}


/* Default (desktop): menu and search on same line */
.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-branding {
  flex: 1 1 100%;
}

.header-search,
.header-menu-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile layout: stack everything */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-branding,
  .header-search,
  .header-menu-toggle {
    width: 100%;
  }

  .header-search {
    margin-top: 1rem;
  }

  .header-menu-toggle {
    margin-top: 0.5rem;
  }
}
@media (max-width: 768px) {
  .header-top {
    padding: 1rem;
  }

 .site-header .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

  .site-branding,
  .header-search,
  .header-menu-toggle {
    width: 100%;
    padding: 0.5rem 1rem;
  }

  .site-title,
  .site-description,
  .search-form,
  .menu-toggle {
    width: 100%;
  }

  .site-title {
    font-size: 1.5rem;
  }

  .site-description {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .site-nav {
    width: 100%;
    background-color: #004080;
    border-top: 3px solid #FFD700;
    padding: 1rem 1rem; /* Adds equal L/R padding */
    box-sizing: border-box;
  }

  .site-search .search-form {
    padding: 0 1rem; /* Matches menu padding */
    box-sizing: border-box;
  }

  .search-field,
  .search-submit {
    width: 100%;
  }
}
.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 0.5rem;
  padding-right: 2rem;
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
@media (min-width: 769px) {
  .site-nav {
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
  }

  .main-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
  }
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}



.footer-logo {
  margin-top: 1rem;
}


.footer-logo img:hover,
.footer-logo img:focus,
.site-logo img:hover,
.site-logo img:focus {
  border-color: #FFD700;
  outline: none;
}


/* Stack on mobile */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-logo {
    margin-top: 1rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer bottom copyright area */
.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
}
.footer-inner {
  padding: 1.5rem 0;
}
.language-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.language-switcher a:hover,
.language-switcher a:focus {
  background: #FFD700 !important;
  color: #000 !important;
  outline: 2px solid #FFD700;
}

/* Layout in header */
.language-switcher {
  margin-top: 1rem;
}

/* Desktop: show next to menu toggle */
@media (min-width: 769px) {
  .header-menu-toggle,
  .language-switcher {
    display: inline-block;
    vertical-align: middle;
  }

  .header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .language-switcher {
    margin-left: 1rem;
  }
}

/* Mobile: stack above the menu */
@media (max-width: 768px) {
  .language-switcher {
    width: 100%;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
  }

  .language-switcher ul {
    justify-content: flex-start;
  }
}
.language-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.language-switcher a:hover,
.language-switcher a:focus {
  background: #FFD700;
  color: #000;
  outline: 2px solid #FFD700;
}
@media (min-width: 769px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .site-branding {
    text-align: left;
    flex: 1;
  }

  .site-title,
  .site-description {
    text-align: left;
    margin: 0;
  }

  .header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-search,
  .language-switcher,
  .header-menu-toggle {
    margin: 0;
  }

  .search-form,
  .language-switcher nav,
  .menu-toggle {
    display: block;
  }

  .language-switcher nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1rem;
  }

  .language-switcher nav li {
    list-style: none;
  }



.language-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.language-switcher a {
  color: #ffffff;
  background-color: #1e7e34 !important;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #FFD700;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a:focus {
  background-color: #FFD700 !important;
  color: #000000 !important;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Align links with middle of logo */
  flex-wrap: wrap;
  gap: 2rem;
}



.footer-links a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links a:hover,
.footer-links a:focus {
  background-color: #FFD700;
  color: #000000;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  text-decoration: none;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1rem;
}
.custom-logo-link {
  display: inline-block;
  padding: 2px;
  box-sizing: border-box;
  border: 2px solid transparent;
}

.custom-logo-link:focus-visible {
  border-color: #FFD700;
  outline: none;
}


/* Footer logo: remove image outline/border and style only the link */
.site-footer .custom-logo-link {
  display: inline-block;
  padding: 2px;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.site-footer .custom-logo-link:hover,
.site-footer .custom-logo-link:focus {
  border-color: #FFD700;
  background: none;
  outline: none;
}


@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-links li {
    margin: 0;
  }
}
.site-footer {
  position: relative;
  color: #ffffff;
  padding: 2rem 0rem;
  overflow: hidden;
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Align links with middle of logo */
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links a:hover,
.footer-links a:focus {
  background-color: #FFD700;
  color: #000000;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  text-decoration: none;
}


.custom-logo-link {
  display: inline-block;
  padding: 2px;
  box-sizing: border-box;
  border: 2px solid transparent;
}


/* Stack on mobile */

.site-footer {
  color: #ffffff;
  padding: 2rem 0;
  width: 100%;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: -1;
}

.footer-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
}


body,
html {
  overflow-x: hidden;
}


/* Footer full width and background */
/* FOOTER FIX */
.site-footer {
  background: #003366;
  color: #fff;
  padding: 2rem 1rem;
}

.site-footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  flex: 1 1 200px;
  text-align: right;
}

.footer-menu {
  flex: 2 1 500px;
  text-align: center;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

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


/* === Footer Menu Final Fix === */

.footer-menu ul,
.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem;
}

.footer-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-menu a,
.footer-links a {
  color: #ffffff !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-links a:hover,
.footer-links a:focus {
  background-color: #FFD700 !important;
  color: #000000 !important;
  outline: 3px solid #FFD700 !important;
  outline-offset: 2px !important;
  text-decoration: none !important;
}
@media (max-width: 768px) {
  .footer-menu ul,
  .footer-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .footer-menu li,
  .footer-links li {
    width: 100%;
  }

  .footer-menu a,
  .footer-links a {
    width: 100%;
    display: block;
  }
}
@media (max-width: 768px) {
  .footer-menu a,
  .footer-links a {
    display: inline-block;
    text-align: left;
    outline-offset: 2px;
    padding: 0.25rem 0;
    box-sizing: border-box;
  }

  .footer-menu li,
  .footer-links li {
    text-align: left;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .footer-menu a,
  .footer-links a {
    display: block;
    width: 75%;
    max-width: 75%;
    text-align: left;
    outline-offset: 2px;
    padding: 0.25rem 0;
    box-sizing: border-box;
  }

  .footer-menu li,
  .footer-links li {
    width: 100%;
    text-align: left;
  }
}


.site-footer * {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.site-footer .footer-logo,
.site-footer nav,
.site-footer .footer-copy {
  margin-bottom: 0.5rem;
}

.site-footer .footer-inner {
  padding: 0;
  margin: 0 auto;
}

.meeting-documents {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

/* Force visibility and stacking on mobile */
@media (max-width: 768px) {
  .meeting-documents {
    display: block !important;
    width: 100% !important;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 2px solid #004080;
    border-radius: 8px;
  }

  .meeting-documents li {
    margin-bottom: 0.75rem;
  }

  .pdf-link {
    display: block !important;
    width: 100%;
  }
}


.meeting-documents li {
  margin-bottom: 15px;
}

.meeting-documents li:last-child {
  margin-bottom: 0;
}


.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #e5f2ff;
  color: #004080;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border: 2px solid #004080;
  border-radius: 0.35rem;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s;
}

.pdf-link:hover,
.pdf-link:focus {
  background-color: #004080;
  color: #ffffff;
}

.pdf-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
  padding: 1rem;
}

.site-main {
  flex: 1 1 60%;
}

.sidebar {
  flex: 1 1 30%;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.page-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
  padding: 1rem;
}

.site-main {
  flex: 1 1 60%;
}

.sidebar {
  flex: 1 1 30%;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ðŸ‘‡ Mobile: Stack sidebar below main content */
@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
  }

  .site-main,
  .sidebar {
    flex: 1 1 100%;
  }

  .sidebar {
    padding-top: 2rem; /* Add space between content and sidebar */
    border-top: 2px solid #ccc; /* Optional: visual separation */
  }
}
.site-header,
.site-footer {
  color: inherit;
}

.site-header *:not(a),
.site-footer *:not(a) {
  color: inherit;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}



.custom-logo-link {
  display: inline-block;
  border: 3px solid transparent;
  box-sizing: border-box;
  outline: none;
  padding: 0;
  margin: 0;
}

.custom-logo-link:focus,
.custom-logo-link:hover {
  border-color: #FFD700 !important;
}


.custom-logo-link img {
  display: block;
  border: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Ensure language switcher is visible and styled on mobile */
.language-switcher {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Base style like green search button */
.language-switcher .language-menu a {
  background-color: #1e7e34 !important; /* Green background */
  color: #ffffff;             /* White text */
  padding: 0.5rem 1rem !important;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border: none;
  outline: none;
  transition: background-color 0.2s, color 0.2s;
}

.language-switcher .language-menu a:hover,
.language-switcher .language-menu a:focus {
 background-color: #FFD700 !important;
  color: #000000 !important;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

.language-switcher {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 768px) {
  .language-switcher .language-menu a:active,
  .language-switcher .language-menu a:focus,
  .language-switcher .language-menu a:hover {
    background-color: #FFD700 !important;
    color: #000000 !important;
    outline: 3px solid #FFD700;
    outline-offset: 2px;
  }
}

@media (max-width: 768px) {
  .custom-logo-link {
    border: 3px solid transparent;
  }

  .custom-logo-link:focus,
  .custom-logo-link:hover {
    border-color: #FFD700 !important;
  }

  .custom-logo-link img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .custom-logo-link:hover,
  .custom-logo-link:focus {
    background: none !important;
    outline: none !important;
    border: none !important;
  }
}



.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus {
  color: #000000 !important;
  background-color: #FFD700 !important;
  text-decoration: none !important;
  outline: 3px solid #FFD700 !important;
  outline-offset: 2px !important;
}

/* === Uniform logo styles for header and footer === */


/* === Prevent layout shift and apply consistent focus/hover highlight === */
.site-logo .custom-logo-link:focus img,
.site-logo .custom-logo-link:hover img,
.footer-logo .custom-logo-link:focus img,
.footer-logo .custom-logo-link:hover img {
  border-color: #FFD700;
  outline: none;
}


/* === FINAL UNIFIED LOGO STYLING === */

.site-logo .custom-logo-link:focus img,
.site-logo .custom-logo-link:hover img,
.footer-logo .custom-logo-link:focus img,
.footer-logo .custom-logo-link:hover img {
  border-color: #FFD700;
  outline: none;
}

.custom-logo-link {
  display: inline-block;
  border: 3px solid transparent;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.custom-logo-link:focus,
.custom-logo-link:hover {
  border-color: #FFD700;
  outline: none;
}

/* === FINAL FIX FOR FOOTER LOGO SIZE + FOCUS === */





.footer-copyright {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 1rem;
}


/* Desktop footer layout */
.footer-logo {
  flex: 1 1 200px;
  text-align: right;
}


/* Focus/hover consistent styling */
.custom-logo-link {
  display: inline-block;
  border: 3px solid transparent;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

.custom-logo-link:hover,
.custom-logo-link:focus {
  border-color: #FFD700 !important;
  outline: none !important;
  outline-offset: 2px !important;
}


/* Focus style on logo link */
.custom-logo-link {
  display: inline-block;
  border: 3px solid transparent;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

.custom-logo-link:focus,
.custom-logo-link:hover {
  border-color: #FFD700;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* Footer layout */
.footer-logo {
  flex: 1 1 200px;
  text-align: right;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .footer-logo {
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-logo img {
    display: block;
    height: 150px;
    width: 150px;
    max-width: 100%;
    object-fit: contain;
    box-sizing: border-box;
    margin: 0 auto;
    border: 3px solid transparent;
  }
}

.footer-logo img {
  display: block;
  height: 150px;
  width: 150px;
  max-width: 100%;
  object-fit: contain;
  box-sizing: border-box;
  margin: 0 auto;
  border: none !important;
  outline: none !important;
  padding: 0;
}
.footer-logo .custom-logo-link {
  display: inline-block;
  border: 4px solid transparent;
  padding: 2px;
  box-sizing: border-box;
}

.footer-logo .custom-logo-link:focus,
.footer-logo .custom-logo-link:hover {
  border-color: #FFD700;
  outline: none;
}
.next-meeting-box {
   background-color: #f6f7f8 !important;
    border: 5px solid #0B3863!important; 
  border-radius: 5px !important;
  padding: 1.5rem;
  margin: 2rem 0;
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
}

.next-meeting-box {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}


.next-meeting-box h2 {
  font-size: 1.4rem;
  margin-top: 0;
  color: #003366;
}

.meeting-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.meeting-details li {
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.meeting-details li::before {
  content: 'â€¢';
  position: absolute;
  left: 0;
  color: #003366;
  font-weight: bold;
}

.meeting-details a {
  color: #004080;
  font-weight: 600;
  text-decoration: underline;
}

.meeting-details a:hover,
.meeting-details a:focus {
  color: #000;
  background-color: #FFD700;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  text-decoration: none;
}


/* Remove sidebar and make full width for Council Meetings Year template only */
.page-template-page-council-meetings-year main.site-main {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  float: none;
}

.page-template-page-council-meetings-year .content-area,
.page-template-page-council-meetings-year .sidebar,
.page-template-page-council-meetings-year aside,
.page-template-page-council-meetings-year .widget-area {
  display: none !important;
}
.meeting-month-divider {
  border: none;
  border-top: 2px solid #ccc;
  margin: 2rem 0;
}

/* === FINAL FIX: Next meeting box + PDF download styling for mobile === */
@media (max-width: 768px) {
  .next-meeting-box {
    display: block !important;
     background-color: #f6f7f8 !important;
    border: 5px solid #0B3863!important; 
  border-radius: 5px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .next-meeting-box h2 {
    color: #003366 !important;
    font-size: 1.25rem !important;
    margin-top: 0 !important;
  }

  .meeting-details {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 1rem !important;
  }

  .meeting-details li {
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    position: relative !important;
  }

  .meeting-details li::before {
    content: 'â€¢' !important;
    position: absolute !important;
    left: 0 !important;
    color: #004080 !important;
    font-weight: bold !important;
  }

  .pdf-link {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #e5f2ff !important;
    color: #004080 !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    border: 2px solid #004080 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    transition: background-color 0.2s, color 0.2s !important;
  }

  .pdf-link:hover,
  .pdf-link:focus {
    background-color: #004080 !important;
    color: #ffffff !important;
    outline: 3px solid #FFD700 !important;
    outline-offset: 2px !important;
    text-decoration: none !important;
  }

  .pdf-icon {
    margin-right: 0.5rem !important;
    width: 24px !important;
    height: 24px !important;
    fill: currentColor !important;
  }
}
/* Ensure mobile styles for next meeting box and document links */
.next-meeting-box {
    background-color: #f5f5f5;
    padding: 1.5em;
    margin: 1.5em 0;
    border-left: 4px solid #003366;
    border-radius: 5px;
}

.next-meeting-box h2 {
    margin-top: 0;
    font-size: 1.4em;
}

.meeting-details {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.meeting-details li {
    margin-bottom: 0.75em;
    font-size: 1em;
    line-height: 1.5;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: bold;
    text-decoration: underline;
}

.pdf-icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
}


/* ====== Always show sr-only text in .pdf-link spans ====== */
.pdf-link .sr-only {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}


.document-link {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #f1f1f1;
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #003366;
  border-radius: 5px;
  white-space: normal;
}

.document-link:hover,
.document-link:focus {
  background-color: #002a5e;
  color: #fff;
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

.document-link .pdf-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

.councillor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.councillor-card {
  padding: 1rem;
  max-width: 220px;
  text-align: center;
  box-sizing: border-box;
  background-color: ##f5f5f5;
  border: 5px solid #0B3863;
  border-radius: 5px;
}
.councillor-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.location-image {
  max-width: 1200px;
  height: 400px;
  overflow: hidden;
  margin: 0 auto;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-main {
    padding-bottom: 20px !important;
}

/* Meeting title label */
.site-main .meeting-item .meeting-title {
  font-size: 1.1em !important;     /* slightly bigger than body text */
  font-weight: 700;
  background-color: #f5f5f5 !important;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.3;
  margin-right: 6px;                /* small gap before the date */
}

/* Keep spacing tidy for the detail lines */
.site-main .meeting-item p {
  margin: 0.25em 0;
}

/* Space between meetings without extra <hr>s */
.site-main .meeting-item {
  margin-bottom: 2em;
}

/* Mobile reinforcement (in case a mobile stylesheet overrides things) */
@media (max-width: 768px) {
  .site-main .meeting-item .meeting-title {
    font-size: 1.1em !important;
    background-color: #f5f5f5 !important;
    display: inline-block;
  }
}
/* ===========================
   Meetings â€“ Mobile Fixes
   (place at the very end)
   =========================== */

/* Make each meeting a clean card, hide duplicate HRs, fix text sizes */
@media (max-width: 767.98px) {
  /* Reset list spacing on mobile */
  .meetings-list,
  .meetings-list .meeting-item {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Card style for each meeting */
  .meeting-item {
    background: #f6f7f8;
    border: 1px solid #e2e4e7;
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
  }

  /* Ensure the whole item is tappable if itâ€™s a link */
  .meeting-item a {
    display: block;
    text-decoration: none;
  }

  /* Title sizing (slightly bigger, but not a page heading) */
  .meeting-title {
    margin: 0 0 8px 0;
    font-size: 18px;      /* was too small on mobile */
    line-height: 1.3;
    font-weight: 600;
  }

  /* Date first and clear */
  .meeting-date {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  /* Meta/details text */
  .meeting-meta,
  .meeting-time,
  .meeting-location {
    font-size: 14px;
    line-height: 1.45;
  }

  /* Kill any extra horizontal rules between items on mobile */
  .meetings-list hr,
  .meeting-item hr {
    display: none;
  }
}

/* Desktop/larger screens â€“ gently bump the title size only */
@media (min-width: 768px) {
  .meeting-title {
    font-size: 22px;
  }
}

/* ===========================
   Councillors Page Layout
   =========================== */
.councillors-page .entry-intro {
  margin-bottom: 1.5rem;
}

.ward-sep {
  border: 0;
  border-top: 2px solid #e0e0e0;
  margin: 2rem 0;
}

.ward-title {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  line-height: 1.25;
}

/* Grid */
.councillor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Card */
.councillor-card {
  background-color: ##f5f5f5;
  border: 5px solid #0B3863;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.councillor-media {
  aspect-ratio: 4 / 3;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.councillor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.councillor-placeholder {
  font-size: 0.875rem;
  color: #666;
}

.councillor-body {
  padding: 0.9rem 1rem 1rem;
}

.councillor-name {
  margin: 0 0 0.35rem 0;
  font-size: 1.125rem;
}

.councillor-role,
.councillor-party,
.councillor-email,
.councillor-phone {
  margin: 0.25rem 0;
}

/* Ensure links are clearly underlined (accessibility) */
.councillor-card a {
  text-decoration: underline;
}

/* Responsive: keep card styling on mobile */
@media (max-width: 1024px) {
  .councillor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .councillor-grid {
    grid-template-columns: 1fr;
  }
  .councillor-card {
    background-color: ##f5f5f5;
  border: 5px solid #0B3863;
  border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  }
}

/* ===== Councillors Mobile Fix (force card styling on small screens) ===== */
@media (max-width: 640px) {
  /* Ensure the grid remains a grid on mobile */
  .site-main .councillors-page .councillor-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Force the card look to persist */
  .site-main .councillors-page .councillor-card {
    background-color: ##f5f5f5;
  border: 5px solid #0B3863;
  border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    margin: 0 !important;
  }

  /* Make sure the media area behaves */
  .site-main .councillors-page .councillor-media {
    aspect-ratio: 4 / 3 !important;
    background: #f4f4f4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .site-main .councillors-page .councillor-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Inner spacing/text */
  .site-main .councillors-page .councillor-body {
    padding: 0.9rem 1rem 1rem !important;
  }
  .site-main .councillors-page .councillor-name {
    margin: 0 0 0.35rem 0 !important;
    font-size: 1.125rem !important;
  }
  .site-main .councillors-page .councillor-card a {
    text-decoration: underline !important;
  }

  /* Keep the HR visible between wards */
  .site-main .councillors-page .ward-sep {
    border: 0 !important;
    border-top: 2px solid #e0e0e0 !important;
    margin: 2rem 0 !important;
  }
}


/* MOBILE/TABLET: force vertical gap between stacked Kadence columns (robust) */
@media (max-width: 1024px){
  /* 1) Force the wrapper to stack children vertically */
  .kt-row-column-wrap.kt-has-3-columns.kt-mobile-layout-row{
    display: flex !important;
    flex-direction: column !important;
  }

  /* 2) Add a gap between each child column (works even if classes differ) */
  .kt-row-column-wrap.kt-has-3-columns.kt-mobile-layout-row > * + *{
    margin-top: 24px !important;
  }

  /* 3) Cover the kb- prefixed wrapper too (if used elsewhere) */
  .kb-row-layout-wrap.kt-mobile-layout-row{
    display: flex !important;
    flex-direction: column !important;
  }
  .kb-row-layout-wrap.kt-mobile-layout-row > * + *{
    margin-top: 24px !important;
  }

  /* 4) Make sure columns aren’t inline/floating */
  .kt-row-column-wrap.kt-mobile-layout-row > .wp-block-kadence-column,
  .kt-row-column-wrap.kt-mobile-layout-row > .kt-blocks-column{
    display: block !important;
    width: 100% !important;
    float: none !important;
  }
}

/* Fix: remove stray bullet/symbols on Next meeting list */
.next-meeting-box .meeting-details{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.next-meeting-box .meeting-details li::before,
.next-meeting-box .meeting-details li::marker{
  content: none !important;
}

/* Force Next meeting box to always use the blue thick border */
.next-meeting-box {
   background-color: #f6f7f8 !important;
    border: 5px solid #0B3863!important; 
  border-radius: 5px !important;
  padding: 16px !important;
  margin: 16px 0 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.05) !important;
}

/* Gap between stacked meeting download items on mobile */
.meeting-documents ul, .meeting-documents li {
	margin-bottom: 10px !important;
}

.councillor-card {
  background-color: #f5f5f5 !important;
  border: 5px solid #0B3863 !important;
  border-radius: 5px !important;
}

button, .button, input[type="submit"], input[type="reset"], input[type="button"] {
	background-color: #227b39;
	color: white;
}

/* ===== Search Results ===== */
.search-results-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-result {
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.search-result:last-child {
  border-bottom: none;
}

.search-result .entry-title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.search-result .entry-title a {
  text-decoration: underline;
  color: #003366; /* match header blue */
}

.search-result .entry-title a:hover,
.search-result .entry-title a:focus {
  color: #000; /* darker on hover/focus */
  text-decoration: none;
}

.search-result .entry-summary {
  font-size: 0.95rem;
  color: #333;
}

.no-results {
  padding: 2rem 0;
}
/* Search input readable */
.search-form .search-field {
  color: #000;
  background: #fff;
}
.search-form .search-field::placeholder {
  color: #000;
  opacity: 0.7;
}
/* Footer layout: nav left, socials right */
.footer-inner .footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;   /* vertical alignment */
  gap: 1rem;
  flex-wrap: wrap;       /* stack on small screens */
}

/* Footer nav inline (safety) */
.footer-menu .footer-nav {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Social list + alignment */
.footer-social ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social li { margin: 0; }

.footer-social a {
  display: inline-flex;
  align-items: center;   /* align icon with text */
  gap: 0.4rem;
  color: inherit;
  text-decoration: underline;
  font-size: 0.95rem;    /* similar to footer menu text */
  line-height: 1.2;
}

/* Hover/focus (match your footer link hover colour if different) */
.footer-social a:hover,
.footer-social a:focus {
  color: #000000;
}

/* Icon sizing (desktop default) */
.footer-social .icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  flex-shrink: 0;
  display: block;
}

/* Tidy small screens: slightly smaller icons */
@media (max-width: 768px) {
  .footer-inner .footer-bar { gap: 0.5rem; }
  .footer-menu .footer-nav { gap: 0.75rem; }
  .footer-social .icon { width: 18px; height: 18px; }
}

.footer-social .icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  fill: currentColor;
  stroke: currentColor;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .footer-social .icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
  }
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: underline;
  font-size: 0.95rem;
  line-height: 1.2;
}
/* Footer social (no lists) */
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: underline;
  font-size: 0.95rem;
  line-height: 1.2;
}

/* Lock SVG sizing everywhere */
.footer-social .icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px; min-height: 20px;
  max-width: 20px; max-height: 20px;
  fill: currentColor;
  stroke: currentColor;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Optional: tiny tweak on very small screens */
@media (max-width: 480px) {
  .footer-social .icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px; min-height: 18px;
    max-width: 18px; max-height: 18px;
  }
}
/* Footer socials: spacing + colour fix */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;               /* space between icons */
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff !important; /* force white on all screens */
  text-decoration: underline;
  font-size: 0.95rem;
  line-height: 1.2;
}

.footer-social a:hover,
.footer-social a:focus {
  color: #000000 !important; /* hover colour */
}

.footer-social .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: currentColor;
}
