/* Canada Globe Journal – Editorial Magazine Theme */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f5f3ef;
  --bg-card: #ffffff;
  --bg-muted: #ebe8e3;
  --border: #e0dcd6;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #b91c1c;
  --accent-hover: #991b1b;
  --accent-soft: rgba(185, 28, 28, 0.08);
  --secondary: #1e3a5f;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --radius: 4px;
  --radius-sm: 2px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
  padding: 0.75rem 0;
}
.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}
.site-header .brand { display: flex; align-items: center; }
.site-header .logo { height: 48px; width: auto; display: block; }
.site-header .logo-link { display: flex; align-items: center; text-decoration: none; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-header nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.site-header nav a.nav-btn {
  color: var(--bg-card);
  background: var(--accent);
  font-weight: 600;
}
.site-header nav a.nav-btn:hover {
  background: var(--accent-hover);
}

.home-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  padding: 2rem 1.5rem 3rem;
  align-items: start;
}
.home-layout .main-content { min-width: 0; }
.home-intro { display: none; }

.quick-links-strip {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quick-links-strip::before {
  content: 'Quick Links';
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.quick-links-strip a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.quick-links-strip a:hover {
  background: var(--accent-soft);
  border-left-color: var(--accent);
  color: var(--accent);
}

.page-text { background: transparent; padding: 0; color: var(--text); }
.home-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.25rem 0 0.6rem;
  color: var(--secondary);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
p { margin: 0 0 1.1rem; color: var(--text); }
ul { margin: 0 0 1.1rem; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; color: var(--text); }
li::marker { color: var(--accent); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
th, td { padding: 0.85rem 1.1rem; text-align: left; color: var(--text); border-bottom: 1px solid var(--border); }
th {
  background: var(--bg-muted);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--accent-soft); }

.page-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.page-text a:hover { color: var(--accent-hover); }

.faq-block {
  margin: 2.5rem 0 0;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq-block-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.faq-block-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.faq-block-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--text);
}
.faq-block-intro { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.faq p {
  margin-bottom: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.faq p:last-child { margin-bottom: 0; }
.faq strong { display: block; margin-bottom: 0.3rem; color: var(--secondary); }

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 1.5rem;
  background: var(--secondary);
  color: #fff;
}
.site-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-footer .footer-brand .logo {
  height: 32px;
  width: auto;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}
.site-footer .footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 0.75rem;
}
.site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col li { margin-bottom: 0.4rem; }
.site-footer .footer-col a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.site-footer .footer-col a:hover { color: #fff; text-decoration: underline; }
.site-footer .copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  text-align: center;
}

.wrap {
  margin: 0 auto;
  max-width: 720px;
  padding: 2rem 1.5rem 2.5rem;
}
.inner-page .page-text h1 { margin-top: 0; }
.inner-page .wrap {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
.inner-page .page-text { padding: 0; }

.cp-note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.wrap-wide { max-width: 960px; margin: 0 auto; }
.about-page .wrap-wide,
.contact-page .wrap-wide {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
  padding: 2rem 1.5rem 2.5rem;
}
.about-main, .contact-main { padding: 0; }
.about-hero, .contact-hero {
  text-align: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.about-hero h1, .contact-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}
.about-lead, .contact-lead {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.about-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.about-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 0 0 0.5rem;
}
.about-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}
.about-card a { color: var(--accent); text-decoration: none; }
.about-card a:hover { text-decoration: underline; }
.about-disclaimer {
  padding: 1rem 1.25rem;
  background: var(--bg-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  text-align: center;
}
.about-disclaimer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.about-help, .contact-help {
  padding: 1rem 1.25rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.about-help p, .contact-help p { margin: 0; }
.about-help a, .contact-help a { color: var(--accent); text-decoration: none; }
.about-help a:hover, .contact-help a:hover { text-decoration: underline; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.contact-card {
  padding: 1.5rem 1.25rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.contact-card-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.contact-email {
  display: block;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.5rem;
  word-break: break-all;
}
.contact-email:hover { color: var(--accent-hover); text-decoration: underline; }
.contact-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-scope h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.contact-scope ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-scope li { margin-bottom: 0.25rem; }
.contact-scope-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}
.help-box {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.help-box a { color: var(--accent); text-decoration: none; }
.help-box a:hover { color: var(--accent-hover); text-decoration: underline; }
.page-text img, .home-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
  .home-layout {
  max-width: 1200px;
  margin: 0 auto;
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem 2rem;
  }
  .quick-links-strip {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .quick-links-strip::before { width: 100%; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
  .site-header .logo { height: 40px; }
  .site-header nav { justify-content: center; }
  .site-header nav a { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
  .home-title { font-size: 1.75rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-scope { grid-template-columns: 1fr; }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .site-footer .footer-brand .logo { filter: brightness(0) invert(1); }
}
@media (max-width: 480px) {
  .site-header nav a:not(.nav-btn) { font-size: 0.75rem; padding: 0.35rem 0.6rem; }
  .quick-links-strip { flex-direction: column; }
}
