
/* Compact spacing shared by public pages. */
:root { --page-space:20px; --content-space:12px; --card-space:20px; }
main:not(.home-compact):not([data-tourism-page]):not(.sheregesh-landing) > .section { padding-top:var(--page-space); padding-bottom:0; }
main:not(.home-compact):not([data-tourism-page]):not(.sheregesh-landing) > .section:last-child { padding-bottom:var(--page-space); }
main:not(.home-compact):not([data-tourism-page]):not(.sheregesh-landing) > .page-hero { padding-top:var(--page-space); padding-bottom:var(--page-space); }
main:not(.home-compact):not([data-tourism-page]):not(.sheregesh-landing) > .page-hero--breadcrumbs-only { padding-top:12px; padding-bottom:12px; }
main .section__head { gap:12px; margin-top:0; margin-bottom:16px; }
main .section__head:not(:has(*)) { display:none; margin:0; }
main .section__head h2 { margin-top:0; margin-bottom:0; }
main .page-hero h1 { margin-top:8px; margin-bottom:12px; }
main .page-hero .breadcrumbs { margin-top:0; margin-bottom:12px; }
main .page-hero--breadcrumbs-only .breadcrumbs { margin:0; }
main .page-hero p:last-child { margin-bottom:0; }
main :is(.content-grid,.split,.page-hero__grid) { gap:20px; }
main :is(.panel,.content-card):not(form):not(.schedule-card) { padding:var(--card-space); }
main .document-body > :first-child { margin-top:0; }
main .document-body > :last-child { margin-bottom:0; }
main .document-body > :is(h2,h3,h4) { margin-top:20px; margin-bottom:10px; }
main .document-body > :is(p,ul,ol) { margin-top:0; margin-bottom:12px; }
main .document-body > :is(h2,h3,h4):first-child { margin-top:0; }
main :is(.tiles,.showcase-grid,.info-documents__grid) { gap:16px; }
main .sidebar > .panel + .panel { margin-top:16px; }
main .form-grid { gap:12px; }
.exc-dialog .exc-dialog-inner > :is(p,ul,ol),.article-modal__body > :is(p,ul,ol) { margin-top:0; margin-bottom:12px; }
.exc-dialog .exc-dialog-inner > :is(h2,h3),.article-modal__body > :is(h2,h3) { margin-bottom:12px; }
@media(max-width:640px) {
 :root { --page-space:16px; --card-space:16px; }
 main :is(.content-grid,.split,.page-hero__grid) { gap:16px; }
 main .section__head { margin-bottom:12px; }
 main :is(.tiles,.showcase-grid,.info-documents__grid) { gap:12px; }
}
