/* ===== Blog: hero (listing page) ===== */
.BlogHero {
  background: linear-gradient(135deg, #0197ec 0%, #1d448e 60%, #39ead5 100%);
  padding: 90px 0 70px;
  text-align: center;
  color: #ffffff;
}

.BlogHero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 10px;
}

.BlogHero h1 {
  font-family: "Marcellus", serif;
  color: #ffffff;
  font-size: 42px;
  margin-bottom: 14px;
}

.BlogHero p {
  font-family: "Roboto", sans-serif;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.92;
  font-size: 17px;
}

@media screen and (max-width: 768px) {
  .BlogHero { padding: 60px 0 45px; }
  .BlogHero h1 { font-size: 30px; }
}

/* ===== Blog: card grid (listing page) ===== */
.BlogGrid {
  padding: 60px 0 100px;
}

.PostCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(29, 68, 139, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.PostCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -12px rgba(29, 68, 139, 0.25);
}

.PostCard .PostCard-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.PostCard .PostCard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.PostCard:hover .PostCard-media img {
  transform: scale(1.06);
}

.PostCard .PostCard-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d448e;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.PostCard .PostCard-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.PostCard h4 {
  font-family: "Marcellus", serif;
  color: #2b2d2f;
  font-size: 20px;
  margin: 0;
  transition: color 0.2s ease;
}

.PostCard:hover h4 {
  color: #1d448e;
}

.PostCard p {
  color: #5b5f63;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.PostCard .PostCard-cta {
  margin-top: 6px;
  color: #01afec;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.PostCard .PostCard-cta i {
  transition: transform 0.2s ease;
}

.PostCard:hover .PostCard-cta i {
  transform: translateX(4px);
}

/* ===== Blog post: hero ===== */
.PostHero {
  background: linear-gradient(135deg, #0197ec 0%, #1d448e 65%, #39ead5 100%);
  padding: 70px 0 50px;
  color: #ffffff;
}

.PostHero .breadcrumb {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.PostHero .breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.PostHero h1 {
  font-family: "Marcellus", serif;
  color: #ffffff;
  font-size: 36px;
  max-width: 760px;
  margin-bottom: 22px;
}

.PostHero .PostMeta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.PostHero .PostMeta img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.PostHero .PostMeta .PostMeta-text strong {
  display: block;
  font-weight: 600;
}

.PostHero .PostMeta .PostMeta-text span {
  opacity: 0.85;
}

@media screen and (max-width: 768px) {
  .PostHero { padding: 45px 0 35px; }
  .PostHero h1 { font-size: 27px; }
}

/* ===== Blog post: article body ===== */
.PostBody {
  max-width: 740px;
  margin: 0 auto;
  padding: 50px 20px 30px;
}

.PostBody article .PostInlineImage {
  margin: 32px 0;
}

.PostBody article .PostInlineImage img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(29, 68, 139, 0.25);
}

.PostBody article {
  font-family: "Roboto", sans-serif;
  color: #3e4144;
  font-size: 17px;
  line-height: 1.85;
}

.PostBody article h2 {
  font-family: "Marcellus", serif;
  color: #1d448e;
  font-size: 26px;
  margin: 40px 0 16px;
}

.PostBody article h3 {
  font-family: "Marcellus", serif;
  color: #2b2d2f;
  font-size: 21px;
  margin: 30px 0 12px;
}

.PostBody article p {
  margin: 0 0 18px;
}

.PostBody article ul,
.PostBody article ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.PostBody article li {
  margin-bottom: 8px;
}

.PostBody article a {
  color: #01afec;
  font-weight: 600;
}

.PostBody .PostDisclaimer {
  background: #fffbed;
  border-left: 4px solid #ffcd06;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: #6b6451;
  margin: 30px 0;
}

.PostBody .PostCTA {
  margin-top: 40px;
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0197ec10, #39ead51a);
  border: 1px solid #e3effa;
  text-align: center;
}

.PostBody .PostCTA h3 {
  font-family: "Marcellus", serif;
  color: #1d448e;
  margin: 0 0 8px;
}

.PostBody .PostCTA p {
  color: #5b5f63;
  margin-bottom: 20px;
}

.PostBody .PostCTA .d-flex {
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.PostAuthorBox {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #ecedee;
}

.PostAuthorBox img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.PostAuthorBox strong {
  display: block;
  color: #2b2d2f;
  font-size: 16px;
}

.PostAuthorBox span {
  color: #5b5f63;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .PostBody { padding: 36px 16px 20px; }
  .PostBody article { font-size: 16px; }
}

/* ===== Blog post: related posts ===== */
.RelatedPosts {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #ecedee;
}

.RelatedPosts h3 {
  font-family: "Marcellus", serif;
  color: #1d448e;
  font-size: 20px;
  margin-bottom: 16px;
}

.RelatedPosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.RelatedPosts-item {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f9fb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.RelatedPosts-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(29, 68, 139, 0.2);
}

.RelatedPosts-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.RelatedPosts-item span {
  display: block;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2b2d2f;
}
