/* ===========================
   SINGLE BLOG – EDITORIAL LAYOUT
=========================== */

:root {
  --sidebar-width: 230px;
  --primary: #163757;
  --text-muted: #7a8fa6;
  --bg-light: #f6f9fc;
}

/* Offset page because of fixed sidebar */
@media (min-width: 1024px) {
  .single-post {
    margin-left: 160px;
    width: calc(100% - var(--sidebar-width));
  }
}

/* Wrapper */
.single-post {
  background: var(--bg-light);
  min-height: 100vh;
}

/* ===== HERO ===== */
.post-hero {
  padding: 40px 40px 30px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.post-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Title */
.post-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Meta */
.post-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== IMAGE + INTRO (SIDE BY SIDE) ===== */
.post-intro-wrap {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 40px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.post-intro-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.post-intro-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #556b82;
}

/* ===== MAIN CONTENT (BELOW IMAGE) ===== */
.post-body {
  margin: 0 auto;
  padding: 0 40px 120px;
  font-size: 1.15rem;
  line-height: 1.95;
  color: #445b73;
}

/* Paragraphs */
.post-body p {
  margin-bottom: 26px;
}

/* Headings */
.post-body h2 {
  font-size: 2rem;
  color: var(--primary);
  margin: 40px 0 15px;
}

.post-body h3 {
  font-size: 1.45rem;
  color: var(--primary);
  margin: 30px 0 15px;
}

/* Lists */
.post-body ul,
.post-body ol {
  margin: 30px 0 30px 30px;
}

.post-body li {
  margin-bottom: 12px;
}

/* Images inside content */
.post-body img {
  max-width: 100%;
  margin: 45px 0;
  border-radius: 12px;
}

/* ===== MOBILE ===== */
@media (max-width: 1023px) {
  .single-post {
    margin-left: 0;
    width: 100%;
  }

  .post-title {
    font-size: 2.3rem;
  }

  .post-hero {
    padding: 80px 20px 50px;
  }

  .post-intro-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .post-intro-text {
    font-size: 1rem;
  }

  .post-body {
    padding: 40px 20px 80px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .post-title {
    font-size: 2rem;
  }
}
/* Floating Buttons - Premium Style */
.floating-buttons {
  position: fixed;
  bottom: 35px;
  right: 35px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1200;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.float-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
  animation: ripple 2s ease infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.float-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

.float-btn.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.float-btn.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}

.float-btn.email {
  background: #163757;
}

/* Mobile Responsive adjustment for buttons */
@media (max-width: 768px) {
  .floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .float-btn {
    width: 45px;
    height: 45px;
  }

  .float-btn svg {
    width: 24px;
    height: 24px;
  }
}