/* CSS variables */
:root {
  --primary-text: #0d5560;
  --secondary-text: #e9fff3;
  --white-text-white: #ffffff;
  --black-text-black: #000000;
}

/* Scrollbar styles */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background-color: var(--secondary-text);
  border-radius: 100px;
}
body::-webkit-scrollbar-thumb {
  background-color: var(--primary-text);
  border-radius: 100px;
}

a {
  text-decoration: none;
}
.willing {
  background-color: #ccc;
}

/* Global Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}

/* Author Section (Align Everything Left in a Row) */
.author-section {
  display: flex;
  align-items: center;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  padding: 10px 0;
  gap: 20px; /* Adds space between elements */
}

/* Author Image */
.author-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ddd;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.1);
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px; /* Space between icons */
}

.text-center {
  font-family: "League Spartan", sans-serif;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Featured Image */
.image-container {
  position: relative;
  display: inline-block;
}
.image-container img {
  border-radius: 10px;
  width: 100%;
}

/* Blog Content Section */
.blog-content {
  padding: 50px 0;
  line-height: 1.8;
}

/* Headings */
.blog-content h2 {
  font-size: 26px;
  font-weight: bold;
  margin-top: 20px;
  font-family: "League Spartan", sans-serif;
}
.blog-content h3,
h4 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 15px;
  font-family: "League Spartan", sans-serif;
}
.blog-content p {
  font-family: "League Spartan", sans-serif;
  color: black;
  text-align: justify;
}

/* Right Column Styles */
.related-posts {
  border-top: 2px solid #ccc;
  padding-top: 20px;
}
.related-posts h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}
.related-posts ul {
  list-style-type: none;
  padding: 0;
}
.related-posts li {
  margin-bottom: 10px;
}
.related-posts a {
  text-decoration: none;
  color: #0d5560;
  font-weight: 500;
}
.related-posts a:hover {
  text-decoration: underline;
}
.related-posts li::before {
  content: "\2192"; /* Unicode arrow (→) */
}

/* Social Share Buttons with no border radius */
.social-share .btn {
  border-radius: 0;
}

/* Button Light (Ash) Style */
.btn-light-ash {
  background-color: rgba(111, 220, 207, 0.6) !important;
  border: none;
  color: #fff;
  border: 2px solid #0d5560;
}

/* Prevent Copying */
.blog-content {
  user-select: none;
}

.blog-content ul {
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
}

.blog-content ul a {
  text-decoration: none;
  color: #0d5560;
}

ul li a i {
  margin: 0 5px;
  color: #555;
  font-size: 18px;
  transition: color 0.3s ease;
}

ul li a i:hover {
  color: #0d5560; 
}

/* Comment Section Style */
.comments-box textarea {
  resize: vertical;
}
.comments-list {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
  background: #f9f9f9;
}
/* Custom Like Button and Count */
/* Custom Like Button and Count */
.custom-like-btn {
  background-color: #ff4500;
  border: none;
  position: relative; /* Ensures correct positioning for the popup */
}

.intro-text {
  font-size: 0.7rem;
  font-style: italic;
  text-align: center !important;
  color: #575757 !important;
  padding-top: 5px;
  font-family: "Space Grotesk", sans-serif !important;
}

.like-count {
  font-size: 18px;
  font-weight: bold;
  margin-left: 8px;
  color: var(--primary-text);
}

/* Popup animation for the like icon */
.like-popup {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: popUp 1s forwards;
  pointer-events: none;
}

@keyframes popUp {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(2) translateY(-30px);
  }
}

.author-info {
  font-family: "League Spartan", sans-serif;
  font-size: 12px;
  text-align: left;
  align-items: left;
}

/* Banner in the middle of blog content */
.banner {
  margin: 30px 0;
  text-align: center;
}
.banner img {
  max-width: 100%;
  border-radius: 10px;
}

/* Notify users */

.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4d4d;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  display: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  10%,
  90% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Tired of reading? */
.auto-read-toast {
  position: fixed;
  right: 20px;
  bottom: 30px;
  background: linear-gradient(135deg, #292b2c, #444);
  color: #fff;
  padding: 18px 20px 18px 60px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.4;
  animation: wind-in 1s ease-out;
  position: fixed;
  overflow: hidden;
  border: 2px solid #00c8ac;
}

.toast-icon {
  position: absolute;
  left: 15px;
  top: 15px;
  /* color: white !important; */
}

.close-toast {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 12px;
}

@keyframes wind-in {
  0% {
    opacity: 0;
    transform: translateX(100px) skewX(-10deg);
    filter: blur(4px);
  }
  60% {
    opacity: 1;
    transform: translateX(-10px) skewX(5deg);
    filter: blur(0px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}
