/* Custom CSS for P&P Consulting Blog Detail 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 */
.cs-breadcrumbs {
  background-color: transparent;
  padding: 20px 0 10px 0;
  font-size: 13px;
}
.cs-breadcrumbs ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cs-breadcrumbs li {
  color: #8c9096;
}
.cs-breadcrumbs li a {
  color: #8c9096;
  text-decoration: none;
  transition: color 0.3s;
}
.cs-breadcrumbs li a:hover {
  color: var(--gold-light);
}
.cs-breadcrumbs li + li::before {
  content: ">";
  padding: 0 8px;
  color: #ccc;
}

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

/* Header detail styles */
.detail-category-tag {
  background-color: var(--gold-light);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.blog-detail-wrap h1 {
  font-family: "Futura PT", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 15px;
}
.detail-intro-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-dark);
  font-weight: 600;
  margin-bottom: 25px;
}
.detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.meta-left {
  display: flex;
  gap: 20px;
  align-items: center;
}
.meta-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-left i {
  color: var(--gold-light);
}
.meta-share {
  display: flex;
  align-items: center;
  gap: 12px;
}
.meta-share span {
  font-weight: 700;
  color: var(--navy-dark);
}
.share-circles-wrap {
  display: flex;
  gap: 8px;
}
.share-circle-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  text-decoration: none;
  transition: all 0.3s;
  background: transparent;
  font-size: 12px;
}
.share-circle-btn:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: #ffffff;
}

/* Featured image */
.detail-featured-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}
.detail-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body typography */
.detail-text-content h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 35px 0 15px 0;
}
.detail-text-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.detail-checkmark-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.detail-checkmark-list li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.detail-checkmark-list li i {
  color: var(--gold-light);
  font-size: 16px;
  margin-top: 3px;
}
.detail-checkmark-list li strong {
  color: var(--navy-dark);
  font-weight: 700;
}

/* Quote box card */
.detail-quote-box {
  background-color: #faf6eb;
  border-radius: 12px;
  padding: 30px 40px;
  margin: 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.detail-quote-box .quote-icon {
  font-size: 32px;
  color: var(--gold-light);
  margin-top: -5px;
}
.detail-quote-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.detail-quote-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy-dark);
  font-weight: 600;
  margin: 0;
  max-width: 60%;
}
.detail-quote-author {
  border-left: 1.5px solid rgba(189, 156, 36, 0.3);
  padding-left: 20px;
  max-width: 35%;
}
.detail-quote-author h4 {
  font-family: "Futura PT", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0 0 4px 0;
}
.detail-quote-author span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Nav rows footer */
.detail-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1.5px solid var(--border-light);
  border-bottom: 1.5px solid var(--border-light);
  padding: 25px 0;
  margin: 50px 0;
}
.nav-link-block {
  max-width: 45%;
}
.nav-link-block.prev {
  text-align: left;
}
.nav-link-block.next {
  text-align: right;
}
.nav-link-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.nav-link-block.next .nav-link-label {
  justify-content: flex-end;
}
.nav-link-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}
.nav-link-title a {
  color: var(--navy-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-link-title a:hover {
  color: var(--gold-light);
}
.nav-separator {
  width: 1px;
  height: 45px;
  background-color: var(--border-light);
}

/* Sidebar 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;
}

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

/* Sidebar CTA Card */
.sidebar-cta-card {
  background-color: var(--navy-dark);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  margin-bottom: 40px;
  box-shadow: 0 10px 25px rgba(22, 24, 47, 0.15);
}
.sidebar-cta-card .cta-bg-deco {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar-cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.sidebar-cta-info {
  width: 60%;
}
.sidebar-cta-info h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 10px 0;
  line-height: 1.35;
}
.sidebar-cta-info p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}
.sidebar-cta-info .theme-btn {
  background-color: var(--gold-light);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}
.sidebar-cta-info .theme-btn:hover {
  background-color: #ffffff;
  color: var(--navy-dark);
}
.sidebar-cta-img {
  width: 35%;
  display: flex;
  justify-content: flex-end;
}
.sidebar-cta-img img {
  max-width: 90px;
  height: auto;
  display: block;
}

/* Bottom Gold CTA Bar */
.bottom-gold-cta-section {
  padding: 40px 0 40px 0;
  background-color: #ffffff;
}
.bottom-gold-cta-inner {
  background: linear-gradient(135deg, #c89e27 0%, #b38728 100%);
  border-radius: 12px;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(179, 135, 40, 0.15);
}
.bottom-gold-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bottom-gold-cta-left .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottom-gold-cta-left .icon-wrap i {
  font-size: 22px;
  color: #ffffff;
}
.bottom-gold-cta-text h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}
.bottom-gold-cta-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.bottom-gold-cta-inner .theme-btn {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: all 0.3s;
}
.bottom-gold-cta-inner .theme-btn:hover {
  background-color: #ffffff;
  color: var(--navy-dark);
}

/* Header active overrides */
.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;
  }
  .bottom-gold-cta-inner {
    padding: 25px 30px;
  }
}

@media (max-width: 991px) {
  .blog-detail-wrap h1 {
    font-size: 30px;
  }
  .detail-quote-box {
    flex-direction: column;
    padding: 25px 30px;
  }
  .detail-quote-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .detail-quote-content p {
    max-width: 100%;
  }
  .detail-quote-author {
    border-left: none;
    border-top: 1.5px solid rgba(189, 156, 36, 0.3);
    padding-left: 0;
    padding-top: 15px;
    max-width: 100%;
    width: 100%;
  }
  .bottom-gold-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  .bottom-gold-cta-left {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .detail-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .detail-nav-row {
    flex-direction: column;
    gap: 25px;
  }
  .nav-link-block {
    max-width: 100%;
    width: 100%;
  }
  .nav-link-block.next {
    text-align: left;
  }
  .nav-link-block.next .nav-link-label {
    justify-content: flex-start;
  }
  .nav-separator {
    display: none;
  }
}

@media (max-width: 575px) {
  .blog-detail-wrap h1 {
    font-size: 24px;
  }
  .detail-category-tag {
    margin-bottom: 15px;
  }
  .bottom-gold-cta-inner {
    padding: 25px 20px;
  }
  .bottom-gold-cta-text h3 {
    font-size: 16px;
  }
}
