/* Outer Wrapper */
.article-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f5f5f5;
}

/* Article Container (card style) */
.container {
  display: block; /* stacked layout */
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #f5f5f5;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Left side (image and title) */
.left {
  width: 100%; /* full width */
  margin-bottom: 20px;
}

.left h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 24px;
  color: #111;
}

.picture-space {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 6px;
}

.picture-space img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right side (article text) */
.right {
  width: 100%; /* full width */
  margin-bottom: 20px;
  display: block; /* no flex here */
}

.right h3 {
  margin: 0 0 15px 0;
  font-size: 20px;
  color: #222;
}

.right p {
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .article-wrapper {
    padding: 20px;
    flex-direction: column; /* still flex on outer wrapper for centering */
  }

  .container {
    padding: 15px;
    width: 100%;
  }

  /* left and right are already full width with block display */
  /* just adjust margins and font sizes */

  .right {
    margin-top: 15px;
  }

  .right h3 {
    margin-top: 15px;
    font-size: 18px;
  }

  .right p {
    font-size: 14px;
  }

  .button-link {
    padding: 10px 15px;
  }
}
