/* Custom CSS for P&P Consulting Blog Page */

:root {
  --navy-dark: #16182F;
  --gold-primary: #b38728;
  --gold-light: #c89e27;
  --text-dark: #16182F;
  --text-muted: #525252;
  --bg-dark: #0d1326;
  --bg-light: #f7f9fa;
  --border-light: #e4e4e4;
}

/* Breadcrumbs Section */
.blog-breadcrumbs {
  background-color: transparent;
  padding: 20px 0 10px 0;
  font-size: 13px;
}
.blog-breadcrumbs ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-breadcrumbs li {
  color: #8c9096;
}
.blog-breadcrumbs li a {
  color: #8c9096;
  text-decoration: none;
  transition: color 0.3s;
}
.blog-breadcrumbs li a:hover {
  color: var(--gold-light);
}
.blog-breadcrumbs li + li::before {
  content: ">";
  padding: 0 8px;
  color: #ccc;
}

/* Section Title flanked styles */
.flanked-title-wrap {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.flanked-title-wrap h2 {
  font-family: "Futura PT", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin: 0;
}
.flanked-title-wrap h2::before,
.flanked-title-wrap h2::after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 1px;
  background-color: var(--gold-light);
  vertical-align: middle;
}
.latest-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 10px;
}
.latest-header-flex .flanked-title-wrap {
  margin-bottom: 0;
}
.latest-header-flex .flanked-title-wrap h2::before,
.latest-header-flex .flanked-title-wrap h2::after {
  display: none;
}
.latest-header-flex .view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.3s;
}
.latest-header-flex .view-all-link:hover {
  color: var(--navy-dark);
}

/* Hero Section */
.blog-hero-section {
  padding: 40px 0 80px 0;
  background-color: #ffffff;
}
.blog-hero-content {
  padding-top: 40px;
}
.blog-hero-content h1 {
  font-family: "Futura PT", sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.blog-hero-content .title-underline {
  width: 70px;
  height: 4px;
  background-color: var(--gold-light);
  margin-bottom: 30px;
}
.blog-hero-content p {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy-dark);
  max-width: 480px;
}

/* Hero Curved Graphics */
.blog-hero-graphics-wrap {
  position: relative;
  width: 100%;
}
.blog-hero-graphics {
  width: 100%;
  height: 400px;
  border-radius: 350px 0 0 350px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  z-index: 2;
  position: relative;
}
.blog-hero-graphics img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-hero-deco-dot {
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--gold-light);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(179, 135, 40, 0.3);
}

/* Layout Grid: main left and sidebar right */
.blog-main-section {
  padding:70px 0 70px 0;
  background-color: #ffffff;
}

/* Featured Article styling */
.featured-article-wrap {
  margin-bottom: 60px;
}
.featured-card {
  display: flex;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.featured-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
}
.featured-img-wrap {
  width: 50%;
  position: relative;
  min-height: 320px;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-content-wrap {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-tag {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  width: max-content;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.featured-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-date i {
  color: var(--gold-light);
}
.featured-content-wrap h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin-bottom: 15px;
}
.featured-content-wrap p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.featured-content-wrap .theme-btn {
  background-color: var(--gold-light);
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  width: max-content;
  font-size: 13px;
  transition: all 0.3s;
}
.featured-content-wrap .theme-btn:hover {
  background-color: var(--navy-dark);
}

/* Latest Articles Grid */
/* .latest-articles-wrap {
  margin-bottom: 40px;
} */
.blog-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(189, 156, 36, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}
.blog-card .card-thumb-wrap {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.blog-card .card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card .card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--gold-light);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
  letter-spacing: 0.5px;
}
.blog-card .card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card .card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card .card-date i {
  color: var(--gold-light);
}
.blog-card h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}
.blog-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.blog-card .read-more-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.blog-card .read-more-link:hover {
  gap: 10px;
}

/* Sidebar Styling widgets */
.blog-sidebar-wrap {
  padding-left: 20px;
}
.widget-title h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  margin-bottom: 25px;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 12px;
  letter-spacing: 0.5px;
}

/* Search widget */
.widget.search-widget {
  margin-bottom: 40px;
}
.widget.search-widget form {
  display: flex;
}
.widget.search-widget input {
  width: 100%;
  padding: 12px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: 6px 0 0 6px;
  font-size: 13.5px;
  outline: none;
}
.widget.search-widget button {
  background-color: var(--gold-light);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}
.widget.search-widget button:hover {
  background-color: var(--navy-dark);
}

/* Categories widget */
.widget.category-widget {
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
}
.widget.category-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget.category-widget li {
  margin-bottom: 15px;
}
.widget.category-widget li:last-child {
  margin-bottom: 0;
}
.widget.category-widget a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy-dark);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.widget.category-widget a:hover {
  color: var(--gold-light);
}
.widget.category-widget .cat-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.widget.category-widget .cat-label i {
  color: var(--gold-light);
  font-size: 13px;
}
.widget.category-widget .cat-count {
  color: var(--text-muted);
  font-size: 12px;
}

/* Popular Posts widget */
.widget.popular-widget {
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
}
.widget.popular-widget .popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget.popular-widget li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}
.widget.popular-widget li:last-child {
  margin-bottom: 0;
}
.widget.popular-widget .popular-thumb {
  width: 65px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.widget.popular-widget .popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget.popular-widget .popular-info h4 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 5px 0;
}
.widget.popular-widget .popular-info h4 a {
  color: var(--navy-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.widget.popular-widget .popular-info h4 a:hover {
  color: var(--gold-light);
}
.widget.popular-widget .popular-info span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Newsletter Subscribe Widget */
.widget.newsletter-widget {
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 35px 30px;
  text-align: center;
  background-color: #ffffff;
  margin-bottom: 40px;
}
.newsletter-icon-wrap {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #faf6eb;
  border: 1px solid rgba(189, 156, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}
.newsletter-icon-wrap i {
  font-size: 24px;
  color: var(--gold-light);
}
.widget.newsletter-widget h4 {
  font-family: "Futura PT", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  margin: 0 0 5px 0;
  letter-spacing: 1px;
}
.widget.newsletter-widget h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.widget.newsletter-widget p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.widget.newsletter-widget input {
  width: 100%;
  padding: 10px 15px;
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  font-size: 12.5px;
  outline: none;
  margin-bottom: 15px;
  text-align: center;
}
.widget.newsletter-widget .theme-btn {
  width: 100%;
  background-color: var(--gold-light);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.widget.newsletter-widget .theme-btn:hover {
  background-color: var(--navy-dark);
}

/* CTA Section */
.cta-banner-section {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}
.cta-banner-inner {
  background: linear-gradient(135deg, #c89e27 0%, #b38728 100%);
  border-radius: 16px;
  padding: 35px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(179, 135, 40, 0.2);
}
.cta-left-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
}
.cta-icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-icon-circle i {
  font-size: 28px;
  color: #ffffff;
}
.cta-text-wrap h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}
.cta-text-wrap p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.cta-banner-inner .theme-btn {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 14px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  text-decoration: none;
  transition: all 0.3s;
}
.cta-banner-inner .theme-btn:hover {
  background-color: #ffffff;
  color: var(--navy-dark);
  transform: translateY(-2px);
}

/* Header customization */
.wpo-site-header .navbar-nav li a.blog-active {
  color: var(--gold-light) !important;
  border-bottom: 2px solid var(--gold-light);
}

/* Responsive styles */
@media (max-width: 1199px) {
  .blog-sidebar-wrap {
    padding-left: 0;
    margin-top: 50px;
  }
  .cta-banner-inner {
    padding: 30px 40px;
  }
}

@media (max-width: 991px) {
  .blog-hero-section {
    padding: 30px 0 60px 0;
  }
  .blog-hero-content {
    text-align: center;
    padding-top: 0;
    margin-bottom: 50px;
  }
  .blog-hero-content .title-underline {
    margin: 0 auto 20px auto;
  }
  .blog-hero-content p {
    margin: 0 auto;
  }
  .blog-hero-graphics {
    border-radius: 20px;
    height: 300px;
  }
  .blog-hero-deco-dot {
    display: none;
  }
  .featured-card {
    flex-direction: column;
  }
  .featured-img-wrap {
    width: 100%;
    height: 250px;
    min-height: 250px;
  }
  .featured-content-wrap {
    width: 100%;
    padding: 30px;
  }
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  .cta-left-wrap {
    flex-direction: column;
    gap: 15px;
  }
  .flanked-title-wrap h2::before,
  .flanked-title-wrap h2::after {
    width: 60px;
  }
}

@media (max-width: 575px) {
  .blog-hero-content h1 {
    font-size: 46px;
  }
  .cta-banner-inner {
    padding: 25px 20px;
  }
  .cta-text-wrap h3 {
    font-size: 20px;
  }
  .flanked-title-wrap h2::before,
  .flanked-title-wrap h2::after {
    width: 40px;
  }
}
