:root {
  --black: #050405;
  --yellow: #d9b771;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray-medium: #050405;
  --green-dark: #2d3e2f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

/* Hero Section */
.hero {
  height: 45vh;
  min-height: 200px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), #324339),
    url("../../assets/images/blog-details/blog-details-hero.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
  margin-top: 70px;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.22rem, 4.5vw, 26px);
  max-width: 496px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  margin: auto;
  margin-bottom: 15px;
}

.hero .subtitle {
  font-size: 17px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 0.9rem;
}

.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.author-details {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-name {
  font-weight: 300;
  font-size: 13px;
}
.author-name span {
  color: #d9b771;
}

.publish-date {
  opacity: 0.9;
  font-size: 13px;
}

/* Main Container - Updated max-width */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 20px;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 100px;
  align-items: start;
}

/* Left Column */
.left-column {
  width: 92.5%;
  margin-left: auto;
  animation: fadeInLeft 0.8s ease-out;
}
@media (max-width: 1025px) {
  .left-column {
    width: 100%;
  }
}

@media (max-width: 1025px) {
  .left-column {
    grid-row: 1;
  }
}

.social-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  /* margin-bottom: 5px; */
  padding: 0px 0 35px 0;
}

.share {
  line-height: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
}
.shares-count {
  font-size: 22px;

  font-weight: 700;
  color: var(--yellow);
  font-family: "Montserrat", sans-serif;
}

.shares-label {
  font-size: 10px;
  color: var(--gray-medium);
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 200;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 230, 138, 0.4);
}

.views-count {
  font-size: 10px;
  color: var(--gray-medium);
  /* margin-left: 20px; */
  opacity: 0.6;
}

.article-content {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.article-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 16.8px;
  font-weight: 350;
  /* letter-spacing: 0.5px; */
  line-height: 24px;
  margin-bottom: 1.5rem;
}

.content-section {
  margin: 70px 0;
}

.content-section p {
  font-family: "Montserrat", sans-serif;
  font-size: 15.6px;
  letter-spacing: 0.5px;
  margin-bottom: 23px;
  font-weight: 300;
  line-height: 1.5;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--yellow);
  margin-bottom: 17px;
  font-weight: 600;
}

.stem-cell-visual {
  width: 100%;
  max-height: 180px;
  margin-bottom: 26px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* New content styles for the additional section */
.benefits-section {
  margin: 60px 0;
  padding: 40px;
  background: var(--gray-light);
  border-radius: 10px;
}

.benefits-title {
  font-family: "Robecha-Daniera-Regular", "Montserrat", sans-serif;
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 25px;
  font-weight: 600;
}

.benefits-intro {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: var(--black);
}

.benefit-item {
  margin-bottom: 35px;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-number {
  font-size: 16.4px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 22px;
}

.benefit-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
}

/* Right Column - Sticky */
.right-column {
  position: sticky;
  top: 30px;
  animation: fadeInRight 0.8s ease-out;
}

.ai-tryout {
  background: var(--yellow);
  padding: 20px;
  padding-bottom: 0;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 50px;
  box-shadow: 0 8px 25px rgba(253, 230, 138, 0.3);
  position: relative;
}

.ai-title {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 700;
  width: 90%;
  margin: auto;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--black);
}

.ai-description {
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--black);
  opacity: 0.8;
}

.ai-image {
  width: 100%;
  height: 200px;
  background: url("../../assets/images/skin-science/woman-face.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}

.try-now-btn {
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.try-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 62, 47, 0.4);
}

.latest-blogs {
}

.blogs-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--black);
}

.blog-item {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e077;
}

.blog-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.blog-thumbnail {
  width: 86px;
  height: 63px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}

.blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-content h4 {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--black);
  line-height: 1.3;
  width: 88%;
}

.blog-date {
  font-size: 9px;
  opacity: 0.4;
  color: var(--gray-medium);
}

/* Back to Blogs - Now in right column */
.back-to-blogs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 7px;
  border: 2px solid var(--black);
  background: transparent;
  color: var(--black);
  text-decoration: none;
  border-radius: 3px;
  font-weight: 400;
  font-size: 17px;
  transition: all 0.3s ease;
  width: fit-content;
  justify-content: center;
  margin: auto;
  display: flex;
  margin-bottom: 30px;
}

.back-to-blogs:hover {
  background: var(--yellow);
  border: 2px solid var(--yellow);
}
.back-to-blogs svg {
  width: 20px;
  transform: rotate(180deg);
}

/* Newsletter Section - Now in right column */
.newsletter-section {
  background: var(--green-dark);
  padding: 15px 25px;
  border-radius: 10px;
  color: var(--white);
  margin-bottom: 50px;
}

.newsletter-title {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  margin-bottom: 3px;
  font-weight: 600;
}

.newsletter-description {
  font-size: 12px;
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.3;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.newsletter-input {
  padding: 10px;
  border: 1px solid white;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: var(--white);
  font-size: 11px;
}

.newsletter-input::placeholder {
  color: var(--white);
  opacity: 0.6;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-submit {
  width: fit-content;
  padding: 4px 13px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 230, 138, 0.4);
}

.privacy-text {
  color: #8d8d8d;
  font-size: 9px;
  opacity: 0.6;
  opacity: 0.7;
  margin-top: 15px;
  line-height: 1.4;
  width: 101%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* References Section - New full-width section */
.references-section {
  border-top: 1px solid #e0e0e0;
  /* margin-top: 80px; */
  padding: 40px 0;
  max-width: 1060px;
  margin: auto;
}

.references-container {
  max-width: 1300px;
  margin: 0 auto;
}

.references-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: var(--black);
  margin-bottom: 10px;
  font-weight: 600;
}

.references-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 98%;
}

.references-list ul li p {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: 12px;
  line-height: 1.6;
  color: var(--black);
  position: relative;
  opacity: 0.6;
}

.references-list ul li {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: 12px;
  line-height: 1.6;
  color: var(--black);
  position: relative;
  opacity: 0.6;
}

.references-list ul li p a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.references-list ul li p a:hover {
  border-bottom-color: var(--yellow);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .back-to-blogs {
    display: none;
  }
  .newsletter-section {
    grid-column: 1 / span 2;
  }

  .right-column {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .container {
    padding: 40px 20px;
  }

  .benefits-section {
    padding: 30px;
  }

  .references-section {
    padding: 40px 0;
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .right-column {
    display: block;
  }
  .hero {
    height: 50vh;
    min-height: 300px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .author-info {
    gap: 10px;
  }

  .author-details {
    gap: 5px;
  }

  .social-stats {
    align-items: center;
    justify-content: center;
  }

  .social-icons {
    margin-left: 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .benefits-title {
    font-size: 1.6rem;
  }

  .benefits-section {
    padding: 25px;
  }

  .newsletter-section {
    padding: 20px;
  }

  .ai-tryout {
    padding: 25px;
  }

  .latest-blogs {
    padding: 20px;
  }

  .blog-item {
    flex-direction: column;
  }

  .blog-thumbnail {
    width: 100%;
    height: 120px;
  }

  .references-title {
    font-size: 1.6rem;
  }

  .reference-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 15px;
  }

  .newsletter-form {
    gap: 12px;
  }

  .newsletter-input,
  .newsletter-submit {
    padding: 8px;
  }

  .benefits-section {
    padding: 20px;
  }

  .references-section {
    padding: 30px 0;
  }

  .references-container {
  }
}

.custom-button:not(.now):hover svg {
  transform: translateX(70px);
}

.mobile {
  display: none;
}
@media (max-width: 1025px) {
  .references-section {
    display: none;
  }
  .mobile {
    display: block !important;
  }
}
