/* 1. Body, Tagline, and Post Dates: Indie Flower */
body,
p,
li,
nav,
.site-description,
.main-navigation,
.entry-content,
.entry-content p,
.entry-content a,
.entry-summary,
.entry-meta,
.entry-meta a,
.posted-on,
.posted-on a,
.byline,
.cat-links,
.tags-links,
.widget,
.widget a {
  font-family: 'Indie Flower', cursive !important;
  font-weight: 400 !important;
}

/* 2. Site Title (with drop shadow): Marck Script */
.site-title,
.site-title a {
  font-family: 'Marck Script', cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9) !important;
}

/* 3. All Post, Page, and Sidebar Headings: Marck Script */
.entry-title,
.entry-title a,
.page-title,
.widget-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Marck Script', cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
}

/* Tighten heading spacing, list indentation, and vertical bullet spacing */
.widget-area .widget h2,
.widget-area .widget .wp-block-heading {
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
}

/* Tighten heading spacing, list indentation, and vertical bullet spacing */
.widget-area .widget h2,
.widget-area .widget .wp-block-heading {
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
}

.widget-area .widget ul.wp-block-categories-list {
  margin-top: 0 !important;
  margin-left: 0 !important;
  padding-left: 14px !important;
}

/* Tighten heading spacing, list indentation, and vertical bullet spacing */
.widget-area .widget h2,
.widget-area .widget .wp-block-heading {
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
}

.widget-area .widget ul.wp-block-categories-list {
  margin-top: 0 !important;
  margin-left: 0 !important;
  padding-left: 14px !important;
}

/* 2nd and 3rd level subcategory indentation */
.widget-area .widget ul.wp-block-categories-list ul.children,
.widget-area .widget ul.wp-block-categories-list ul.children ul.children {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
  margin-left: 0 !important;
  padding-left: 16px !important;
}

.widget-area .widget ul.wp-block-categories-list li {
  line-height: 1.25 !important;
  margin-bottom: 2px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Tighten top space above the Categories title and inside the card */
.widget-area .widget {
  padding-top: 16px !important;
}

.widget-area .widget h2,
.widget-area .widget .wp-block-heading,
.widget-area .widget .wp-block-group {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
}

/* Classic portrait oval frame with wider framing and gentle edge glow */
.custom-logo,
.site-logo,
.site-logo img,
.custom-logo-link img,
.wp-block-site-logo img {
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
  opacity: 0.92 !important;
  transition: opacity 0.3s ease;
}

.custom-logo:hover,
.site-logo:hover,
.site-logo img:hover,
.custom-logo-link img:hover,
.wp-block-site-logo img:hover {
  opacity: 1 !important;
}

/* Centered side-by-side header layout */
@media screen and (min-width: 768px) {
  .site-branding .wrap {
    display: grid !important;
    grid-template-columns: max-content max-content !important;
    column-gap: 20px !important;
    row-gap: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    justify-items: start !important;
    text-align: left !important;
  }

  /* Keep the header banner image spanning the full width above */
  .site-branding .wrap .header-image {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: center !important;
  }

  /* Put the oval logo in Column 1 spanning both text rows */
  .site-branding .wrap .site-logo-link {
    grid-column: 1 !important;
    grid-row: 2 / span 2 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Shrink the oval logo slightly */
  .site-branding .wrap .site-logo-link img.site-logo {
    max-width: 110px !important;
    width: 110px !important;
    height: auto !important;
  }

  /* Put Site Title in Column 2, Row 1 */
  .site-branding .wrap .site-title {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: auto !important;
    max-width: none !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Put Tagline in Column 2, Row 2 pulled right up under the title */
  .site-branding .wrap .site-description {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: auto !important;
    max-width: none !important;
    line-height: 1.2 !important;
    margin: -4px 0 0 0 !important;
    padding: 0 !important;
  }
}