/* ================== BLOG POST PAGE (shared) ================== */

/* HERO with darker overlay for legibility over photo */
.page-hero {
  background:
    linear-gradient(120deg, rgba(3,30,48,0.85) 0%, rgba(7,54,81,0.7) 100%),
    url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  padding-bottom: 100px;
}
.page-hero .post-cat {
  display: inline-block;
  background: rgba(0,224,255,0.18);
  border: 1px solid rgba(0,224,255,0.4);
  color: var(--brand-glow);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.page-hero h1 { max-width: 880px; }
.page-hero .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
}
.page-hero .post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #bce0ee;
  font-weight: 500;
}
.page-hero .post-meta i { color: var(--brand-glow); }

/* ARTICLE LAYOUT */
.post-article {
  background: #fff;
  padding: 0 0 90px;
  margin-top: -60px;
  position: relative;
  z-index: 3;
}
.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}
.post-body {
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 50px 60px;
  box-shadow: 0 -20px 40px rgba(10,77,112,0.05);
  border: 1px solid #eef1f4;
  border-bottom: none;
}
.post-cover {
  height: 320px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(10,77,112,0.18);
}
.post-body .lead {
  font-size: 19px;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 500;
}
.post-body h2 {
  font-size: 28px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin: 36px 0 16px;
  letter-spacing: -0.3px;
}
.post-body h3 {
  font-size: 21px;
  color: var(--navy);
  font-weight: 800;
  margin: 28px 0 12px;
}
.post-body p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
}
.post-body p strong { color: var(--navy); }
.post-body ul,
.post-body ol {
  margin: 0 0 24px 22px;
  padding: 0;
}
.post-body li {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 6px;
}
.post-body ul li::marker { color: var(--brand-bright); }
.post-body ol li::marker { color: var(--brand-bright); font-weight: 700; }

.post-body blockquote {
  border-left: 4px solid var(--brand-bright);
  background: linear-gradient(135deg, rgba(22,184,224,0.06), rgba(0,224,255,0.03));
  padding: 22px 28px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  color: var(--navy);
  font-style: italic;
  line-height: 1.65;
}
.post-body blockquote p { margin: 0; font-size: 17px; }
.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--brand-bright);
  font-weight: 600;
  font-style: normal;
}

.post-callout {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-bright));
  color: #fff;
  padding: 30px 32px;
  border-radius: 14px;
  margin: 30px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 18px 36px rgba(22,184,224,0.3);
}
.post-callout i {
  font-size: 26px;
  color: var(--brand-mint);
  flex-shrink: 0;
  margin-top: 2px;
}
.post-callout h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}
.post-callout p {
  margin: 0;
  font-size: 14px;
  color: #c8e8f4;
  line-height: 1.6;
}

/* TAGS */
.post-tags {
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid #eef1f4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.post-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-right: 8px;
}
.post-tag {
  padding: 6px 14px;
  background: #f0f7fb;
  color: var(--brand-mid);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: default;
}
.post-tag:hover {
  background: var(--brand-bright);
  color: #fff;
}

/* SHARE */
.post-share {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eef1f4;
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.post-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f7fb;
  color: var(--brand-mid);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: all 0.25s ease;
}
.post-share a:hover {
  background: var(--brand-bright);
  color: #fff;
  transform: translateY(-2px);
}

/* SIDEBAR */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 14px;
  padding: 22px 20px;
}
.sidebar-card h5 {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-bright);
  font-weight: 700;
  margin-bottom: 16px;
}
.sidebar-card.cta {
  background: linear-gradient(160deg, #062f47, #031e30);
  border: 1px solid rgba(0,224,255,0.2);
  color: #fff;
  text-align: center;
  padding: 28px 20px;
}
.sidebar-card.cta i {
  font-size: 28px;
  color: var(--brand-glow);
  margin-bottom: 12px;
  display: block;
}
.sidebar-card.cta h5 { color: #a5d4e8; margin-bottom: 10px; }
.sidebar-card.cta p {
  font-size: 13px;
  color: #bce0ee;
  line-height: 1.6;
  margin-bottom: 16px;
}
.sidebar-card.cta .btn { width: 100%; padding: 12px; font-size: 13px; }

.sidebar-posts li {
  padding: 12px 0;
  border-bottom: 1px solid #f3f5f7;
}
.sidebar-posts li:last-child { border-bottom: none; }
.sidebar-posts a {
  display: block;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.sidebar-posts a:hover { color: var(--brand-bright); }
.sidebar-posts .post-date {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* RELATED POSTS */
.related-posts { padding: 80px 0; background: #fafbfd; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.related-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e8eef3;
  transition: all 0.4s ease;
  color: inherit;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(10,77,112,0.14);
  border-color: rgba(22,184,224,0.3);
}
.related-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.related-body { padding: 22px 22px 26px; }
.related-body .bp-cat {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--brand-bright);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.related-body h4 {
  font-size: 17px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}
.related-body p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

/* NEWSLETTER */
.post-newsletter { padding: 80px 0; background: #fff; }
.nl-card {
  background:
    linear-gradient(135deg, rgba(3,30,48,0.92), rgba(10,77,112,0.9)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  padding: 50px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(0,224,255,0.2);
  box-shadow: 0 30px 60px rgba(3,30,48,0.35);
}
.nl-content h2 {
  font-size: 28px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}
.nl-content p {
  font-size: 14px;
  color: #bce0ee;
  line-height: 1.6;
}
.nl-form { display: flex; gap: 10px; }
.nl-form input {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  min-width: 240px;
  transition: all 0.25s ease;
}
.nl-form input::placeholder { color: #9fc3d4; }
.nl-form input:focus { border-color: var(--brand-glow); background: rgba(255,255,255,0.16); }
.nl-form .btn-light { color: var(--brand-mid); font-weight: 700; }

/* SECTION HEAD COMMON */
.related-head { text-align: center; }
.related-head .eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--brand-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.related-head h2 {
  font-size: 32px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-sidebar { position: static; }
  .post-body { padding: 36px 30px; }
  .post-body h2 { font-size: 24px; }
  .post-body .lead { font-size: 17px; }
  .related-grid { grid-template-columns: 1fr; }
  .nl-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .post-body { padding: 28px 22px; }
  .post-cover { height: 220px; }
  .post-body p { font-size: 15px; }
  .nl-card { padding: 36px 24px; }
  .nl-form { flex-direction: column; }
  .nl-form input { min-width: 0; width: 100%; }
}
