:root {
  /* Earthy Organic Teal & Ochre Color Space */
  --sv-deep-teal: #0F4C5C;      /* Main structural elements / Accents */
  --sv-ochre-brown: #A8763E;    /* Secondary warm highlights / CTA focus */
  --sv-espresso-ink: #2C221E;   /* Super dark brown for highly readable text */
  --sv-muted-earth: #6E6560;    /* For secondary meta text and borders */
  --sv-sand-bg: #F9F7F2;        /* Soft warm structural background */
  --sv-paper-pure: #FFFFFF;     /* Content containers card background */
  
  /* Tint variants for interactive states */
  --sv-teal-wash: #EBF3F5;      /* Hero block background tint */
  --sv-ochre-light: #F4ECE1;    /* Subtle background highlighting */
  --sv-line-delicate: #E2DDD5;  /* Editorial borders */
  
  --sv-link: #0F4C5C;
  --sv-link-hover: #A8763E;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sv-sand-bg);
  color: var(--sv-espresso-ink);
  /* Upgraded font stack for professional editorial appearance */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sv-link);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: var(--sv-link-hover);
}
/* Creates a comfortable buffer space so headings clear the sticky header when jumped to */

.sv-content section {
  scroll-margin-top: 100px; /* Adjust this value to match your header's actual height + padding */
}

/* Header & Navigation */
.sv-header {
  background: var(--sv-paper-pure);
  border-bottom: 1px solid var(--sv-line-delicate);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sv-head {
  max-width: 1140px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sv-logo {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--sv-deep-teal);
  line-height: 1.2;
}

.sv-tag {
  display: block;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sv-ochre-brown);
  margin-top: 4px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
}

.sv-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.sv-nav a {
  color: var(--sv-espresso-ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.sv-nav a:hover {
  color: var(--sv-deep-teal);
  border-bottom-color: var(--sv-ochre-brown);
}

/* Hero Section Container Box (Keeps your exact color definitions) */
.sv-hero {
  background: linear-gradient(135deg, var(--sv-teal-wash) 0%, #61abc1 80%);
  border-bottom: 1px solid var(--sv-line-delicate);
  overflow: hidden; 
}

/* Internal Flexbox Wrapper */
.sv-hero-in {
  max-width: 1140px;
  margin: auto;
  padding: 0 24px;   /* CRITICAL: No top or bottom padding here */
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Forces the graphic container to stretch full height */
  gap: 40px;
}

/* Fixed spacing behavior for your text block */
.sv-hero-text {
  padding: 50px 0;   /* This controls the overall height of the banner */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers text vertically against the height */
}

/* Enhanced Edge-to-Edge Image Container with Gradient Masking */
.sv-hero-graphic {
  display: flex;
  align-items: stretch; 
  margin-top: 0;
  margin-bottom: 0;
  width: 400px; 
  flex-shrink: 0;
  position: relative; /* Crucial: Establishes a boundary layer for the blend mask */
}

/* The Secret Component: Blends your exact background teal color across the image seam */
.sv-hero-graphic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30%; /* Extends over the left edge of the image */
  height: 100%;
  /* Blends smoothly from your custom background teal into absolute transparency */
  background: linear-gradient(to right, #61abc1 0%, rgba(97, 171, 193, 0) 100%);
  z-index: 2; /* Keeps the blending overlay floating directly on top of the image */
  pointer-events: none; /* Allows mouse interactions to pass right through safely */
}

.sv-hero-graphic img {
  width: 100%;
  height: 100%;       
  display: block;
  object-fit: cover;  
  object-position: right center; 
  z-index: 1; /* Sits cleanly beneath the gradient mask overlay */
}

.sv-kicker {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 700;
  color: var(--sv-ochre-brown);
  margin-bottom: 12px;
}

h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: normal;
  font-size: 44px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--sv-deep-teal);
}

.sv-date {
  font-size: 13px;
  color: var(--sv-muted-earth);
  font-style: italic;
}

/* Structural Layout Wrap */
.sv-wrap {
  max-width: 1140px;
  margin: auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}

/* Table of Contents Sticky Sidebar */
.sv-toc {
  background: var(--sv-paper-pure);
  border: 1px solid var(--sv-line-delicate);
  border-radius: 6px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 90px; /* Accounts for sticky header */
  box-shadow: 0 4px 20px rgba(44, 34, 30, 0.04);
  border-left: 4px solid var(--sv-deep-teal); /* Replaces harsh neon box-shadow */
}

.sv-toc-title {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  color: var(--sv-muted-earth);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--sv-line-delicate);
  padding-bottom: 8px;
}

.sv-toc a {
  display: block;
  color: var(--sv-espresso-ink);
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px dashed transparent;
}

.sv-toc a:hover {
  color: var(--sv-deep-teal);
  padding-left: 4px;
  transition: all 0.2s ease;
}

/* Main Content Container */
.sv-content {
  background: var(--sv-paper-pure);
  border: 1px solid var(--sv-line-delicate);
  border-radius: 6px;
  padding: 48px 56px;
  box-shadow: 0 4px 20px rgba(44, 34, 30, 0.03);
}

.sv-content section {
  margin: 0 0 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--sv-line-delicate);
}

.sv-content section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 26px;
  font-weight: normal;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--sv-deep-teal);
}

p {
  margin: 0 0 16px;
  color: var(--sv-espresso-ink);
  font-size: 15.5px;
}

p a {
  color: var(--sv-deep-teal);
  border-bottom: 1px solid var(--sv-ochre-brown);
  padding-bottom: 1px;
}

p a:hover {
  color: var(--sv-ochre-brown);
  border-bottom-color: var(--sv-deep-teal);
}

/* Footer Section */
.sv-footer {
  background: var(--sv-espresso-ink);
  border-top: 2px solid var(--sv-ochre-brown);
  color: #F4ECE1;
}

.sv-foot {
  max-width: 1140px;
  margin: auto;
  padding: 30px 24px;
  display: flex;
  flex-wrap: nowrap; /* Forces all elements to stay evenly inline on wide monitors */
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  gap: 20px; /* Provides minimum safe layout breathing room between items */
}

/* Ensure each individual element block treats spacing identically */
.sv-foot > span {
  display: flex;
  align-items: center;
  white-space: nowrap; /* Stops text links from wrapping to two rows */
}

.sv-foot a {
  color: #EBF3F5;
}

.sv-foot a:hover {
  color: var(--sv-ochre-brown);
}

.sv-foot span:last-child {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sv-foot span:last-child a img {
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
  height: 20px; /* Aligns all dynamic icon layouts */
  width: auto;
}

.sv-foot span:last-child a img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Privacy Cookie Notification Drawer */
#sv-privacy-cookie-notice {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 10050;
  max-width: 680px;
  margin: 0 cubic-bezier(0.25, 1, 0.5, 1);
  padding: 20px 48px 20px 24px;
  background: var(--sv-paper-pure);
  border: 1px solid var(--sv-line-delicate);
  border-left: 5px solid var(--sv-ochre-brown);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(44, 34, 30, 0.15);
  color: var(--sv-espresso-ink);
  font-size: 13.5px;
  line-height: 1.2;
}

#sv-privacy-cookie-notice strong {
  font-size: 12px;
  color: var(--sv-deep-teal);
  display: inline-block;
  margin-bottom: 4px;
}

#sv-privacy-cookie-notice a {
  color: var(--sv-deep-teal);
  font-weight: 600;
  text-decoration: underline;
}

#sv-privacy-cookie-notice a:hover {
  color: var(--sv-ochre-brown);
}

#sv-privacy-cookie-notice .sv-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--sv-muted-earth);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

#sv-privacy-cookie-notice .sv-close:hover {
  color: var(--sv-deep-teal);
}

/* Responsiveness adjustments */
@media (max-width: 760px) {
  /* Layout transformation */
  .sv-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 120px; /* Prevents sticky footer from hiding content at the bottom */
  }
  
  .sv-toc {
    position: static;
    width: 100%;
  }
  
  .sv-content {
    padding: 32px 24px;
  }
  
  .sv-content section {
    scroll-margin-top: 150px; /* Clears sticky header when using jump links */
  }

  /* Sticky Bottom Footer Strip */
  .sv-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 -4px 15px rgba(44, 34, 30, 0.15);
  }

.sv-foot {
    padding: 10px 16px;
    display: flex !important;
    flex-direction: row !important; 
    justify-content: space-between;
    align-items: center;
    font-size: 11px; /* Scaled down slightly to fit all 5 items across smaller widths seamlessly */
    gap: 8px;
  }

  .sv-foot span {
    margin-top: 0 !important;
  }

  /* Icon Scaling Optimization */
  .sv-foot span:last-child {
    gap: 12px;
  }

  .sv-foot span:last-child a img {
    height: 16px;
    width: auto;
    display: block;
  }

  .sv-hero-in {
    padding: 40px 24px 30px;
    flex-direction: column; /* Stacks text above image gracefully on intermediate widths */
    align-items: flex-start;
    gap: 20px;
  }
  
  .sv-hero-text {
    padding: 0;
  }
  
  .sv-hero-graphic {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .sv-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sv-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }
  h1 {
    font-size: 32px;
  }
  
  /* FIXED: Prevents the sticky footer from stacking vertically on small phones */
  .sv-foot {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    font-size: 10px; /* Ultra-compact sizing for very narrow smartphone viewports */
    gap: 4px;
  }
  
  #sv-privacy-cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 60px; /* CRITICAL: Pushes cookie notice above the sticky footer so they don't overlap */
  }
  .sv-content section {
    scroll-margin-top: 130px; /* Optimized buffer for narrower mobile headers */
  }

  .sv-hero-in {
    padding: 0; /* Let elements touch edges if needed */
    flex-direction: column; /* Stacks layout vertically */
    align-items: stretch;
    gap: 0;
  }
  
  .sv-hero-graphic {
    display: block; /* Ensures the graphic block stays visible */
    width: 100%;
    height: 150px;  /* Slightly scales down the height from 200px to balance tiny phone viewports beautifully */
  }
  
  .sv-hero-text {
    padding: 30px 18px; /* Tighter padding optimization for clean typography spacing */
  }
}

.sv-policy-links .sv-separator {
  margin: 0 6px;
  color: var(--sv-muted-earth);
}
.sv-notice-title {
  font-size: 1em;
  font-weight: 700;
  color: var(--sv-deep-teal);
  margin: 0 0 4px 0; /* Creates natural vertical spacing without using a <br> tag */
  font-family: inherit;
}

/* ==========================================================================
   Print Stylesheet Refinement
   Hides structural site layout to make clean PDF/Paper legal copies
   ========================================================================== */
@media print {
  /* Hide non-essential interactive web elements */
  .sv-header,
  .sv-toc,
  .sv-footer,
  #sv-privacy-cookie-notice,
  .sv-kicker {
    display: none !important;
  }

  /* Reset layout constraints for paper sizing */
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  .sv-wrap {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .sv-content {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  /* Optimize section breaks for multi-page documents */
  .sv-content section {
    page-break-inside: avoid;
    border-bottom: none !important;
    margin-bottom: 24pt !important;
    padding-bottom: 0 !important;
  }

  h1, h2 {
    color: #000000 !important;
    page-break-after: avoid;
  }

  h1 {
    font-size: 28pt !important;
    margin-bottom: 6pt !important;
  }

  h2 {
    font-size: 18pt !important;
    margin-bottom: 10pt !important;
  }

  p {
    font-size: 11pt !important;
    orphans: 3;
    widows: 3;
  }

  /* Explicitly display link paths on physical sheets for reference */
  p a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555555;
  }
}