/* styles.css */
:root{
  --text:#111;
  --muted:#555;
  --border:#e6e6e6;
  --link:#0b57d0;
  --max: 860px;
}

*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:#fff;
}

header{
  border-bottom: 1px solid var(--border);
}
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px;
}

.site-title{
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

nav{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 0 0 0;
}

nav a{
  text-decoration:none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
}
nav a:hover{ background:#f6f6f6; color: var(--text); }
nav a.active{
  color: var(--text);
  background:#f1f1f1;
}

main h1{
  font-size: 22px;
  margin: 18px 0 10px;
}
main h2{
  font-size: 18px;
  margin: 22px 0 8px;
}
p{ margin: 10px 0; }
ul{ margin: 10px 0 10px 20px; }

a,
a:visited{
  color: var(--link);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }
.author-link,
.author-link:visited,
.author-link:hover,
.author-link:active,
.author-link:focus{
  color: inherit;
  text-decoration: none;
}

hr{
  border:0;
  border-top:1px solid var(--border);
  margin: 22px 0;
}

.small{
  font-size: 14px;
  color: var(--muted);
}

.item{
  margin: 12px 0 16px;
}
.item .title{
  font-weight: 600;
}
.item .meta{
  color: var(--muted);
}
.item .coverage{
  color: var(--muted);
  font-size: 14px;
}

.home-layout{
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.home-photo{
  flex: 0 0 360px;
}
.home-photo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.upcoming{
  text-align: center;
  margin-top: 20px;
}
.wordcloud{
  text-align: center;
  margin-top: 24px;
}
.wordcloud-title{
  font-size: 20px;
  font-weight: 700;
}
.wordcloud img{
  max-width: 100%;
  height: auto;
}
.home-text{
  flex: 1;
}
.home-text p:first-child{
  margin-top: 0;
}

@media (max-width: 720px){
  .home-layout{
    flex-direction: column;
  }
  .home-photo{
    flex-basis: auto;
  }
  .home-photo img{
    height: auto;
  }
}
