/* open-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v34-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v34-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v34-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v34-latin-600.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v34-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/lato-v24-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header img {
    width: 100%;
    margin: 0 auto;
    display: block;
    border-bottom: 2px solid #fff; /* Solid line below the image */
    margin-bottom: 1em;
}

article {
    width: 80%;
    margin: 0 auto;
}

article header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

article header img {
    padding: 0rem;
}

/* Mobile-first styles */

h1, h2 {
    font-family: Lato, sans-serif;
}

article h1 {
    margin-top: 0;
    font-size: 2.5rem;
}

article h2 {
    font-size: 1.5rem;
}

article img, article video {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    padding: 1rem 0;
    display: block;
}

article p {
    text-align: justify;
    line-height: 1.4;
    margin: 0;
    hyphens: auto;
}

article p + p {
    text-indent: 1.4rem;
}

p a {
    font-weight: bolder;
    color: #000;
    text-decoration: none;
}

/* Highlighted note paragraph + link styling */
.highlight-note {
    color: #c62828; /* red tone */
    font-weight: 600;
}
.highlight-note .highlight-link,
.highlight-note a {
    color: #ff5252; /* vivid red */
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}
.highlight-note .highlight-link:hover,
.highlight-note a:hover {
    color: #ff1744;
}

p.credits {
    text-align: left;
    font-style: italic;
    text-indent: 0 !important;
    margin: 1rem 0;
}

/* ==========================
   Flexible multi-column system
   ========================== */
.article-section {
    margin: 1.5rem 0;
}

.multi-col {
    --col-gap: 2rem;
    column-gap: var(--col-gap);
    column-fill: balance;
}

/* Default mobile: single column */
.multi-col.cols-1,
.multi-col.cols-2,
.multi-col.cols-4 {
    column-count: 1;
}

/* Tablet */
@media only screen and (min-width: 768px) {
    .multi-col.cols-2 { column-count: 2; }
    .multi-col.cols-4 { column-count: 2; }
}

/* Desktop/wide */
@media only screen and (min-width: 1200px) {
    .multi-col.cols-4 { column-count: 4; }
}

/* Avoid awkward breaks for key elements */
.multi-col h1,
.multi-col h2,
.multi-col img,
.multi-col video {
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
    column-break-inside: avoid;
}

/* ==========================
   Figure blocks that sit between text sections
   (work consistently across browsers)
   ========================== */
.figure-block {
    margin: 1.5rem auto;
    text-align: center;
}

.figure-block img,
.figure-block video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Figure that spans all columns INSIDE a multi-col section */
.figure {
    -webkit-column-span: all;
    column-span: all;
    break-inside: avoid;
    margin: 1.5rem 0;
}
.figure img,
.figure video {
    width: 100%;
    height: auto;
    display: block;
}

/* removed grid-4 helper per request */

/* Spanning relative to a 4-column layout */
.figure-block.span-1-of-4 { max-width: 25%; }
.figure-block.span-2-of-4 { max-width: 50%; }
.figure-block.span-4-of-4 { max-width: 100%; }

/* Ensure figures are reasonable on small screens */
@media only screen and (max-width: 767px) {
    .figure-block.span-1-of-4,
    .figure-block.span-2-of-4,
    .figure-block.span-4-of-4 { max-width: 100%; }
}

/* Tablet styles */
@media only screen and (min-width: 768px) {
    article header {
        margin-bottom: 2.5rem;
        padding-bottom: 1rem;
    }
}

/* Desktop styles */
@media only screen and (min-width: 1024px) {
}
