.blog-category-link {
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: .5rem 1rem;
  border-radius: 6px;
  font-size: 14px;
}
.blog-category-link:hover {
  border-color: var(--secondary-color) !important;
  color: var(--secondary-color) !important;
}
.blog-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-card {
  text-decoration: none;
  color: var(--text-color);
  max-width: 288px;
  margin-bottom: 2rem;
  display: block;
}
.blog-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: .5rem;
}
.blog-card h3 {
  font-size: 18px;
  line-height: 1.2;
}
.blog-card:hover {
  text-decoration: underline;
}
.blog-card:hover img {
  filter: brightness(0.8);
}

.blog div {
  margin-bottom: 2.5rem;
}
.blog ul, .blog ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.blog li {
  margin-bottom: 0.5rem;
  color: #5d5d5d;
  font-size: 18px;
  line-height: 1.5;
}
.blog h1 {
  color: var(--text-color);
  margin-bottom: 14px;
}
.blog h2 {
  margin-top: 30px;
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.1;
}
.blog h3 {
  margin-top: 30px;
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.3;
}
.blog .h3-highlight {
  position: relative;
  display: inline-block;
}
.blog .h3-highlight:before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--secondary-color);
  z-index: -1;
  opacity: 0.3;
}
.blog p {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #5d5d5d;
  font-size: 18px;
}
.blog small {
  color: #5d5d5d;
  font-size: 14px;
  display: block;
  line-height: 1.2;
}
.blog .author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.blog .author p,
.blog .author div {
  margin-bottom: 0;
}
.blog .author a {
  color: #5d5d5d;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: block;
}
.blog .author a:hover {
  text-decoration: underline;
}
.blog .author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.blog img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}
.blog figcaption {
  margin-top: .5rem;
  color: var(--light-color);
  font-size: 14px;
  text-align: center;
}
.blog table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 8px;
  min-width: 680px;
}
.blog th {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 8px 8px 0 0;
  background: #f9fafb;
}
.blog td:first-child {
  text-align: left;
  font-weight: 500;
}
.blog td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
  line-height: 1.5;
}
.blog a {
  color: var(--primary-color);
}
.blog a:hover {
  text-decoration: none;
}
.blog .short {
  margin-bottom: 2rem;
  padding: 1rem;
  border: 2px dashed var(--primary-color);
  border-radius: 8px;
  background: rgba(30, 64, 175, 0.1);
}
.blog .short h3 {
  margin-top: 0;
  color: var(--primary-color);
}
.blog .short ul,
.blog .short p {
  margin-bottom: 0;
}
.blog .short li {
  color: var(--text-color);
}
.blog .banner {
  background: #e0f2fe;
  border-radius: 8px;
  border: 1px solid #adadad;
  padding: 1.5rem;
  display: block;
}
.blog .banner-title {
  font-weight: 600;
  margin-bottom: .5rem;
  line-height: 1.5;
  font-size: 20px;
}
.blog .banner div {
  margin-bottom: 0;
}
.blog .banner p {
  font-size: 16px;
  margin-bottom: 1rem;
}
.blog .banner-button {
  color: #fff;
  display: inline-block;
  margin-bottom: 0;
}
.blog .tick-icon {
  color: #22c55e;
}
.blog .x-icon {
  color: #ef4444;
}
.blog .tick-icon, .blog .x-icon {
  font-weight: 600;
  font-size: 18px;
}
.blog .pros-container {
  padding: 1rem;
  border-left: 3px solid #22c55e;
  margin-bottom: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  padding: 1rem;
}
.blog .pros {
  padding-left: .5rem;
  margin-bottom: 0;
}
.blog .pros li {
  list-style: none;
}
.blog .pros li:before {
  content: '✓';
  margin-right: 0.5rem;
  color: green;
  font-weight: 600;
  font-size: 16px;
}
.blog .cons-container {
  padding: 1rem;
  border-left: 3px solid #ef4444;
  margin-bottom: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
  padding: 1rem;
}
.blog .pros-container strong,
.blog .cons-container strong {
  color: var(--text-color);
}
.blog .cons {
  padding-left: .5rem;
  margin-bottom: 0;
}
.blog .cons li {
  list-style: none;
}
.blog .cons li:before {
  content: '✗';
  margin-right: 0.5rem;
  color: #ef4444;
  font-weight: 600;
  font-size: 16px;
}
.blog .plan-tag {
  background: linear-gradient(90deg, #e0f2fe 0%, #7dd3fc 100%);
  color: var(--text-color);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.blog .tip {
  padding: 1rem;
  border: 1px solid green;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #e6f9eb;
}
.blog .tip p:last-child {
  margin-bottom: 0;
}
.blog .tip strong {
  color: var(--text-color);
}
.blog .tip h3 {
  margin-top: 0;
}
.blog pre {
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #ccc;
  white-space: pre-wrap;
  padding: 1rem;
  margin-bottom: 1rem;
}
.blog pre code {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

@media (max-width: 768px) {
  .blog-grid {
    display: block;
  }
  .blog-card {
    max-width: 100%;
  }
}