/* Knowhow Page Styles */
.knowhow-hero {
  background: linear-gradient(rgb(3, 33, 61) 0px, rgb(3, 33, 61) 100%);
  padding: 100px 0;
  color: #FFFFFF;
  text-align: center;
}

.knowhow-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.knowhow-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.knowhow-hero p {
  font-size: 1.25rem;
  color: #54ABDF;
}

.knowhow-blog-grid {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-body h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #03213D;
}

.blog-card-body h2 a {
  text-decoration: none;
  color: inherit;
}

.blog-card-body p {
  font-size: 0.95rem;
  color: #03213D;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.text-link {
  color: #03213D;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.9rem;
}

.knowhow-featured-slider {
  padding: 80px 0;
  background-color: #E2EEF4;
}

.slider-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.slider-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.slider-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #03213D;
}

.slider-text h2 a {
  text-decoration: none;
  color: inherit;
}

.blurb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blurb-item {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.blurb-img-wrapper {
  height: 160px;
  overflow: hidden;
}

.blurb-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blurb-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blurb-title {
  font-weight: 600;
  color: #03213D;
  text-decoration: none;
  font-size: 1rem;
}

.blurb-arrow {
  color: var(--link-on-light);
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
}

.knowhow-final-cta {
  padding: 100px 0;
  background-color: #03213D;
  color: #FFFFFF;
  text-align: center;
}

.knowhow-final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.knowhow-final-cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #E2EEF4;
}

.primary-cta {
  display: inline-block;
  background-color: #FF8A3D;
  color: #03213D;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.primary-cta:hover {
  background-color: #FF7A2F;
}


/* Responsive */
@media (max-width: 1199px) {
  .blog-grid {
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-main-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .blurb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowhow-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blurb-grid {
    grid-template-columns: 1fr;
  }
  .knowhow-hero {
    padding: 60px 0;
  }
  .knowhow-hero h1 {
    font-size: 2rem;
  }
  .slider-text h2 {
    font-size: 1.75rem;
  }
  .knowhow-final-cta h2 {
    font-size: 1.75rem;
  }
}
