:root{
  --ink: #2f2f2f;
  --paper: #f9f7f1;
  --rule: #2f2f2f;
  --error-bg: #fff2f2;
  --error-ink: #7a1212;
  --error-border: #d34a4a;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: 'Droid Serif', serif;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--paper);
}

a { color: inherit; text-decoration-thickness: from-font; }
a:focus-visible { outline: 2px dashed var(--ink); outline-offset: 2px; }

/* ---------- Error Banner (top of newspaper) ---------- */
.error-banner{
  width: min(1200px, 96vw);
  margin: 18px auto 0 auto;
  border: 2px solid var(--error-border);
  background: var(--error-bg);
  color: var(--error-ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
}

.error-banner .error-title{
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 6px 0;
  font-size: 18px;
}

.error-banner ul{
  margin: 8px 0 0 18px;
  padding: 0;
}

.error-banner li{
  margin: 4px 0;
  line-height: 1.35;
}

.error-banner details{
  margin-top: 10px;
  border-top: 1px dashed rgba(0,0,0,.25);
  padding-top: 8px;
}

.error-banner summary{
  cursor: pointer;
  user-select: none;
  font-weight: 700;
}

.error-banner pre{
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.12);
  padding: 8px;
  border-radius: 10px;
  margin: 8px 0 0 0;
}

/* ---------- Newspaper Layout (adapted from sample) ---------- */
header{
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 80px;
  text-transform: uppercase;
  display: inline-block;
  line-height: 72px;
  margin-bottom: 20px;
}

p{
  margin-top: 0;
  margin-bottom: 20px;
}

.newspaper-root{
  width: min(1200px, 96vw);
  margin: 0 auto 24px auto;
}

.head{
  text-align: center;
  position: relative;
}

.headerobjectswrapper{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.weatherforcastbox{
  position: relative;
  width: 260px;
  border: 3px double var(--rule);
  padding: 10px 14px;
  line-height: 20px;
  display: inline-block;
  margin: 0;
  text-align: left;
}

.weatherforcastbox .wf-title{
  font-style: italic;
  display: block;
}

.subhead{
  text-transform: uppercase;
  border-bottom: 2px solid var(--rule);
  border-top: 2px solid var(--rule);
  padding: 12px 0;
}

/* content */
.content{
  font-size: 0;
  line-height: 0;
  word-spacing: -.31em;
  display: block;
  margin: 30px 2% 0 2%;
}

.collumns{
  display: block;
}

.collumn{
  font-size: 14px;
  line-height: 20px;
  width: 33.333%;
  display: inline-block;
  padding: 0 2%;
  vertical-align: top;
  margin-bottom: 50px;
  transition: transform .2s ease, opacity .2s ease;
}

.collumn:hover{
  transform: translateY(-1px);
}

.collumn + .collumn{
  border-left: 1px solid var(--rule);
}

.collumn .headline{
  text-align: center;
  line-height: normal;
  font-family: 'Playfair Display', serif;
  display: block;
  margin: 0 auto;
}

.collumn .headline.hl1{
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  padding: 10px 0;
}

.collumn .headline.hl2{
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  padding: 10px 0;
}

.collumn .headline.hl2:before{
  border-top: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 7px;
  display: block;
  margin: 0 auto;
}
.collumn .headline.hl2:after{
  border-bottom: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 13px;
  display: block;
  margin: 0 auto;
}

.collumn .headline.hl3{
  font-weight: 400;
  font-style: italic;
  font-size: 36px;
  padding: 10px 0;
}

.collumn .headline.hl4{
  font-weight: 700;
  font-size: 12px;
  padding: 10px 0;
}

.collumn .headline.hl4:before{
  border-top: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 7px;
  display: block;
  margin: 0 auto;
}

.collumn .headline.hl4:after{
  border-bottom: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 10px;
  display: block;
  margin: 0 auto;
}

.collumn .headline.hl5{
  font-weight: 400;
  font-size: 42px;
  text-transform: uppercase;
  font-style: italic;
  padding: 10px 0;
}

.collumn .headline.hl6{
  font-weight: 400;
  font-size: 18px;
  padding: 10px 0;
}

.collumn .headline.hl6:before{
  border-top: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 7px;
  display: block;
  margin: 0 auto;
}
.collumn .headline.hl6:after{
  border-bottom: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 10px;
  display: block;
  margin: 0 auto;
}

.collumn .citation{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
  font-weight: 400;
  display: block;
  margin: 40px 0;
  font-feature-settings: "liga", "dlig";
}

.collumn .citation:before{
  border-top: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 16px;
  display: block;
  margin: 0 auto;
}
.collumn .citation:after{
  border-bottom: 1px solid var(--rule);
  content: '';
  width: 100px;
  height: 16px;
  display: block;
  margin: 0 auto;
}

.collumn .figure{
  margin: 0 0 20px;
}

.collumn .figcaption{
  font-style: italic;
  font-size: 12px;
}

.media{
  filter: sepia(80%) grayscale(1) contrast(1) opacity(0.88);
  mix-blend-mode: multiply;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Attribution footer */
.attribution{
  width: min(1200px, 96vw);
  margin: 24px auto 40px auto;
  padding: 10px 12px;
  border-top: 1px solid rgba(0,0,0,.25);
  color: rgba(0,0,0,.75);
  font-size: 12px;
  line-height: 1.35;
}

/* ---------- MEDIA QUERIES ---------- */
@media only all and (max-width: 1300px) {
  .weatherforcastbox{ display: none; }
}

@media only all and (min-width: 901px) {
  .collumn:nth-child(3n + 1){
    border-left: none;
  }
}

@media only all and (max-width: 900px) {
  .collumn{ width: 47%; }
  .collumn:nth-child(2n + 1){
    border-left: none;
  }
}

@media only all and (max-width: 600px) {
  .collumn{ width: 100%; }
  .collumn + .collumn{
    border-left: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 22px;
    margin-bottom: 22px;
  }
  header{
    max-width: 320px;
    font-size: 60px;
    line-height: 54px;
    overflow: hidden;
  }
}

@media only all and (min-width: 1400px) {
  .newspaper-root,
  .error-banner,
  .attribution{
    width: min(1500px, 94vw);
  }
  .content{
    margin: 32px 1% 0 1%;
  }
}


