/* --- Base Styles --- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 2rem;
  max-width: 720px;
  line-height: 1.6;
  background-color: #f9fafb;
  color: #111827;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2 {
  line-height: 1.3;
  color: #065f46;
}

/* --- Article / Blog Cards --- */
article {
  margin-bottom: 2.5rem;
  background: linear-gradient(to right, #d1fae5, #a7f3d0);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

article:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

article h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

article h2 a {
  color: #065f46;
}

article h2 a:hover {
  text-decoration: underline;
}

article p {
  margin: 0;
  font-size: 1rem;
  color: #111827;
}

/* --- About Giftwise Section --- */
.about-giftwise {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background-color: #ecfdf5;
  border-radius: 1rem;
}

.about-giftwise h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-giftwise p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #065f46;
  line-height: 1.7;
}

.about-giftwise a {
  display: inline-block;
  margin-top: 2rem;
  background: linear-gradient(to right, #10b981, #14b8a6);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-giftwise a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Main Section Layout --- */
main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2rem;
  color: #065f46;
  font-size: 0.9rem;
  border-top: 1px solid #d1fae5;
  margin-top: 4rem;
}

footer a {
  color: #10b981;
}

footer a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  article {
    padding: 1rem;
  }
}
