/* Walkers-style blog for My Perfect Party — MPP fonts & brand colours */

/* Intro above listing (category-style page content) */
.ws-blog-intro {
  background: #fff;
  padding: 2.5rem 0 0.5rem;
  text-align: center;
}

.ws-blog-intro__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.ws-blog-intro h1,
.ws-blog-intro h2 {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0 0 1.25rem;
  line-height: 1.25;
}

.ws-blog-intro p {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.ws-blog-intro a {
  color: #da9ec3;
  font-weight: 600;
  text-decoration: underline;
}

.ws-blog {
  background: #fff;
  padding: 1.5rem 0 3rem;
}

.ws-blog .ws-blog-heading {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 40rem;
}

.ws-blog .ws-blog-heading h1,
.ws-blog .ws-blog-heading h2 {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #2a2a2a;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.ws-blog-layout {
  display: block;
}

.ws-blog-main {
  width: 100%;
  min-width: 0;
}

.ws-blog-sidebar {
  display: none !important;
}

.ws-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .ws-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ws-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ws-blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ws-blog-card a {
  text-decoration: none;
}

.ws-blog-card__img {
  display: block;
  margin-bottom: 1.25rem;
}

.ws-blog-card__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
}

.ws-blog-card__title {
  margin: 0.5rem 0;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #2a2a2a;
}

.ws-blog-card__title a {
  color: #2a2a2a;
}

.ws-blog-card__title a:hover {
  color: #da9ec3;
}

.ws-blog-card__desc {
  margin: 0 0 0.5rem;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.ws-blog-sidebar {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

.ws-blog-sidebar h3,
.ws-blog-sidebar h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0 0 0.75rem;
}

.ws-blog-sidebar .sidebox,
.ws-blog-sidebar .sidebar {
  background: transparent;
  min-height: 0;
  padding: 0;
  border: 0;
}

.ws-blog-sidebar ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.ws-blog-sidebar ul ul {
  margin: 0.25rem 0 0.75rem 1rem;
}

.ws-blog-sidebar li,
.ws-blog-sidebar a {
  color: #da9ec3;
  font-size: 0.95rem;
}

.ws-blog-sidebar a:hover {
  color: #7097a6;
}

.ws-blog-sidebar .form-group {
  margin-bottom: 0.75rem;
}

.ws-blog-sidebar input[type="text"],
.ws-blog-sidebar input[type="date"],
.ws-blog-sidebar input[type="search"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  color: #2a2a2a;
  font-size: 0.9rem;
}

.ws-blog-sidebar .btn,
.ws-blog-sidebar button,
.ws-blog-sidebar input[type="submit"] {
  background: #da9ec3;
  border: 0;
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.ws-blog-sidebar .btn:hover,
.ws-blog-sidebar button:hover,
.ws-blog-sidebar input[type="submit"]:hover {
  background: #c989b2;
}

.ws-blog-pagination {
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Hide teal page-title banner on blog pages */
body.ws-blog-page .page-title {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.ws-blog-page #content > .grid-container {
  max-width: 1280px;
}

/* Remove template padding gap above full-bleed detail hero */
body.ws-blog-detail #content {
  padding-top: 0;
  padding-bottom: 0;
}

body.ws-blog-detail #content > .grid-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body.ws-blog-detail .page-content {
  margin-bottom: 0;
}

/* ===== Detail: Walkers-style hero overlay, MPP brand ===== */
.ws-blog-detail-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 !important; /* override Siteglide Studio .sg-blog padding */
}

.ws-blog-detail-wrap .full-det-img {
  height: 500px;
  overflow: hidden;
  position: relative;
  background: #2a2a2a;
}

.ws-blog-detail-wrap .full-det-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.7;
  display: block;
}

.ws-blog-detail-wrap .blog-s-head {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  padding: 0 20px;
  transform: translateY(-50%);
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  z-index: 9;
}

.ws-blog-detail-wrap .full-det-img h1,
.ws-blog-detail-wrap .blog-s-head h1 {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 3rem;
  z-index: 9;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.ws-blog-detail-wrap .container {
  max-width: 1280px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.ws-blog-detail-wrap .blog-inner-wp {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #2a2a2a;
  font-weight: 300;
}

.ws-blog-detail-wrap .blog-inner-wp p {
  margin-bottom: 15px;
}

.ws-blog-detail-wrap .blog-inner-wp ul,
.ws-blog-detail-wrap .blog-inner-wp ol {
  margin-bottom: 20px;
  padding-left: 1.25rem;
}

.ws-blog-detail-wrap .blog-inner-wp ul li {
  margin-bottom: 5px;
}

.ws-blog-detail-cats {
  margin-bottom: 1.25rem;
}

.ws-blog-detail-wrap .category-c-blg {
  background: #da9ec3;
  padding: 5px 20px;
  border-radius: 5px;
  color: #fff;
  margin: 0 0.35rem 0.35rem 0;
  display: inline-block;
  border: 1px solid #da9ec3;
  transition: all 0.5s;
  text-decoration: none;
  font-size: 0.9rem;
}

.ws-blog-detail-wrap .category-c-blg:hover {
  background: transparent;
  color: #da9ec3;
}

.ws-blog-post-nav-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 2.5rem;
}

.ws-blog-post-nav {
  margin-top: 0;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.ws-blog-post-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: stretch;
}

.ws-blog-post-nav__link {
  flex: 1 1 220px;
  max-width: 48%;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.ws-blog-post-nav__link:hover {
  border-color: #da9ec3;
  box-shadow: 0 4px 12px rgba(218, 158, 195, 0.2);
}

.ws-blog-post-nav__link--next {
  text-align: right;
  margin-left: auto;
}

.ws-blog-post-nav__link--empty {
  border: 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.ws-blog-post-nav__dir {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #da9ec3;
}

.ws-blog-post-nav__title {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.35;
}

.ws-blog-post-nav__link:hover .ws-blog-post-nav__title {
  color: #da9ec3;
}

.find-it {
  background: #7097a6 url(../images/bg-pagetitle.png) no-repeat center center / cover;
  background-size: cover;
  background-position: center;
  padding: 90px 0;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.find-it .container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 9;
  text-align: center;
}

.find-it h4 {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 2.25rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 14px;
}

.find-it p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #ffffff;
  font-weight: 300;
  margin: 0 0 1rem;
}

.find-a {
  margin-top: 37px;
}

.find-it::after {
  content: "";
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
}

.find-a a {
  background: #da9ec3;
  display: inline-block;
  padding: 13px 23px;
  color: #fff;
  border-radius: 5px;
  font-size: 17px;
  transition: all 0.2s;
  text-decoration: none;
}

.find-a a:hover {
  background: #c989b2;
  color: #fff;
}

@media (max-width: 767px) {
  .ws-blog-intro h1,
  .ws-blog-intro h2 {
    font-size: 1.75rem;
  }

  .ws-blog-detail-wrap .full-det-img {
    height: 320px;
  }

  .ws-blog-detail-wrap .full-det-img h1,
  .ws-blog-detail-wrap .blog-s-head h1 {
    font-size: 1.75rem;
  }

  .find-it {
    padding: 60px 0;
  }

  .find-it h4 {
    font-size: 1.75rem;
  }

  .ws-blog-post-nav__link,
  .ws-blog-post-nav__link--next {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}
