/* ============================================
   CAMBAY SOLUTIONS — INNER PAGE STYLES
============================================ */

/* ─── INNER PAGE HERO ─── */
.inner-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 60%, var(--navy-l) 100%);
  padding: 100px 0 80px;
  margin-top: 76px;
  overflow: hidden;
  z-index: 1;
}
.inner-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.inner-page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  top: -200px; right: -100px; pointer-events: none;
}
.inner-hero-content {
  position: relative; z-index: 2;
}
.inner-hero-title {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 10px 0 18px;
}
.inner-hero-shape {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 50px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.section-tinted ~ .inner-page-hero + .section-tinted .inner-hero-shape {
  background: var(--bg);
}

/* ─── BREADCRUMB ─── */
.inner-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.inner-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: 0.2s;
}
.inner-breadcrumb a:hover { color: #fff; }
.inner-breadcrumb i { font-size: 10px; }
.inner-breadcrumb span { color: rgba(255,255,255,0.8); }

/* ─── INNER PAGE CONTENT ─── */
.inner-page-content { padding-top: 60px; }

.inner-featured-img {
  border-radius: 20px; overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 20px 50px var(--shadow);
}
.inner-featured-img img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.inner-content-body {
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
}
.inner-content-body h1,
.inner-content-body h2,
.inner-content-body h3,
.inner-content-body h4 {
  color: var(--navy-d);
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
}
.inner-content-body h2 { font-size: clamp(22px, 3vw, 34px); }
.inner-content-body h3 { font-size: clamp(18px, 2.5vw, 26px); }
.inner-content-body p { margin-bottom: 18px; color: var(--muted); }
.inner-content-body a { color: var(--navy); text-decoration: none; font-weight: 600; transition: 0.2s; }
.inner-content-body a:hover { color: var(--red); }
.inner-content-body ul,
.inner-content-body ol { padding-left: 22px; margin-bottom: 18px; }
.inner-content-body li { color: var(--muted); margin-bottom: 8px; line-height: 1.8; }
.inner-content-body blockquote {
  background: var(--bg);
  border-left: 4px solid var(--navy);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--navy-d);
  font-size: 17px;
}
.inner-content-body img { max-width: 100%; border-radius: 12px; }
.inner-content-body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.inner-content-body table th { background: var(--navy); color: #fff; padding: 12px 16px; text-align: left; font-size: 14px; }
.inner-content-body table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.inner-content-body table tr:hover td { background: var(--bg); }

/* ─── SIDEBAR ─── */
.inner-sidebar { position: sticky; top: 100px; }

.sidebar-cta-box {
  background: linear-gradient(135deg, var(--navy-d), var(--navy));
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}
.sidebar-cta-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  margin: 0 auto 16px;
}
.sidebar-cta-box h5 { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.sidebar-cta-box p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.sidebar-services-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.sidebar-services-box h6 {
  color: var(--navy-d); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.sidebar-service-list { list-style: none; padding: 0; margin: 0; }
.sidebar-service-list li { margin-bottom: 2px; }
.sidebar-service-list a,
.sidebar-service-list li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: #4a5578; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: 0.15s;
}
.sidebar-service-list a:hover,
.sidebar-service-list li a:hover { background: var(--bg); color: var(--navy); }
.sidebar-service-list i { font-size: 15px; color: var(--sky); flex-shrink: 0; }
.sidebar-service-list .children { padding-left: 16px; }

.sidebar-partner-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}
.sidebar-partner-badge img { max-height: 48px; object-fit: contain; }

/* ─── RECENT POSTS SIDEBAR ─── */
.sidebar-recent-posts {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.sidebar-recent-posts h6 {
  color: var(--navy-d); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.sidebar-post-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: 0.2s;
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-item:hover .sidebar-post-title { color: var(--navy); }
.sidebar-post-thumb { width: 60px; height: 50px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sidebar-post-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 4px; }
.sidebar-post-date { font-size: 11px; color: var(--muted); }

/* ─── POST META ─── */
.post-meta-bar {
  display: flex; gap: 24px; align-items: center;
  color: rgba(255,255,255,0.55); font-size: 13px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.post-meta-bar i { margin-right: 5px; }

/* ─── POST TAGS ─── */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag-pill {
  background: var(--bg2); color: var(--navy); font-size: 12px;
  font-weight: 600; padding: 6px 14px; border-radius: 100px;
  text-decoration: none; transition: 0.2s;
}
.post-tag-pill:hover { background: var(--navy); color: #fff; }

/* ─── AUTHOR BOX ─── */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg);
  border-radius: 20px; padding: 28px;
  border: 1px solid var(--border);
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
}
.author-name { font-weight: 700; color: var(--navy-d); font-size: 16px; margin-bottom: 6px; }
.author-bio { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ─── POST NAVIGATION ─── */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.post-nav-btn {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px;
  text-decoration: none; transition: 0.3s;
  color: var(--text);
}
.post-nav-btn.next { flex-direction: row-reverse; text-align: right; }
.post-nav-btn:hover { border-color: var(--navy); box-shadow: 0 10px 30px var(--shadow); transform: translateY(-2px); }
.post-nav-btn i { font-size: 20px; color: var(--navy); flex-shrink: 0; }
.post-nav-btn span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.post-nav-btn strong { font-size: 14px; color: var(--navy-d); display: block; line-height: 1.4; }

/* ─── BLOG PAGINATION ─── */
.blog-pagination .nav-links {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--border); color: var(--muted);
  transition: 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  width: auto; padding: 0 18px; gap: 6px;
}

/* ─── WIDGET STYLES ─── */
.widget { }
.widget-title {
  color: var(--navy-d); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--bg2);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  .inner-page-hero { margin-top: 64px; padding: 70px 0 60px; }
  .inner-hero-title { font-size: 26px; }
  .post-nav { grid-template-columns: 1fr; }
}
