:root {
  --text: black;
  --muted: black;
  --accent: black;
  --card: lightblue;
  --border: black;
  --maxw: 1100px;
}

*{
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Header Container */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.category {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}

.title {
  font-size: 34px;
  color: black;
  margin: 0 0 12px 0;
  font-weight: 400;
  line-height: 1.2;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}

.dot {
  font-size: 18px;
}

/* Image Animation */
.image-container {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 6px 18px rgba(61, 47, 37, 0.06);
}

.slide-image {
  width: 100%;
  display: block;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(.22, .9, .32, 1), opacity 1.1s ease;
}

body.loaded .slide-image {
  transform: translateX(0);
  opacity: 1;
}

/* Blog Layout */
.blog-layout {
  display: flex;
  flex-direction: row-reverse;
  gap: 36px;
  align-items: flex-start;
  text-align: left;
  justify-content: space-between;
}

/* Right Share Box */
.share-box {
  flex: 0 0 220px;
  border: 1px solid var(--border);
  background: #410A70;
  padding: 20px;
  border-radius: 8px;
  position: sticky;
  top: 22px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.share-box h3 {
  margin: 0 0 12px 0;
  color:white;
  font-size: 15px;
  font-weight: 400;
}

.share-box .icons a {
  display: inline-block;
  margin: 0 8px;
  font-size: 20px;
  color:white;
  text-decoration: none;
  transition: transform .15s ease, color .15s ease;
}

.share-box .icons a:hover {
  transform: translateY(-3px);
  color: black;
}

/* Left Content */
.content {
  flex: 1;
  line-height: 1.7;
  color: var(--text);
  text-align: justify;
}

.content h2 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 14px;
  font-weight: 400;
}

/* ↓ reduced paragraph spacing ↓ */
.content p {
  margin: 2px 0;
}

/* Lists */
.content ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.content li {
  margin-bottom: 5px;
}

/* Contact Us Section */
.contact-cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #410A70;
  padding: 40px 30px;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 8px;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-cta-content {
  flex: 1;
  min-width: 280px;
}

.contact-cta-content h2 {
  font-size: 22px;
  color: white;
  font-weight: 400;
  margin-bottom: 16px;
}

.contact-cta-content button {
  background-color: white;
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-cta-content button:hover {
  background-color: black;
  color: white;
}

.contact-cta-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-cta-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 980px) {
  .container {
    padding: 40px 18px;
  }

  .blog-layout {
    gap: 28px;
  }

  .share-box {
    flex-basis: 190px;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 26px;
  }

  .blog-layout {
    flex-direction: column; /* ✅ stack vertically for small screens */
  }

  .share-box {
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }

  .content {
    font-size: 16px;
  }

  .image-container {
    margin-bottom: 24px;
  }
}