:focus-visible { outline: 2px solid #a3202c; outline-offset: 3px; }
body {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.125rem;
  background-color: #f6f3ee;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%231e3a5f' stroke-width='1.1' opacity='0.045'%3E%3Cpath d='M30 60h105v60h75'/%3E%3Cpath d='M210 120h90v75h60'/%3E%3Cpath d='M60 240h135v-45h75'/%3E%3Cpath d='M300 270v75h-105v45'/%3E%3Cpath d='M30 330h75v60'/%3E%3Cpath d='M240 30v68h120'/%3E%3Cpath d='M360 180v120h-45'/%3E%3Cpath d='M135 180v105'/%3E%3C/g%3E%3Cg fill='%231e3a5f' opacity='0.05'%3E%3Ccircle cx='135' cy='60' r='3.5'/%3E%3Ccircle cx='210' cy='120' r='3.5'/%3E%3Ccircle cx='300' cy='120' r='3.5'/%3E%3Ccircle cx='360' cy='195' r='3.5'/%3E%3Ccircle cx='195' cy='240' r='3.5'/%3E%3Ccircle cx='270' cy='195' r='3.5'/%3E%3Ccircle cx='300' cy='270' r='3.5'/%3E%3Ccircle cx='195' cy='345' r='3.5'/%3E%3Ccircle cx='105' cy='330' r='3.5'/%3E%3Ccircle cx='135' cy='285' r='3.5'/%3E%3Ccircle cx='240' cy='30' r='3.5'/%3E%3Ccircle cx='360' cy='30' r='3.5'/%3E%3C/g%3E%3Cg fill='%23a3202c' opacity='0.04'%3E%3Cpath d='M72 177l9 15h-6l7.5 18-18-21h7.5l-9-18z'/%3E%3Cpath d='M342 72l7.5 13.5h-5.25l6 15-15-18h6l-7.5-15z'/%3E%3Cpath d='M177 372l7.5 13.5h-5.25l6 15-15-18h6l-7.5-15z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 420px;
  background-attachment: fixed;
}
[data-tabs], #about, #membership, #membership-interest, #benefits, #contact, #login { scroll-margin-top: 9rem; }

.nav-toggle { display: none; }
.site-brand { margin-left: auto; }
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  max-width: 48rem;
  justify-content: flex-start;
}
.site-nav a {
  color: #1c2430;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}
.site-nav a[aria-current="page"] { color: #a3202c; }
.site-login-bar {
  background: #1e3a5f;
}
.site-header-bar {
  border-top: 1px solid #e3dcd0;
}
.site-login-row { color: #f6f3ee; }
.meta-phone,
.meta-email {
  color: #f6f3ee;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}
.meta-phone:hover,
.meta-email:hover { color: #fff; }
.meta-address {
  margin: 0;
  color: #d7e0ec;
  font-size: 0.9rem;
  white-space: nowrap;
}
.site-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.site-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  color: #f6f3ee;
  border: 1px solid rgba(246, 243, 238, 0.45);
  text-decoration: none;
}
.site-social a:hover,
.site-social a:focus-visible {
  background: #f6f3ee;
  color: #1e3a5f;
  border-color: #f6f3ee;
}
.site-social svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.login-link {
  display: inline-block;
  margin-left: auto;
  background: #a3202c;
  color: #fff !important;
  border: 1pt solid #f6f3ee;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.login-link:hover { background: #8c1b25; }
.site-officer-bar {
  background: #a3202c;
  padding: 0.45rem 1.25rem;
  text-align: center;
}
.site-officer {
  margin: 0;
  color: #f6f3ee;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
@media (max-width: 760px) {
  .meta-address { white-space: normal; }
  .login-link { margin-left: 0; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-brand { margin-left: auto; }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.4rem 0 0.8rem;
    gap: 0.7rem;
  }
  .site-nav.is-open { display: flex; }
}

.daybook-hero {
  min-height: 34rem;
  align-items: start;
}
.hero-intro {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
}
.hero-seal {
  display: block;
  width: 5.5rem;
  height: auto;
  flex: none;
  object-fit: contain;
}
@media (min-width: 768px) {
  .hero-seal { width: 6.75rem; }
}
.hero-photo {
  position: relative;
  overflow: hidden;
  height: 34rem;
  min-height: 22rem;
  max-height: 34rem;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 8% center;
}
@media (max-width: 1023px) {
  .hero-photo {
    height: 22rem;
    max-height: 22rem;
  }
}
.hero-accordion {
  display: grid;
  gap: 0.55rem;
}
.day-acc {
  border: 1px solid #e3dcd0;
  background: #fff;
  overflow: hidden;
}
.day-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  text-align: left;
  background: #fff;
  color: #1c2430;
  border: 0;
  padding: 0.8rem 1rem;
  cursor: pointer;
  font: inherit;
}
.day-tab-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: #a3202c;
  flex: none;
}
.day-tab-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}
.day-tab-copy strong { display: block; font-size: 1.2rem; }
.day-tab-copy small { display: block; color: #5c564e; font-size: 0.95rem; }
.day-tab-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.day-tab[aria-expanded="true"] {
  background: #1e3a5f;
  color: #fff;
}
.day-tab[aria-expanded="true"] .day-tab-icon { color: #fff; }
.day-tab[aria-expanded="true"] .day-tab-copy small { color: rgba(255, 255, 255, 0.85); }
.day-tab[aria-expanded="true"] .day-tab-chevron {
  transform: rotate(-135deg);
  opacity: 1;
}
.day-acc-panel {
  padding: 1rem 1.05rem 1.15rem;
  border-top: 1px solid #e3dcd0;
  background: #fffcf8;
}
.day-acc-panel[hidden] { display: none; }
.day-acc-panel .benefits-office-layout {
  margin-top: 0;
  grid-template-columns: 1fr;
}
.day-acc-panel .union-connection-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
}
.day-acc-panel .logo-carousel {
  margin-top: 0.75rem;
}

.daybook .cal-day { min-height: 3.8rem; font-size: 1.05rem; }
.daybook .cal-day.is-selected { background: #1e3a5f; color: #fff; }
.daybook .cal-day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 2px #a3202c; }
.daybook .cal-day .dot { background: #a3202c; }
.daybook .cal-day.is-selected .dot { background: #fff; }
.daybook .cal-toolbar button,
.daybook .cal-upcoming button {
  border: 1px solid #e3dcd0;
  background: #fff;
  padding: 0.6rem 0.8rem;
}
.daybook .cal-upcoming button { display: grid; gap: 0.15rem; }
.daybook .job-card,
.daybook .mem-card {
  background: #fff;
  border: 1px solid #e3dcd0;
  padding: 1.1rem 1.2rem;
}
.daybook .mem-card h3,
.daybook .job-card h3 { font-family: "Newsreader", Georgia, serif; font-size: 1.8rem; font-weight: 560; }
.daybook .job-filter { border: 1px solid #e3dcd0; background: #fff; padding: 0.45rem 0.85rem; }
.daybook .job-filter[aria-pressed="true"] { background: #a3202c; color: #fff; border-color: #a3202c; }
.daybook .badge { color: #a3202c; }
.daybook .badge-live { color: #1e3a5f; }
.daybook .sample-banner { background: #f8e4e2; color: #6d1a22; padding: 0.85rem 1rem; font-weight: 650; }
.daybook .field { display: grid; gap: 0.35rem; font-weight: 650; }
.daybook .field input { border: 1px solid #e3dcd0; background: #fff; padding: 0.75rem 0.8rem; font: inherit; font-weight: 450; font-size: 1.05rem; }
.daybook .compare a[aria-current="page"] { color: #a3202c; }
.hero-band {
  margin: 0;
  width: 100%;
  max-height: min(58vh, 32rem);
  overflow: hidden;
  background: #1e3a5f;
}
.hero-band img {
  display: block;
  width: 100%;
  height: min(58vh, 32rem);
  object-fit: cover;
  object-position: center 45%;
}
.benefits-office-layout,
.career-membership-layout,
.local-contact-layout {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .benefits-office-layout,
  .career-membership-layout,
  .local-contact-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(14rem, 0.9fr);
  }
}
.benefits-office-photo,
.career-membership-photo,
.local-contact-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e3dcd0;
  box-sizing: border-box;
}
.union-connection-grid {
  display: grid;
  gap: 2rem 1.75rem;
}
@media (min-width: 900px) {
  .union-connection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.site-footer {
  border-top: 1px solid #e3dcd0;
  background: #1e3a5f;
  color: #d7e0ec;
}
.site-footer a {
  color: #f6f3ee;
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer-grid {
  display: grid;
  gap: 2rem 2.5rem;
}
@media (min-width: 800px) {
  .site-footer-grid {
    grid-template-columns: 1.2fr 1fr 0.8fr;
  }
}
.site-footer-heading {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer-nav {
  display: grid;
  gap: 0.45rem;
}
.site-footer-social {
  margin-top: 0.25rem;
}
.site-footer-social a {
  color: #f6f3ee;
  border-color: rgba(246, 243, 238, 0.45);
}
.site-footer-social a:hover,
.site-footer-social a:focus-visible {
  background: #f6f3ee;
  color: #1e3a5f;
  border-color: #f6f3ee;
  text-decoration: none;
}
.site-footer-bar {
  background: #f6f3ee;
  color: #1c2430;
}
.site-footer-bar a { color: #a3202c; }

.panel-title {
  margin: 0;
  padding: 0.85rem 1.25rem;
  background: #1e3a5f;
  color: #f6f3ee;
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
}
.panel-title-bleed {
  width: 100%;
  box-sizing: border-box;
  padding-inline: max(1.25rem, calc((100% - 1400px) / 2 + 1.25rem));
}
@media (min-width: 768px) {
  .panel-title {
    padding-block: 1rem;
    font-size: 2.25rem;
  }
  .panel-title-bleed {
    padding-inline: max(2rem, calc((100% - 1400px) / 2 + 1.25rem));
  }
}
.connection-heading {
  margin: 0 0 1rem;
  padding: 0.55rem 0.85rem;
  background: #1e3a5f;
  color: #f6f3ee;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}
.connection-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.connection-list li {
  margin: 0;
  padding: 0 0 1rem;
  border-bottom: 1px solid #e3dcd0;
}
.connection-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.connection-event-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
}
.connection-event-meta {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #5c564e;
}
.member-news-date {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3202c;
}
.member-news-title {
  margin: 0.3rem 0 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.member-news-summary {
  margin: 0.35rem 0 0;
  color: #5c564e;
  line-height: 1.5;
}
.daybook .job-name-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.daybook .job-name-list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e3dcd0;
}
.daybook .job-name-list li:last-child { border-bottom: 0; }
.daybook .job-name-link {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  column-gap: 0.65rem;
  row-gap: 0.15rem;
  align-items: center;
  width: 100%;
  padding: 0.75rem 0;
  color: inherit;
  text-decoration: none;
}
.daybook .job-name-link svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: #a3202c;
}
.daybook .job-name-title {
  grid-column: 3;
  font-weight: 650;
}
.daybook .job-name-meta {
  grid-column: 3;
  font-size: 0.9rem;
  color: #5c564e;
}
.daybook .mem-photo,
.daybook .mem-photo-placeholder {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.daybook .mem-photo-placeholder {
  background: #e3dcd0;
}
.daybook .mem-name-link svg {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.daybook .mem-name-link .mem-photo,
.daybook .mem-name-link .mem-photo-placeholder {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.benefits-staff { list-style: none; margin: 0; padding: 0; }
.benefits-role {
  display: block;
  margin-top: 0.2rem;
  color: #a3202c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo-carousel {
  position: relative;
  max-width: 100%;
  border: 1px solid #e3dcd0;
  background: #fff;
}
.logo-carousel-viewport {
  overflow: hidden;
  margin: 0 2.75rem;
}
.logo-carousel-track {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.1rem 0;
  list-style: none;
  transition: transform 0.35s ease;
}
.logo-carousel-track li {
  display: flex;
  flex: 0 0 20%;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0 0.5rem;
}
.logo-carousel-track img {
  display: block;
  width: 100%;
  max-width: 9.5rem;
  max-height: 3.5rem;
  height: auto;
  object-fit: contain;
}
.logo-carousel-track img.logo-on-dark {
  background: #000;
  padding: 0.35rem 0.45rem;
}
.logo-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8d8680;
  cursor: pointer;
}
.logo-carousel-btn svg { width: 1.35rem; height: 1.35rem; }
.logo-carousel-btn:hover { color: #1c2430; }
.logo-carousel-btn-next { right: 0.35rem; }
.logo-carousel-btn:not(.logo-carousel-btn-next) { left: 0.35rem; }
.contractor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.contractor-actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  background: #1e3a5f;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.contractor-actions a:hover {
  background: #a3202c;
}
