body {
  background-color: #f9f5ec;
}

.wp-site-blocks > header {
    margin-top: 30px;
}

@media only screen and (max-width: 600px) {
  .wp-site-blocks {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 100%; /* Optional: ensures it doesn't overflow */
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden; /* Optional: prevents horizontal scroll */
  }
}

body {
  font-size: 18px; /* Change this value to what feels right */
  line-height: 1.5; /* Optional: improves readability */
	letter-spacing: -.1px;
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 18.5px;
  }
}

.wp-block-post-title {
  text-align: center;
}

h1.entry-title {
  text-align: center;
}

.archive .wp-block-post-featured-image {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
	max-width: 355px;
}

.archive .wp-block-post-featured-image img {
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

.single .wp-block-post-featured-image {
  display: none !important;
}


.wp-block-post-title {
  margin-bottom: 1px !important;
  display: block;
}

.wp-block-post-title {
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}

/* Center all images inside the main content */
.entry-content .wp-block-image,
.entry-content .wp-block-image figure,
.entry-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Optional: Remove default float on alignleft and alignright */
.entry-content .alignleft,
.entry-content .alignright {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Center all image blocks and their figures */
.entry-content .wp-block-image,
.entry-content .wp-block-image figure {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Center the image itself and add a soft shadow */
.entry-content .wp-block-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Center captions */
.entry-content .wp-block-image figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #555; /* subtle caption tone */
    margin-top: 0.5em;
}

/* Make sure the image and caption container is centered */
.entry-content .wp-block-image {
    text-align: center;
}

/* Ensure the figcaption inside that container is centered */
.entry-content .wp-block-image figcaption {
    display: block;
    text-align: center;
    font-size: 0.9em;
    color: #555;
    margin-top: 0.5em;
    max-width: 100%;
}

/* Caption box centered and matching image width */
.entry-content .wp-block-image figcaption {
    display: block;
    text-align: center;
    font-size: 0.9em;
    font-family: 'Averia Serif Libre', serif;
    background-color: #111111;
    color: #f9f5ec;
    padding: 0.3em 1em;
    margin-top: 0.5em;
    border-radius: 3px;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Style caption links to blend with the caption */
.entry-content .wp-block-image figcaption a {
    color: #f9f5ec; /* white to match caption text */
    text-decoration: none; /* removes underline */
    font-weight: 500;
}

/* Hide the author name */
.wp-block-post-author__name {
    display: none !important;
}

/* Hide all category displays by default */
.wp-block-post-terms.taxonomy-category {
  display: none !important;
}

/* Show only the first one that appears (assumed under the title) */
.wp-block-post-terms.taxonomy-category:first-of-type {
  display: block !important;
}

.wp-block-post-terms.taxonomy-category:first-of-type {
  text-align: center;
  font-family: 'Averia Serif Libre', serif;
  font-size: 0.8em;
  margin-bottom: 1.5em;
}

.single-post .wp-block-post-terms.taxonomy-category a,
.single-post .wp-block-post-terms.taxonomy-category a:visited,
.single-post .wp-block-post-terms.taxonomy-category a:hover,
.single-post .wp-block-post-terms.taxonomy-category a:focus {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  color: inherit;
}

/* Remove underline from tags */
.taxonomy-post_tag a,
.taxonomy-post_tag a:visited,
.taxonomy-post_tag a:hover,
.taxonomy-post_tag a:focus {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  color: inherit;
	font-style: italic;
}

/* Remove tag icon */
.taxonomy-post_tag.is-style-post-tag-icon::before {
  content: none !important;
}


/* Hide the post date icon and its link */
.wp-block-post-date {
    display: none !important;
}
/* Hide the author photo icon */
.wp-block-post-author {
    display: none !important;
}

/* Hide "Proudly Powered by WordPress" in the footer */
footer p.has-text-align-center {
    display: none !important;
}
/* Hide "Proudly Powered by WordPress" text */
footer p.has-text-align-center {
    display: none !important;
}

/* Hide "Customize buttons" link */
.share-customize-link {
    display: none !important;
}

/* Add spacing below the comment section heading */
.wp-block-comments-title {
  margin-bottom: 44px; /* Adjust spacing as desired */
}

#reply-title.comment-reply-title {
  margin-bottom: 30px !important; /* Adjust the spacing as needed */
}

.book-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 30px auto;
  padding: 0;
  box-sizing: border-box;
}

.book-slide-track {
  display: flex;
  width: max-content;
  animation: scrollSlider 25s linear infinite;
}

.book-slide-track a {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 2rem;
}

.book-slide-track img {
  height: 250px;
  width: auto;
  object-fit: contain;
  transition: transform 0.8s ease;
}

.book-slide-track img:hover {
  transform: scale(1.6);
}

@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  .book-slide-track a {
    margin-right: 1rem;
  }

  .book-slide-track img {
    height: 190px;
  }
}


/* Optional: Force 4 covers on mobile too */
@media screen and (max-width: 768px) {
  .book-slide-track a {
    flex: 0 0 25%;
  }
}

@media screen and (max-width: 768px) {
  .book-slide-track a {
    flex: 0 0 auto; /* Show 3 covers */
  }
  .book-slide-track img {
    height: 150px; /* Reduced height on mobile */
  }
  .book-slide-track {
    gap: .3rem; /* Increased gap between covers */
  }
}

mark {
  padding: 0.2em 0.4em; /* top-bottom, left-right */
line-height: 1.6; /* Increases space between lines */
    box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
	 color: #f9f5ec !important;
}

.wp-block-coblocks-posts__content a {
  font-family: 'Averia Serif Libre', serif !important;
  color: #000 !important;
  text-decoration: none !important;
	line-height: 1.1em;
}

.wp-block-coblocks-posts__image {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 345px; /* Optional: ensures consistent height */
  width: 100% !important;
}

.wp-block-coblocks-posts__image a {
  display: block;
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .wp-block-coblocks-posts__image {
   /* Adjust the height for mobile */
    min-height: 375px;
  }

  .wp-block-coblocks-posts__content a {
    font-size: 18px;  /* Optionally, adjust font size for mobile */
  }
}

.author-slider {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 11rem auto;
}

.slide-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.slide img {
  width: 60%;
  max-height: 399px;
	height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.slide-text {
  width: 50%;
  font-size: 1.2rem;
	 color: #f9f5ec;
}

@media (max-width: 768px) {
  .slide {
    flex-direction: column;
  }

  .slide img,
  .slide-text {
    width: 100%;
  }

  .slide-text {
    margin-top: 1rem;
    text-align: center;
  }
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.sd-like-enabled,
.jetpack-likes-widget-wrapper {
  display: none !important;
}

.sharedaddy,
.sd-block {
  display: none !important;
}

.wp-block-query-title {
  font-size: 2rem;
  font-weight: 500;
}

.wp-block-query-title::before {
  content: none !important;
}

.wp-block-query-title {
  color: #111;
	text-align: center;
}

.wp-block-query-title span::before {
  content: none !important;
}

.wp-block-button__link {
  line-height: 1.1 !important;
  padding-top: 0.6em !important;
  padding-bottom: 0.6em !important;
}

.taxonomy-post_tag {
  display: none !important;
}

span.crowdsignal-forms-poll__answer-results-votes {
  display: none !important;
}

.crowdsignal-forms-poll__answer-results-votes,
.crowdsignal-forms-poll__results-total {
  display: none !important;
}

.crowdsignal-forms-poll__closed-banner {
  display: none !important;
}

@media (max-width: 768px) {
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        padding-top: 40px;   
    }
}

