/*--------------------------------------------------------------
# Base Styles
--------------------------------------------------------------*/
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.7;
}

a {
  color: #0055aa;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Headings */
h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0055aa;
}

/* Header & Navigation */
header, footer {
  text-align: center;
  margin-bottom: 20px;
}

nav {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Blog Layout
--------------------------------------------------------------*/
.blog-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.blog-content {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  line-height: 1.8;
}

#sidebar {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-left: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

/*--------------------------------------------------------------
# Post Navigation
--------------------------------------------------------------*/
.post-navigation {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 0.95rem;
  background-color: #f0f4ff;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #dce4f0;
  gap: 0.5rem;
}

.post-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #0055aa;
}
.post-navigation a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Share Buttons
--------------------------------------------------------------*/
.share-buttons {
  margin: 30px 0;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 20px;
}
.share-buttons a.facebook { background-color: #3b5998; }
.share-buttons a.whatsapp { background-color: #25D366; }
.share-buttons a.twitter  { background-color: #1DA1F2; }
.share-buttons a:hover { opacity: 0.85; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f5;
  color: #333;
}

footer p {
  margin: 8px 0;
}

footer a {
  color: #555;
}
footer a:hover {
  text-decoration: underline;
}

/* Footer Social Section */
.footer-social {
  text-align: center;
  margin-bottom: 15px;
}

.social-label {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-btn:hover {
  transform: scale(1.1);
}

.social-btn.fb { background-color: #3b5998; }
.social-btn.ig { background-color: #E1306C; }
.social-btn.yt { background-color: #FF0000; }

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .blog-container {
    flex-direction: column;
  }

  #sidebar {
    border-left: none;
    border-top: 1px solid #ddd;
    margin-top: 2rem;
  }

  .post-navigation {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social .social-icons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 15px;
  }
}
