/* ================================
   Zonelets Newspaper Theme
   ================================ */

body{
  margin: 0;
  font-size: 18px;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  color: #111;

  /* newsprint background */
  background-color: #f3efe4;
  /* optional subtle paper texture (use your own if you have one) */
  /* background-image: url("../images/paper-texture.png"); */
  background-position: top;
}

/* Basic readability */
p{ line-height: 1.75em; }
#content li{ line-height: 1.75em; }

img{
  max-width: 100%;
  height: auto;
  margin: 0.6em 0;
}
/* Blog photo & caption styling */
.blog-photo{
  margin: 22px auto;
  padding: 0;
  text-align: center;
  max-width: 800px;
}

.blog-photo img{
  width: 100%;
  height: auto;
  border: 1px solid #111;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.blog-photo figcaption{
  margin-top: 8px;
  font-size: 0.9em;
  font-style: italic;
  color: #2d2d2d;
  letter-spacing: 0.03em;
}


a{
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover, a:focus{
  background: transparent;
  text-decoration-thickness: 2px;
}

/* Old-timey rules */
hr{
  border: 0;
  border-top: 3px double #111;
  margin: 22px 0;
}

/* Headings: “print” */
h1, h2, h3, h4, h5{
  font-family: Georgia, "Times New Roman", serif;
  color: #111;
  letter-spacing: 0.02em;
}

/* ================================
   Container: the “paper”
   ================================ */

#container{
  margin: 28px auto;
  width: 92%;
  max-width: 900px;

  background: #fbf8ef;          /* paper */
  color: #111;

  /* “press frame” outline (keeps your Zonelets outline vibe) */
  outline: 4px ridge #2d2827;
  outline-offset: 0;

  /* flat, printed (no rounded / no glossy) */
  border-radius: 0;
  box-shadow: none;
}

/* Content padding */
#content{
  padding: 18px 6% 26px;
}

/* Optional drop cap for posts */
#content p:first-of-type::first-letter{
  float: left;
  font-size: 3.2em;
  line-height: 0.9;
  padding-right: 8px;
  padding-top: 3px;
  font-weight: 700;
}

/* ================================
   Header + Masthead
   ================================ */

#header{
  background: #fbf8ef;
  padding: 0 5% 12px;
  border-bottom: 4px double #111;
}

/* Your custom masthead block */
.masthead{
  position: relative;
  text-align: center;
  padding: 18px 10px 16px;

  border-top: 6px double #111;
  border-bottom: 6px double #111;
  margin: 16px 0 10px;
}

/* Small line */
.masthead-kicker{
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Big headline */
.masthead-title{
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.02;
}

/* Strapline */
.masthead-strap{
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Newsboy (works in masthead OR at bottom if you move it) */
.masthead-illustration{
  display: block;
  margin: 18px auto 0;
  width: 150px;
  opacity: 0.9;
  filter: contrast(110%) brightness(95%);
}

/* ================================
   Nav styled like newspaper “sections”
   ================================ */

#header ul{
  list-style-type: none;
  padding: 10px 0 0;
  margin: 0;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;

  border-top: 1px solid #111;
}

#header li{
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  margin: 0;
}

#header li a{
  color: #111;
  text-decoration: none;
  background: transparent;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}

#header li a:hover, #header li a:focus{
  border-bottom-color: #111;
}

/* ================================
   Post lists (Zonelets)
   ================================ */

#postlistdiv ul,
#recentpostlistdiv ul{
  font-size: 1.05em;
  padding: 0;
  list-style-type: none;
}

#postlistdiv li,
#recentpostlistdiv li{
  padding: 10px 0;
  border-bottom: 1px dotted #2d2827;
}

.moreposts{
  font-size: 0.9em;
  margin-top: 0.4em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Next / prev */
#nextprev{
  text-align: center;
  margin-top: 1.4em;
  padding-top: 18px;
  border-top: 3px double #111;
}

/* Footer */
#footer{
  font-size: 0.85em;
  padding: 14px 5% 16px;
  border-top: 4px double #111;
}
/* little “byline” look if you use <em> or a date line */
#content em{
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9em;
}

.main-site-nav{
  text-align: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 3px double #111;
  font-size: 0.9em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-site-nav a{
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-site-nav a:hover{
  border-bottom-color: #111;
}


/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}