/* ===== Workterm – Minimal Styles ===== */
:root{
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --accent: #0d6efd;        /* link color */
  --border: #e5e7eb;
  --container: 920px;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body{
  background: var(--bg);
  color: var(--fg);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* Header (fixed, simple) */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 8vw, 10%);
  z-index: 10;
}

.logo{
  font-weight: 600;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
}

/* Nav (your markup uses .navbar1) */
.navbar1 a{
  display: inline-block;
  margin-left: 20px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.navbar1 a:hover,
.navbar1 a.active{ text-decoration: underline; }

/* Page container */
.home1{
  min-height: 100%;
  padding: calc(var(--header-h) + 24px) 16px 56px;  /* offset for fixed header */
  background: var(--bg);
}
.home-content1{
  max-width: var(--container);
  margin: 0 auto;
}

/* Typography */
h1, h2, h3{
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--fg);
}
h1{ font-size: clamp(26px, 3vw, 34px); margin-top: 6px; }
h2{ font-size: clamp(20px, 2.4vw, 26px); margin-top: 28px; }
h3{ font-size: clamp(16px, 2vw, 18px); color: var(--muted); margin-top: 8px; }

p{ margin: 12px 0; }

/* Lists */
ul, ol{ margin: 12px 0 16px 22px; }
li{ margin-bottom: 8px; }

/* Links in content */
.home-content1 a{
  color: var(--accent);
  text-decoration: underline;
}
.home-content1 a:hover{ opacity: 0.85; }

/* Images – global cap + tidy look */
.home-content1 img{
  display: block;
  width: 100%;
  max-width: 720px;          /* global cap for all content images */
  height: auto;
  margin: 14px auto 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Optional size variants */
.img-sm { max-width: 460px; }
.img-md { max-width: 600px; }
.img-lg { max-width: 820px; }

/* If you want your existing classes to map to sizes: */
.responsive-img      { max-width: 720px; }
.responsive-img2     { max-width: 560px; }
.responsive-imgCIBC  { max-width: 720px; }

/* Utilities you already use */
.underline{ text-decoration: underline; text-decoration-color: var(--fg); }
.red{ color: #B10316; }

/* Footer spacing at bottom if needed */
.home-content1 > :last-child{ margin-bottom: 8px; }

/* Mobile tweaks */
@media (max-width: 640px){
  .navbar1 a{ margin-left: 14px; font-size: 14px; }
  .home1{ padding: calc(var(--header-h) + 16px) 14px 44px; }
}
