:root {
      --blog-detail-primary-text: #333333;
      --blog-detail-heading-color: #2c3e50;
      --blog-detail-meta-text: #7f8c8d;
      --blog-detail-accent-color: #007bff;
      --blog-detail-background-light: #f8f9fa;
      --blog-detail-border-color: #e0e0e0;
      --header-offset: 120px;
    }

    .blog-detail {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--blog-detail-primary-text);
      background-color: #ffffff;
      padding-top: var(--header-offset);
      padding-bottom: 40px;
    }

    .blog-detail__article {
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

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

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

    .blog-detail__meta {
      font-size: 14px;
      color: var(--blog-detail-meta-text);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }

    .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;
      color: var(--blog-detail-heading-color);
    }

    .blog-detail__keyword {
      display: inline-block;
      background-color: var(--blog-detail-background-light);
      color: var(--blog-detail-accent-color);
      padding: 5px 10px;
      border-radius: 5px;
      text-decoration: none;
      font-size: 13px;
      transition: background-color 0.3s ease, color 0.3s ease;
      border: 1px solid var(--blog-detail-border-color);
    }

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

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

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

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

    .blog-detail__content p {
      margin-bottom: 20px;
    }

    .blog-detail__content h2 {
      font-size: 28px;
      color: var(--blog-detail-heading-color);
      margin-top: 35px;
      margin-bottom: 18px;
      line-height: 1.3;
    }

    .blog-detail__content h3 {
      font-size: 24px;
      color: var(--blog-detail-heading-color);
      margin-top: 28px;
      margin-bottom: 14px;
      line-height: 1.3;
    }

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

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

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

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

    .blog-detail__footer {
      border-top: 1px solid var(--blog-detail-border-color);
      padding-top: 25px;
      text-align: center;
    }

    .blog-detail__share {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 15px;
    }

    .blog-detail__share-label {
      font-weight: bold;
      color: var(--blog-detail-heading-color);
      font-size: 15px;
    }

    .blog-detail__share-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 15px;
      border-radius: 5px;
      text-decoration: none;
      color: #ffffff;
      font-size: 14px;
      transition: opacity 0.3s ease;
    }

    .blog-detail__share-button:hover {
      opacity: 0.9;
    }

    .blog-detail__share-button--facebook {
      background-color: #3b5998;
    }

    .blog-detail__share-button--twitter {
      background-color: #1da1f2;
    }

    @media (max-width: 768px) {
      .blog-detail__article {
        padding: 15px;
      }

      .blog-detail__title {
        font-size: 30px;
        margin-bottom: 10px;
      }

      .blog-detail__meta {
        font-size: 13px;
        gap: 10px;
      }

      .blog-detail__keywords-label {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
      }

      .blog-detail__cover {
        max-height: 250px;
        margin-bottom: 20px;
      }

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

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

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

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

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

      .blog-detail__share-label {
        font-size: 14px;
        margin-bottom: 5px;
      }
    }

    @media (max-width: 480px) {
      .blog-detail__title {
        font-size: 24px;
      }

      .blog-detail__meta {
        flex-direction: column;
        align-items: center;
      }

      .blog-detail__keywords {
        justify-content: center;
      }

      .blog-detail__share-button {
        width: 80%;
        max-width: 200px;
      }
    }