
:root{
  --navy:#123a59;
  --gold:#c89b43;
  --cream:#f7f3eb;
  --ink:#24313d;
  --muted:#64717d;
  --line:#ded8cc;
}
.legal-header{
  position:relative;background:#fff;border-bottom:1px solid var(--line);
  padding:20px 5vw;display:flex;align-items:center;justify-content:space-between;gap:30px;
}
.legal-header img{width:min(390px,48vw);height:auto;display:block}
.legal-nav{display:flex;gap:26px;flex-wrap:wrap;justify-content:flex-end}
.legal-nav a{color:var(--navy);text-decoration:none;font-size:14px;letter-spacing:.05em}
.legal-nav a:hover{color:var(--gold)}
.legal-hero{
  background:linear-gradient(135deg,#f8f5ef 0%,#fff 65%);
  padding:90px 5vw 70px;border-bottom:1px solid var(--line);
}
.legal-hero .eyebrow{font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);margin-bottom:14px}
.legal-hero h1{font-family:Georgia,serif;color:var(--navy);font-size:clamp(42px,6vw,72px);font-weight:400;margin:0 0 18px}
.legal-hero p{max-width:760px;color:var(--muted);font-size:17px;line-height:1.75;margin:0}
.legal-wrap{max-width:1120px;margin:0 auto;padding:70px 24px 100px;display:grid;grid-template-columns:220px 1fr;gap:60px}
.legal-toc{position:sticky;top:25px;height:max-content;border-left:1px solid var(--line);padding-left:20px}
.legal-toc a{display:block;color:var(--muted);text-decoration:none;font-size:13px;line-height:1.5;margin:0 0 14px}
.legal-toc a:hover{color:var(--gold)}
.legal-content{color:var(--ink)}
.legal-content h2{font-family:Georgia,serif;font-weight:400;color:var(--navy);font-size:28px;margin:0 0 15px}
.legal-content h3{color:var(--navy);font-size:18px;margin:30px 0 9px}
.legal-content p,.legal-content li{font-size:15px;line-height:1.85;color:#596673}
.legal-content ul{padding-left:22px}
.legal-content section{margin:0 0 48px;scroll-margin-top:30px}
.legal-note{background:var(--cream);border:1px solid var(--line);padding:20px 22px;margin:25px 0}
.legal-footer{background:var(--navy);color:#fff;padding:28px 5vw;display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.legal-footer img{width:260px;max-width:70vw}
.legal-footer-links{display:flex;gap:20px;flex-wrap:wrap}
.legal-footer-links a{color:#fff;text-decoration:none;font-size:13px}
.legal-footer-links a:hover{color:#e0bc6e}
.career-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}
.career-card{border:1px solid var(--line);padding:28px;background:#fff}
.career-card h3{margin-top:0}
@media(max-width:800px){
  .legal-header{align-items:flex-start;flex-direction:column}
  .legal-nav{justify-content:flex-start}
  .legal-wrap{grid-template-columns:1fr;gap:20px}
  .legal-toc{position:static;display:flex;gap:15px;flex-wrap:wrap;border-left:0;border-bottom:1px solid var(--line);padding:0 0 18px}
  .legal-toc a{margin:0}
  .career-grid{grid-template-columns:1fr}
}

.legal-table-wrap{overflow-x:auto;margin:22px 0 24px;border:1px solid var(--line);border-radius:12px}
.legal-table{width:100%;border-collapse:collapse;min-width:620px;background:#fff}
.legal-table th,.legal-table td{padding:15px 17px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.legal-table th{font-weight:700;background:var(--cream);color:var(--navy)}
.legal-table tr:last-child td{border-bottom:0}
.legal-table td:last-child,.legal-table th:last-child{white-space:nowrap}

/* Shared photographic legal-page hero */
.legal-hero{position:relative;overflow:hidden;background-image:url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=84");background-size:cover;background-position:center 52%;padding:82px 5vw 70px;color:#fff}
.legal-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,25,43,.82),rgba(7,25,43,.42) 65%,rgba(7,25,43,.52))}
.legal-hero>*{position:relative;z-index:1}
.legal-hero .eyebrow{color:#e1b45d}
.legal-hero h1{color:#fff;margin-bottom:14px}
.legal-hero p{color:rgba(255,255,255,.9)}
.legal-wrap{padding:55px 24px 72px;gap:48px}
.legal-content section{margin:0 0 32px}

/* Canonical GTR footer — shared by every page */
.site-footer{background:#0e243c;color:#dbe3e9;padding:46px 5vw 18px}
.footer-grid{max-width:1240px;margin:auto;display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:34px}
.footer-logo{width:220px;height:auto;display:block}
.site-footer h4{margin:0 0 12px;color:#fff;font-size:10px;letter-spacing:.18em;text-transform:uppercase}
.site-footer a,.site-footer p{font-size:12px;color:#b9c6cf;line-height:1.75;margin:0}
.site-footer .footer-grid a{display:inline-block;margin:0 0 1px}
.footer-bottom{max-width:1240px;margin:26px auto 0;padding-top:15px;border-top:1px solid rgba(255,255,255,.12);font-size:10px;color:#91a1ae;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.footer-bottom>.footer-social{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:center;margin:0}
.footer-bottom>.footer-social a{width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:all .2s ease;box-sizing:border-box}
.footer-bottom>.footer-social a:hover{color:#0e243c;background:#fff;border-color:#fff;transform:translateY(-1px)}
.footer-bottom>.footer-social svg{width:17px;height:17px;display:block;color:inherit;fill:currentColor}
.footer-legal-links{justify-self:end;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.footer-legal-links a{color:#b9c6cf;text-decoration:none}
.footer-legal-links a:hover{color:#fff}
@media(max-width:900px){.footer-grid{grid-template-columns:repeat(2,1fr)}.footer-bottom{grid-template-columns:1fr;text-align:center}.footer-bottom>.footer-social{order:2}.footer-legal-links{justify-self:center;order:3}}
@media(max-width:650px){.footer-grid{grid-template-columns:1fr;gap:24px}.site-footer{padding:38px 20px 16px}.footer-logo{width:200px}.footer-bottom{margin-top:22px;gap:15px}.footer-legal-links{gap:12px}}

/* Keep legal header aligned with the primary site navigation */
.legal-header{padding:14px 5vw}
.legal-header img{width:min(300px,42vw)}
.legal-nav{gap:22px}
.legal-nav a{font-size:12px}


/* Match the typography of the main GTR website */
body{font-family:"DM Sans",system-ui,sans-serif}
.legal-hero h1,.legal-content h2{font-family:"Playfair Display",Georgia,serif}
.legal-content h3{font-family:"DM Sans",system-ui,sans-serif}

/* Footer links are intentionally clean and never underlined */
.site-footer a,.site-footer a:hover,.footer-legal-links a,.footer-legal-links a:hover{ text-decoration:none !important; }
