/* Mr. Gamble — UK paid-ad subdomain (uk.mr-gamble.com)
   Self-contained styling mirroring the main mr-gamble.com/uk look.
   No dependencies on the main site: Termina is self-hosted below; Inter via Google Fonts. */

/* ---- Termina (self-hosted, /fonts/Termina) ---- */
@font-face{font-family:'Termina';src:url('/fonts/Termina/Termina-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Termina';src:url('/fonts/Termina/Termina-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Termina';src:url('/fonts/Termina/Termina-Demi.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Termina';src:url('/fonts/Termina/Termina-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;}

:root{
  --purple:#401ddc;          /* footer background */
  --heading:#494949;         /* hero / section headings */
  --text:#2e2e2e;            /* body copy */
  --logo-dark:#041226;       /* wordmark on white */
  --white:#ffffff;
  --border:#ececec;
  --link:#401ddc;
  --footer-muted:rgba(255,255,255,.72);
  --footer-border:rgba(255,255,255,.18);
  --heading-font:'Termina','Inter',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --body-font:'Inter',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:var(--body-font);
  color:var(--text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  line-height:1.6;
}

/* ---------- Header: centered, non-linked logo only ---------- */
.site-header{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid var(--border);
  background:var(--white);
}
.site-header .logo{
  color:var(--logo-dark);
  display:block;
}
.site-header .logo svg{
  display:block;
  width:172px;
  height:auto;
}

/* ---------- Main / content ---------- */
main{flex:1 0 auto;width:100%;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}

/* Homepage hero */
.hero{padding:64px 0 72px;}
.hero h1{
  font-family:var(--heading-font);
  font-weight:700;
  color:var(--heading);
  font-size:clamp(30px,5vw,48px);
  line-height:1.15;
  letter-spacing:-.5px;
  margin:0 0 28px;
  max-width:16ch;
}
.hero p{
  font-size:18px;
  line-height:1.7;
  color:var(--text);
  margin:0 0 20px;
  max-width:70ch;
}

/* Policy / article pages */
.article{padding:48px 0 64px;max-width:860px;}
.article h1{
  font-family:var(--heading-font);
  font-weight:700;
  color:var(--heading);
  font-size:clamp(26px,4vw,38px);
  line-height:1.2;
  letter-spacing:-.5px;
  margin:0 0 24px;
}
.article h2{
  font-family:var(--heading-font);
  font-weight:600;
  color:var(--heading);
  font-size:22px;
  line-height:1.3;
  margin:36px 0 12px;
}
.article h3{
  font-family:var(--heading-font);
  font-weight:600;
  color:var(--heading);
  font-size:18px;
  margin:28px 0 10px;
}
.article p{font-size:16px;margin:0 0 16px;}
.article ul,.article ol{margin:0 0 16px;padding-left:22px;}
.article li{margin:0 0 8px;font-size:16px;}
.article a{color:var(--link);text-decoration:underline;}
.article strong{color:var(--heading);}
.article .updated{font-size:13px;color:#777;margin:0 0 32px;}

/* ---------- Footer ---------- */
.site-footer{
  flex-shrink:0;
  background:var(--purple);
  color:var(--white);
  font-size:14px;
  margin-top:56px;
}
.site-footer a{color:var(--white);text-decoration:none;}
.site-footer a:hover{text-decoration:underline;}
.footer-inner{max-width:1180px;margin:0 auto;padding:48px 24px 32px;}

.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1.3fr 1fr;
  gap:40px;
}
.footer-brand .logo svg{width:172px;height:auto;color:var(--white);display:block;margin-bottom:16px;}
.footer-brand .email{color:var(--footer-muted);margin:0 0 16px;}
.footer-brand .about{color:var(--footer-muted);line-height:1.6;font-size:13.5px;max-width:42ch;}

.footer-awards{display:flex;flex-direction:column;gap:18px;}
.award{display:flex;gap:12px;align-items:flex-start;}
.award img{width:38px;height:38px;flex:0 0 38px;}
.award .award-name{font-weight:600;text-transform:uppercase;font-size:12px;letter-spacing:.4px;margin:0 0 3px;}
.award .award-lines{color:var(--footer-muted);font-size:12.5px;line-height:1.5;}

.footer-links{display:flex;flex-direction:column;gap:10px;}
.footer-links a{color:var(--footer-muted);font-size:14px;}
.footer-links a:hover{color:var(--white);}

.footer-divider{border:0;border-top:1px dashed var(--footer-border);margin:36px 0;}

.footer-responsible{
  display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;
}
.footer-responsible .rg-line{font-size:20px;font-weight:600;color:var(--white);}

.footer-badges{
  display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin-top:24px;
}
.badge-row{display:flex;align-items:center;gap:26px;flex-wrap:wrap;}
.badge{display:flex;align-items:center;gap:8px;}
.badge img{height:34px;width:auto;display:block;}
.badge .gc{display:flex;flex-direction:column;gap:2px;}
.badge .gc small{color:var(--footer-muted);font-size:11px;}
.badge.ssl{color:var(--footer-muted);font-size:13px;gap:6px;}
.badge.ssl svg{width:18px;height:18px;}
.copyright{color:var(--footer-muted);font-size:13px;white-space:nowrap;}

.footer-terms h2{
  font-family:var(--heading-font);
  font-size:13px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
  color:var(--white);margin:0 0 14px;
}
.footer-terms ul{margin:0;padding-left:18px;color:var(--footer-muted);font-size:13.5px;line-height:1.7;}
.footer-terms li{margin-bottom:6px;}
.footer-terms li::marker{color:rgba(255,255,255,.5);}
.footer-note{color:var(--footer-muted);font-size:13px;margin-top:22px;}
.footer-note a{color:var(--white);text-decoration:underline;}

@media (max-width:860px){
  .footer-top{grid-template-columns:1fr;gap:32px;}
  .hero{padding:44px 0 48px;}
}
