/* Blog Shared Styles */
:root {
  --navy: #0F2A52;
  --blue: #1E6FD9;
  --teal: #00C9A7;
  --gold: #F5A623;
  --white: #FFFFFF;
  --off-white: #F8FAFF;
  --gray: #6B7A8D;
  --text: #1A2B45;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(15,42,82,0.12);
  --transition: all 0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
* { -webkit-tap-highlight-color: transparent; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; line-height: 1.3; color: var(--navy); }
h1 { font-size: clamp(26px, 4vw, 44px); margin-bottom: 20px; }
h2 { font-size: clamp(22px, 3vw, 32px); margin: 40px 0 16px; }
h3 { font-size: clamp(18px, 2.5vw, 24px); margin: 30px 0 12px; }
p { font-size: clamp(15px, 1.5vw, 17px); margin-bottom: 18px; }
strong { font-weight: 700; }
ul, ol { padding-left: 24px; margin-bottom: 18px; }
li { margin-bottom: 8px; font-size: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.blog-container { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* NAV */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,111,217,0.1);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(15,42,82,0.08);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px; color: var(--navy);
}
.logo-accent { color: var(--blue); }
.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  padding: 11px 24px; border-radius: 50px; transition: var(--transition); min-height: 44px; white-space: nowrap;
}
.btn-nav:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(30,111,217,0.4); }
.nav-links { display: flex; gap: 28px; }
.nav-link { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; color: var(--navy); transition: color 0.2s; }
.nav-link:hover { color: var(--blue); }

/* BLOG HEADER */
.blog-header {
  background: linear-gradient(135deg, #EEF6FF 0%, #F0FAFB 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(30,111,217,0.08);
}
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.post-category {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 1px; padding: 6px 16px; border-radius: 50px;
}
.post-date { color: var(--gray); font-size: 14px; }
.post-read { color: var(--gray); font-size: 14px; }

/* BLOG BODY */
.blog-body { padding: 50px 0 70px; }
.blog-intro {
  font-size: clamp(16px, 2vw, 18px);
  color: #2A3D5C;
  line-height: 1.8;
  border-left: 4px solid var(--blue);
  padding-left: 20px;
  margin-bottom: 32px;
  background: rgba(30,111,217,0.04);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
}
.tip-box {
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
}
.tip-box h4 { color: #007A63; margin-bottom: 8px; font-size: 16px; }
.tip-box p { margin: 0; color: var(--text); font-size: 15px; }
.warning-box {
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
}
.warning-box h4 { color: #B8710A; margin-bottom: 8px; }
.cta-inline {
  background: linear-gradient(135deg, var(--navy) 0%, #1E4080 100%);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin: 36px 0;
  color: white;
}
.cta-inline h3 { color: white; margin-bottom: 12px; }
.cta-inline p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #E8890C);
  color: white; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 16px;
  padding: 16px 36px; border-radius: 50px; transition: var(--transition);
  box-shadow: 0 6px 24px rgba(245,166,35,0.4); min-height: 54px;
}
.btn-cta:hover { transform: scale(1.05); box-shadow: 0 10px 36px rgba(245,166,35,0.55); }

/* RELATED POSTS */
.related-posts { background: var(--off-white); padding: 60px 0; }
.related-posts h2 { text-align: center; margin-bottom: 36px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
  background: white; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(30,111,217,0.08);
  transition: var(--transition);
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,42,82,0.15); }
.related-cat { color: var(--blue); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 1px; margin-bottom: 8px; }
.related-card h4 { color: var(--navy); font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
.related-card p { color: var(--gray); font-size: 13px; margin: 0; }
.related-card a { display: block; color: var(--blue); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; margin-top: 12px; }

/* FOOTER */
.footer { background: var(--navy); padding: 40px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 20px; color: white; }
.footer-logo .logo-accent { color: var(--teal); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--teal); }
.footer-copy { text-align: center; color: rgba(255,255,255,0.35); font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-inline { padding: 24px 20px; }
  .btn-cta { display: block; text-align: center; }
  .blog-header { padding: 40px 0 30px; }
}
@media (max-width: 575px) {
  .related-grid { grid-template-columns: 1fr; }
}
