/* ===================== PAGE SPECIFIC ===================== */
body {
  background: #f4f6fa;
  color: #1a2640;
}

/* ------ Hero Header ------ */
.pp-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--navy-900) 0%,
    var(--navy-700) 60%,
    #1c3668 100%
  );
  padding: 160px 0 90px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.pp-hero .bg-image-wrap {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

.pp-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(184, 145, 58, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(184, 145, 58, 0.08) 0%,
      transparent 40%
    );
}

.pp-hero-deco {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(184, 145, 58, 0.15);
  pointer-events: none;
}

.pp-hero-deco::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(184, 145, 58, 0.1);
}

.pp-hero .container {
  position: relative;
  z-index: 2;
}

.pp-breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.pp-breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  text-decoration: none;
}

.pp-breadcrumb-nav a:hover {
  color: var(--gold-300);
}

.pp-breadcrumb-nav .sep {
  font-size: 0.55rem;
  opacity: 0.4;
}

.pp-breadcrumb-nav .active {
  color: var(--gold-300);
  font-weight: 700;
}

.pp-hero-title {
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.pp-hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.pp-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.pp-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pp-hero-meta i {
  color: var(--gold-300);
}

/* ------ Breadcrumb ------ */
.pp-breadcrumb-wrap {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf2;
  padding: 12px 0;
}

.pp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #6b7a99;
}

.pp-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.pp-breadcrumb a:hover {
  color: var(--gold-500, #b8913a);
}

.pp-breadcrumb .active {
  color: var(--gold-500, #b8913a);
  font-weight: 600;
}

.pp-breadcrumb i {
  font-size: 0.65rem;
}

/* ------ Layout ------ */
.pp-content-wrap {
  padding: 48px 0 72px;
}

/* TOC Sidebar */

.pp-toc {
  position: relative;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.07);
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 145, 58, 0.3) transparent;
}

.pp-toc::-webkit-scrollbar {
  width: 4px;
}

.pp-toc::-webkit-scrollbar-thumb {
  background: rgba(184, 145, 58, 0.3);
  border-radius: 4px;
}

.pp-toc::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500, #b8913a), transparent);
  border-radius: 0 16px;
}

.pp-toc-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy-900, #0a1628);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-toc-title i {
  color: var(--gold-500, #b8913a);
}

.pp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pp-toc-list li {
  margin-bottom: 2px;
}

.pp-toc-list li a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #5a6880;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  line-height: 1.4;
}

.pp-toc-list li a:hover,
.pp-toc-list li a.active {
  background: rgba(184, 145, 58, 0.08);
  color: var(--gold-600, #9a7528);
}

.pp-toc-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-600, #9a7528);
  background: rgba(184, 145, 58, 0.12);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ------ Article ------ */

.pp-section-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 32px;
  margin-bottom: 20px;
  scroll-margin-top: 110px;
  box-shadow: 0 1px 8px rgba(10, 22, 40, 0.05);
}

.pp-section-block:hover {
  border-color: rgba(184, 145, 58, 0.3);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.09);
}

.pp-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef0f4;
}

.pp-sec-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(184, 145, 58, 0.08);
  border: 1px solid rgba(184, 145, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-500, #b8913a);
  font-size: 1rem;
}

.pp-sec-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900, #0a1628);
  margin: 3px 0 3px;
  line-height: 1.3;
}

.pp-sec-num {
  font-size: 0.75rem;
  color: #8a97b0;
  margin-bottom: 0;
}

.pp-text {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.95;
}

.pp-text p {
  margin-bottom: 14px;
}

.pp-text p:last-child {
  margin-bottom: 0;
}

.pp-text strong {
  color: var(--navy-800, #0f2040);
  font-weight: 700;
}

.pp-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
}

.pp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.87rem;
  color: #4a5568;
  border-bottom: 1px solid #f0f2f7;
  line-height: 1.6;
}

.pp-list li:last-child {
  border-bottom: none;
}

.pp-list li i {
  color: var(--gold-500, #b8913a);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.pp-highlight-box {
  background: rgba(184, 145, 58, 0.06);
  border: 1px solid rgba(184, 145, 58, 0.22);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  font-size: 0.86rem;
  color: #4a5568;
  line-height: 1.7;
  margin-top: 0;
}

.pp-highlight-box i {
  color: var(--gold-500, #b8913a);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  margin: 14px 0;
}

.pp-table th {
  background: rgba(184, 145, 58, 0.08);
  color: var(--gold-600, #9a7528);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 14px;
  border: none;
}

.pp-table th:first-child {
  border-radius: 8px 0 0 8px;
}

.pp-table th:last-child {
  border-radius: 0 8px 8px 0;
}

.pp-table td {
  background: #f8f9fc;
  color: #4a5568;
  font-size: 0.83rem;
  padding: 10px 14px;
  border: none;
  vertical-align: top;
  line-height: 1.6;
}

.pp-table td:first-child {
  border-radius: 8px 0 0 8px;
  color: var(--navy-800, #0f2040);
  font-weight: 600;
}

.pp-table td:last-child {
  border-radius: 0 8px 8px 0;
}

/* Contact card */
.pp-contact-card {
  background: linear-gradient(
    135deg,
    rgba(184, 145, 58, 0.07) 0%,
    rgba(10, 22, 40, 0.04) 100%
  );
  border: 1px solid rgba(184, 145, 58, 0.25);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.pp-contact-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900, #0a1628);
  margin-bottom: 8px;
}

.pp-contact-card p {
  font-size: 0.84rem;
  color: #5a6880;
  margin-bottom: 16px;
}

.pp-contact-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pp-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid #dde3ee;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.83rem;
  color: #4a5568;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.pp-contact-link:hover {
  border-color: var(--gold-500, #b8913a);
  color: var(--gold-600, #9a7528);
  box-shadow: 0 2px 10px rgba(184, 145, 58, 0.15);
}

.pp-contact-link i {
  color: var(--gold-500, #b8913a);
}

/* Cookie banner example */
.pp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(184, 145, 58, 0.1);
  border: 1px solid rgba(184, 145, 58, 0.25);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600, #9a7528);
  margin-bottom: 12px;
}

@media (max-width: 575px) {
  .pp-section-block {
    padding: 20px 16px;
  }

  .pp-hero {
    padding: 130px 0 60px;
    min-height: 320px;
  }

  .pp-hero-deco {
    display: none;
  }
}

/* Sticky sidebar — works now that overflow-x:hidden removed from html */
.pp-content-wrap .row {
  align-items: flex-start;
}

.pp-content-wrap .col-lg-3 {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: fit-content;
}

.pp-toc {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
