:root {
      --primary-color: #e44d26;
      --secondary-color: #3498db;
      --text-color-dark: #2c3e50;
      --text-color-medium: #7f8c8d;
      --background-light: #f9f9f9;
      --border-color: #e0e0e0;
      --header-offset: 120px;
    }

    .blog-detail {
      padding-top: var(--header-offset);
      max-width: 800px;
      margin: 0 auto;
      padding-left: 15px;
      padding-right: 15px;
      background-color: #ffffff;
      color: var(--text-color-dark);
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
      line-height: 1.6;
    }

    .blog-detail__article {
      padding-bottom: 40px;
    }

    .blog-detail__header {
      margin-bottom: 20px;
      text-align: center;
    }

    .blog-detail__title {
      font-size: 38px;
      color: var(--text-color-dark);
      margin-top: 0;
      margin-bottom: 15px;
      font-weight: bold;
      line-height: 1.2;
    }

    .blog-detail__meta {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      color: var(--text-color-medium);
      margin-bottom: 20px;
      gap: 10px 20px;
    }

    .blog-detail__date {
      white-space: nowrap;
    }

    .blog-detail__keywords {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .blog-detail__keywords-label {
      font-weight: bold;
      margin-right: 4px;
      white-space: nowrap;
    }

    .blog-detail__keyword {
      display: inline-block;
      background-color: #eaf1f7;
      color: var(--text-color-dark);
      padding: 5px 10px;
      border-radius: 5px;
      text-decoration: none;
      transition: background-color 0.3s ease, color 0.3s ease;
      white-space: nowrap;
    }

    .blog-detail__keyword:hover {
      background-color: var(--secondary-color);
      color: #ffffff;
    }

    .blog-detail__figure {
      margin: 0 0 30px 0;
      text-align: center;
    }

    .blog-detail__cover {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      border-radius: 8px;
      display: block;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .blog-detail__figcaption {
      font-size: 13px;
      color: var(--text-color-medium);
      margin-top: 10px;
      font-style: italic;
      display: none;
    }

    .blog-detail__content {
      font-size: 17px;
      color: #333333;
      line-height: 1.7;
      margin-bottom: 30px;
    }

    .blog-detail h2 {
      font-size: 28px;
      color: var(--text-color-dark);
      margin-top: 30px;
      margin-bottom: 15px;
      font-weight: bold;
    }

    .blog-detail h3 {
      font-size: 24px;
      color: var(--text-color-dark);
      margin-top: 25px;
      margin-bottom: 12px;
      font-weight: bold;
    }

    .blog-detail p {
      margin-bottom: 18px;
    }

    .blog-detail ul,
    .blog-detail ol {
      margin-bottom: 18px;
      padding-left: 25px;
    }

    .blog-detail li {
      margin-bottom: 8px;
    }

    .blog-detail a {
      color: var(--primary-color);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .blog-detail a:hover {
      text-decoration: underline;
    }

    .blog-detail__related-posts {
      margin-top: 50px;
      padding-top: 30px;
      border-top: 1px solid var(--border-color);
      text-align: center;
    }

    .blog-detail__related-title {
      font-size: 28px;
      color: var(--text-color-dark);
      margin-bottom: 30px;
      font-weight: bold;
    }

    .blog-detail__related-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      justify-content: center;
    }

    .blog-detail__related-item {
      display: block;
      background-color: var(--background-light);
      border-radius: 8px;
      overflow: hidden;
      text-decoration: none;
      color: var(--text-color-dark);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .blog-detail__related-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .blog-detail__related-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
    }

    .blog-detail__related-item-title {
      font-size: 18px;
      font-weight: bold;
      padding: 15px;
      margin: 0;
      line-height: 1.4;
      min-height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    @media (max-width: 768px) {
      .blog-detail {
        padding-left: 10px;
        padding-right: 10px;
      }

      .blog-detail__title {
        font-size: 32px;
      }

      .blog-detail__meta {
        flex-direction: column;
        gap: 10px;
      }

      .blog-detail__content {
        font-size: 16px;
        line-height: 1.6;
      }

      .blog-detail h2 {
        font-size: 24px;
        margin-top: 25px;
        margin-bottom: 12px;
      }

      .blog-detail h3 {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
      }

      .blog-detail p {
        margin-bottom: 15px;
      }

      .blog-detail__related-title {
        font-size: 24px;
      }

      .blog-detail__related-list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 480px) {
      .blog-detail__title {
        font-size: 28px;
      }
      .blog-detail__cover {
        border-radius: 4px;
      }
      .blog-detail__related-item-title {
        font-size: 16px;
      }
    }