/* Shared reading aids, kept separate from the original gazette layout. */
.header-row { grid-template-columns: minmax(0, 1fr) minmax(270px, 350px) !important; }
.header-row > .header-search { grid-column: 2; grid-row: 1; width: 100%; margin: 0; }
.header-search label { display: block; color: #345644; font-size: 16px; margin-bottom: 7px; }
.header-search-line { display: flex; gap: 0; border: 1px solid #7c9585; border-radius: 4px; overflow: hidden; background: #fff; }
.header-search-line input { width: 100%; min-width: 0; min-height: 42px; border: 0; border-radius: 0; padding: 9px 11px; font: 15px Georgia, serif; color: #263f32; background: transparent; }
.header-search-line button { min-height: 42px; border: 0; border-radius: 0; padding: 9px 13px; font: 15px Georgia, serif; background: #345644; color: #fff; cursor: pointer; }
.header-search-line:focus-within { outline: 2px solid #345644; outline-offset: 3px; }
.header-search > a { display: inline-block; font-size: 13px; margin-top: 5px; }
.header-row > .nav, .reader-page .masthead .header-row > .nav { grid-column: 1 !important; grid-row: 2 !important; min-width: 0; }
.header-row > .account-nav { grid-column: 2; grid-row: 2; justify-self: end; }
.recent-disclosure { border-top: 1px solid #b9c5bd; border-bottom: 1px solid #b9c5bd; padding: 18px 0; }
.recent-disclosure > summary { cursor: pointer; color: #345644; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; }
.recent-disclosure > summary::marker { font-size: .7em; }
.recent-disclosure > summary .disclosure-hint { font-size: 14px; font-weight: normal; color: #596d60; margin-left: 12px; }
.recent-disclosure[open] .disclosure-hint { display: none; }
.recent-disclosure .case-picks { margin-top: 20px; }
.court-row { border-bottom: 1px solid #c9d1cb; padding: 10px 0; }
.home-editorial aside .court-row a { display: inline; padding: 0; border: 0; }
.court-row .court-site { display: block !important; margin-top: 3px; font-size: 13px; }
.court-reference { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button.glossary-term, .reader-page button.glossary-term {
  display: inline; appearance: none; background: transparent; border: 0; border-bottom: 1px dotted currentColor;
  border-radius: 0; padding: 0; margin: 0; min-height: 0; min-width: 0; height: auto;
  color: inherit; font: inherit; line-height: inherit; letter-spacing: inherit; text-align: inherit;
  cursor: help; vertical-align: baseline; box-shadow: none;
}
button.glossary-term:hover, button.glossary-term[aria-expanded="true"] { background: #e6eee7 !important; color: #2e4637; }
a[data-glossary-link][aria-expanded="true"] { background: #e6eee7; }
button.glossary-term:focus-visible, .recent-disclosure > summary:focus-visible { outline: 2px solid #345644; outline-offset: 3px; }
.glossary-popup { position: fixed; z-index: 10000; box-sizing: border-box; width: 370px; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 22px; background: #fffef9; color: #2e4637; border: 1px solid #a5b6a8; border-radius: 6px; box-shadow: 0 9px 35px #1b382733; font: 17px/1.5 Constantia, 'Palatino Linotype', Georgia, serif; }
.glossary-popup[hidden] { display: none !important; }
.glossary-popup > strong { display: block; padding-right: 26px; font-size: 20px; color: #345644; }
.glossary-popup > p { margin: 12px 0; font: inherit; }
.glossary-popup > a { color: #345644; font-size: 14px; text-decoration: underline; }
.glossary-popup > .glossary-close { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; min-height: 36px; padding: 0; background: transparent; color: #345644; border: 0; font: 26px/1 Arial, sans-serif; cursor: pointer; }
.glossary-popup > .glossary-close:hover { background: #e6eee7 !important; }
.glossary-hint { color: #596d60; font-size: 15px; }
.glossary dt[id] { scroll-margin-top: 24px; }
.coverage-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .header-row .brand-name { font-size: clamp(32px, 4vw, 52px); }
  .header-row { column-gap: 20px; }
}
@media (max-width: 900px) {
  .header-row { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  .header-row > .brand { grid-column: 1; grid-row: 1; }
  .header-row > .header-search { grid-column: 1; grid-row: 2; max-width: 500px; }
  .header-row > .nav, .reader-page .masthead .header-row > .nav { grid-column: 1 !important; grid-row: 3 !important; }
  .header-row > .account-nav { grid-column: 1; grid-row: 4; justify-self: start; }
}
@media (max-width: 480px) {
  .header-search-line input { font-size: 16px; padding-inline: 8px; }
  .header-search-line button { padding-inline: 10px; }
  .recent-disclosure > summary .disclosure-hint { display: block; margin: 6px 0 0 20px; }
  .recent-disclosure[open] > summary .disclosure-hint { display: none; }
}
@media print {
  .glossary-popup, .header-search, .glossary-hint { display: none !important; }
  button.glossary-term, .reader-page button.glossary-term { border: 0; background: none; }
}
