/*
Theme Name: Orthofixar Professional
Theme URI: https://orthofixar.com/
Author: Orthofixar Team
Description: A clean, fast, and medical-focused theme for orthopedic clinical examination and education.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: orthofixar
*/


*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
  word-wrap: break-word;
  font-style: normal;
  text-wrap: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #f8f9fa;
    padding: 0;
    margin: 0;
}
a, button, textarea, input{
  cursor: pointer;
}

/* --- 2. Layout Structure --- */
.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
	width: 100%;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mt-1{
    margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2{
    margin-top: 2rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mt-5{
    margin-top: 5rem;
}
nav.rank-math-breadcrumb {
    font-size: 12px;
}

figure img {
  margin: 0 auto;
  display: block;
  border-radius: 10px;
}

th {
  padding-bottom: 60px;
  transition: height 160ms ease-out 0s;
  background: linear-gradient(1deg, #33d0002e 0%, rgb(245 245 245 / 15%) 100%);
}
.wp-block-table  {
    table-layout: fixed;
    width: 100%;
    font-size: 10px;
}
.wp-block-table figcaption {
  text-align: center;
  font-size: small;
  background: #607d8b14;
  color: #1786bf;
}
 
.d-flex {
  display: flex
}
.align-items-center{
  align-items: center;
}
.justify-center{
  justify-content: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
a.logo-link {
    text-decoration: none;
}
/* Logo Styling */
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #1a202c;
    text-decoration: none;
}

.highlight {
    color:  #24b3fb; /* Medical Blue */
}

/* Modern Navigation */
.primary-menu {
    display: flex;
    gap: .8rem;
    list-style: none;
}

.primary-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.primary-menu a:hover {
    color: #007bff;
}

/* Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-cta {
    background: #007bff;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.3);
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
}

/* Mobile Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #1a202c;
}

@media (max-width: 992px) {
    .primary-menu { display: none; } /* We will use JS to show this */
    .menu-toggle { display: flex; }

}


/* Search Overlay Styles */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid #007bff;
    color: white;
    font-size: 2rem;
    outline: none;
    text-align: center;
    width: 80vw;
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* Mobile Menu Logic */
@media (max-width: 992px) {
    .nav-menu-wrapper {
        position: fixed;
        top: 80px;
        left: -100%; /* Hide off-screen */
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        transition: 0.4s;
        z-index: 999;
    }

    /* When JS adds this class, the menu slides in */
    .nav-menu-wrapper.nav-active {
        left: 0;
    }

    .primary-menu {
        flex-direction: column;
        padding: 40px;
        display: flex !important; /* Override the display:none */
    }
}




 /*************************************************
 /*************************************************
 /*************************************************
 /*************************************************
            Home Page
 **************************************************
 **************************************************
 **************************************************/
 .hero {
     padding: 100px 0;
     background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
     border-bottom: 1px solid #e2e8f0;

     align-items: center;
     justify-content: center;
     display: flex;
 }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.hero-text p {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
}



.home  .hero {
    padding: 100px 0;
    align-items: center;
    display: flex;
    background: radial-gradient(circle at center, #1e293b 0%, #0b0f1a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.home .hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 800;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home .hero-text p {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 700px;
}
span.title-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #828eb682;
}











.hero-btns {
    display: flex;
    align-items: center;

    gap:5px;
}
/* Buttons */
.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary { background:  #22aafb; color: white;   }
.btn-primary:hover { background: #0056b3; transform: translateY(-2px); }
.btn-secondary { background: white; color: #007bff; border: 1px solid #007bff; }



#human-map {
    width: 100%;
    height: auto;
    overflow: visible;
    max-height: 60vh;
}

/* Realism effects */
.clickable-part {
    fill: #2c3e50;
    stroke: #2c3e50;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-part:hover {
    fill: #3498db;
    stroke: #3498db;
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(52, 152, 219, 0.8));
    transform: translateY(-2px);
}

.joint { fill: #95a5a6; stroke: none; }

/* Floating Tooltip */
#tooltip {
    position: absolute;
    padding: 8px 15px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    border-radius: 5px;
    font-size: 14px;
    pointer-events: none;
    display: none;
    z-index: 100;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


/* Category Cards */
.section-title { text-align: center; margin: 60px 0 40px; }


.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    text-align: center;
    padding: 15px;
    backdrop-filter: blur(8px);
    background: color-mix(in lab, #ffffff14 40%, transparent);
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .12);

    gap: 20px;
}

.cat-card {
  background: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: 0.3s;
  border: 1px solid transparent;
}
.cat-card a {
    text-decoration: none;
    color: #0480a5;
}

.cat-card:hover {
  border-color: #007bff;
  transform: translateY(-5px);
}

@media (max-width: 1210px) {
  .hero-text p {
      font-size: .8rem;
  }
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 3fr));
  gap: 20px;
}}
@media (max-width: 768px) {
  .hero-grid, .home .hero-grid { grid-template-columns: 1fr; text-align: center; }
 { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-btns {
      justify-content: center;
  }
  .btn-primary, .btn-secondary{
    font-size: 10px;
  }
  .grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 3fr));
    gap: 20px;
  }


  .cat-card {
    padding: 40px 10px;
  }
  .category-name {
      font-size: 12px;
  }
}
/* --- Post Grid Styling --- */
.latest-posts {
    padding-top: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.subtitle {
    color: #007bff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.view-all {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.view-all:hover { color: #007bff; }

/* Grid Structure */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
}

.post-image-link {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    display: block;
    aspect-ratio: 16 / 9;
}

.post-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-image-link img {
    transform: scale(1.08);
}

.post-placeholder {
    background: #f1f5f9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.post-placeholder svg { width: 50px; }

/* Meta & Text */
.post-meta {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

.post-date { font-weight: 600; }

.post-card h3 {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.post-card h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card h3 a:hover { color: #007bff; }

.post-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-link {
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .post-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
}

ul.term-list {
    display: flex;
    list-style: none;
    font-weight: 500;
    overflow: scroll;
    width: 100%;
    align-items: center;
    padding: 0;
    margin: 2rem 0;
}
li.term-item {
    min-width: 200px;
   	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
    min-height: 65px;
    padding: 0 4px;
    font-size: 12px;
}
li.term-item a {
    color: #726666;
}

.category-img i {
    font-size: 2rem; /* Adjust size as needed */
    color: #333;    /* Adjust color as needed */
}



/* --- Statistics Section --- */
.site-stats {
    background: #0f172a; /* Deep Navy */
    padding: 60px 0;
    margin: 40px 0;

    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    cursor: default;
    position: relative;
    overflow: hidden;
}
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.stat-item:hover::before {
    opacity: 1;
}

/* Icon Animation */
.stat-icon {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8; /* Muted starting color */
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 1;
}
.stat-item:hover .stat-icon {
    background: #3b82f6; /* Switches to Electric Blue on hover */
    color: white;
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Text Pop */
.stat-content {
    z-index: 1;
}

.stat-item:hover .stat-number {
    color: #3b82f6; /* Number glows blue on hover */
}
.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8; /* Muted Slate */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Stats */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { justify-content: center; text-align: center; flex-direction: column; }
}




/*************************************************
/*************************************************
/*************************************************
/*************************************************
Latest Posts Filter
**************************************************
**************************************************
**************************************************/



/* Filter Bar UI */
.ortho-filter-wrapper {
    margin: 40px auto;
    max-width: 700px;
}

.filter-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 25px;
    border-radius: 100px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.filter-input-group:focus-within {
    border-color: #0ad188;
    box-shadow: 0 10px 30px rgba(10, 209, 136, 0.15);
}

.search-icon { color: #94a3b8; margin-right: 15px; }

#ortho-ajax-filter {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a202c;
    background: transparent;
}

/* Loading States */
.loading-opacity {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0ad188;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Container to dim the area */
.loader-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px; /* Adjust based on your layout */
    background: rgba(255, 255, 255, 0.7); /* Slight fade effect */
    transition: opacity 0.3s ease;
}

/* The Spinner Ring */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3; /* Light grey background of the ring */
    border-top: 4px solid #3498db; /* Blue color - Change this to match your brand */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* The Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styling the text below the spinner */
.loader-timer {
    font-family: sans-serif;
    color: #555;
    font-size: 14px;
    margin: 0;
}
/* Results Grid & Cards (Already defined, ensure consistency) */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Pagination UI */
.ortho-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ortho-pagination a, .ortho-pagination span {
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #1a202c;
    font-weight: 700;
    transition: 0.2s;
}

.ortho-pagination .current {
    background: #0ad188;
    color: white;
    border-color: #0ad188;
}

.ortho-pagination a:hover {
    border-color: #0ad188;
    color: #0ad188;
}























/*************************************************
/*************************************************
/*************************************************
/*************************************************
Taxonomy Filter Stylingr
**************************************************
**************************************************
**************************************************/






.taxonomy-filter-nav {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.filter-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.taxonomy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.taxonomy-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none;
    color: #1a202c;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.term-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    height: 20px;
    min-width: 20px;
    padding: 0 6px;
    border-radius: 10px;
    margin-left: 8px;
    transition: all 0.2s ease;
}

/* Hover States */
.taxonomy-pill:hover {
    border-color: #0ad188;
    background: rgba(10, 209, 136, 0.05);
    color: #08a36a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 209, 136, 0.1);
}

.taxonomy-pill:hover .term-count {
    background: #0ad188;
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .taxonomy-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .taxonomy-pill {
        white-space: nowrap;
    }
}







/*************************************************
/*************************************************
/*************************************************
/*************************************************
404 Page
**************************************************
**************************************************
**************************************************/
.error-404-page {
  padding: 100px 0;
  background: #f8fafc;
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-content-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.error-icon {
  color: #cbd5e1;
  margin-bottom: 30px;
}

.error-icon svg {
  width: 120px;
  height: 120px;
}

.error-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.error-text {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 40px;
}

/* 404 Search Bar */
.error-search .search-form {
  display: flex;
  background: #fff;
  padding: 10px;
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 2px solid #e2e8f0;
  margin-bottom: 50px;
}

.error-search .search-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 1.1rem;
}

.error-search .search-submit {
  background: #0ad188;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.error-search .search-submit:hover {
  background: #08a36a;
}

/* Action Pills */
.error-actions h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.action-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.action-pill {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.action-pill:hover {
  border-color: #0ad188;
  color: #08a36a;
  transform: translateY(-2px);
}

.action-pill.primary {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.action-pill.primary:hover {
  background: #1e293b;
}

@media (max-width: 768px) {
  .error-title { font-size: 2.2rem; }
  .error-icon svg { width: 80px; height: 80px; }
}

















/* Container for the Apps (matching site-stats) */
.apps-display {
    background: #0f172a; /* Same Deep Navy as stats */
    padding: 40px 0;
    margin: 20px 0;


}

/* Reuse the stats-grid layout */
 

/* Individual App Card */
.stat-item.app-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item.app-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: #0ad188; /* Brand Green on hover */
}

/* The Icon Area - Updated for Badges */
.app-badge-icon {
    width: 100px; /* Wider to fit the rectangular badges */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-badge-icon img {
    max-width: 100%;
    height: auto;
    transition: transform 0.2s;
}

.app-badge-icon img:hover {
    transform: scale(1.1);
}

/* Text Content */
.stat-number {
    display: block;
    font-size: 1.2rem; /* Slightly smaller than stats for better fit */
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Tweak */
@media (max-width: 480px) {
    .stat-item.app-item {
        flex-direction: column;
        text-align: center;
    }
}











/* About Us page*/

/* Custom Variable Palette */
:root {
    --primary: #0066cc;
    --secondary: #00b4d8;
    --accent: #f0f7ff;
    --text-main: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 12px 24px rgba(0, 102, 204, 0.08);
    --radius: 16px;
}

.ortho-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* Hero Area */
.ortho-hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top right, #f0f7ff, #ffffff);
    border-radius: var(--radius);
    margin-bottom: 60px;
}

.ortho-hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.ortho-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Section Headers */
.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--primary);
}

.section-title i {
    background: var(--accent);
    padding: 10px;
    border-radius: 12px;
}

/* Grid Layout for "What We Do" */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid #edf2f7;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.service-card i {
    font-size: 2rem;
    color: var(--secondary);
    display: block;
    margin-bottom: 15px;
}

.service-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--primary);
}

/* App Promotion Section */
.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--primary);
    color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    margin: 80px 0;
    align-items: center;
}

.app-image {
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px;
}

.app-image i {
    font-size: 10rem;
    color: var(--secondary);
}

.app-content {
    padding: 60px;
}

.app-content h2 { color: var(--secondary); margin-bottom: 20px; }

.app-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.app-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-badges img { height: 40px; border-radius: 6px; }

/* Info Split Section */
.info-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block li i { color: var(--secondary); }

/* Vision & Involvement */
.vision-box {

    padding: 60px 0;
    border-radius: var(--radius);
    text-align: center;
}

.vision-box blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

.btn-contribute {
    display: inline-block;
    background: #0066cc;
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-contribute:hover { background: var(--secondary); }

/* Disclaimer Footer */
.disclaimer {
    margin-top: 60px;
    padding: 30px;
    background: #fffbe6;
    border-radius: 12px;
    border: 1px solid #ffe58f;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.disclaimer i { color: #faad14; font-size: 1.5rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-showcase, .info-split { grid-template-columns: 1fr; }
    .ortho-hero h1 { font-size: 2.2rem; }
    .app-image { display: none; }
    .app-content { padding: 30px; }
}



    .ortho-v2-body {
        background-color: #0b0f1a;
        color: #e2e8f0;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        line-height: 1.7;
    }

    /* Hero Section */
    .ortho-v2-hero {
        padding: 100px 20px;
        text-align: center;
        background: radial-gradient(circle at center, #1e293b 0%, #0b0f1a 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .ortho-v2-hero h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        font-weight: 800;
        background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 20px;
    }

    .ortho-v2-hero p {
        font-size: 1.2rem;
        color: #94a3b8;
        max-width: 700px;
        margin: 0 auto;
    }

    /* Layout Containers */
    .ortho-v2-container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 60px 20px;
    }

.ortho-v2-section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    justify-content: center;
}
    .ortho-v2-section-title i {
        color: #00d2ff;
    }

    /* Services Grid */
    .ortho-v2-services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
        margin: 40px 0 80px;
    }

    .ortho-v2-service-card {
        background: #161d2f;
        padding: 35px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.03);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .ortho-v2-service-card:hover {
        transform: translateY(-8px);
        border-color: #00d2ff;
        box-shadow: 0 10px 30px -10px rgba(0, 210, 255, 0.3);
    }

    .ortho-v2-service-card i {
        font-size: 2.5rem;
        margin-bottom: 20px;
        display: block;
        background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .ortho-v2-service-card h4 {
        font-size: 1.25rem;
        margin-bottom: 12px;
        color: #fff;
    }

    /* App Showcase Section */
    .ortho-v2-app-showcase {
        background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
        border-radius: 30px;
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
        overflow: hidden;
        margin-bottom: 80px;
        color: white;
    }

    .ortho-v2-app-image {
        background: rgba(0, 0, 0, 0.1);
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 8rem;
    }

    .ortho-v2-app-content {
        padding: 60px;
    }

    .ortho-v2-app-features {
        list-style: none;
        padding: 0;
        margin: 25px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .ortho-v2-app-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 500;
    }

    /* Info Blocks */
    .ortho-v2-info-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .ortho-v2-info-block {
        background: rgba(255, 255, 255, 0.02);
        padding: 40px;
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .ortho-v2-info-block ul {
        list-style: none;
        padding: 0;
    }

    .ortho-v2-info-block li {
        margin-bottom: 18px;
        display: flex;
        gap: 15px;
    }

    /* Vision Box */
    .ortho-v2-vision-box {
        text-align: center;
        padding: 80px 40px;
        background: #1e293b;
        border-radius: 40px;
        border: 2px dashed rgba(255, 255, 255, 0.1);
    }

    .ortho-v2-vision-box blockquote {
        font-size: 1.8rem;
        font-style: italic;
        color: #fff;
        margin: 30px 0;
        line-height: 1.4;
    }

    .ortho-v2-btn-contribute {
        display: inline-block;
        padding: 18px 45px;
        background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: bold;
        transition: 0.3s;
        box-shadow: 0 10px 20px -5px rgba(58, 123, 213, 0.5);
    }

    .ortho-v2-btn-contribute:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 30px -5px rgba(58, 123, 213, 0.7);
    }

    /* Disclaimer */
    .ortho-v2-disclaimer {
        margin-top: 60px;
        padding: 30px;
        background: rgba(255, 193, 7, 0.05);
        border-left: 4px solid #ffc107;
        display: flex;
        gap: 20px;
        border-radius: 0 15px 15px 0;
    }

    .ortho-v2-disclaimer i {
        color: #ffc107;
        font-size: 1.5rem;
    }

    @media (max-width: 850px) {
        .ortho-v2-app-showcase, .ortho-v2-info-split { grid-template-columns: 1fr; }
        .ortho-v2-app-image { padding: 40px; }
        .ortho-v2-app-features { grid-template-columns: 1fr; }
		.ortho-v2-info-block { padding: 22px; }
		.ortho-v2-section-title {
			font-size: 1rem;
			justify-content: left;
		}
		.ortho-v2-vision-box { padding: 80px 20px;}
 		.ortho-v2-vision-box blockquote { font-size: 1.2rem; }
		
		
}
/*Site Footer */


.ortho-footer {
    background-color: #1a1d23;
    color: #ffffff;
    padding: 60px 0 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 4px solid #0066cc;
}

.ortho-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.ortho-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333a45;
}

.ortho-footer-info { flex: 1; min-width: 300px; }

.ortho-footer-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.ortho-mission-text {
    color: #b0b8c1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 450px;
}

.ortho-social-icons { display: flex; gap: 12px; }

.ortho-social-icons a {
    color: #ffffff;
    background-color: #2d343e;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ortho-social-icons a:hover { background-color: #0066cc; transform: translateY(-3px); }

.ortho-footer-app {
    background-color: #252a33;
    padding: 25px;
    border-radius: 15px;
    width: 320px;
}

.app-heading {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color:  #24b3fb;
}

.app-buttons { display: flex; gap: 10px; margin-top: 15px; }

.app-btn {
    flex: 1;
    background-color: #1a1d23;
    border: 1px solid #3d4654;
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
}

.ortho-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.link-group h5 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Handles both manual lists and WP Menu lists */
.link-group ul, .wp-footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group ul li, .wp-footer-menu ul li {
    margin-bottom: 10px;
}

.link-group ul li a, .wp-footer-menu ul li a {
    color: #b0b8c1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.link-group ul li a:hover, .wp-footer-menu ul li a:hover {
    color: #00d4ff;
}

.ortho-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #333a45;
    font-size: 13px;
    color: #6c757d;
}

.legal-nav a { color: #6c757d; text-decoration: none; margin-left: 20px; }
.legal-nav a:hover { color: #ffffff; }

@media (max-width: 768px) {
    .ortho-footer-top { flex-direction: column; }
    .ortho-footer-app { width: 100%; }
    .ortho-footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
}
.content-summary {
    background: #0f172a;
    padding: 15px;
    color: #fff;
    border-right: 5px solid #55acee;
    font-size: 15px;
}




/* Quizer */

#ai-quiz-section { background: #ffffff; border-radius: 16px; padding: 30px; margin-top: 50px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); font-family: 'Segoe UI', Roboto, sans-serif; }
.quiz-title { color: #1a202c; font-size: 24px; margin-bottom: 10px; text-align: center; }
button#btn-start-quiz {
    border: 0;
    background: #0572f8;
}
.btn-primary:hover { background: #357abd; transform: translateY(-1px); }
.option-item { display: block; width: 100%; padding: 15px; margin: 10px 0; border: 2px solid #edf2f7; border-radius: 10px; background: #fff; cursor: pointer; text-align: left; font-size: 16px; transition: all 0.2s; }
.option-item:hover { border-color: #4a90e2; background: #f7fafc; }
.option-item.correct { background: #c6f6d5; border-color: #38a169; color: #22543d; }
.option-item.wrong { background: #fed7d7; border-color: #e53e3e; color: #742a2a; }
.result-row { padding: 15px; border-bottom: 1px solid #edf2f7; }
.score-badge { font-size: 40px; color: #4a90e2; font-weight: 800; display: block; text-align: center; margin-bottom: 20px; }





/*Single Post */

/* --- Root Styles --- */
.ortho-clinical-reader { background: #fff; }
.entry-content {
    font-size: 1.2rem;
    line-height: 1.85;
    color: #334155;
    padding: 15px;
}
/* --- Hero Section --- */
.clinical-hero {
  padding: 100px 0 80px;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  text-align: center;
}

.ortho-breadcrumb { margin-bottom: 30px; }
.ortho-breadcrumb a { color: #64748b; font-size: 0.85rem; text-decoration: none; }
.ortho-breadcrumb .separator {  color: #cbd5e1; }
.clinical-title {
    font-size: 3.0rem;
    font-weight: 800;
    color: #007bff;
    line-height: 1.3;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    text-shadow: 0 0 4px rgb(152 152 152);
    text-transform: capitalize;
    overflow: hidden;
}
.clinical-meta-strip {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.meta-item { display: flex; align-items: center; gap: 12px; }
.meta-icon { color: #0ad188; background: rgba(10, 209, 136, 0.1); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.meta-text { text-align: left; }
.m-label { display: block; font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }
.m-value { font-weight: 700; color: #1e293b; font-size: 0.7rem; }

/* --- Content Layout --- */
.clinical-body-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  padding: 40px 0 100px;
}

.clinical-sidebar .sticky-wrap { position: sticky; top: 100px; }
.sidebar-title { font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }

.toc-box { background: #f8fafc; padding: 25px; border-radius: 20px; border: 1px solid #f1f5f9; margin-bottom: 20px; }

.app-cta-card {
  background: #0f172a;
  color: #fff;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  gap: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.app-cta-card:hover { transform: translateY(-5px); }
.cta-text strong { display: block; color: #0ad188; font-size: 0.9rem; }
.cta-text span { font-size: 0.75rem; color: #94a3b8; }

/* --- Entry Content --- */
.main-featured-wrapper { border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.clinical-image { width: 100%; height: auto; display: block; }

.clinical-content { max-width: 100%; }
.entry-content { font-size: 1.2rem; line-height: 1.85; color: #334155; }
.entry-content h2 {
    font-size: 2.25rem;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.4;
}
.post-tags-refined { display: flex; gap: 10px; margin-top: 60px; }
.post-tags-refined a { background: #f1f5f9; color: #64748b; padding: 6px 18px; border-radius: 50px; text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: 0.2s; }
.post-tags-refined a:hover { background: #0ad188; color: #fff; }

/* --- Related Grid --- */
.related-clinical-section { background: #f1f5f9; padding: 100px 0; }
.section-header-wrap { margin-bottom: 50px; }
.section-title { font-size: 2rem; font-weight: 800; color: #0f172a; }
.section-desc { color: #64748b; }

.related-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.clinical-card { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid #e2e8f0; transition: 0.3s; }
.clinical-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.1); border-color: #0ad188; }
.card-image { height: 160px; background: #0f172a; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: #0ad188; font-weight: 900; font-size: 1.2rem; }
.card-data { padding: 25px; }
.card-label { font-size: 0.7rem; font-weight: 800; color: #0ad188; text-transform: uppercase; display: block; margin-bottom: 10px; }
.clinical-card h4 { font-size: 1.1rem; color: #0f172a; margin-bottom: 10px; line-height: 1.3; }
.clinical-card h4 a { text-decoration: none; color: inherit; }
.container-content {
    max-width: 1340px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
  .container-content {
      padding: 10px;
  }
  .clinical-body-grid {
      display: block;
      gap: 0;
      padding: 40px 0 100px;
      grid-template-columns: 1fr;
  }
  .clinical-sidebar { display: none; }
  .related-post-grid {
      grid-template-columns: repeat(1, 1fr);
  }
  .clinical-title {
      font-size: 2.0rem;
      line-height: 1.4;
      margin: 0 0 33px 0;
  }
  .ortho-breadcrumb {
      margin-bottom: 0;
  }
  nav.rank-math-breadcrumb, nav.rank-math-breadcrumb a {
      font-size: 10px;

  }
}

@media (max-width: 798px) {

  .clinical-meta-strip {
      gap: 10px;
      font-size: 12px;
  }
  .meta-icon {
    width: 25px;
    height: 25px;
  }

  .meta-item {
      gap: 4px;
  }
  .m-label {
      font-size: 0.6rem;
  }

  .entry-content h2 {

      font-size: 28px;
  }
  }


  .entry-content li {
      padding-left: 10px;
      margin-bottom: 8px;
      color: #333;
  }

  /* Style the actual bullet point */
  .entry-content li::marker {
      content: "→"; /* You can use any symbol or emoji */
      color: #3498db; /* Your brand color */
      font-weight: bold;
      font-size: 1.2em;
  }
  /* Targets the first paragraph of your post content */
  .entry-content > p:first-of-type::first-letter {
      font-size: 4rem;
      font-weight: bold;
      float: left;
      margin-top: 8px;
      margin-right: 10px;
      line-height: 1;
      color: #333;
      text-transform: uppercase;
  }





  /* Lightbox Overlay */
  #custom-lightbox {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.9);
      align-items: center;
      justify-content: center;
      cursor: zoom-out;
  }

  /* The Image */
  #custom-lightbox img {
      max-width: 90%;
      max-height: 80%;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
      transform: scale(0.9);
      transition: transform 0.3s ease;
  }

  #custom-lightbox.open img {
      transform: scale(1);
  }

  /* Close Button */
  #lightbox-close {
      position: absolute;
      top: 20px; right: 30px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
  }
:root {
  --background-color: #f8fafc;
  --text-color: #1a202c;
  --muted-color: #718096;
  --accent-color: #4299e1;
  --card-background: #ffffff;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --thread-line-color: #e2e8f0;
}

.comments-area {
    margin-top: 2rem;
    z-index: 2;
    position: relative;
   	padding:8px;
    backdrop-filter: blur(8px);
    background: color-mix(in lab, white 40%, transparent);
    border: 1px solid rgba(15, 23, 42, .06);
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.comment-list,
.comment-list .children {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .children {
  margin-right: 2rem;
  position: relative;
}

.comment-list .children::before {
  content: '';
  position: absolute;
  top: 0;
  right: -1rem;
  bottom: 0;
  width: 2px;
  background-color: var(--thread-line-color);
}

.comment-item {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.comment-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: 1rem;
  height: 2px;
  background-color: var(--thread-line-color);
}

.comment-body {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.comment-body:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.comment-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.comment-author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-author {
  font-weight: 600;
  color: var(--text-color);
}

.comment-metadata {
  font-size: 0.75rem;
  color: var(--muted-color);
}

.comment-content {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.comment-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  margin-top: 1rem;
}

.reply-link a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

a.url {
  text-decoration: none;
  color: #3f51b5;
}

.reply-link a:hover {
  background-color: #3182ce;
  transform: translateY(-1px);
}

.comment-respond {
    margin-top: 0;
    z-index: 2;
    position: relative;
    padding: clamp(2rem, 6vw, 5rem) 1rem;
    backdrop-filter: blur(8px);
    background: color-mix(in lab, white 40%, transparent);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 20px 60px rgba(15, 23, 42, .12);
}

.comment-reply-title {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 7px;
}

.comment-form-comment {
  margin-bottom: 1rem;
}

.comment-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background-color: var(--background-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 100px;

}

.comment-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-color);
}

.submit-button {
    padding: 0.75rem 1.5rem;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #fff;
    background: #0085c9;
    box-shadow: 0px 1px 24px rgb(33 150 243 / 23%);
    text-decoration: none;
}

.submit-button:hover {
    background: #004aad;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(229, 62, 62, 0.28);
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-list>.comment-item {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.comment-list>.comment-item:nth-child(1) {
  animation-delay: 0.1s;
}

.comment-list>.comment-item:nth-child(2) {
  animation-delay: 0.2s;
}

.comment-list>.comment-item:nth-child(3) {
  animation-delay: 0.3s;
}

.comment-list>.comment-item:nth-child(4) {
  animation-delay: 0.4s;
}

.comment-list>.comment-item:nth-child(5) {
  animation-delay: 0.5s;
}

.comment-form-url {
  display: none;
}

.comment-form-author input,
.comment-form-email input {
  width: 100%;
  border: .1px solid #dfdfdf;
  background: #f8fafc;
}

p.logged-in-as {
  font-size: 11px;
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comments-area {
    padding: 0;

  }

  .comment-body {
    padding: 1rem;
  }

  .comment-list .children {
    margin-right: 1rem;
  }

  .comment-list .children::before {
    right: -0.5rem;
  }

  .comment-item::before {
    right: -0.5rem;
    width: 0.5rem;
  }
}


div#Comments {
    max-width: 650px;
    margin: 0 auto;
	padding:15px;
}