/* blog-home.css - PortPins blog-first homepage */
:root {
  --primary-color: #2ecc71;
  --secondary-color: #1a1a1a;
  --background-color: #f9f9f9;
  --text-color: #eaeaea;
  --border-radius: 8px;
}

body {
  background: #999;
}
.blog-hero {
  background: linear-gradient(135deg, #0a1931 0%, #122a50 10%);
  padding: 70px 20px 50px;
  text-align: center;
  color: #fff;
  min-height: unset;
  position: relative;
}
.nav-transparent {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.nav-link-white {
  color: var(--text-color) !important;
}

.blog-hero-inner {
  max-width: 1100px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  text-align: center;
}

/* NEW YELLOW BADGE */
.yellow-badge {
  background: #ffc93c;
  color: #0a1931;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.blog-hero-text h1 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
.blog-hero-text .sub {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #d8e2f0;
}
.email-box {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 6px;
  border-radius: 50px;
  max-width: 420px;
  margin: 0 auto; /* CENTER IT */
}
.email-box input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  border-radius: 50px;
  outline: none;
  font-size: 14px;
}
.email-box button {
  background: #0a1931;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.email-note {
  font-size: 11px;
  margin-top: 10px;
  opacity: 0.7;
}
.hero-img img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  height: 360px;
}
h3 {
  color: #2ecc71;
}
.latest-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}
.latest-section .section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}
.latest-section .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 24px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.guide-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  transition: 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.guide-card:hover {
  transform: translateY(-4px);
}
.guide-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #eee;
}
.guide-card .card-body {
  padding: 14px 16px;
}
.guide-card .kicker {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #0a1931;
  font-weight: 800;
}
.guide-card h3 {
  font-size: 17px;
  margin: 6px 0;
  line-height: 1.3;
  color: var(--primary-color);
}
.guide-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
.guide-card .meta {
  font-size: 11px;
  color: #999;
  margin-top: 8px;
}

.start-here {
  background: #f6f8fb;
  border-radius: 18px;
  padding: 26px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sh-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e8ecf1;
}
.sh-card h4 {
  font-size: 14px;
}
.sh-card p {
  font-size: 13px;
  color: #555;
  margin: 8px 0;
}
.sh-card a {
  font-weight: 700;
  font-size: 13px;
  color: #0a1931;
  text-decoration: none;
}

@media (max-width: 900px) {
  .blog-hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-img {
    order: -1;
  }
  .hero-img img {
    height: 260px;
  }
  .blog-hero-text h1 {
    font-size: 32px;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .start-here {
    grid-template-columns: 1fr;
  }
  .yellow-badge {
    font-size: 12px;
    padding: 8px 14px;
  }
  .yellow-badge br {
    display: none;
  }
}
