/* Scoped rules deliberately outrank legacy theme rules during extraction. */
.atis-glossary-page { max-width:1200px; margin:32px auto; padding:0 24px; }
.atis-glossary { max-width:100%; color:inherit; scroll-margin-top:140px; }
.atis-glossary .search-heading-wp { display:grid; grid-template-columns:minmax(150px,1fr) 3fr; padding:12px; background:#f1f1f1; }
.atis-glossary .heading-title,.atis-glossary .heading-description { width:auto; padding:0; }
.atis-glossary .cpta-Section { display:grid; grid-template-columns:minmax(150px,1fr) 3fr; gap:16px; padding:18px 12px; }
.atis-glossary .cpta-Section:nth-of-type(even) { background:#fdf0eb; }
.atis-glossary .cpta-Section:nth-of-type(odd) { background:transparent; }
.atis-glossary .cpta-Section h1 { font:inherit; font-weight:600; margin:0; }
.atis-glossary .cpta-Section h1 { width:auto; }
.atis-glossary .cpta-Section .more_content,.atis-glossary .cpta-Section .more_content div { display:block; width:auto; min-width:0; padding:0; white-space:normal; text-overflow:clip; }
.atis-glossary .img-div { grid-column:2; padding:0!important; }
.atis-glossary .cpta-Section .inner-more-content { display:block; max-height:none; height:auto; overflow:visible; }
.atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; width:100%; float:none; clear:both; margin:16px 0; padding:0; list-style:none; }
.atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination > li { display:block; float:none; margin:0; padding:0; }
.atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination > li > a { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-width:44px; min-height:44px; height:auto; width:auto; margin:0; padding:10px 14px; border:1px solid #d9e6ef; border-radius:3px; background:#f2f6fa; color:#035296; font:inherit; line-height:1.25; text-decoration:none; }
.atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination > li > a:hover { background:#e5eef5; border-color:#9ebbd0; }
.atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination > li > a[aria-current="page"] { background:#e95732; border-color:#e95732; color:#fff; font-weight:600; text-decoration:none; }
.atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination > li > a:focus-visible { outline:3px solid #185a83; outline-offset:2px; }
.atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination > li[aria-hidden="true"] { display:flex; align-items:center; justify-content:center; min-width:20px; min-height:44px; color:#585858; }
.atis-glossary .atis-sort-mobile { display:none; }
.atis-glossary [aria-current=page] { font-weight:bold; text-decoration:underline; }
.atis-glossary .atis-export { display:inline-block; margin:0 12px 8px 0; }
.atis-media img,.atis-media video { max-width:100%; height:auto; }
.atis-media audio { max-width:100%; }
/* Feedback is a native disclosure styled as an action button. */
.atis-feedback { margin-top:24px; }
.atis-feedback > summary { display:inline-flex; align-items:center; gap:12px; min-height:44px; box-sizing:border-box; padding:10px 18px; border:1px solid #185a83; border-radius:4px; background:#185a83; color:#fff; font:inherit; font-weight:600; line-height:1.4; list-style:none; cursor:pointer; }
.atis-feedback > summary::-webkit-details-marker { display:none; }
.atis-feedback > summary::after { content:'+'; font-size:20px; line-height:1; }
.atis-feedback[open] > summary::after { content:'−'; }
.atis-feedback > summary:hover { background:#124665; border-color:#124665; }
.atis-feedback > summary:focus-visible { outline:3px solid #185a83; outline-offset:3px; }
.atis-feedback-form { margin-top:20px; }
.atis-glossary [hidden] { display:none!important; }
/* Do not inherit the theme's mobile rule hiding every unclassified pagination
   item. Keep navigation usable without legacy prev/target/all/next classes. */
@media(max-width:600px) {
  .atis-glossary nav[aria-label="Glossary pages"] .list-cptapagination { justify-content:flex-start; gap:6px; }
  .atis-glossary .cpta-Section { grid-template-columns:1fr; }
  .atis-glossary .img-div { grid-column:1; }
  .atis-glossary .search-heading-wp { display:flex; padding:8px 12px; }
  .atis-glossary .heading-description,.atis-glossary .atis-sort-desktop { display:none; }
  .atis-glossary .atis-sort-mobile { display:inline; }
  .atis-glossary .heading-title a { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; border:1px solid #185a83; border-radius:4px; color:#185a83; background:#fff; }
  .atis-glossary .list-cptapagination { justify-content:flex-start; gap:6px; margin:0; }
  .atis-glossary .list-cptapagination > li { margin:0; }
  .atis-glossary .list-cptapagination > li > a { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; box-sizing:border-box; padding:8px 12px; }
  .atis-glossary [data-atis-sort]:focus-visible,.atis-glossary [data-atis-page]:focus-visible { outline:3px solid #185a83; outline-offset:2px; }
}

/* Explicit full-entry affordances. */
.atis-glossary .atis-results-help { margin:0 0 16px; color:#454545; font-size:14px; line-height:1.5; }
.atis-glossary .cpta-Section h1 a.term-title { color:#035296; text-decoration:underline; text-underline-offset:.15em; }
.atis-glossary .cpta-Section a.atis-read-more { display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:4px 0; color:#035296; font-weight:600; line-height:1.4; text-decoration:underline; text-underline-offset:.15em; }
.atis-glossary .cpta-Section h1 a.term-title:focus-visible,.atis-glossary .cpta-Section a.atis-read-more:focus-visible { outline:3px solid #185a83; outline-offset:3px; }

.atis-glossary .atis-media-icons { display:flex; align-items:center; gap:8px; }
.atis-glossary .atis-media-link { display:inline-flex; align-items:center; justify-content:center; width:44px; min-height:44px; border-radius:3px; }
.atis-glossary .atis-media-icon { display:block; width:24px; height:24px; padding:0; margin:0; object-fit:contain; }
.atis-glossary .atis-media-link:hover { background:#e5eef5; }
.atis-glossary .atis-media-link:focus-visible { outline:3px solid #185a83; outline-offset:2px; }

.atis-glossary .cpta-Section a.atis-read-more { display:inline-block; min-height:0; padding:0; white-space:nowrap; }
