/* =======================================================
   SITE TITLE + TAGLINE TYPOGRAPHY
   ======================================================= */

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;
}


/* =======================================================
   FEATURED IMAGE – SINGLE POSTS ONLY (MAGAZINE STYLE)
   Centered, Smaller, No Cropping, No Banner Strip
   ======================================================= */

.single-post .post-thumbnail {
  text-align: center !important;
  margin: 0 auto 24px auto !important;
}

.single-post .post-thumbnail img {
  max-width: 300px !important;   /* Adjust: 700–1000px */
  width: 100% !important;
  height: auto !important;       /* Keeps full proportions */
  display: inline-block !important;
}


/* =======================================================
   SDIM ARTICLE LAYOUT (Scoped Custom Article Styling)
   ======================================================= */

.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;
  object-fit: cover;
  flex-shrink: 0;
}

.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 */
.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 */
.sdim-ad--fullpage {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Half Page */
.sdim-ad--halfpage {
  height: 50vh;
  min-height: 400px;
}

/* Quarter Page */
.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 around ad group blocks */
.entry-content .wp-block-group.ad-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.entry-content .wp-block-group.ad-group img {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* =======================================================
   GLOBAL BACKGROUND CLEANUP
   ======================================================= */

html,
body,
.site,
.site-content,
#page,
#content {
  background-color: #ffffff !important;
}

.single-post .entry-content,
.page .entry-content,
.wp-site-blocks {
  background-color: #ffffff !important;
}

.wp-block-group {
  background-color: transparent;
}


/* =======================================================
   ISSUE HUB GRID – UNIFORM MAGAZINE THUMBNAILS
   ======================================================= */

.issuehub-grid img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block;
}


/* =======================================================
   PARTNER LOGO GRID – NO CROPPING
   ======================================================= */

.partner-grid img {
  width: 100% !important;
  height: 120px !important;
  object-fit: contain !important;
  display: block;
  padding: 10px;
}


/* =======================================================
   HIDE META ON LISTINGS ONLY (Home, Archives)
   Keep meta visible on single post pages
   ======================================================= */

.home .entry-meta,
.archive .entry-meta,
.category .entry-meta,
.tag .entry-meta,
.search .entry-meta,
.home .post-meta,
.archive .post-meta,
.category .post-meta,
.tag .post-meta,
.search .post-meta,
.home .meta-info,
.archive .meta-info,
.category .meta-info,
.tag .meta-info,
.search .meta-info,
.home .byline,
.archive .byline,
.home .posted-on,
.archive .posted-on,
.home .comments-link,
.archive .comments-link {
  display: none !important;
}


/* =======================================================
   SIDEBAR ADVERTISER LOGO GRID (Uniform Tiles)
   DOES NOT AFFECT FEATURED IMAGES
   ======================================================= */

.partner-grid-sidebar figure.post-thumbnail {
  height: 110px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin: 0 0 12px 0 !important;
}

.partner-grid-sidebar figure.post-thumbnail img.wp-post-image {
  max-height: 90px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
