:root {
  --accent: #b10047;
  --text: #111;
  --gray: #666;
  --border: #ddd;
  --bg: #fff;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --max-width: 750px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --text: #eee;
    --gray: #aaa;
    --border: #333;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: var(--max-width); margin: 0; padding: 0 1rem; }

.site-header { border-bottom: 2px solid var(--text); padding: 1rem 0; margin-bottom: 3rem; }
.header-content { display: flex; align-items: center; justify-content: space-between; }
.logo img { width: auto; height: auto; }
.nav-list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--text); text-decoration: none;  font-size: 0.9rem; text-align: center; }
.cta { background: var(--accent); color: #fff; padding: 0.5rem 0.8rem; border-radius: 3px; text-decoration: none; }

.intro { position: relative; padding: 4rem 0; }
.intro h1 { font-size: 2.25rem; margin-bottom: 3rem; }
.intro p { max-width: 100%; }
.social { position: absolute; right: 1.5rem; top: 2rem; }
.social ul { list-style: none; padding: 0; margin: 0; }
.social li + li { margin-top: 1rem; }

.posts article { padding: 2.5rem 0; position: relative; opacity: 0; transform: translateY(15px); transition: all 0.4s ease; }
.posts article.visible { opacity: 1; transform: none; }
.posts article:nth-of-type(1)::before { content: ""; position: absolute; top: 0; left: 0; width: 30%; height 3px; border-top: 1px solid var(--text); }
.posts h2 { font-size: 1.15rem;  line-height: 1.4; }
.meta { color: var(--gray); font-size: 0.9rem; margin-top: 0.3rem; }


blockquote footer { color: var(--gray); font-size: 0.9rem; margin-top: 0.5rem; }
.read-more { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--accent); text-decoration: none; }
.read-more .arrow { transition: transform 0.2s ease; }
.read-more:hover .arrow { transform: translateX(4px); }

.recommendations { margin: 4rem 0; }
.recommendations h2 { background: url(icn-book-section.png) left center no-repeat; }
.book-list li { margin-right: 2rem; }
.book-list li:nth-last-child(1) { margin-right: 0;}
.book-list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.book-list img { max-width: 100px; height: auto; border-radius: 4px; }

.subscribe { margin: 4rem 0; padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.subscribe h2 { background: url(icn-email-section.png) left center no-repeat; }
.subscribe-form { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.subscribe-form input { flex: 1; padding: 1rem; border: 1px solid var(--text); font-size: 1rem; color: var(--text); background: var(--bg); }
.subscribe-form button { background: var(--accent); color: #fff; border: none; padding: 0.6rem 5rem; cursor: pointer; text-transform: uppercase; }
.subscribe-form button:hover { opacity: 0.9; }
.subscribe-form-group { width: 40%; }

.site-footer { padding: 2rem 0; text-align: left; font-size: 0.9rem; color: var(--gray); }
.site-footer ul { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0 0 0.5rem 0; }
.site-footer a { color: var(--gray); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.subscribe h2, .recommendations h2 { padding-left: 2.5rem; }


@media (max-width: 900px) {
  .header-content { flex-wrap: wrap; gap: 1rem; }
  .nav-list { gap: 1rem; }
  .social { position: static; margin-top: 2rem; text-align: center; }
  .social ul { display: flex; justify-content: center; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .intro { padding: 3rem 1rem; }
  .intro h1 { font-size: 1.75rem; }
  .book-list { justify-content: center; }
  .book-list img { max-width: 80px; }
  .subscribe-form { flex-direction: column; align-items: stretch; }
}



.intro {
  display: flex;
  align-items: flex-start;
}

.intro-content p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 6px solid var(--text);
  display: inline-block;
  height: 6px;
  width: 10%;
}

.intro-content {
  width: 56%;
}

.intro-content p {
  position: relative;
  padding-left: 180px;
  width: 800px;
}

.social {
  width: calc(44% - 60px);
  margin-left: 60px;
  position: static;
}

article p {
  width: 80%;
}

.posts {
  width: 100%;
}

.posts .post {
  width: 56%;
}

.posts .post h2 {
  font-family: 'Barlow', sans-serif;
  
  font-size: 1.5em; /* 24pt ≈ 32px, but using em for scalability */
}

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;700&display=swap');

.header-content {
  
  padding-
}

h1 {
  font-family: 'Barlow', sans-serif;
  
  font-size: 3em; /* 48px equivalent */
}

.social ul li {
  text-align: right;
}

.cta {
  position: absolute;
  top: 0;
  background: none;
  padding: 0;
  border: none;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-content nav {
  margin-left: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* --- CTA full-width rule applied using flexbox example --- */
.header-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  
  padding-
}

.cta {
  flex-basis: 100%;
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  text-align: right;
  background: none;
  border: none;
  position: relative;
  top: 0;
}

/* --- Remove right padding from CTA and flush site-header to top --- */
.cta {
  padding-right: 0;
}

.site-header {
  margin-top: 0;
  padding-top: 0;
}

body { padding: 0 60px; }

blockquote {
  font-family: 'Barlow', sans-serif;
  font-style: italic;
  font-size: 2.25em; /* 36px equivalent */
  line-height: 1.3em;
  margin-left: 180px;
}

blockquote { width: 56%; }

blockquote p::before {
  content: open-quote;
  display: inline-block;
  position: absolute;
  left: -80px;
  font-size: 3em;
  font-weight: 800;
  top: 30px;
}

blockquote p:nth-last-of-type(1) {
  margin-bottom: 0;
}

blockquote p {
  position: relative;
}

.meta::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: black;
  display: inline-block;
  margin-right: 10px;
}

h1 {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 3em; /* 48px equivalent */
}
