/* Accepted mobile/template corrections; loaded after canonical component styles. */
body.gis-r7.gis-r7-legacy header.gis-header { display: none; }
body.gis-r7.gis-r7-legacy .r7-header .gis-logo { display: inline-flex; flex-direction: row; align-items: center; text-align: left; }
body.gis-r7.gis-r7-legacy .r7-header .gis-logo > span { display: block; }
body.gis-r7.gis-r7-legacy .r7-header .gis-logo > .r7-brand-mark { display: grid; }
body.gis-r7.gis-r7-legacy .r7-mobilebar a.gis-btn { color: #fff; }
body.gis-r7.gis-r7-legacy .r7-mobilebar a.gis-btn:hover { color: #fff; }
body.gis-r7.gis-r7-legacy main.bg-white { width: min(1000px, calc(100% - 80px)); margin-inline: auto; padding: 48px 0; background: transparent; }
body.gis-r7.gis-r7-legacy main.bg-white h1 { max-width: 900px; font-size: clamp(32px, 4vw, 56px); line-height: 1.15; }
body.gis-r7.gis-r7-legacy main.bg-white :where(ul,ol) { padding-left: 24px; }
body.gis-r7.gis-r7-legacy .breadcrumbs { padding: 18px 0; }
body.gis-r7 .r7-hero-downloads { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; align-items: center; font-size: 15px; }
body.gis-r7 .r7-hero-downloads a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
body.gis-r7 .r7-hero-quote { max-width: 650px; margin: 18px 0 0; color: #d3e0e1; font-size: 14px; line-height: 1.6; }
body.gis-r7 .r7-hero-quote strong { color: #c1ed94; }
@media (max-width: 640px) {
 body.gis-r7.gis-r7-legacy main.bg-white { width: calc(100% - 32px); padding-block: 30px; }
 body.gis-r7.gis-r7-legacy .r7-header .gis-logo { max-width: calc(100% - 85px); }
 body.gis-r7 .r7-hero { padding-top: 38px; }
}

/* Root privacy document reading layout */
body.gis-r7 .r7-policy { max-width:860px; padding:40px 24px 64px; }
body.gis-r7 .r7-policy > section { margin:36px 0; scroll-margin-top:108px; }
body.gis-r7 .r7-policy > section > h2 { font-size:clamp(22px,3vw,29px); line-height:1.3; margin:0 0 16px; }
body.gis-r7 .r7-policy > section > p { max-width:72ch; line-height:1.8; margin:0 0 16px; }
@media(max-width:640px) { body.gis-r7 .r7-policy { padding:28px 18px 40px; } }
@media (max-width:640px) {
  body.gis-r7 .r7-hero-quote { padding-inline-end:64px; }
}
body.gis-r7 header.site-header { display:none; }
body.gis-r7.gis-r7-legacy > .hdr { display:none; }
body.gis-r7 button.gis-r5-new[data-gis-new-enquiry] {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:11px 16px; border:1px solid #a5b8d8;
  border-radius:14px; background:#fff; color:#2456d9;
  font:650 14px/1.4 var(--r7-body-font,system-ui); cursor:pointer;
}
body.gis-r7 button.gis-r5-new[data-gis-new-enquiry]:hover { background:#edf3ff; }
body.gis-r7 button.gis-r5-new[data-gis-new-enquiry]:focus-visible { outline:3px solid #2456d9; outline-offset:3px; }
body.gis-r7.gis-r7-legacy .r7-table-scroll-hint { margin:22px 0 -16px; color:#395579; font-size:14px; line-height:1.55; }
body.gis-r7.gis-r7-legacy .r7-table-scroll-hint[hidden] { display:none !important; }
body.gis-r7.gis-r7-legacy table:focus-visible { outline:3px solid #2456d9; outline-offset:3px; }
body.gis-r7.gis-r7-legacy .table-wrap table { min-width:0; }
/* Existing footer templates retain their content on the common dark palette. */
body.gis-r7.gis-r7-legacy footer:not(.r7-footer) { background:#132844; color:#edf3ff; }
body.gis-r7.gis-r7-legacy footer:not(.r7-footer) :where(p,li,span,strong,small,h2,h3,h4) { color:#edf3ff; }
body.gis-r7.gis-r7-legacy footer:not(.r7-footer) a { color:#cfdefb; }
body.gis-r7.gis-r7-legacy footer:not(.r7-footer) :focus-visible { outline-color:#cfdefb; }
@media print {
  body.gis-r7.gis-r7-legacy footer:not(.r7-footer) { background:#fff; color:#111; }
  body.gis-r7.gis-r7-legacy footer:not(.r7-footer) :where(p,li,span,strong,small,h2,h3,h4,a) { color:#111; }
}
/* Preserve readable words and all columns in mobile legacy comparisons. */
body.gis-r7.gis-r7-legacy table :where(th,td) { overflow-wrap:normal; word-break:normal; hyphens:none; }
body.gis-r7.gis-r7-legacy table :where(code,a) { overflow-wrap:anywhere; }
@media (max-width:640px) {
  body.gis-r7.gis-r7-legacy table :where(th,td) {
    min-width:160px; overflow-wrap:normal; word-break:normal; hyphens:none;
  }
  body.gis-r7.gis-r7-legacy table :where(th,td):nth-child(2) { min-width:220px; }
  body.gis-r7.gis-r7-legacy table :where(code,a) { overflow-wrap:anywhere; }
}
