/* =============================================================
   INNER PAGE STYLES — blog single, service single, generic page,
   archives. Loaded after style.css, uses the same design tokens.
============================================================= */

/* ---------- Page header banner (template-parts/page-header.php) ---------- */
.page-header-banner {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(201,168,76,0.12), transparent 60%);
  pointer-events: none;
}
.page-header-banner .section-heading { margin-bottom: 6px; }

/* Breadcrumbs */
.jpi-breadcrumbs {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.jpi-breadcrumbs a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.jpi-breadcrumbs a:hover { color: var(--gold); }
.jpi-breadcrumbs .sep { margin: 0 8px; opacity: 0.4; }

/* ---------- Entry content (blog post / page body) ---------- */
.entry-content { color: var(--gray-text); line-height: 1.85; font-size: 1.05rem; }
.entry-content h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin: 40px 0 16px;
}
.entry-content h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 32px 0 14px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content ul,
.entry-content ol { margin: 0 0 20px 1.3rem; padding: 0; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--slate); text-decoration: underline; text-decoration-color: rgba(45,74,110,0.3); }
.entry-content a:hover { color: var(--gold); }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 24px;
  margin: 28px 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
}
.entry-content img {
  border-radius: var(--radius-lg);
  margin: 24px 0;
}
.entry-content figure { margin: 24px 0; }
.entry-content figcaption {
  font-size: 0.82rem;
  color: var(--gray-text);
  text-align: center;
  margin-top: 8px;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.entry-content table th,
.entry-content table td { border: 1px solid var(--gray-soft); padding: 10px 14px; text-align: left; }
.entry-content table th { background: var(--cream); font-weight: 600; }
.entry-content hr { border: none; border-top: 1px solid var(--gray-soft); margin: 36px 0; }

/* ---------- Article meta row ---------- */
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-text);
}
.article-meta-row i { color: var(--gold); }

/* ---------- Author box ---------- */
.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
}
.author-box .author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  flex-shrink: 0;
}
.author-box .author-name { font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.author-box .author-bio { font-size: 0.88rem; color: var(--gray-text); line-height: 1.6; }

/* ---------- Tag pills ---------- */
.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pills a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border: 1.5px solid var(--gold);
  border-radius: 100px;
  color: var(--gold);
  transition: var(--transition);
}
.tag-pills a:hover { background: var(--gold); color: var(--navy); }

/* ---------- Prev/Next post navigation ---------- */
.post-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-soft);
}
.post-nav-links .nav-link-box {
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: var(--transition);
}
.post-nav-links .nav-link-box:hover { border-color: var(--gold); transform: translateY(-2px); }
.post-nav-links .nav-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; display: block; margin-bottom: 6px; }
.post-nav-links .nav-title { color: var(--navy); font-weight: 600; font-size: 0.92rem; line-height: 1.4; }
.post-nav-links .next-post { text-align: right; }
@media (max-width: 575.98px) {
  .post-nav-links { grid-template-columns: 1fr; }
  .post-nav-links .next-post { text-align: left; }
}

/* ---------- Sidebar widgets / CTA card ---------- */
.sidebar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.sidebar-card h4 { color: var(--navy); margin-bottom: 12px; font-size: 1.1rem; }
.sidebar-card p { color: var(--gray-text); font-size: 0.92rem; margin-bottom: 20px; line-height: 1.7; }
.widget-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 14px;
}

/* ---------- Comments ---------- */
.comment-list { list-style: none; padding: 0; margin: 32px 0; }
.comment-list .comment-body {
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.comment-respond textarea { min-height: 120px; }

/* ---------- WP core pagination ---------- */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pagination .page-numbers:hover,
.nav-links .page-numbers:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Single service page ---------- */
.service-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.service-highlight-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--navy);
}
.service-highlight-grid li i { color: var(--gold); margin-top: 3px; }
@media (max-width: 575.98px) {
  .service-highlight-grid { grid-template-columns: 1fr; }
}

.related-services-list { list-style: none; padding: 0; margin: 0; }
.related-services-list li { margin-bottom: 12px; }
.related-services-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
}
.related-services-list a:hover { color: var(--gold); padding-left: 4px; }

/* ---------- Alerts (contact form feedback) ---------- */
.alert { border-radius: var(--radius); padding: 14px 18px; font-size: 0.9rem; margin-bottom: 20px; }
.alert-success { background: rgba(45,106,79,0.12); color: #2D6A4F; border: 1px solid rgba(45,106,79,0.3); }
.alert-danger { background: rgba(179,38,30,0.1); color: #B3261E; border: 1px solid rgba(179,38,30,0.3); }

/* ============================================================
   PACKAGE CONSULTATION MODAL
============================================================ */
.jpi-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 25, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.jpi-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.jpi-modal-box {
  position: relative;
  background: #0d1627;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  transform: translateY(24px);
  transition: transform 0.28s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.jpi-modal-overlay.is-open .jpi-modal-box {
  transform: translateY(0);
}
.jpi-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.jpi-modal-close:hover {
  color: var(--gold);
}
.jpi-modal-header {
  margin-bottom: 28px;
}
.jpi-modal-header .eyebrow {
  display: block;
  margin-bottom: 6px;
}
.jpi-modal-header h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 0 8px;
}
.jpi-modal-header p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.7;
}
.jpi-modal-form .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
@media (max-width: 575.98px) {
  .jpi-modal-box {
    padding: 32px 20px 24px;
  }
}

/* ============================================================
   PAGE-SPECIFIC TEMPLATE STYLES
============================================================ */

/* About Us — mission/vision cards */
.about-mv-card {
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
}
.about-mv-card h3 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 14px;
}
.about-mv-card p {
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-size: .92rem;
  margin: 0;
}
.about-mv-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 1.15rem;
}

/* About Us — feature cards (light bg) */
.about-feature-card {
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: border-color .3s, transform .3s;
}
.about-feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.about-feature-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 1.1rem;
}
.about-feature-card h5 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-feature-card p {
  color: var(--gray-text);
  font-size: .88rem;
  line-height: 1.75;
  margin: 0;
}

/* Why Choose Us — full feature cards (dark bg) */
.why-feature-card-full {
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  background: rgba(255,255,255,0.03);
  transition: border-color .3s, transform .3s;
}
.why-feature-card-full:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}
.why-feature-icon-lg {
  width: 50px; height: 50px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1.2rem;
}
.why-feature-card-full h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-feature-card-full p {
  color: rgba(255,255,255,0.55);
  font-size: .88rem;
  line-height: 1.75;
  margin: 0;
}

/* Services page — inline highlight list on service cards */
.service-pg-highlights {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.service-pg-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 7px;
}
.service-pg-highlights li i { color: var(--gold); font-size: .8rem; flex-shrink: 0; }

/* Packages — comparison table */
.pkg-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.pkg-compare-table thead tr {
  background: rgba(201,168,76,0.12);
}
.pkg-compare-table th {
  padding: 14px 16px;
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pkg-compare-table th:first-child { text-align: left; }
.pkg-compare-table td {
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  text-align: center;
  vertical-align: middle;
}
.pkg-compare-table td:first-child { text-align: left; color: rgba(255,255,255,0.85); font-weight: 500; }
.pkg-compare-table tbody tr:nth-child(odd) { background: rgba(255,255,255,0.02); }
.pkg-compare-table .text-gold { color: var(--gold); font-size: 1rem; }
.pkg-compare-table .text-muted { color: rgba(255,255,255,0.2); font-size: 1rem; }
