body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
}
a {
  color: #222;
}
a:hover {
  color: #222;
  text-decoration: none;
}
a:hover img {
  opacity: 0.86;
}
h1,
h2,
h3,
h4 {
  color: #333;
}
p {
  color: #555;
  margin-bottom: 0;
}

.container-wrapper {
  padding-top: 60px;
}
#header {
  position: unset;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.03);
}
#main-blog h1 {
  font-size: 56px;
  text-align: center;
  margin-bottom: 5rem;
}
#main-blog .pillar-promo {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 14px 18px;
  margin: 24px 0 32px;

  background: #fafafa;
  border-left: 4px solid #339bff;

  font-size: 15px;
  line-height: 1.5;
}
#main-blog .pillar-promo strong {
  color: #222;
  font-weight: 600;
  white-space: nowrap;
}
/* Actual pillar link */
#main-blog .pillar-promo a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
#main-blog .pillar-promo::before {
  content: "📘";
  font-size: 16px;
}
/* Hover / focus (UX + accessibility) */
#main-blog .pillar-promo a:hover,
#main-blog .pillar-promo a:focus {
  color: #339bff;
  border-bottom-color: #339bff;
}

/* Mobile optimization */
@media (max-width: 576px) {
  #main-blog .pillar-promo {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;

    font-size: 14px;
    padding: 12px 14px;
  }
}

#main-blog .main-wrapper {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
#main-blog .main-wrapper h2 {
  margin-bottom: 1rem;
}
#main-blog .main-image {
  display: block;
  width: 100%;
  border-radius: 1rem;
}
#blog-list {
  padding-top: 0;
}
#blog-list .blog-list-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
#blog-list .blog-list-wrapper h4 {
  font-size: 18px;
}
#blog-list .blog-list-wrapper img {
  border-radius: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  height: auto;
  min-height: 175px;
}
.pagination {
  text-align: center;
  margin-bottom: 40px;
  font-family: sans-serif;
}

.pagination ul {
  display: inline-flex;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.pagination ul li a {
  display: block;
  padding: 8px 14px;
  background-color: #f5f5f5;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.pagination ul li a:hover,
.pagination ul li a.active {
  background-color: #339bff;
  color: #fff;
}
@media (max-width: 768px) {
  #blog-list .container {
    flex-direction: column;
    align-items: center;
  }
  #blog-list .article {
    width: 90%;
  }
}
.blog-detail-wrapper p {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.blog-detail-wrapper h2 {
  margin: 16px 0;
  font-size: 20px;
  font-weight: 600;
}
.blog-detail-wrapper h3 {
  font-size: 18px;
  font-weight: 600;
}
.blog-detail-wrapper img {
  border-radius: 1rem;
  width: 100%;
  max-height: 540px;
  height: auto;
  object-fit: cover;
  display: block;
}
.blog-detail-wrapper ol {
  padding-left: 20px;
}
.blog-detail-wrapper ul {
  padding-left: 20px;
  margin-bottom: 1.5rem;
}
.blog-detail-wrapper ol li {
  font-size: 18px;
  color: #555;
}
.blog-detail-wrapper ul li {
  font-size: 18px;
  color: #555;
}
.blog-detail-wrapper section {
  padding: 0;
  margin-bottom: 30px;
  overflow: visible;
}
.blog-detail-wrapper .table-like {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 18px;
}
.blog-detail-wrapper .table-like .table-like th,
.table-like td {
  border: 1px solid #e6e6e6;
  padding: 10px 12px;
  text-align: left;
}
.blog-detail-wrapper .internal-link {
  text-decoration: underline;
  color: #339bff;
}
.blog-detail-wrapper .cta-box {
  margin-top: 40px;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}
.blog-detail-wrapper .cta-btn {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 15px;
  background-color: #339bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.blog-detail-wrapper .related-articles {
  margin-top: 3rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
}
.blog-detail-wrapper .related-articles .related-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-detail-wrapper .related-articles .related-list .article-wrapper {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  background: #fafafa;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
}
.blog-detail-wrapper .related-articles img {
  width: 80px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .related-articles img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .related-articles .related-list a {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  #blog-list .blog-list-wrapper img {
    height: 175px;
  }
}

@media (width: 768px) {
  #blog-list .blog-list-wrapper img {
    height: 225px;
  }
}
