/* Reset & Fonts */
.dsh-full-page-wrapper {
  font-family: 'Montserrat', sans-serif;
  color: #1a1d24;
}

/* 1. Full-Width Top Banner */
.custom-hero-banner {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 440px;
  background-image: url('https://www.dentistsurreyhills.com.au/wp-content/uploads/2026/08/LQC_1866-scaled-1.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.custom-hero-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(62, 115, 150, 0.52);
  z-index: 1;
}

.custom-hero-banner .banner-content-wrapper {
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 90px;
  max-width: 1240px;
  margin: 0 auto;
}

.custom-hero-banner .banner-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f1c768;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.custom-hero-banner .banner-title {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.custom-hero-banner .banner-btn {
  background-color: #f1c768;
  color: #2b303a;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  padding: 8px 24px;
  border-radius: 2px;
  border: none;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.custom-hero-banner .banner-btn:hover {
  background-color: #e5b955;
  color: #1a1d24;
  transform: translateY(-1px);
}

.custom-hero-banner .banner-phone {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.custom-hero-banner .banner-phone a {
  color: #ffffff;
  text-decoration: none;
}

.custom-hero-banner .banner-bottom-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55px;
  z-index: 3;
  pointer-events: none;
}

.custom-hero-banner .banner-bottom-shape svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 2. Blog Grid Listing */
.custom-blog-section {
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom: 80px;
}

.custom-blog-container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.custom-blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.custom-blog-thumb-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-top-right-radius: 48px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 4px;
  background-color: #f1f3f5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.custom-blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.custom-blog-card:hover .custom-blog-thumb {
  transform: scale(1.03);
}

.custom-blog-thumb.placeholder-thumb {
  background: linear-gradient(135deg, #3d88b4, #73bfe8);
}

.custom-blog-body {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.custom-blog-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.custom-blog-title a {
  color: #1a1d24;
  text-decoration: none;
  transition: color 0.2s ease;
}

.custom-blog-title a:hover {
  color: #d8aa35;
}

.custom-blog-excerpt {
  font-size: 16px;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 15px;
}

.custom-blog-meta {
  margin-top: auto;
  padding-bottom: 14px;
}

.custom-blog-meta time {
  font-size: 0.82rem;
  font-weight: 500;
  color: #777777;
}

.custom-blog-btn {
  background-color: #e5b955;
  color: #1a1d24 !important;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  padding: 8px 18px;
  border-radius: 2px;
  border: none;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  align-self: flex-start;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.custom-blog-btn:hover {
  background-color: #d4a73e;
  color: #000000;
  transform: translateY(-1px);
}

/* Pagination */
.custom-blog-pagination ul.page-numbers {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.custom-blog-pagination ul.page-numbers li a,
.custom-blog-pagination ul.page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid #dee2e6;
  color: #333333;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.custom-blog-pagination ul.page-numbers li span.current {
  background-color: #e5b955;
  border-color: #e5b955;
  color: #1a1d24;
}

.custom-blog-pagination ul.page-numbers li a:hover {
  background-color: #f8f9fa;
  border-color: #ced4da;
}

@media (max-width: 768px) {
  .custom-hero-banner {
    min-height: 340px;
  }
  .custom-hero-banner .banner-title {
    font-size: 2.1rem;
  }
}
