/**
* Template Name: AppFolio
* Template URL: https://darmist.com/
* Author: DARMIST Lab
* License: https://darmist.com/license/
*/

/*--------------------------------------------------------------
# Set Main Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Raleway", sans-serif;

  /* Dark Theme Color Palette */
  --primary-color: #00BFFF; /* DeepSkyBlue */
  --primary-color-rgb: 0, 191, 255;

  --secondary-color: #ffffff;
  --secondary-color-rgb: 255, 255, 255;

  --background-color: #121212;
  --background-color-rgb: 18, 18, 18;

  --surface-color: #1e1e1e;
  --surface-color-rgb: 30, 30, 30;

  --text-color: #e0e0e0;
  --text-color-rgb: 224, 224, 224;

  --heading-color: #ffffff;
  --heading-color-rgb: 255, 255, 255;

  --border-color: rgba(255, 255, 255, 0.1);

  /* Fonts */
  --font-size-base: 16px;
  --font-size-lg: 1.125rem;
  --font-size-sm: 0.875rem;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-base: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Borders */
  --border-radius: 8px;
  --border-width: 1px;

  /* Box Shadow */
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--default-font);
  color: var(--text-color);
  background-color: var(--background-color);
  font-size: var(--font-size-base);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

a:hover {
  color: rgba(var(--primary-color-rgb), 0.8);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
.section {
  padding: 80px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  border-radius: 2px;
}

.section-title p {
  margin-bottom: 0;
  color: var(--text-color);
  font-size: 18px;
}

.light-background {
  background-color: var(--surface-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 25px 0;
  background: transparent;
}

.header.sticked {
  background: var(--surface-color); /* Use a solid background color */
  padding: 20px 0;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.2);
}

.header .logo h1.sitename {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
}

.header .btn-getstarted {
  background: var(--primary-color);
  color: var(--heading-color);
  padding: 10px 30px;
  border-radius: var(--border-radius);
  transition: 0.3s;
  font-weight: 500;
  font-family: var(--nav-font);
}

.header .btn-getstarted:hover {
  background: rgba(var(--primary-color-rgb), 0.9);
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu ul {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navmenu li {
  position: relative;
  margin: 0 10px;
}

.navmenu a, .navmenu a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navmenu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.navmenu a:hover::after, .navmenu .active::after {
  width: 100%;
}

.navmenu a:hover, .navmenu .active, .navmenu .active:focus {
  color: var(--heading-color);
}

.mobile-nav-toggle {
  color: var(--heading-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
}

@media (max-width: 1200px) {
  .navmenu { display: none; }
  .mobile-nav-toggle { display: block; }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../img/hero-bg-abstract.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.8);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
  line-height: 1.2;
}

.hero p {
  color: var(--text-color);
  font-size: var(--font-size-lg);
  margin-bottom: 30px;
}

.hero .hero-label {
  display: inline-block;
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
}

.hero .achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.hero .achievement-item {
  text-align: left;
}

.hero .achievement-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
}

.hero .achievement-text {
  font-size: 16px;
  color: var(--text-color);
}

.hero .hero-visual .visual-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .hero-visual .featured-property img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: perspective(1000px) rotateY(-15deg);
  transition: transform 0.5s;
}

.hero .hero-visual:hover .featured-property img {
  transform: perspective(1000px) rotateY(0deg);
}

.hero .overlay-images, .hero .agent-card {
  display: none; /* Simplify the hero section as requested */
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.home-about {
  background: var(--surface-color);
}

.home-about .section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.home-about .lead-text {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.home-about .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.home-about .stat-item {
  text-align: center;
  background: var(--background-color);
  padding: 20px;
  border-radius: var(--border-radius);
}

.home-about .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
}

.home-about .stat-label {
  font-size: 16px;
  color: var(--text-color);
}

.home-about .btn-primary {
  background: var(--primary-color);
  color: var(--heading-color);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  transition: 0.3s;
  display: inline-block;
  margin-top: 30px;
  font-weight: 600;
}

.home-about .btn-primary:hover {
  background: rgba(var(--primary-color-rgb), 0.9);
}

.home-about .about-visual .main-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.home-about .about-visual {
  position: relative;
}

.home-about .floating-card, .home-about .experience-badge {
  display: none; /* Simplify for a cleaner look */
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.departments .department-item {
  padding: 30px;
  border-radius: var(--border-radius);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.3s ease-in-out;
  text-align: left;
}

.departments .department-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.3);
}

.departments .department-item .icon {
  margin-bottom: 20px;
  font-size: 42px;
  line-height: 1;
  color: var(--primary-color);
}

.departments .department-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.departments .department-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.departments .department-item:hover h3 a {
  color: var(--primary-color);
}

.departments .department-item p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.doctors .doctor-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.3s ease-in-out;
}

.doctors .doctor-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.3); /* Glow effect */
}

.doctors .doctor-item .pic {
  overflow: hidden;
}

.doctors .doctor-item .pic img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctors .doctor-item:hover .pic img {
  transform: scale(1.05); /* A more subtle zoom */
}

.doctors .doctor-item h4,
.doctors .doctor-item span,
.doctors .doctor-item p {
  padding-left: 25px;
  padding-right: 25px;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.doctors .doctor-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.doctors .doctor-item span {
  display: block;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 15px;
}

.doctors .doctor-item p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.6;
  padding-bottom: 25px;
  margin-top: 0;
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
.blog-hero {
  background: var(--surface-color);
}

.blog-hero .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-hero .blog-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.3s ease-in-out;
}

.blog-hero .blog-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.3);
}

.blog-hero .blog-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-hero .blog-content {
  padding: 25px;
}

.blog-hero .post-meta {
  color: var(--text-color);
  font-size: 14px;
  margin-bottom: 10px;
}

.blog-hero .post-meta .category {
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 5px;
}

.blog-hero .post-title a {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-hero .post-title a:hover {
  color: var(--primary-color);
}

.blog-hero .blog-item.featured {
  grid-column: span 1; /* Keep it consistent for better grid flow */
}

@media (min-width: 992px) {
  .blog-hero .blog-item.featured {
    grid-column: span 2;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonials .testimonial-card {
  padding: 30px;
  border-radius: var(--border-radius);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
}

.testimonials .testimonial-item:hover .testimonial-card {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.3);
}

.testimonials .testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonials .testimonial-image img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 2px solid var(--primary-color);
}

.testimonials .testimonial-meta h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.testimonials .testimonial-meta h4 {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
}

.testimonials .testimonial-body {
  flex-grow: 1;
}

.testimonials .quote-icon {
  font-size: 28px;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 10px;
}

.testimonials .testimonial-item.featured .testimonial-card {
  background: var(--primary-color);
  color: var(--background-color);
}

.testimonials .testimonial-item.featured:hover .testimonial-card {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.5);
}

.testimonials .testimonial-item.featured .testimonial-meta h3,
.testimonials .testimonial-item.featured .testimonial-meta h4,
.testimonials .testimonial-item.featured .quote-icon {
  color: var(--background-color);
}

.testimonials .testimonial-item.featured .testimonial-image img {
  border-color: var(--background-color);
}

/*--------------------------------------------------------------
# Get a Quote & Contact Sections
--------------------------------------------------------------*/
.appointment-section, .contact {
  background-color: var(--surface-color);
}

.appointment-form-container, .php-email-form {
  padding: 40px;
  background: var(--background-color);
  border-radius: var(--border-radius);
}

.form-header h3, .contact .section-title p {
    color: var(--heading-color);
    margin-bottom: 15px;
    margin-top: 15px;
}

.form-group label, .contact .php-email-form label {
  color: var(--text-color);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control, .form-select {
  background-color: var(--surface-color) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-color) !important;
  border-radius: var(--border-radius) !important;
  padding: 12px 15px !important;
  margin-top: 10px;
  margin-bottom: 10px;
}

.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25) !important;
  border-color: var(--primary-color) !important;
}

.btn-book-appointment, .contact .php-email-form button[type="submit"] {
  background: var(--primary-color);
  color: var(--heading-color);
  padding: 12px 35px;
  border-radius: var(--border-radius);
  transition: 0.3s;
  border: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px; /* Added top margin */
}

.btn-book-appointment:hover, .contact .php-email-form button[type="submit"]:hover {
  background: rgba(var(--primary-color-rgb), 0.85);
}

.hospital-info {
  background: url('../img/bg/abstract-bg-1.webp') no-repeat center center;
  background-size: cover;
  border-radius: var(--border-radius);
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.hospital-info .info-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: var(--heading-color);
}

.hospital-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
}

.info-item .icon-box {
  font-size: 32px;
  margin-right: 20px;
  color: var(--primary-color);
}

.contact .info-wrap {
  padding: 30px;
  background: var(--background-color);
  border-radius: var(--border-radius);
  height: 100%;
}

.contact .info-item i {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 20px; /* Increased from 15px */
}

.contact .info-item h3 {
  color: var(--heading-color);
}

/* Equal height columns fix */
.appointment-section .row.g-0,
.contact .row.gy-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.appointment-section .appointment-form-container,
.appointment-section .hospital-info,
.contact .info-wrap,
.contact .php-email-form {
  height: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 60px 0 30px 0;
  font-size: 14px;
  border-top: 1px solid var(--border-color);
}

.footer .footer-top {
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer .logo .sitename {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
}

.footer .footer-about p {
  color: var(--text-color);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  font-size: 16px;
  color: var(--text-color);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.footer h4 {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  color: var(--heading-color);
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-links ul a {
  color: var(--text-color);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--primary-color);
}

.footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer .credits {
  padding-top: 4px;
  text-align: center;
  font-size: 13px;
}

.footer .credits a {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader:before {
  content: "";
  width: 50px;
  height: 50px;
  border: 4px solid var(--primary-color);
  border-top-color: var(--surface-color);
  border-radius: 50%;
  animation: preloader-spin 1s linear infinite;
}

@keyframes preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--heading-color);
  transition: all 0.4s;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.scroll-top:hover {
  background: rgba(var(--primary-color-rgb), 0.85);
  color: var(--heading-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.blog-details .article-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.blog-details .article-header .meta-categories {
  margin-bottom: 1.5rem;
}

.blog-details .article-header .meta-categories .category {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  margin: 0 0.5rem;
  background: color-mix(in srgb, var(--primary-color), transparent 90%);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-details .article-header .meta-categories .category:hover {
  background: var(--primary-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-header .title {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .blog-details .article-header .title {
    font-size: 2.2rem;
  }
}

.blog-details .article-header .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.blog-details .article-header .article-meta .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-details .article-header .article-meta .author .author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-details .article-header .article-meta .author .author-info {
  text-align: left;
}

.blog-details .article-header .article-meta .author .author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.blog-details .article-header .article-meta .author .author-info span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

.blog-details .article-header .article-meta .post-info {
  display: flex;
  gap: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.blog-details .article-header .article-meta .post-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .blog-details .article-header .article-meta {
    justify-content: center;
    text-align: center;
  }

  .blog-details .article-header .article-meta .post-info {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.blog-details .article-featured-image {
  margin: 0 -2rem 3rem;
  height: 500px;
  overflow: hidden;
  border-radius: 16px;
}

.blog-details .article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .blog-details .article-featured-image {
    margin: 0 -1rem 2rem;
    height: 300px;
  }
}

.blog-details .article-wrapper {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 3rem;
  position: relative;
}

@media (max-width: 992px) {
  .blog-details .article-wrapper {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-wrapper .table-of-contents {
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .blog-details .article-wrapper .table-of-contents {
    display: none;
  }
}

.blog-details .article-wrapper .table-of-contents h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.blog-details .article-wrapper .table-of-contents nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-details .article-wrapper .table-of-contents nav ul li {
  margin-bottom: 0.75rem;
}

.blog-details .article-wrapper .table-of-contents nav ul li a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding-left: 1rem;
  position: relative;
}

.blog-details .article-wrapper .table-of-contents nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-color);
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.blog-details .article-wrapper .table-of-contents nav ul li a:hover,
.blog-details .article-wrapper .table-of-contents nav ul li a.active {
  color: var(--heading-color);
}

.blog-details .article-wrapper .table-of-contents nav ul li a:hover::before,
.blog-details .article-wrapper .table-of-contents nav ul li a.active::before {
  opacity: 1;
}

.blog-details .article-wrapper .article-content {
  font-size: 1.15rem;
  line-height: 1.8;
}

.blog-details .article-wrapper .article-content .content-section {
  margin-bottom: 4rem;
}

.blog-details .article-wrapper .article-content .content-section .lead {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.blog-details .article-wrapper .article-content .content-section h2 {
  font-size: 2.2rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote {
  margin: 3rem 0;
  padding: 3rem;
  background: var(--surface-color);
  border-radius: 12px;
  position: relative;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 5rem;
  color: color-mix(in srgb, var(--primary-color), transparent 85%);
  font-family: serif;
  line-height: 1;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote {
  padding-left: 3rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote p {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote cite {
  font-style: normal;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

