/* ==========================================================================
   1. FONTS & IMPORTS
   ========================================================================== */

/* Import Google Fonts for EB Garamond and DM Mono */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

/* ==========================================================================
   2. RESET & NORMALIZATION
   ========================================================================== */

html {
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
  display: block;
}

summary {
  display: list-item;
}

audio, canvas, progress, video {
  display: inline-block;
}

progress {
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

a {
  background-color: transparent;
  color: inherit;
}

a:active, a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b, strong {
  font-weight: bolder;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

figure {
  margin: 1em 40px;
}

img {
  border-style: none;
  vertical-align: middle;
}

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

button, input, select, textarea, optgroup {
  font: inherit;
  margin: 0;
}

optgroup {
  font-weight: bold;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
  appearance: button;
}

button::-moz-focus-inner, 
[type=button]::-moz-focus-inner, 
[type=reset]::-moz-focus-inner, 
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, 
[type=button]:-moz-focusring, 
[type=reset]:-moz-focusring, 
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: .35em .625em .75em;
}

legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, 
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
  appearance: button;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* ==========================================================================
   3. BASE TYPOGRAPHY
   ========================================================================== */

html, body {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  margin: 10px 0;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Font Families */
.wc-serif { font-family: 'EB Garamond', serif; }
.wc-sans-serif { font-family: sans-serif; }
.wc-cursive { font-family: cursive; }
.wc-monospace { font-family: 'DM Mono', monospace; }

/* Font Sizes */
.wc-tiny { font-size: 10px!important; }
.wc-small { font-size: 12px!important; }
.wc-medium { font-size: 15px!important; }
.wc-large { font-size: 18px!important; }
.wc-xlarge { font-size: 24px!important; }
.wc-xxlarge { font-size: 36px!important; }
.wc-xxxlarge { font-size: 48px!important; }
.wc-jumbo { font-size: 64px!important; }

/* Text Utilities */
.wc-wide { letter-spacing: 4px; }
.wc-text-bold, .wc-bold { font-weight: bold; }
.wc-text-italic, .wc-italic { font-style: italic; }

.wc-left-align { text-align: left!important; }
.wc-right-align { text-align: right!important; }
.wc-center { text-align: center!important; }

/* Professional Justification Engine */
.wc-justify {
  text-align: justify !important;
  text-justify: inter-word !important;
  -webkit-hyphens: auto !important;
  -ms-hyphens: auto !important;
  hyphens: auto !important;
}

/* Code Blocks */
.wc-code, .wc-codespan {
  font-family: Consolas, "courier new";
  font-size: 16px;
}

.wc-code {
  width: auto;
  background-color: #fff;
  padding: 8px 12px;
  border-left: 4px solid #4CAF50;
  word-wrap: break-word;
  margin-top: 16px!important;
  margin-bottom: 16px!important;
}

.wc-codespan {
  color: crimson;
  background-color: #f1f1f1;
  padding-left: 4px;
  padding-right: 4px;
  font-size: 110%;
}

/* ==========================================================================
   4. LAYOUT & GRID SYSTEM
   ========================================================================== */

.wc-content, .wc-auto { margin-left: auto; margin-right: auto; }
.wc-content { max-width: 980px; }
.wc-auto { max-width: 1140px; }

.wc-block { display: block; width: 100%; }
.wc-responsive { display: block; overflow-x: auto; }

/* Container Clearfixes */
.wc-container:after, .wc-container:before, 
.wc-panel:after, .wc-panel:before, 
.wc-row:after, .wc-row:before, 
.wc-row-padding:after, .wc-row-padding:before,
.wc-cell-row:before, .wc-cell-row:after, 
.wc-clear:after, .wc-clear:before, 
.wc-bar:before, .wc-bar:after {
  content: "";
  display: table;
  clear: both;
}

/* Grid & Columns */
.wc-grid { display: grid; }
.wc-grid-padding { display: grid; gap: 16px; }
.wc-flex { display: flex; }

.wc-col, .wc-half, .wc-third, .wc-twothird, .wc-threequarter, .wc-quarter {
  float: left;
  width: 100%;
}

.wc-col.s1 { width: 8.33333%; }
.wc-col.s2 { width: 16.66666%; }
.wc-col.s3 { width: 24.99999%; }
.wc-col.s4 { width: 33.33333%; }
.wc-col.s5 { width: 41.66666%; }
.wc-col.s6 { width: 49.99999%; }
.wc-col.s7 { width: 58.33333%; }
.wc-col.s8 { width: 66.66666%; }
.wc-col.s9 { width: 74.99999%; }
.wc-col.s10 { width: 83.33333%; }
.wc-col.s11 { width: 91.66666%; }
.wc-col.s12 { width: 99.99999%; }

@media (min-width: 601px) {
  .wc-col.m1 { width: 8.33333%; }
  .wc-col.m2 { width: 16.66666%; }
  .wc-col.m3, .wc-quarter { width: 24.99999%; }
  .wc-col.m4, .wc-third { width: 33.33333%; }
  .wc-col.m5 { width: 41.66666%; }
  .wc-col.m6, .wc-half { width: 49.99999%; }
  .wc-col.m7 { width: 58.33333%; }
  .wc-col.m8, .wc-twothird { width: 66.66666%; }
  .wc-col.m9, .wc-threequarter { width: 74.99999%; }
  .wc-col.m10 { width: 83.33333%; }
  .wc-col.m11 { width: 91.66666%; }
  .wc-col.m12 { width: 99.99999%; }
}

@media (min-width: 993px) {
  .wc-col.l1 { width: 8.33333%; }
  .wc-col.l2 { width: 16.66666%; }
  .wc-col.l3 { width: 24.99999%; }
  .wc-col.l4 { width: 33.33333%; }
  .wc-col.l5 { width: 41.66666%; }
  .wc-col.l6 { width: 49.99999%; }
  .wc-col.l7 { width: 58.33333%; }
  .wc-col.l8 { width: 66.66666%; }
  .wc-col.l9 { width: 74.99999%; }
  .wc-col.l10 { width: 83.33333%; }
  .wc-col.l11 { width: 91.66666%; }
  .wc-col.l12 { width: 99.99999%; }
}

.wc-rest { overflow: hidden; }
.wc-stretch { margin-left: -16px; margin-right: -16px; }

.wc-row-padding, .wc-row-padding > .wc-half, .wc-row-padding > .wc-third, 
.wc-row-padding > .wc-twothird, .wc-row-padding > .wc-threequarter, 
.wc-row-padding > .wc-quarter, .wc-row-padding > .wc-col {
  padding: 0 8px;
}

/* Display & Visibility */
.wc-hide { display: none!important; }
.wc-show-block, .wc-show { display: block!important; }
.wc-show-inline-block { display: inline-block!important; }

@media (max-width: 1205px) {
  .wc-auto { max-width: 95%; }
}

@media (max-width: 992px) {
  .wc-sidebar.wc-collapse { display: none; }
  .wc-main { margin-left: 0!important; margin-right: 0!important; }
  .wc-auto { max-width: 100%; }
}

@media (max-width: 992px) and (min-width: 601px) {
  .wc-hide-medium { display: none!important; }
  /* Tablet layout behavior for the inline history image */
  .wc-history-inline-img {
      float: none !important;        /* Drop the float so text doesn't squeeze beside it */
      width: 100% !important;        /* Let it expand to a readable size */
      max-width: 100% !important;
      margin: 0 0 16px 0 !important; /* Reset side margins, add spacing only to the bottom */
  }
}

@media (max-width: 600px) {
  .wc-hide-small { display: none!important; }
  .wc-mobile { display: block; width: 100%!important; }
  
  /* Mobile layout behavior for the inline history image */
  .wc-history-inline-img {
      float: none !important;        /* Drop the float so text doesn't squeeze beside it */
      width: 100% !important;        /* Let it expand to a readable size */
      max-width: 100% !important;
      margin: 0 0 16px 0 !important; /* Reset side margins, add spacing only to the bottom */
  }
}

@media (min-width: 993px) {
  .wc-hide-large { display: none!important; }
}

/* ==========================================================================
   5. UI COMPONENTS
   ========================================================================== */

/* --- Page Titles --- */
.wc-page-title-wrap {
    text-align: center;
    margin-bottom: 2rem;
}

.wc-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #274c77;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.wc-title-accent {
    height: 2px;
    width: 60px;
    background-color: #274c77;
    margin: 0 auto;
}

/* --- Responsive Spacing --- */
.wc-mobile-only-title {
    display: none;
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #274c77;
}

/* Dynamic content padding helper */
.wc-content-dynamic {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (min-width: 992px) {
    .wc-content-dynamic {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 600px) {
    .wc-mobile-only-title { display: block; }
}

.wc-mission-section {
    background-color: #FAFAFA;
    border-left: 6px solid #274c77;
    padding: 1.5rem;
    margin-bottom: 2rem; /* Normalized gap between sections */
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.wc-about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem; /* Space between Mission and Grid */
}

.wc-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #274c77;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.wc-title-accent {
    height: 2px;
    width: 60px;
    background-color: #274c77;
    margin: 0 auto;
}

/* Buttons */
.wc-btn, .wc-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wc-btn:hover { box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); }
.wc-button:hover { color: #000!important; background-color: #ccc!important; }

.wc-disabled, .wc-btn:disabled, .wc-button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.wc-disabled *, :disabled * { pointer-events: none; }
.wc-btn.wc-disabled:hover, .wc-btn:disabled:hover { box-shadow: none; }

/* Tables */
.wc-table, .wc-table-all {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  display: table;
}

.wc-table-all { border: 1px solid #ccc; }
.wc-bordered tr, .wc-table-all tr { border-bottom: 1px solid #ddd; }

.wc-striped tbody tr:nth-child(even),
.wc-table-all tr:nth-child(even) { background-color: #f1f1f1; }
.wc-table-all tr:nth-child(odd) { background-color: #fff; }

.wc-hoverable tbody tr:hover, .wc-ul.wc-hoverable li:hover { background-color: #ccc; }
.wc-centered tr th, .wc-centered tr td { text-align: center; }

.wc-table td, .wc-table th, .wc-table-all td, .wc-table-all th {
  padding: 8px 8px;
  display: table-cell;
  text-align: left;
  vertical-align: top;
}

.wc-table th:first-child, .wc-table td:first-child, 
.wc-table-all th:first-child, .wc-table-all td:first-child {
  padding-left: 16px;
}

/* Forms */
.wc-input {
  padding: 8px;
  display: block;
  border: none;
  border-bottom: 1px solid #ccc;
  width: 100%;
}

.wc-select {
  padding: 9px 0;
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
}

.wc-check, .wc-radio {
  width: 24px;
  height: 24px;
  position: relative;
  top: 6px;
}

/* Badges & Tags */
.wc-badge, .wc-tag {
  background-color: #000;
  color: #fff;
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}
.wc-badge { border-radius: 50%; }

/* Lists */
.wc-ul { list-style-type: none; padding: 0; margin: 0; }
.wc-ul li { padding: 8px 16px; border-bottom: 1px solid #ddd; }
.wc-ul li:last-child { border-bottom: none; }

/* Modals */
.wc-modal {
  z-index: 3;
  display: none;
  padding-top: 100px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.wc-modal-content {
  margin: auto;
  background-color: #fff;
  position: relative;
  padding: 0;
  outline: 0;
  width: 600px;
}

@media (max-width: 600px) {
  .wc-modal-content { margin: 0 10px; width: auto!important; }
  .wc-modal { padding-top: 30px; }
}

@media (max-width: 768px) {
  .wc-modal-content { width: 500px; }
  .wc-modal { padding-top: 50px; }
}

@media (min-width: 993px) {
  .wc-modal-content { width: 900px; }
}

/* Tooltips */
.wc-tooltip { position: relative; }
.wc-tooltip .wc-text { display: none; }
.wc-tooltip:hover .wc-text { display: inline-block; }

/* Menus & Bars */
.wc-bar { width: 100%; overflow: hidden; }
.wc-center .wc-bar { display: inline-block; width: auto; }

.wc-bar .wc-bar-item {
  padding: 8px 16px;
  float: left;
  width: auto;
  border: none;
  display: block;
  outline: 0;
}

.wc-bar .wc-button { white-space: normal; }

.wc-bar-block .wc-bar-item {
  width: 100%;
  display: block;
  padding: 8px 16px;
  text-align: left;
  border: none;
  white-space: normal;
  float: none;
  outline: 0;
}

.wc-bar-block.wc-center .wc-bar-item { text-align: center; }

/* Dropdowns */
.wc-dropdown-click, .wc-dropdown-hover {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.wc-bar .wc-dropdown-hover, .wc-bar .wc-dropdown-click {
  position: static;
  float: left;
}

.wc-dropdown-hover:hover .wc-dropdown-content { display: block; }
.wc-dropdown-hover:first-child, .wc-dropdown-click:hover { background-color: #ccc; color: #000; }
.wc-dropdown-hover:hover > .wc-button:first-child, 
.wc-dropdown-click:hover > .wc-button:first-child { background-color: #ccc; color: #000; }

.wc-dropdown-content {
  cursor: auto;
  color: #000;
  background-color: #fff;
  display: none;
  position: absolute;
  min-width: 160px;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.wc-bar-block .wc-dropdown-hover, .wc-bar-block .wc-dropdown-click { width: 100%; }
.wc-bar-block .wc-dropdown-hover .wc-dropdown-content, 
.wc-bar-block .wc-dropdown-click .wc-dropdown-content { min-width: 100%; }
.wc-bar-block .wc-dropdown-hover .wc-button, 
.wc-bar-block .wc-dropdown-click .wc-button {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
}

@media (max-width: 600px) {
  .wc-dropdown-hover.wc-mobile .wc-dropdown-content, 
  .wc-dropdown-click.wc-mobile .wc-dropdown-content { position: relative; } 
  .wc-bar-item.wc-mobile, 
  .wc-dropdown-hover.wc-mobile, 
  .wc-dropdown-click.wc-mobile { text-align: center; }
  .wc-dropdown-hover.wc-mobile, 
  .wc-dropdown-hover.wc-mobile .wc-btn, 
  .wc-dropdown-hover.wc-mobile .wc-button, 
  .wc-dropdown-click.wc-mobile, 
  .wc-dropdown-click.wc-mobile .wc-btn, 
  .wc-dropdown-click.wc-mobile .wc-button { width: 100%; }
}

/* ==========================================================================
   6. UTILITY CLASSES
   ========================================================================== */

/* Spacing & Margins */
.wc-section { margin-top: 16px!important; margin-bottom: 16px!important; }
.wc-margin { margin: 16px!important; }
.wc-margin-top { margin-top: 16px!important; }
.wc-margin-bottom { margin-bottom: 16px!important; }
.wc-margin-left { margin-left: 16px!important; }
.wc-margin-right { margin-right: 16px!important; }

.wc-padding-small { padding: 4px 8px!important; }
.wc-padding { padding: 8px 16px!important; }
.wc-padding-large { padding: 12px 24px!important; }
.wc-padding-16 { padding-top: 16px!important; padding-bottom: 16px!important; }
.wc-padding-24 { padding-top: 24px!important; padding-bottom: 24px!important; }
.wc-padding-32 { padding-top: 32px!important; padding-bottom: 32px!important; }
.wc-padding-48 { padding-top: 48px!important; padding-bottom: 48px!important; }
.wc-padding-64 { padding-top: 64px!important; padding-bottom: 64px!important; }
.wc-padding-top-64 { padding-top: 64px!important; }
.wc-padding-top-48 { padding-top: 48px!important; }
.wc-padding-top-32 { padding-top: 32px!important; }
.wc-padding-top-24 { padding-top: 24px!important; }

.wc-container, .wc-panel { padding: 0.01em 16px; }
.wc-panel { margin-top: 16px; margin-bottom: 16px; }

/* Positioning & Layout Utilities */
.wc-left { float: left!important; }
.wc-right { float: right!important; }
.wc-rtl { direction: rtl; }
.wc-ltr { direction: ltr; }

.wc-top, .wc-bottom { position: fixed; width: 100%; z-index: 1; }
.wc-top { top: 0; }
.wc-bottom { bottom: 0; }

.wc-display-container { position: relative; }
.wc-display-topleft { position: absolute; left: 0; top: 0; }
.wc-display-topright { position: absolute; right: 0; top: 0; }
.wc-display-bottomleft { position: absolute; left: 0; bottom: 0; }
.wc-display-bottomright { position: absolute; right: 0; bottom: 0; }

.wc-display-middle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.wc-display-left { position: absolute; top: 50%; left: 0%; transform: translate(0%, -50%); }
.wc-display-right { position: absolute; top: 50%; right: 0%; transform: translate(0%, -50%); }
.wc-display-topmiddle { position: absolute; left: 50%; top: 0; transform: translate(-50%, 0%); }
.wc-display-bottommiddle { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 0%); }

.wc-display-container:hover .wc-display-hover { display: block; }
.wc-display-container:hover span.wc-display-hover { display: inline-block; }
.wc-display-hover { display: none; }
.wc-display-position { position: absolute; }

/* Borders & Rounding */
.wc-border-0 { border: 0!important; }
.wc-border { border: 1px solid #ccc!important; }
.wc-border-top { border-top: 1px solid #ccc!important; }
.wc-border-bottom { border-bottom: 1px solid #ccc!important; }
.wc-border-left { border-left: 1px solid #ccc!important; }
.wc-border-right { border-right: 1px solid #ccc!important; }

.wc-topbar { border-top: 6px solid #ccc!important; }
.wc-bottombar { border-bottom: 6px solid #ccc!important; }
.wc-leftbar { border-left: 6px solid #ccc!important; }
.wc-rightbar { border-right: 6px solid #ccc!important; }

.wc-circle { border-radius: 50%; }
.wc-round-small { border-radius: 2px; }
.wc-round, .wc-round-medium { border-radius: 4px; }
.wc-round-large { border-radius: 8px; }
.wc-round-xlarge { border-radius: 16px; }
.wc-round-xxlarge { border-radius: 32px; }

/* Shadows */
.wc-card, .wc-card-2 { box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12); }
.wc-card-4, .wc-hover-shadow:hover { box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19); }

/* Overlays & Sidebar */
.wc-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
}

.wc-sidebar {
  height: 100%;
  width: 200px;
  background-color: #fff;
  position: fixed!important;
  z-index: 1;
  overflow: auto;
}
@media (min-width: 993px) {
  .wc-sidebar.wc-collapse { display: block!important; }
}

.wc-main, #main { transition: margin-left .4s; }

/* Background Colors */
.wc-platinum, .wc-hover-platinum:hover { color: #000!important; background-color: #e7ecef!important; }
.wc-dusk-blue, .wc-hover-dusk-blue:hover { color: #fff!important; background-color: #274c77!important; }
.wc-steel-blue, .wc-hover-steel-blue:hover { color: #fff!important; background-color: #6096ba!important; }
.wc-icy-blue, .wc-hover-icy-blue:hover { color: #000!important; background-color: #a3cef1!important; }
.wc-grey-olive, .wc-hover-grey-olive:hover { color: #000!important; background-color: #8b8c89!important; }
.wc-white, .wc-hover-white:hover { color: #000!important; background-color: #fff!important; }

.wc-transparent, .wc-hover-none:hover { background-color: transparent!important; }
.wc-hover-none:hover { box-shadow: none!important; }

/* Text Colors */
.wc-text-platinum, .wc-hover-text-platinum:hover { color: #e7ecef!important; }
.wc-text-aqua, .wc-hover-text-aqua:hover { color: #00ffff!important; }
.wc-text-blue, .wc-hover-text-blue:hover { color: #2196F3!important; }
.wc-text-grey, .wc-hover-text-grey:hover, .wc-text-gray, .wc-hover-text-gray:hover { color: #757575!important; }
.wc-text-light-grey, .wc-hover-text-light-grey:hover, .wc-text-light-gray, .wc-hover-text-light-gray:hover { color: #f1f1f1!important; }
.wc-text-dark-grey, .wc-hover-text-dark-grey:hover, .wc-text-dark-gray, .wc-hover-text-dark-gray:hover { color: #3a3a3a!important; }
.wc-text-white, .wc-hover-text-white:hover { color: #fff!important; }

/* Border Colors */
.wc-border-amber, .wc-hover-border-amber:hover { border-color: #ffc107!important; }
.wc-border-aqua, .wc-hover-border-aqua:hover { border-color: #00ffff!important; }
.wc-border-blue, .wc-hover-border-blue:hover { border-color: #2196F3!important; }
.wc-border-grey, .wc-hover-border-grey:hover, .wc-border-gray, .wc-hover-border-gray:hover { border-color: #9e9e9e!important; }
.wc-border-light-grey, .wc-hover-border-light-grey:hover, .wc-border-light-gray, .wc-hover-border-light-gray:hover { border-color: #f1f1f1!important; }
.wc-border-dark-grey, .wc-hover-border-dark-grey:hover, .wc-border-dark-gray, .wc-hover-border-dark-gray:hover { border-color: #616161!important; }
.wc-border-white, .wc-hover-border-white:hover { border-color: #fff!important; }

/* Visual Filters & Opacity */
.wc-opacity, .wc-hover-opacity:hover { opacity: 0.60; }
.wc-opacity-off, .wc-hover-opacity-off:hover { opacity: 1; }
.wc-opacity-max { opacity: 0.25; }
.wc-opacity-min { opacity: 0.75; }

.wc-greyscale-max, .wc-grayscale-max, .wc-hover-greyscale:hover, .wc-hover-grayscale:hover { filter: grayscale(100%); }
.wc-greyscale, .wc-grayscale { filter: grayscale(75%); }
.wc-greyscale-min, .wc-grayscale-min { filter: grayscale(50%); }

.wc-sepia { filter: sepia(75%); }
.wc-sepia-max, .wc-hover-sepia:hover { filter: sepia(100%); }
.wc-sepia-min { filter: sepia(50%); }

/* Animations */
.wc-spin { animation: wc-spin 2s infinite linear; }
@keyframes wc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(359deg); }
}

.wc-animate-fading { animation: fading 10s infinite; }
@keyframes fading {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.wc-animate-opacity { animation: opac 0.8s; }
@keyframes opac { from { opacity: 0; } to { opacity: 1; } }

.wc-animate-top { position: relative; animation: animatetop 0.4s; }
@keyframes animatetop { from { top: -300px; opacity: 0; } to { top: 0; opacity: 1; } }

.wc-animate-left { position: relative; animation: animateleft 0.4s; }
@keyframes animateleft { from { left: -300px; opacity: 0; } to { left: 0; opacity: 1; } }

.wc-animate-right { position: relative; animation: animateright 0.4s; }
@keyframes animateright { from { right: -300px; opacity: 0; } to { right: 0; opacity: 1; } }

.wc-animate-bottom { position: relative; animation: animatebottom 0.4s; }
@keyframes animatebottom { from { bottom: -300px; opacity: 0; } to { bottom: 0; opacity: 1; } }

.wc-animate-zoom { animation: animatezoom 0.6s; }
@keyframes animatezoom { from { transform: scale(0); } to { transform: scale(1); } }

.wc-animate-input { transition: width 0.4s ease-in-out; }
.wc-animate-input:focus { width: 100%!important; }

.wc-ripple:active { opacity: 0.5; }
.wc-ripple { transition: opacity 0s; }

/* Image Styles */
.wc-image { max-width: 100%; height: auto; }
.wc-image-round {
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    height: auto !important; 
}

/* ==========================================================================
   7. CUSTOM SITE COMPONENTS
   ========================================================================== */

/* --- Global Header & Navigation --- */
.wc-header-top { z-index: 999; }
.wc-mobile-nav-wrapper { width: 100%; padding: 4px 0; }
.wc-mobile-nav-flex { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.wc-mobile-brand-container { display: flex; align-items: center; padding-left: 8px; }

.wc-mobile-brand-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1.1;
    padding: 0;
}
.wc-mobile-brand-text span { display: inline-block; vertical-align: middle; }

.wc-nav-logo { height: 30px; width: auto; display: block; }
.wc-desktop-nav-wrapper { width: 100%; }
.wc-desktop-nav-flex {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}
.wc-desktop-logo-link { padding: 6px 12px; display: flex; align-items: center; }
.wc-desktop-nav-link { font-size: 20px; font-weight: bold; }
.wc-nav-search-btn { margin-left: auto; }
.wc-mobile-dropdown { z-index: 998; }

/* --- Slideshow Banner --- */
.wc-main-wrapper { max-width: 2000px; margin-top: 46px; }
.slideshow-img { width: 100%; display: block; }

.wc-banner-title {
    font-size: clamp(24px, 5vw, 70px);
    margin: 0;
    color: #ffffff;
}

/* Slide Overlay Effects */
.mySlides::after {
  content: ""; /* Fixed none to allow overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.mySlides .wc-display-bottomleft,
.mySlides .wc-display-bottommiddle {
  z-index: 2 !important;
}

/* --- History/About --- */
.wc-history-text p {
    line-height: 1.6;
    font-size: 16px;
    margin-top: 16px;
}

.wc-history-text p { margin-bottom: 16px; }

.wc-history-inline-img {
    float: left !important;
    margin-right: 20px !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    width: 40%;
    height: auto;
    display: block;
}

/* --- Directors Emeritus Dropdown --- */
.wc-emeritus-dropdown {
    background-color: #ffffff;
    border: 1px solid #274c77;
    border-radius: 4px;
    margin-top: 40px;
    margin-bottom: 32px;
}

.wc-emeritus-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-size: clamp(18px, 4vw, 20px);
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #274c77;
    border-radius: 4px;
    list-style: none;
}

.wc-emeritus-summary::-webkit-details-marker { display: none; }
.wc-emeritus-arrow { transition: transform 0.3s ease; }
details[open] .wc-emeritus-arrow { transform: rotate(180deg); }

.wc-emeritus-content {
    padding: 24px;
    border-top: 1px solid rgba(43, 76, 126, 0.2);
}

.wc-emeritus-profile {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(43, 76, 126, 0.1);
}
.wc-emeritus-profile:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.wc-emeritus-profile h4 {
    margin: 0 0 4px 0;
    color: #274c77;
    font-weight: bold;
}
.wc-emeritus-role {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin: 0 0 12px 0;
}

.wc-emeritus-img {
    float: left;
    margin-right: 20px;
    margin-bottom: 12px;
    margin-top: 4px;
    width: 150px;
    max-width: 30%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.wc-emeritus-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(43, 76, 126, 0.08);
}

.wc-emeritus-close-bar {
    display: block;
    width: 100%;
    box-sizing: border-box; 
    padding: 12px;
    background-color: #274c77;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 0 3px 3px; 
    margin-top: 24px;
    text-decoration: none;
    transition: background 0.2s;
}

.wc-emeritus-close-bar:hover {
    background-color: #1a3050;
    color: #ffffff;
}

/* --- Join Page Styles --- */

.wc-join-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    font-family: 'Source Sans 3', sans-serif;
    color: #1A242F;
    overflow-x: hidden;
}

.wc-join-hero {
    margin-bottom: 4rem;
    text-align: center;
}

.wc-join-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr; /* Default mobile */
    width: 100%;
}

/* Tablet / Desktop transition at 992px */
@media (min-width: 992px) {
    .wc-join-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wc-join-card {
    border: 1px solid #E0E7ED;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.wc-join-heading {
    font-family: 'Playfair Display', serif;
    color: #274c77;
    margin-bottom: 1rem;
}

.wc-join-btn {
    display: inline-block;
    background-color: #782861;
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.4s ease-in-out;
}

.wc-join-btn:hover {
    background-color: #4A7DA5;
}

.wc-join-cta-section {
    border-top: 1px solid #E0E7ED;
    margin-top: 4rem;
    padding-top: 4rem;
    text-align: center;
}

.wc-join-quote {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #FAFAFA;
    border-left: 3px solid #274c77;
    font-style: italic;
    font-size: 0.95rem;
}

/* Optional: Typography scale adjust for small devices */
@media (max-width: 600px) {
    .wc-join-heading { font-size: 1.25rem; }
    .wc-join-hero h1 { font-size: 2rem !important; }
}

/* Additional styles for detailed commitment cards */
.wc-join-details-list {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.wc-join-details-list li {
    padding-bottom: 1rem;
    border-bottom: 1px solid #E0E7ED; /* Staff-line inspired divider */
    margin-bottom: 1rem;
}

.wc-join-details-list li strong {
    display: block;
    color: #274c77;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.wc-join-attendance-note {
    background: #FAFAFA;
    border-left: 3px solid #274c77;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.wc-join-image-card {
    position: relative;
    background-size: cover;
    background-position: center top; /* Default for mobile and large desktop */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

/* Tablet range: 600px to 1200px */
@media (min-width: 601px) and (max-width: 1199px) {
    .wc-join-image-card {
        /* Tablet mode for this block has the most unique card settings so the image needs to be adjusted
        /* Adjust the pixel value to position subject of image correctly */
        /* Use negative values to nudge the image UP */
        background-position: center -100px; 
    }
}

.wc-join-image-card h2, 
.wc-join-image-card p {
    color: #ffffff !important;
}

/* --- Figure Component --- */
.wc-join-figure {
    margin: 0;
    padding: 0;
    text-align: center;
}

.wc-join-figure img {
    display: block;
    width: 100%;
    border-radius: 8px; /* Matches the design system radius */
    transition: transform 0.4s ease-in-out;
}

.wc-join-figure img:hover {
    transform: scale(1.02);
}

.wc-join-caption {
    margin-top: 1rem;
    color: #274c77; /* Primary Navy */
}

/* --- About Page --- */

.wc-about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.wc-mission-section {
    background-color: #FAFAFA;
    border-left: 6px solid #274c77;
    padding: 1.5rem; 
    margin-bottom: 4rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.wc-mission-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A7DA5;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.wc-mission-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.4;
    font-style: italic;
    color: #274c77;
    margin: 0;
}

.wc-about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.wc-about-column {
    flex: 1 1 400px;
    border-left: 3px solid #274c77;
    padding-left: 1.5rem;
}

.wc-about-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #274c77;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.wc-about-body {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #1A242F;
}

.wc-about-list {
    line-height: 2;
    padding-left: 20px;
    margin: 0;
    color: #1A242F;
}

.wc-about-quote {
    font-style: italic;
    color: #4A7DA5;
    border-left: 2px solid #4A7DA5;
    padding-left: 1rem;
    line-height: 1.7;
}

/* Modern Layout Utilities */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2d3748;
}

@media (min-width: 992px) {
  .support-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Card Styling */
.card-modern {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Specific Accent Callouts */
.callout-friendly {
  background-color: #f0f4f8;
  border-left: 4px solid #2b4c7e;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
}

/* Button UI */
.btn-primary-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2b4c7e;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-primary-modern:hover {
  background-color: #1a3050;
}

/* Typography Overrides for friendliness */
.support-heading {
  color: #1a3050;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.text-muted {
  color: #4a5568;
  line-height: 1.6;
}

/* Grid Layout for Sponsors */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.sponsor-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s ease;
}

.sponsor-item:hover {
  filter: grayscale(0%);
  border-color: #2b4c7e;
}