/* header */

#header {
  position: fixed;
  height: var(--header-height);
  width: 100%;
  background: rgba(255, 255, 255);
  box-shadow: 0 1px 0 0 #eee, 0 0 1px 0 #eee;
  color: var(--color-9-grey);
}
#header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.header__icon-cont {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#logo-icon {
  display: inline-block;
  height: 32px;
  margin-left: 1em;
  margin-right: 0.5em;
}
#header a {
  color: var(--color-9-grey);
  cursor: pointer;
  text-decoration: none;
}
#header a:hover {
  color: var(--color-11-red);
}
.header__nav {
  padding-right: 1em;
}
.header__nav a {
  display: inline-block;
  margin-right: 1em;
}
.header__nav img {
  height:0.7em;
  position:relative;
  top:-4px;
  left: -1px;
  opacity:0.5;
}
#header a:hover img {
  opacity:0.8;
}
.header__nav img.star1-1 {
  height: 0.6em;
  top: +4px;
  left: -2px;
}


/* footer */
#footer {
  background: var(--color-8-deep-green);
  color: var(--color-9-grey);
  text-align: center;
  font-size: var(--font-size-small);
  padding: 1.4em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}
.map {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.loc {
  display: block;
  text-align: left;
  margin-left: 1em;
}
.social-media a {
  display: flex;
  flex-direction: row;
  color: var(--color-8-grey);
  align-items: center;
  line-height: 1em;
  font-size: 1em;
  text-decoration: none;
}
.social-media img {
  width: 23px;
  display: inline-block;
  margin-right: 4px;
}


/* ─────────────────────────────────────────────────────────────────
   Blog — editorial layout (matches pillar/condition page typography).
   Sans (futura-pt) for display, serif (freight-text-pro) for body,
   Caslon for drop caps, leads, and pull-quotes.
   ───────────────────────────────────────────────────────────────── */

body {
  background: var(--color-7-white);
}
main {
  padding-top: var(--header-height);
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────────────
   Blog index page (/blog/)
   ───────────────────────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4em clamp(1.5em, 4vw, 4em) 5em;
  background: var(--color-7-white);
}

/* Index masthead */
.container > h1 {
  font-family: var(--font-family-main);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0.4em 0 0.2em;
  color: var(--color-3-grey);
}
.container > h2 {
  font-family: var(--font-family-display-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  text-align: center;
  color: var(--color-4-dark-green);
  margin: 0 auto 3em;
  max-width: 36em;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-4-dark-green);
  border-color: rgba(114, 130, 127, 0.4);
  padding-bottom: 1.6em;
  font-weight: 400;
}

/* Blog post cards on the index — 2-col grid on desktop */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3em 2.4em;
  margin: 0;
}

a.blog-preview {
  display: block;
  color: var(--color-3-grey);
  text-decoration: none;
  border: 0;
  padding: 0;
  width: 100%;
  margin: 0;
  transition: transform 0.2s ease;
}
a.blog-preview:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.pic {
  width: 100%;
  height: 14em;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-15-lighter-green);
  display: block;
}
.pic img,
.pic.vid video,
.pic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-title {
  margin-top: 0.9em;
  font-family: var(--font-family-main);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-3-grey);
  letter-spacing: -0.005em;
}
.blog-blurb {
  margin-top: 0.5em;
  font-family: var(--font-family-serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-12-dark-green);
}
.blog-more {
  margin-top: 0.9em;
  font-family: var(--font-family-main);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-4-dark-green);
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.blog-preview:hover .blog-more {
  color: var(--color-8-deep-green);
}

@media (max-width: 700px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 2.4em;
  }
}

/* ─────────────────────────────────────────────────────────────────
   Single blog post page
   ───────────────────────────────────────────────────────────────── */

.blog-container {
  background: var(--color-7-white);
  max-width: 760px;
  margin: 0 auto;
  padding: 3em clamp(1.5em, 4vw, 3em) 4em;
}

.the-blog-title {
  font-family: var(--font-family-main);
  color: var(--color-3-grey);
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-align: center;
  margin: 0 0 0.6em;
}

/* Date + byline strip below the H1 */
.the-blog-meta {
  font-family: var(--font-family-main);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-4-dark-green);
  text-align: center;
  margin: 0 0 2em;
  padding: 0 0 1.2em;
  border-bottom: 1px solid var(--color-4-dark-green);
  border-color: rgba(114, 130, 127, 0.5);
  line-height: 1.6;
}
.the-blog-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  padding-bottom: 1px;
}
.the-blog-meta a:hover {
  color: var(--color-8-deep-green);
}

.the-blog-pic {
  margin: 0 0 2em;
  width: 100%;
  max-height: 28em;
  overflow: hidden;
  display: block;
  border-radius: 8px;
}
.the-blog-pic video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Body — serif, magazine reading rhythm */
.the-blog {
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--color-12-dark-green);
  margin: 0;
}
.the-blog p {
  margin: 0 0 1.1em;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  line-height: 1.72;
}

/* First paragraph — magazine deck-style lead in Caslon italic */
.the-blog > p:first-of-type {
  font-family: var(--font-family-display-serif);
  font-size: 1.4rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 400;
  color: var(--color-3-grey);
  margin: 0.4em 0 1.6em;
  letter-spacing: 0.005em;
}

/* Drop cap on the second paragraph (the first regular body paragraph) */
.the-blog > p:nth-of-type(2)::first-letter {
  font-family: var(--font-family-display-serif);
  font-size: 4em;
  float: left;
  line-height: 0.85;
  font-weight: 400;
  color: var(--color-8-deep-green);
  margin: 0.05em 0.08em 0 0;
  letter-spacing: -0.02em;
}

/* H2 chapter break with hairline ornament */
.the-blog h2 {
  position: relative;
  font-family: var(--font-family-main);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.25;
  color: var(--color-3-grey);
  margin: 3em 0 0.8em;
  padding: 1.4em 0 0;
}
.the-blog h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4em;
  height: 1px;
  background: var(--color-4-dark-green);
  opacity: 0.55;
}

.the-blog h3 {
  font-family: var(--font-family-main);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-3-grey);
  margin: 1.8em 0 0.5em;
  letter-spacing: 0.01em;
}

.the-blog ul, .the-blog ol {
  margin: 1.2em 0;
  padding-left: 1.6em;
  font-family: var(--font-family-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-12-dark-green);
}
.the-blog li {
  margin-bottom: 0.5em;
}
.the-blog ul li::marker {
  color: var(--color-16-another-green);
  content: "✦  ";
  font-size: 0.9em;
}

.the-blog a {
  color: var(--color-8-deep-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.the-blog a:hover {
  color: var(--color-16-another-green);
}

.the-blog strong {
  color: var(--color-3-grey);
  font-weight: 600;
}

/* Blockquote — Scripture quotes treated as printerly callouts */
.the-blog blockquote {
  background: transparent;
  border-left: 2px solid var(--color-16-another-green);
  margin: 1.8em 0;
  padding: 0.2em 0 0.2em 1.6em;
  font-family: var(--font-family-display-serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--color-3-grey);
}
.the-blog blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 0.4em;
}
.the-blog blockquote p:last-child {
  margin-bottom: 0;
}

/* Closing CTA paragraph — refined call-out box matching site CTA voice */
.the-cta {
  font-family: var(--font-family-serif);
  font-size: 1.06rem;
  line-height: 1.6;
  margin: 3em 0 0;
  padding: 1.6em 1.8em;
  background: var(--color-14-lighter-green);
  border-radius: 8px;
  color: var(--color-12-dark-green);
}
.the-cta a {
  display: inline;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--color-8-deep-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Bible-quote (used in some blog posts) — keep printerly */
.bible-quote {
  margin: 1.6em 0;
  padding: 0.6em 0 0.6em 1.5em;
  border-left: 2px solid var(--color-16-another-green);
  background: transparent;
  font-family: var(--font-family-display-serif);
  font-style: italic;
  color: var(--color-3-grey);
}
.bible-quote p {
  margin: 0 0 0.3em;
  font-family: inherit;
}
.bible-quote-ref {
  font-family: var(--font-family-main);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--color-4-dark-green);
}

.smoking-alts {
  margin-top: 1.6em;
}
.smoking-alts li {
  margin-left: 1em;
  font-style: italic;
  margin-top: 8px;
  color: var(--color-8-deep-green);
}

/* author bio block */
.the-blog-author {
  display: flex;
  gap: 1.5em;
  margin-top: 3em;
  padding: 1.8em 1.6em;
  background: var(--color-14-lighter-green);
  border-radius: 12px;
  align-items: flex-start;
}
.the-blog-author__pic {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
}
.the-blog-author__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.the-blog-author__body {
  flex: 1;
  min-width: 0;
}
.the-blog-author__name {
  margin: 0 0 0.2em;
  color: var(--color-3-grey);
  font-size: 1.15em;
}
.the-blog-author__role {
  font-size: 0.85em;
  color: var(--color-2-grey);
  font-style: italic;
  margin-bottom: 0.7em;
}
.the-blog-author__bio {
  margin: 0 0 0.9em;
  color: var(--color-12-dark-green);
  font-size: 0.95em;
  line-height: 1.55;
}
.the-blog-author__more {
  color: var(--color-8-deep-green);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--color-4-dark-green);
  padding-bottom: 1px;
  font-size: 0.92em;
}
.the-blog-author__more:hover {
  color: var(--color-8-deep-green-hl);
  border-bottom-color: var(--color-16-another-green);
}

/* related posts */
.the-blog-related {
  margin-top: 2.5em;
  padding-top: 2em;
  border-top: 1px solid var(--color-15-lighter-green);
}
.the-blog-related__title {
  margin: 0 0 1.2em;
  color: var(--color-3-grey);
  font-size: 1.2em;
}
.the-blog-related__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1em;
}
.the-blog-related__item {
  margin: 0;
}
.the-blog-related__link {
  display: block;
  padding: 1em 1.1em;
  text-decoration: none;
  background: var(--color-7-white);
  border: 1px solid var(--color-15-lighter-green);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  height: 100%;
}
.the-blog-related__link:hover {
  border-color: var(--color-16-another-green);
  box-shadow: 0 2px 8px rgba(18, 46, 40, 0.08);
  transform: translateY(-1px);
}
.the-blog-related__post-title {
  display: block;
  font-weight: 700;
  color: var(--color-3-grey);
  font-size: 1em;
  line-height: 1.3;
  margin-bottom: 0.4em;
}
.the-blog-related__post-blurb {
  display: block;
  color: var(--color-2-grey);
  font-size: 0.88em;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .the-blog-author {
    flex-direction: column;
    align-items: stretch;
    padding: 1.4em 1.2em;
  }
  .the-blog-author__pic {
    width: 80px;
    height: 80px;
  }
}
