/* SunTour Blog — shared styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; color: #222; background: #faf5ee; }

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10,30,60,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 65px;
}
.logo { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 1px; text-decoration: none; }
.logo span { color: #f4a82e; }
nav ul { list-style: none; display: flex; gap: 30px; }
nav ul a { color: #ccd; text-decoration: none; font-size: 14px; transition: color .2s; }
nav ul a:hover, nav ul a.active { color: #f4a82e; }
.nav-wa {
  background: #25d366; color: #fff; padding: 8px 18px;
  border-radius: 25px; text-decoration: none; font-size: 13px; font-weight: 600;
  transition: background .2s;
}
.nav-wa:hover { background: #1da851; }

/* BLOG HERO */
.blog-hero {
  background: linear-gradient(rgba(10,30,60,0.7), rgba(10,30,60,0.85)),
              url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1600&q=80') center/cover no-repeat;
  padding: 130px 40px 60px;
  text-align: center;
  color: #fff;
}
.blog-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.blog-hero h1 span { color: #f4a82e; }
.blog-hero p { font-size: 16px; color: #aac; max-width: 550px; margin: 0 auto; }

/* ARTICLE HERO */
.article-hero {
  background: linear-gradient(rgba(10,30,60,0.65), rgba(10,30,60,0.85)),
              var(--hero-img, url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1600&q=80')) center/cover no-repeat;
  padding: 130px 40px 60px;
  text-align: center;
  color: #fff;
}
.article-hero .tag {
  display: inline-block; background: rgba(244,168,46,0.2); border: 1px solid #f4a82e;
  color: #f4a82e; padding: 5px 16px; border-radius: 20px;
  font-size: 12px; letter-spacing: 1px; margin-bottom: 16px;
}
.article-hero h1 { font-size: 36px; font-weight: 800; max-width: 750px; margin: 0 auto 16px; line-height: 1.3; }
.article-hero .meta { font-size: 13px; color: #aac; }
.article-hero .meta span { margin: 0 8px; }

/* LAYOUT */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 30px 60px;
}
@media (max-width: 860px) {
  .blog-layout { grid-template-columns: 1fr; }
  nav ul { display: none; }
  nav { padding: 0 20px; }
}

/* ARTICLE CONTENT */
.article-content { min-width: 0; }
.article-content h2 {
  font-size: 22px; font-weight: 700; color: #0a1e3c;
  margin: 32px 0 12px; padding-left: 14px;
  border-left: 4px solid #f4a82e;
}
.article-content h3 { font-size: 18px; font-weight: 700; color: #1a4080; margin: 24px 0 10px; }
.article-content p { font-size: 15px; line-height: 1.85; color: #333; margin-bottom: 14px; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 14px; }
.article-content li { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 6px; }
.article-content strong { color: #0a1e3c; }
.article-content a { color: #1a4080; text-decoration: underline; }
.article-content a:hover { color: #f4a82e; }

/* BOXES */
.box-tip {
  background: #e8f4fd; border-left: 4px solid #1a4080;
  border-radius: 8px; padding: 16px 18px; margin: 20px 0;
  font-size: 14px; color: #1a4080;
}
.box-tip strong { display: block; margin-bottom: 6px; font-size: 15px; }
.box-warning {
  background: #fff8e1; border-left: 4px solid #f4a82e;
  border-radius: 8px; padding: 16px 18px; margin: 20px 0;
  font-size: 14px; color: #7a5c00;
}
.box-warning strong { display: block; margin-bottom: 6px; font-size: 15px; }

/* STEPS */
.steps { counter-reset: step; margin: 20px 0; }
.step {
  counter-increment: step;
  background: #fff; border: 1px solid #e0d5c5; border-radius: 12px;
  padding: 16px 18px 16px 60px; margin-bottom: 12px;
  position: relative; font-size: 15px; line-height: 1.7;
}
.step::before {
  content: counter(step);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  background: #1a4080; color: #fff; width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.step strong { color: #0a1e3c; }

/* TABLE */
.article-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-content th { background: #1a4080; color: #fff; padding: 10px 14px; text-align: left; }
.article-content td { padding: 10px 14px; border-bottom: 1px solid #e8e0d5; }
.article-content tr:nth-child(even) td { background: #fdf6ec; }

/* CTA */
.article-cta {
  background: linear-gradient(135deg, #1a4080, #0a1e3c);
  border-radius: 16px; padding: 30px; text-align: center; margin: 40px 0;
  color: #fff;
}
.article-cta h3 { font-size: 20px; margin-bottom: 10px; }
.article-cta p { font-size: 14px; color: #aac; margin-bottom: 20px; }
.article-cta a {
  display: inline-block; background: #25d366; color: #fff;
  padding: 12px 28px; border-radius: 25px; text-decoration: none;
  font-weight: 700; font-size: 14px; transition: background .2s;
}
.article-cta a:hover { background: #1da851; }

/* SIDEBAR */
.sidebar { font-size: 14px; }
.sidebar-card {
  background: #fff; border: 1px solid #e8ddd0; border-radius: 14px;
  padding: 22px; margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: 15px; font-weight: 700; color: #0a1e3c;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid #f4a82e;
}
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { margin-bottom: 8px; }
.sidebar-card ul li a { color: #1a4080; text-decoration: none; font-size: 13px; line-height: 1.5; }
.sidebar-card ul li a:hover { color: #f4a82e; }
.sidebar-cta {
  background: linear-gradient(135deg, #1a4080, #0a1e3c);
  border-radius: 14px; padding: 22px; text-align: center;
  color: #fff; margin-bottom: 24px;
}
.sidebar-cta p { font-size: 13px; color: #aac; margin-bottom: 16px; line-height: 1.5; }
.sidebar-cta a {
  display: block; background: #25d366; color: #fff;
  padding: 10px; border-radius: 25px; text-decoration: none;
  font-weight: 700; font-size: 13px; margin-bottom: 8px;
}
.sidebar-cta a:hover { background: #1da851; }

/* BLOG GRID (index page) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 50px auto 60px;
  padding: 0 30px;
}
.blog-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #e8ddd0;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.blog-card-img {
  height: 200px; background-size: cover; background-position: center;
  position: relative;
}
.blog-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: #f4a82e; color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 12px; color: #999; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 16px; font-weight: 700; color: #0a1e3c; line-height: 1.4; margin-bottom: 10px; }
.blog-card-body p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 14px; }
.blog-card-link {
  display: inline-block; color: #1a4080; font-weight: 700; font-size: 13px;
  text-decoration: none;
}
.blog-card-link:hover { color: #f4a82e; }

/* FOOTER */
.blog-footer {
  background: rgba(10,30,60,0.95); color: #aac;
  text-align: center; padding: 30px; font-size: 13px;
}
.blog-footer a { color: #f4a82e; text-decoration: none; }
