/*
Theme Name: Georges WordPress Theme
Theme URI: https://example.test/georges
Author: Georges
Description: WordPress-ready duplicate of the current static site.
Version: 1.0
*/

body {
  font-family: hoefler;
  background-color: #ffffff;
  padding-left: 10%;
  font-size: 20px;
}

ul { list-style-type: none; margin: 0; padding: 0; }
#navbar { padding-top: 50px; }
#navbar a { color: black; text-decoration: none; }
#logo { padding-top: 0; padding-left: 70%; font-size: 50px; }
#lil-note { font-size: 15px; }
#listen-content { display:flex; justify-content:center; align-items:center; padding-right:10%; }
#contact a { text-decoration:none; color:black; }
button { font-family: hoefler; }
.newsletter-box { padding-top: 3%; padding-left: 20%; float: left; }
#sub-msg { float: left; }

.news-wrapper {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px 24px;
  padding-right: 20%;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 72px;
  align-items: stretch;
}
.news-wrapper .news-item:nth-of-type(even) {
  flex-direction: row-reverse;
}
.news-image {
  flex: 0 0 46%;
  max-width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  display: block;
}
.news-text {
  flex: 1 1 54%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-date {
  font-size: 13px;
  color: #2c2b2b;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.news-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: black;
  word-break: break-word;
}
.news-body {
  font-size: 16px;
  line-height: 1.6;
  color: black;
}
.news-body p {
  margin: 0 0 14px 0;
}
.news-body a {
  color: black;
  text-decoration: underline;
}
.divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 28px 0 0 0;
  border-radius: 1px;
}
.read-full-link {
  display: inline-block;
  margin-top: 10px;
  color: black;
  text-decoration: underline;
  font-weight: 600;
}
@media (max-width: 900px) {
  .news-item {
    flex-direction: column !important;
    gap: 24px;
  }
  .news-image {
    flex-basis: 100%;
    max-width: 100%;
  }
  .news-title {
    font-size: 26px;
  }
}
@media (max-width: 520px) {
  .news-title {
    font-size: 22px;
  }
  .news-body {
    font-size: 15px;
  }
  .news-wrapper {
    float:none;
    padding-top: 20%;
  }
}
@media (max-width: 768px) {
  .news-wrapper {
    margin: 8px auto 0;
    padding-top: 20px;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  body { padding-left: 4%; padding-right: 4%; font-size: 17px; }
  #navbar { padding-top: 18px; }
  #navbar ul { display:block; }
  #navbar li { display:block; margin-bottom:8px; }
  #logo { padding-left:0; font-size:32px; }
  #listen-content { padding-right:0; }
  #listen-content iframe, #bandcamp-iframe { width:100%; max-width:100%; height:auto; }
  .newsletter-box { padding-left:0; float:none; width:100%; max-width:320px; }
  .newsletter-box form { display:flex; flex-direction:row; align-items:center; gap:8px; flex-wrap:nowrap; }
  .newsletter-box input { width:100%; min-width:0; flex:1 1 180px; }
  .newsletter-box button { flex:0 0 auto; }
  #sub-msg { float:none; width:100%; text-align:left; }
  #sub-msg p { margin:0 0 6px 0; }
}
