/* === VINTAGE RETROMAN DESIGN UPGRADES === */
/* #1 – Hide redundant "Home" page title */
.home .entry-header .entry-title,
.home .page-header .page-title {
	display: none;
}

/* #3 – Dark branded nav bar */
.site-header {
	background-color: #ffffff;
	padding: 10px 0;
}

.site-header .site-title a,
.site-header .site-description {
	color: #ffffff;
}

.main-navigation a {
	color: #111111 !important;
}

.main-navigation a:hover {
	color: #f5a623 !important;
}

.menu-toggle {
	color: #111111 !important;
	border-color: #111111 !important;
}

/* #6 – Unify all buttons to brand orange */
.wp-block-button__link,
a.wp-block-button__link,
.entry-content .wp-block-button__link {
	background-color: #f5a623 !important;
	color: #111111 !important;
	border: none !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
}

.wp-block-button__link:hover,
a.wp-block-button__link:hover {
	background-color: #d4891a !important;
	color: #111111 !important;
}

/* #7 – Warm off-white background */
body {
	background-color: #f9f5f0 !important;
}

.site-content,
.hentry,
.page,
.entry-content {
	background-color: #ffffff;
}

/* #8 – Hero banner for top homepage section */
.home .entry-content > h2:first-of-type,
.home .entry-content > p.has-large-font-size:first-of-type {
	background: linear-gradient(135deg, #111111 60%, #1a1a1a 100%);
	color: #f5a623;
	padding: 40px 30px;
	margin: 0 0 30px;
	text-align: center;
	letter-spacing: 2px;
}

/* #4 – Tighten empty spacing gaps */
.home .entry-content .wp-block-spacer {
	height: 30px !important;
}

.home .entry-content figure.wp-block-image + .wp-block-spacer,
.home .entry-content .wp-block-embed + .wp-block-spacer {
	height: 20px !important;
}

/* General polish – add subtle card shadow to post content */
.hentry {
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	border-radius: 4px;
	padding: 20px;
}

/* === ACCORDION / DETAILS BLOCK STYLING === */
/* Summary (question) styling */
.wp-block-details summary {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111111;
	background-color: #fff8f0;
	padding: 14px 18px;
	border-left: 4px solid #f5a623;
	border-radius: 4px;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
	transition: background-color .2s ease;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: '＋';
	font-size: 1.2rem;
	color: #f5a623;
	font-weight: 400;
	flex-shrink: 0;
}

.wp-block-details[open] summary::after {
	content: '－';
}

.wp-block-details summary:hover {
	background-color: #fff0d6;
}

/* Answer (content) styling */
.wp-block-details > p,
.wp-block-details .wp-block-paragraph {
	padding: 14px 18px;
	margin: 0 0 8px;
	background-color: #ffffff;
	border-left: 4px solid #e0e0e0;
	border-radius: 0 0 4px 4px;
	font-size: .97rem;
	line-height: 1.7;
	color: #333333;
}

/* Space between accordion items */
.wp-block-details {
	margin-bottom: 8px;
}

/* #9 - Cap oversized single post hero/featured image banner height */
.site-header .size-karuna-hero {
	  width: auto !important;
	  max-width: 100% !important;
	  height: auto !important;
	  max-height: 420px !important;
	  display: block !important;
	  margin: 0 auto !important;
	  object-fit: contain !important;
}

/* #10 - Resources page: styled card grid for Latest Posts block */
.resources-card-grid.wp-block-latest-posts.is-grid {
	  gap: 28px !important;
}
.resources-card-grid.wp-block-latest-posts.is-grid li {
	  background: #ffffff;
	  border-radius: 12px;
	  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	  padding: 16px;
	  list-style: none;
	  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resources-card-grid.wp-block-latest-posts.is-grid li:hover {
	  transform: translateY(-4px);
	  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.resources-card-grid .wp-block-latest-posts__featured-image {
	  margin-bottom: 12px;
}
.resources-card-grid .wp-block-latest-posts__featured-image img {
	  width: 100%;
	  height: 200px;
	  object-fit: cover;
	  border-radius: 8px;
	  display: block;
}
.resources-card-grid .wp-block-latest-posts__post-title {
	  font-size: 1.15rem;
	  line-height: 1.35;
	  margin: 4px 0;
}
.resources-card-grid .wp-block-latest-posts__post-title a {
	  text-decoration: none;
}
.resources-card-grid .wp-block-latest-posts__post-date {
	  color: #888888;
	  font-size: 0.85rem;
}
.resources-card-grid .wp-block-latest-posts__post-excerpt {
	  font-size: 0.95rem;
	  color: #444444;
}
.resources-card-grid .wp-block-latest-posts__read-more,
.resources-card-grid .wp-block-latest-posts__read-more:link,
.resources-card-grid .wp-block-latest-posts__read-more:visited {
	  display: inline-block;
	  margin-top: 10px;
	  padding: 7px 16px;
	  background-color: #f5a623 !important;
	  color: #111111 !important;
	  border-radius: 20px;
	  text-decoration: none !important;
	  font-size: 0.85rem;
	  font-weight: 700;
}
.resources-card-grid .wp-block-latest-posts__read-more:hover {
	  background-color: #d4891a !important;
	  color: #111111 !important;
}

/* #11 - Resources page: style "Continue reading" (more-link) same as read-more button */
.resources-card-grid .wp-block-latest-posts__post-excerpt .more-link {
	  display: inline-block;
	  margin-top: 6px;
	  padding: 7px 16px;
	  background-color: #f5a623 !important;
	  color: #111111 !important;
	  border-radius: 20px;
	  text-decoration: none !important;
	  font-size: 0.85rem;
	  font-weight: 700;
}
.resources-card-grid .wp-block-latest-posts__post-excerpt .more-link:hover {
	  background-color: #d4891a !important;
	  color: #111111 !important;
}

/* #12 - Resources page: 4-column card grid with uniform card height & aligned buttons */
.resources-card-grid.wp-block-latest-posts.is-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  align-items: stretch;
}
.resources-card-grid.wp-block-latest-posts.is-grid li {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px;
}
.resources-card-grid .wp-block-latest-posts__featured-image img {
  height: 140px;
  flex-shrink: 0;
}
.resources-card-grid .wp-block-latest-posts__post-title {
  font-size: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}
.resources-card-grid .wp-block-latest-posts__post-date {
  flex-shrink: 0;
}
.resources-card-grid .wp-block-latest-posts__post-excerpt {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.resources-card-grid .wp-block-latest-posts__post-excerpt .more-link,
.resources-card-grid .wp-block-latest-posts__read-more {
  margin-top: auto !important;
  align-self: flex-start;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .resources-card-grid.wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .resources-card-grid.wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* #13 - View All Posts button below the grid */
.resources-view-all {
  text-align: center;
  margin-top: 24px;
}
.resources-view-all a {
  display: inline-block;
  padding: 12px 28px;
  background-color: #f5a623 !important;
  color: #111111 !important;
  border-radius: 24px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1rem;
}
.resources-view-all a:hover {
  background-color: #d4891a !important;
}

/* #14 - All Posts page: full archive card grid */
.all-posts-grid.wp-block-latest-posts.is-grid {
  gap: 28px !important;
}
.all-posts-grid.wp-block-latest-posts.is-grid li {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 16px;
  list-style: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.all-posts-grid.wp-block-latest-posts.is-grid li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.all-posts-grid .wp-block-latest-posts__featured-image {
  margin-bottom: 12px;
}
.all-posts-grid .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.all-posts-grid .wp-block-latest-posts__post-title {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 4px 0;
}
.all-posts-grid .wp-block-latest-posts__post-title a {
  text-decoration: none;
}
.all-posts-grid .wp-block-latest-posts__post-date {
  color: #888888;
  font-size: 0.85rem;
}
.all-posts-grid .wp-block-latest-posts__post-excerpt {
  font-size: 0.95rem;
  color: #444444;
}
.all-posts-grid .wp-block-latest-posts__read-more,
.all-posts-grid .wp-block-latest-posts__post-excerpt .more-link {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 16px;
  background-color: #f5a623 !important;
  color: #111111 !important;
  border-radius: 20px;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 700;
}
.all-posts-grid .wp-block-latest-posts__read-more:hover,
.all-posts-grid .wp-block-latest-posts__post-excerpt .more-link:hover {
  background-color: #d4891a !important;
  color: #111111 !important;
}

/* #15 - Resources page: consistent button sizing so text never wraps */
.resources-card-grid .wp-block-latest-posts__read-more,
.resources-card-grid .wp-block-latest-posts__post-excerpt .more-link {
  font-size: 0.78rem !important;
  padding: 6px 14px !important;
  white-space: nowrap !important;
}