/* ============================================================
   INSPIRATION / BLOG
   Loaded from inc/inspiration-blog.php
   ============================================================ */

/* Filter menu wrapper */
.inspiration-filter-menu {
  margin: 1.5rem 0 2rem;
  border: none !important;
  box-shadow: none !important;
}

.inspiration-filter-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: none !important;
  box-shadow: none !important;
}

.inspiration-filter-menu ul li {
  margin: 0;
  border: none !important;
}

/* Pills */
.inspiration-filter-menu ul li a {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #ddd !important;
  border-radius: 999px !important;
  font-size: 13px;
  text-decoration: none;
  color: #555;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
	background: #fff;
}

/* Hover, keyboard focus and active pill: brand pink */
.inspiration-filter-menu ul li a:hover,
.inspiration-filter-menu ul li a:focus-visible,
.inspiration-filter-menu ul li.current-menu-item a {
  background: #e24585;
  color: #fff;
  border-color: #e24585 !important;
}

/* Archive header spacing */
.archive-page-header .large-12.col {
  padding-bottom: 0 !important;
}

/* From live (not on staging): single post featured image */
.single-post .post-thumbnail img,
.single-post .featured-image img,
.single-post .entry-image img {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
}

  .archive .post-item .from_the_blog_excerpt { display: none; }

.archive .post-item .cat-label {
  color: #e24585;
  opacity: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.archive .post-item .cat-label a {
  color: inherit;
}

.archive .taxonomy-description {
     max-width: 640px;
     margin: 0 auto;
   }
   .archive .post-item .is-divider { display: none; }
/* ---------- Featured post ---------- */
.pb-featured-post {
  display: flex;
  align-items: stretch;
  max-width: 1545px;
  margin: 0 auto 50px;
  padding: 0;
}

.pb-featured-post__image {
  flex: 0 0 50%;
  display: block;
  overflow: hidden;
  border-radius: 14px 0 0 14px;
}

.pb-featured-post__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 400px;        /* new: caps the height */
  aspect-ratio: 16 / 9;     /* was 16 / 10 */
  object-fit: cover;
  transition: transform .4s ease;
}


.pb-featured-post:hover .pb-featured-post__image img {
  transform: scale(1.03);
}

.pb-featured-post__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 44px;
  background: #fff;
  border-radius: 0 14px 14px 0;
}

.pb-featured-post__label {
  margin: 0 0 10px;
  color: #e24585;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pb-featured-post__title {
  margin: 0 0 14px;
  font-size: 1.6em;
  line-height: 1.25;
}

.pb-featured-post__title a {
  color: inherit;
}

.pb-featured-post__excerpt {
  margin: 0 0 24px;
  color: #555;
  line-height: 1.7;
}

.pb-featured-post__link {
  align-self: flex-start;
  padding: 8px 22px;
  border: 1px solid #e24585;
  border-radius: 999px;
  color: #e24585;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.pb-featured-post__link:hover {
  background: #e24585;
  color: #fff;
}

/* Mobile: stack image on top */
@media (max-width: 849px) {
  .pb-featured-post {
    flex-direction: column;
    margin-bottom: 30px;
	padding: 0 15px;
  }

  .pb-featured-post__image {
    border-radius: 14px 14px 0 0;
  }

  .pb-featured-post__text {
    padding: 24px;
    border-radius: 0 0 14px 14px;
    text-align: left;
  }

  .pb-featured-post__title {
    font-size: 1.4em;
  }
}
/* ---------- Grid cards: white, rounded, equal height ---------- */
.archive #post-list .post-item {
  display: flex;               /* lets the card fill the column height */
}

.archive #post-list .post-item .col-inner {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;            /* rounds the image's top corners too */
  transition: transform .2s ease, box-shadow .2s ease;
}

.archive #post-list .post-item .box-text {
  padding: 18px 22px 24px;
}

/* Hover: lift + soft pink shadow */
.archive #post-list .post-item:hover .col-inner {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(226, 69, 133, .12);
}

/* Remove the grey divider under titles */
.archive #post-list .post-item .is-divider {
  display: none;
}
/* Subtle "Read article →" link under each card title */
.archive #post-list .post-item .box-text-inner::after {
  content: "Read article \2192";
  display: inline-block;
  margin-top: 10px;
  color: #e24585;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease;
}

/* Arrow nudges right on card hover */
.archive #post-list .post-item:hover .box-text-inner::after {
  transform: translateX(4px);
}
/* ---------- Pagination: match the pink pills ---------- */
.archive .nav-pagination > li > a,
.archive .nav-pagination > li > span {
  min-width: 38px;
  height: 38px;
  line-height: 36px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* Current page + hover: brand pink */
.archive .nav-pagination > li > .current,
.archive .nav-pagination > li > a:hover {
  background: #e24585;
  border-color: #e24585;
  color: #fff;
}
/* ---------- Make the whole card clickable ---------- */
.archive #post-list .post-item .col-inner {
  position: relative;
}

/* Stretch the title link over the entire card */
.archive #post-list .post-item .post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Keep the category label clickable on top (goes to that category) */
.archive #post-list .post-item .cat-label {
  position: relative;
  z-index: 2;
}
/* ============================================================
   SINGLE POSTS: centred reading column + consistent images
   (the featured banner sits outside .entry-content, so it's unaffected)
   ============================================================ */

/* Narrow, centred column for the article text */
.single-post .entry-content {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* In-content images: same width, same shape, centred */
.single-post .entry-content img:not(.emoji) {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 30px auto 0;
  border-radius: 10px;
}

/* Image captions (WordPress caption boxes and block-editor figures) */
.single-post .entry-content .wp-caption,
.single-post .entry-content figure {
  width: 100% !important;
  max-width: 100%;
  margin: 30px auto;
}

.single-post .entry-content .wp-caption img,
.single-post .entry-content figure img {
  margin-top: 0;
}

.single-post .entry-content .wp-caption-text,
.single-post .entry-content figcaption {
  margin-top: 8px;
  color: #777;
  font-size: 13px;
  text-align: center;
}
/* Single post banner: a bit wider than the text column, centred, rounded */
.single-post .entry-header .entry-image {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  overflow: hidden;
}

/* Title divider: same width as the banner, thin, tight to the image */
.single-post .entry-header .is-divider {
 display:none;
}

/* Remove any extra space Flatsome adds above the banner */
.single-post .entry-header .entry-image {
  margin-top: 0;
}