/*  Two-column layout  */
.two-col-layout {
  display: flex;
  box-sizing: border-box;
  width: 100%;
}
.two-col-nav {
  box-sizing: border-box;
  min-width: 260px;
  padding: 24px;
  width: 25%;
  order: 2;
}
.two-col-main {
  box-sizing: border-box;
  padding: 24px;
  width: 66.666%;
  order: 0;
}
@media (max-width: 1350px) {
  .two-col-layout {
    flex-direction: column;
  }
  .two-col-nav,
  .two-col-main {
    width: 100%;
  }
}
/*  Quick links — stacked rectangular buttons  */
.quick-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #021a4a;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  padding: .55em 1em;
  outline-offset: 4px;
  white-space: normal;
  overflow-wrap: break-word;
  transition: transform 120ms ease, box-shadow 160ms ease, filter 160ms ease;
  will-change: transform;
}
.quick-card strong {
  font-weight: inherit;
}
.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  filter: brightness(1.08);
}
.quick-card:focus,
.quick-card:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(2, 26, 74, 0.35);
}
.quick-card:active {
  transform: scale(0.98);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
  filter: brightness(0.98);
}
.quick-card:visited {
  color: #ffffff;
  background-color: #021a4a;
  filter: none;
}
/*  Reduced motion  */
@media (prefers-reduced-motion: reduce) {
  .quick-card {
    transition: none;
  }
  .quick-card:hover,
  .quick-card:active {
    transform: none;
    filter: none;
  }
}
/*  Quick grid — 2 columns centered at medium screens, single column at phone  */
@media (max-width: 1350px) {
  .quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .quick-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
/*  Page banner — hidden on small screens  */
.page-banner {
  display: block;
}
@media (max-width: 1024px) {
  header.page-banner {
    display: none;
  }
}
/* ===== Quick link accordions ===== */

.quick-accordion {
  width: 100%;
}

.quick-accordion summary.quick-card {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 2em;
}

.quick-accordion summary.quick-card::-webkit-details-marker {
  display: none;
}

.quick-accordion summary.quick-card::after {
  content: "▾";
  position: absolute;
  right: .75em;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  font-weight: 400;
}

.quick-accordion[open] summary.quick-card::after {
  content: "▴";
}

.quick-accordion-body {
  background: #f6f8fb;
  border: 1px solid #d9dde3;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 4px 0;
}

.quick-accordion-body a {
  display: block;
  padding: 8px 12px;
  color: #021a4a;
  text-decoration: none;
  font-weight: 700;
  border-top: 1px solid #e8ecf0;
  font-size: 1em;
}

.quick-accordion-body a:first-child {
  border-top: none;
}

.quick-accordion-body a:hover {
  background: #eef3fb;
  text-decoration: underline;
}

.quick-accordion-body a:focus-visible {
  outline: 3px solid #021a4a;
  outline-offset: -3px;
  background: #eef3fb;
}

.quick-accordion[open] summary.quick-card {
  border-radius: 8px 8px 0 0;
}
