h1.site-title a {
	font-family: 'Roboto Slab', sans-serif; 
	font-size: 18px;
	font-weight: bold;
}
.site-description {
font-family: 'Roboto Slab', sans-serif; 
	font-size: 18px;
	font-weight: bold;
    letter-spacing: 0px; }
/* Constrain featured images on single posts */
.single-post .post-thumbnail img,
.single-post .wp-post-image,
.single-post figure.wp-block-post-featured-image img {
  max-width: 500px;   /* adjust 800–1200px as you like */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}
.single-post .post-thumbnail,
.single-post figure.wp-block-post-featured-image {
  text-align: center;
}

/* Constrain featured images on Pages */
.page .post-thumbnail img,
.page .wp-post-image,
.page figure.wp-block-post-featured-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}
.page .post-thumbnail,
.page figure.wp-block-post-featured-image {
  text-align: center;
}
/********  GLOBAL: single posts & pages  ********/
/* 1) Constrain the FEATURED IMAGE WRAPPER itself */
.single .post-thumbnail,
.single .entry-thumbnail,
.single figure.wp-block-post-featured-image,
.single .featured-image,
.single .entry-media {
  max-width: 500px !important;   /* adjust 800–1200px */
  margin: 0 auto 24px !important;
}

/* 2) Constrain the IMG inside */
.single .post-thumbnail img,
.single .entry-thumbnail img,
.single figure.wp-block-post-featured-image img,
.single .featured-image img,
.single .entry-media img,
.single .wp-post-image,
.single img.size-full {
  width: 100% !important;
  height: auto !important;
  max-width: 900px !important;    /* keep in sync with wrapper */
  display: block !important;
  margin: 0 auto !important;
}
/**********************************************************
 SDIM ARTICLE LAYOUT
 Scoped so it does NOT affect other posts or pages
**********************************************************/

/* ARTICLE WRAPPER */
.sdim-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

/* ARTICLE HEADER */
.sdim-article__header {
  margin-bottom: 2.5rem;
}

.sdim-article__title {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* AUTHOR META */
.sdim-article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
}

.sdim-article__meta figure,
.sdim-article__meta img {
  max-width: 80px;
}


.sdim-article__author-photo {
  width: 80px;
  height: 80px;
  border-radius: 0;         /* square, not round */
  object-fit: cover;
  flex-shrink: 0;           /* prevents flex stretching */
}

.sdim-article__byline {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sdim-article__author {
  display: block;
  font-weight: 700;
}

.sdim-article__date {
  display: block;
  color: #666;
}

/* BODY TEXT */
.sdim-article__content p {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}

/* SUBHEADS */
.sdim-article__content h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

/* DROP CAP — FIRST PARAGRAPH ONLY */
.sdim-dropcap::first-letter {
  float: left;
  font-size: 4.5rem;
  line-height: 0.9;
  padding-right: 0.2em;
  padding-top: 0.05em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
/**********************************************************
 SDIM INLINE AD BLOCKS
**********************************************************/

.sdim-ad {
  position: relative;
  width: 100%;
  background: #000;
  margin: 4rem 0;
  overflow: hidden;
}

/* FULL PAGE AD */
.sdim-ad--fullpage {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HALF PAGE AD */
.sdim-ad--halfpage {
  height: 50vh;
  min-height: 400px;
}

/* QUARTER PAGE AD */
.sdim-ad--quarterpage {
  height: 28vh;
  min-height: 260px;
}

/* AD IMAGE */
.sdim-ad__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* AD LABEL */
.sdim-ad__label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 6px 12px;
  z-index: 10;
}
/* reduce spacing above and below the in-article ad group */
.entry-content .wp-block-group.ad-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* if needed, reduce spacing for the image inside too */
.entry-content .wp-block-group.ad-group img {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Force global white background */
html,
body,
.site,
.site-content,
#page,
#content {
  background-color: #ffffff !important;
}

/* Ensure post and page content areas are white */
.single-post .entry-content,
.page .entry-content,
.wp-site-blocks {
  background-color: #ffffff !important;
}

/* Remove gray backgrounds from Groups unless explicitly styled */
.wp-block-group {
  background-color: transparent;
}
