.single-magazine-wrapper {
  font-family: inherit;
  color: #333;
  line-height: 1.6;

  * {
    box-sizing: border-box;
  }

  .mz-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 15px;

    .mz-title {
      font-size: 32px;
      font-weight: bold;
      color: #0056b3;
      margin-bottom: 20px;
      text-transform: uppercase;
    }

    .mz-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      padding: 15px 0;
      color: #666;
      font-size: 14px;

      .mz-meta-left {
        display: flex;
        align-items: center;
        gap: 20px;

        .mz-author {
          display: flex;
          align-items: center;
          gap: 10px;
          img {
            border-radius: 50%;
            width: 30px;
            height: 30px;
          }
        }
      }

      .mz-meta-right {
        display: flex;
        align-items: center;
        gap: 15px;

        .mz-share {
          display: flex;
          align-items: center;
          gap: 10px;

          a {
            color: #666;
            text-decoration: none;
            &:hover {
              color: #00a8ff;
            }
          }
        }
      }
    }
  }

  .mz-hero {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 60px;

    .mz-hero-image {
      position: relative;
      img {
        width: 100%;
        height: auto;
        display: block;
      }
      .mz-ribbon {
        position: absolute;
        top: 0;
        left: 5%;
        background: #00a8ff;
        color: #fff;
        padding: 20px 10px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-weight: bold;
        font-size: 18px;
        letter-spacing: 2px;
      }
    }

    .mz-hero-quote {
      position: absolute;
      bottom: -40px;
      right: 10%;
      background: #fff;
      padding: 30px 40px;
      width: 450px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);

      .mz-quote-icon {
        color: #00a8ff;
        font-size: 60px;
        line-height: 1;
        font-family: Georgia, serif;
        position: absolute;
        top: 10px;
        left: 20px;
      }

      p {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        padding-top: 20px;
        line-height: 1.6;
      }
    }
  }

  .mz-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .mz-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: stretch;

    .mz-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .mz-img-col {
      .mz-placeholder {
        width: 100%;
        min-height: 350px;
        background: #e0e0e0;
        border-radius: 5px;
      }
    }

    .mz-text-col {
      display: flex;
      flex-direction: column;
      gap: 50px;
    }

    .mz-text-item {
      .mz-block-header {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;

        &.num-right {
          justify-content: flex-end;
          text-align: right;
        }

        .mz-num {
          background: #00a8ff;
          color: #fff;
          font-size: 30px;
          font-weight: bold;
          padding: 10px 15px;
          border-radius: 5px;
          line-height: 1;
        }

        .mz-block-title {
          font-size: 24px;
          font-weight: bold;
          color: #333;
          margin: 0;
          line-height: 1.3;
          
          &.text-right {
            text-align: right;
          }
        }
      }

      .mz-block-content {
        p {
          margin-bottom: 15px;
          color: #555;
          text-align: justify;
        }
        &.text-right p {
          text-align: right;
        }
      }
    }
  }

  .mz-gray-bg {
    background: #f5f5f5;
  }

  .mz-big-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 15px;

    .mz-quote-icon {
      color: #00a8ff;
      font-size: 80px;
      font-family: Georgia, serif;
      display: block;
      line-height: 1;
      margin-bottom: -20px;
    }

    p {
      font-size: 22px;
      font-weight: bold;
      color: #333;
      font-style: italic;
      line-height: 1.5;
    }
  }

  .mz-cta-banner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 80px;

    .mz-cta-bg {
      width: 100%;
      height: 400px;
      object-fit: cover;
    }

    .mz-cta-box {
      position: absolute;
      top: 50%;
      right: 10%;
      transform: translateY(-50%);
      background: #fff;
      padding: 40px;
      width: 450px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      border-radius: 5px;

      h3 {
        font-size: 24px;
        font-weight: bold;
        color: #00a8ff;
        margin-bottom: 10px;
        text-align: center;
      }
      p {
        text-align: center;
        color: #666;
        margin-bottom: 20px;
      }
      
      .btn-submit {
        display: block;
        width: 100%;
        background: #00a8ff;
        color: #fff;
        border: none;
        padding: 15px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        transition: 0.3s;
        
        &:hover {
          background: #0088cc;
        }
      }
    }
  }

  .mz-related-section {
    margin-bottom: 80px;
    padding: 0 15px;

    .section-title {
      text-align: center;
      color: #1e3a8a;
      font-weight: bold;
      text-transform: uppercase;
      font-size: 28px;
      margin-bottom: 40px;
    }

    .mz-related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto 40px;

      .mz-related-card {
        .img-box {
          margin-bottom: 15px;
          img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 5px;
            background: #e0e0e0;
          }
        }
        
        .meta {
          display: flex;
          align-items: center;
          gap: 15px;
          font-size: 13px;
          color: #666;
          margin-bottom: 10px;

          .author {
            display: flex;
            align-items: center;
            gap: 5px;
            img {
              width: 20px;
              height: 20px;
              border-radius: 50%;
              background: #ccc;
            }
          }

          .date {
            display: flex;
            align-items: center;
            gap: 5px;
          }
        }

        h3 {
          font-size: 16px;
          line-height: 1.4;
          margin: 0 0 10px;
          a {
            color: #1e3a8a;
            text-decoration: none;
            font-weight: bold;
            &:hover {
              color: #00a8ff;
            }
          }
        }

        p {
          color: #666;
          font-size: 13px;
          line-height: 1.5;
          margin: 0;
        }
      }
    }

    .mz-view-all {
      text-align: center;
      a {
        display: inline-block;
        border: 2px solid #7dd3fc;
        color: #1e3a8a;
        font-weight: bold;
        padding: 10px 40px;
        border-radius: 30px;
        text-decoration: none;
        font-size: 14px;
        text-transform: uppercase;
        transition: 0.3s;
        &:hover {
          background: #7dd3fc;
          color: #fff;
        }
      }
    }
  }

  @media (max-width: 768px) {
    .mz-hero {
      .mz-hero-quote {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
      }
    }
    .mz-cta-banner {
      .mz-cta-box {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
      }
    }
    .mz-row {
      flex-direction: column;
    }
    .mz-text-item .mz-block-header.num-right {
      justify-content: flex-start;
      text-align: left;
    }
    .mz-text-item .mz-block-title.text-right {
      text-align: left;
    }
    .mz-text-item .mz-block-content.text-right p {
      text-align: left;
    }
    .mz-related-section .mz-related-grid {
      grid-template-columns: 1fr;
    }
  }
}
.wp-block-group {
    max-width: var(--container);
    margin: auto;
}