/* The public article does not use Bootstrap layouts. A native disclosure keeps
   its contents compact and the source article remains the no-script fallback. */
.history-contents[hidden] { display: none; }
.story-accessibility .history-contents { display: none; }
@media (max-width: 800px) {
 .story-accessibility .parish-aside { display: none; }
 .story-accessibility .history-contents { display: block; margin-bottom: 24px; color: var(--navy); }
}
@media (max-width: 767.98px) {
 :is(.story-syro-malabar-history,.story-parish-history,.story-accessibility) .story-article { padding: clamp(16px, 5vw, 24px); }
 :is(.story-syro-malabar-history,.story-parish-history,.story-accessibility) .story-heading { margin-bottom: 20px; }
 :is(.story-syro-malabar-history,.story-parish-history) .history-contents { margin-bottom: 24px; color: var(--navy); }
}
@media (max-width: 800px) {
 .history-contents details { border: 1px solid var(--line); background: var(--parish-cream); }
 .history-contents summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
 .history-contents summary::-webkit-details-marker { display: none; }
 .history-contents summary .icon { width: 18px; height: 18px; flex: none; }
 .history-contents summary::after { content: ''; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex: none; }
 .history-contents details[open] summary::after { transform: rotate(225deg); }
 .history-section-count { margin-left: auto; font-size: .8rem; font-weight: 400; white-space: nowrap; }
 .history-contents ol { margin: 0; padding: 0 12px 8px 36px; border-top: 1px solid var(--line); }
 .history-contents li { padding-left: 2px; }
 .history-contents a { display: block; padding: 12px 4px; min-height: 44px; line-height: 1.5; color: var(--navy); overflow-wrap: anywhere; text-underline-offset: 3px; }
 .history-contents :is(summary,a):focus-visible { outline: 2px solid var(--parish-gold); outline-offset: -3px; }
}
@media (max-width: 767.98px) {
 .history-mobile-reading .story-copy { font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
 /* Legacy CMS spans may contain inline font sizes. Keep phone text consistent. */
 .history-mobile-reading .story-copy span { font-size: inherit !important; line-height: inherit !important; }
 .history-mobile-reading .story-copy p { margin-bottom: 1.2em; }
 .history-mobile-reading .story-copy .history-empty { display: none; }
 .history-mobile-reading .story-copy .history-section-title { margin: 28px 0 16px; font-size: var(--section-heading-size); line-height: 1.35; letter-spacing: -.015em; color: var(--navy); }
 /* site.css already reserves the fixed header through html scroll-padding-top. */
 .history-mobile-reading .story-copy [data-history-section] { scroll-margin-top: 1rem; }
 .history-mobile-reading .story-copy [data-history-section]:focus-visible { outline: 2px solid var(--parish-gold); outline-offset: 4px; }
}
