body {
    background-color: #2b5386;
    color: #fff;
}

a, .btn, .btn-link, .card-title, .card-text, h2, h3, h5, p {
  color: #FFFF00 !important;
  font-weight: bold !important;
  font-family: "Comic Sans MS", "Lobster", "Pacifico", "Chalkboard SE", "Marker Felt", cursive !important;
}
/* Tabs checked-state & panel visibility */
#t-tab1:checked ~ .t-tab-list label[for="t-tab1"],
#t-tab2:checked ~ .t-tab-list label[for="t-tab2"],
#t-tab3:checked ~ .t-tab-list label[for="t-tab3"]{
  background:#0b84ff;
  color:#fff;
  box-shadow:0 6px 18px rgba(11,132,255,.14);
}

/* Show matching panel */
#t-tab1:checked ~ .t-panels #t-panel1 { display:block !important; }
#t-tab2:checked ~ .t-panels #t-panel2 { display:block !important; }
#t-tab3:checked ~ .t-panels #t-panel3 { display:block !important; }

/* Small screens: make tabs narrower and panels full-width under header */
@media (max-width:720px){
  .top-tabs { right:10px; top:8px; width:calc(60vw); }
  .t-tab-list label{ padding:6px 8px; font-size:13px; }
  .t-panels .t-panel{ width:calc(100vw - 32px); right:8px; left:8px; }
  .t-panels .t-panel.donate{ height:320px; }
}
.card {
    background-color: rgba(43, 83, 134, 0.9);
    border: none;
}

footer {
    background-color: #2b5386;
    color: #fff;
}

/* Accessible panel styling - dark background with readable text */
.t-panel {
  background: rgba(43, 83, 134, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.t-panel h4 {
  color: #fff !important;
  margin: 0 0 8px 0 !important;
}

.t-panel p {
  color: #fff !important;
  margin: 6px 0 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.t-panel a {
  color: #00d4ff !important;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.t-panel strong {
  color: #fff !important;
  font-weight: 700;
}

/* Header layout: reserve space for absolute-positioned tabs */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18px 24px;
  min-height: 120px;
}

.logo {
  max-height: 100px;
  display: inline-block;
}

/* Tabs stay top-right without affecting logo centering */
.top-tabs {
  position: absolute;
  right: 18px;
  top: 12px;
  max-width: 420px;
  width: calc(40vw);
}

/* Responsive: tighten spacing on smaller screens */
@media (max-width: 720px) {
  .site-header {
    min-height: 90px;
    padding: 12px 16px;
  }
  
  .logo {
    max-height: 80px;
  }
  
  .top-tabs {
    right: 10px;
    top: 8px;
    width: calc(60vw);
  }
}

@media (max-width: 480px) {
  .top-tabs {
    width: calc(75vw);
  }
  
  .t-tab-list label {
    padding: 5px 6px;
    font-size: 12px;
  }
}
