/* =========================================================
   BLOG PAGE VARIABLES
========================================================= */
.ph-blog-page {
  --ph-green: #8bd132;
  --ph-dark-green: #173d24;
  --ph-deep-green: #0d2818;
  --ph-yellow: #f6c522;
  --ph-text: #5c675f;
  --ph-light: #f5f8f1;
  --ph-border: #e4e9df;
  --ph-radius: 22px;
  font-family: "DM Sans", sans-serif;
  color: #162119;
}

/* =========================================================
   CONTAINER
========================================================= */
.ph-blog-page .ph-container {
  width: min(calc(100% - 40px), 1180px);
  margin: auto;
}

/* =========================================================
   HERO
========================================================= */
.ph-blog-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(7, 35, 18, 0.94),
      rgba(17, 61, 31, 0.78),
      rgba(17, 61, 31, 0.38)
    ),
    url("https://www.poppyhillsyercaud.com/blogs/img/giant-swing-experience-poppy-hills.webp")
      center center / cover no-repeat;
}

/* Decorative circles */
.ph-blog-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  right: -180px;
  top: -180px;
}

.ph-blog-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  right: 100px;
  bottom: -180px;
}

.ph-blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 95px 0;
}

.ph-blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  margin-bottom: 22px;
}

.ph-blog-breadcrumb a {
  color: #fff;
}

.ph-blog-breadcrumb i {
  font-size: 9px;
  color: var(--ph-green);
}

.ph-blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ph-green);
  border: 1px solid rgba(139, 209, 50, 0.45);
  background: rgba(139, 209, 50, 0.1);
  padding: 7px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 18px;
}

.ph-blog-hero h1 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -2px;
  margin: 0 0 22px;
}

.ph-blog-hero h1 span {
  color: var(--ph-green);
}

.ph-blog-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

/* =========================================================
   INTRO
========================================================= */
.ph-blog-intro {
  padding: 75px 0 20px;
  text-align: center;
}

.ph-blog-label {
  display: block;
  color: var(--ph-dark-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ph-blog-intro h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--ph-green);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 14px;
}

.ph-blog-intro p {
  max-width: 650px;
  margin: auto;
  color: var(--ph-text);
  font-size: 15px;
}

/* =========================================================
   FILTER
========================================================= */
.ph-blog-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 65px;
}

.ph-blog-filter {
  border: 1px solid var(--ph-border);
  background: #fff;
  color: var(--ph-dark-green);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.ph-blog-filter:hover,
.ph-blog-filter.active {
  background: var(--ph-dark-green);
  border-color: var(--ph-dark-green);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   FEATURED BLOG
========================================================= */
.ph-featured-blog {
  margin-bottom: 85px;
}

.ph-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  background: var(--ph-dark-green);
  border-radius: var(--ph-radius);
  box-shadow: 0 25px 60px rgba(18, 50, 28, 0.13);
}

.ph-featured-image {
  min-height: 480px;
  overflow: hidden;
}

.ph-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.ph-featured-card:hover .ph-featured-image img {
  transform: scale(1.06);
}

.ph-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px;
  color: #fff;
}

.ph-featured-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--ph-yellow);
  color: #1c2a16;
  border-radius: 50px;
  padding: 6px 13px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.ph-featured-date {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  margin-bottom: 17px;
}

.ph-featured-date i {
  color: var(--ph-green);
  margin-right: 6px;
}

.ph-featured-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 18px;
}

.ph-featured-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.ph-featured-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--ph-green);
  color: #13220f;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  transition: 0.3s ease;
}

.ph-featured-button i {
  transition: transform 0.3s ease;
}

.ph-featured-button:hover {
  background: #fff;
  color: var(--ph-dark-green);
}

.ph-featured-button:hover i {
  transform: translateX(5px);
}

/* =========================================================
   SECTION HEADING
========================================================= */
.ph-blog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.ph-blog-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ph-green);
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
}

.ph-blog-heading p {
  max-width: 450px;
  color: var(--ph-text);
  font-size: 14px;
  margin: 0;
}

/* =========================================================
   BLOG GRID
========================================================= */
.ph-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  padding-bottom: 90px;
}

/* =========================================================
   BLOG CARD
========================================================= */
.ph-blog-card {
  background: #fff;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.ph-blog-card:hover {
  transform: translateY(-9px);
  border-color: rgba(139, 209, 50, 0.6);
  box-shadow: 0 25px 55px rgba(18, 50, 28, 0.11);
}

.ph-blog-image {
  position: relative;
  height: 245px;
  overflow: hidden;
}

.ph-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.ph-blog-card:hover .ph-blog-image img {
  transform: scale(1.08);
}

/* Category */
.ph-blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #fff;
  color: var(--ph-dark-green);
  padding: 6px 11px;
  border-radius: 50px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Date */
.ph-blog-date {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 53px;
  height: 53px;
  border-radius: 12px;
  background: var(--ph-green);
  color: #17230f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.ph-blog-date strong {
  font-size: 17px;
  font-weight: 800;
}

.ph-blog-date small {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Content */
.ph-blog-card-content {
  padding: 24px;
}

.ph-blog-card-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 12px;
}

.ph-blog-card-content h3 a {
  color: #172119;
  transition: color 0.3s;
}

.ph-blog-card:hover .ph-blog-card-content h3 a {
  color: #609f1d;
}

.ph-blog-card-content p {
  color: var(--ph-text);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 19px;
}

.ph-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ph-dark-green);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 800;
}

.ph-blog-read i {
  color: var(--ph-green);
  transition: transform 0.3s;
}

.ph-blog-read:hover i {
  transform: translateX(5px);
}

/* =========================================================
   ADVENTURE CTA
========================================================= */
.ph-blog-adventure {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #0d2918, #1d522d);
  padding: 75px 0;
}

.ph-blog-adventure::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -160px;
  top: -200px;
}

.ph-adventure-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ph-adventure-content span {
  color: var(--ph-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 800;
}

.ph-adventure-content h2 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.1;
  margin: 10px 0 13px;
}

.ph-adventure-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.ph-adventure-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--ph-green);
  color: #13210f;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  transition: 0.3s;
}

.ph-adventure-button:hover {
  background: #fff;
  transform: translateY(-3px);
  color: var(--ph-dark-green);
}

/* =========================================================
   EXISTING CONTACT SECTION SPACING
========================================================= */
.ph-blog-bottom-space {
  padding: 65px 0 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {
  .ph-featured-card {
    grid-template-columns: 1fr;
  }

  .ph-featured-image {
    min-height: 380px;
  }

  .ph-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ph-blog-page .ph-container {
    width: calc(100% - 28px);
  }

  .ph-blog-hero {
    min-height: 420px;
  }

  .ph-blog-hero-content {
    padding: 80px 0;
  }

  .ph-blog-hero h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .ph-blog-hero p {
    font-size: 14px;
  }

  .ph-blog-intro {
    padding-top: 60px;
  }

  .ph-blog-filters {
    margin-bottom: 45px;
  }

  .ph-featured-image {
    min-height: 270px;
  }

  .ph-featured-content {
    padding: 30px 24px;
  }

  .ph-blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ph-blog-image {
    height: 230px;
  }

  .ph-blog-heading {
    display: block;
  }

  .ph-blog-heading p {
    margin-top: 12px;
  }

  .ph-adventure-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ph-blog-hero h1 {
    font-size: 36px;
  }

  .ph-blog-filter {
    padding: 9px 13px;
    font-size: 10px;
  }
}
