/* ==========================================================================
   1. TOP ANNOUNCEMENT & HEADER
   ========================================================================== */
.top-announcement-bar {
  background: var(--dark-navy);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-announcement-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-socials a {
  color: #cbd5e1;
  margin-left: 1.25rem;
  font-weight: 500;
}
.top-socials a:hover {
  color: var(--primary);
}

.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
}
.brand-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark-navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.02em;
}
.brand-title span {
  color: var(--primary);
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}
.nav-list a:hover {
  color: var(--primary);
}
.btn-header-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(194, 94, 46, 0.25);
}
.btn-header-cta:hover {
  background: var(--primary-hover);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark-navy);
  margin: 5px 0;
  border-radius: 2px;
}

.header-ad-container {
  text-align: center;
  padding: 0.75rem 0;
  background: #f1f5f9;
  border-top: 1px solid var(--gray-border);
}
.ad-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   2. HERO BANNERS (HOME & INTERNAL PAGES)
   ========================================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  border-bottom: 4px solid var(--primary);
}
.page-hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  text-transform: uppercase;
  background: rgba(194, 94, 46, 0.2);
  border: 1px solid rgba(194, 94, 46, 0.6);
  color: #ff9d6e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.page-hero-heading {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.page-hero-sub {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.about-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a365d 100%);
}
.contact-hero {
  background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
}
.legal-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.blog-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Home Hero Specifics */
.home-hero {
  padding: 5rem 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-text {
  text-align: left;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 2.5rem 0;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(194, 94, 46, 0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}
.stat-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
}
.stat-item span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.hero-image-box {
  position: relative;
}
.hero-visual-graphic {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.visual-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}
.hero-visual-graphic h3 {
  font-size: 1.65rem;
  margin-bottom: 0.65rem;
  color: var(--white);
}
.hero-visual-graphic p {
  color: #cbd5e1;
  font-size: 0.95rem;
}
.hero-floating-card {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--white);
  color: var(--dark-navy);
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  border: 1px solid var(--gray-border);
}
.hero-floating-card h4 {
  font-size: 0.95rem;
  color: var(--dark-navy);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.hero-floating-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-icon {
  font-size: 1.7rem;
}

/* ==========================================================================
   3. SECTIONS & 10 CORE CATEGORIES CARDS
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}
.bg-white {
  background: var(--white);
}
.section-heading {
  margin-bottom: 3.5rem;
}
.section-heading.text-center {
  text-align: center;
}
.section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title {
  font-size: 2.25rem;
  color: var(--dark-navy);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}
.section-heading-split .section-sub {
  margin: 0;
}

/* 10 CORE CATEGORIES GRID - POLISHED SOLID CARDS */
.category-showcase-grid-10 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.niche-box {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.niche-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.niche-icon {
  font-size: 2.25rem;
  display: inline-block;
  margin-bottom: 1rem;
  background: var(--primary-light);
  width: 54px;
  height: 54px;
  line-height: 54px;
  text-align: center;
  border-radius: var(--radius-sm);
}
.niche-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.niche-box p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex-grow: 1;
}
.niche-box a {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  display: inline-block;
  margin-top: auto;
}
.niche-box a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   4. COST MATRIX TABLE (HIGH-VALUE CONTENT SECTION)
   ========================================================================== */
.table-responsive-wrapper {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.cost-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.cost-matrix-table th {
  background: var(--dark-navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cost-matrix-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-border);
  font-size: 1rem;
  color: var(--text-main);
}
.cost-matrix-table td strong {
  color: var(--dark-navy);
}
.cost-matrix-table tr:last-child td {
  border-bottom: none;
}
.cost-matrix-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}
.cost-matrix-table tbody tr:hover {
  background-color: var(--primary-light);
}

/* ==========================================================================
   5. POST CARDS & BLOG STREAM
   ========================================================================== */
.posts-three-col, .posts-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.reno-post-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.reno-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-border-dark);
}
.card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #e2e8f0;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.reno-post-card:hover .card-thumb img {
  transform: scale(1.03);
}
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.1rem;
}
.badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
}
.badge-cat a {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-details {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.meta-row {
  display: flex;
  gap: 1.25rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.card-heading {
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.card-heading a {
  color: var(--dark-navy);
}
.card-heading a:hover {
  color: var(--primary);
}
.card-text {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.65;
}
.btn-read-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: auto;
}

/* ==========================================================================
   6. CTA BANNER & TESTIMONIALS
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--primary) 0%, #a34c21 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner-inner {
  max-width: 820px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}
.cta-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}
.btn-primary-dark {
  background: var(--dark-navy);
  color: var(--white);
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-primary-dark:hover {
  background: #000000;
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}
.testimonial-card p {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.75;
  font-style: italic;
  font-size: 1.05rem;
}
.client-meta strong {
  display: block;
  font-style: normal;
  color: var(--dark-navy);
  font-size: 1rem;
}
.client-meta span {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
}

/* ==========================================================================
   7. SIDEBAR & INNER LAYOUT
   ========================================================================== */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  padding: 3.5rem 1.5rem 5rem 1.5rem;
}
.content-main {
  min-width: 0;
}

.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.widget-box {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 1.2rem;
  color: var(--dark-navy);
  font-weight: 800;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}
.sidebar-search-form {
  display: flex;
  gap: 0.5rem;
}
.sidebar-search-form input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.btn-search {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}
.sidebar-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-post-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-border);
}
.sidebar-post-item:last-child {
  border-bottom: none;
}
.sidebar-thumb-link {
  flex-shrink: 0;
  width: 75px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sidebar-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-post-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.35;
  display: block;
}
.sidebar-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.categories-styled-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.categories-styled-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.tag-cloud-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag-badge {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  color: var(--text-main);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.tag-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.sidebar-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  margin: 0.85rem 0;
  font-size: 0.95rem;
}
.sidebar-form button {
  width: 100%;
}
.sidebar-powered {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-border);
}

/* ==========================================================================
   8. STATIC PAGES (ABOUT, CONTACT, LEGAL)
   ========================================================================== */
.static-article-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}
.lead-text {
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 2rem;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.about-card {
  background: var(--gray-light);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
}
.about-card h3 {
  font-size: 1.15rem;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.about-disciplines-list {
  margin: 1.5rem 0 2rem 1.5rem;
  line-height: 1.8;
}
.about-disciplines-list li {
  margin-bottom: 0.75rem;
}

.contact-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
}
.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.method-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.renovation-contact-form .form-group {
  margin-bottom: 1.35rem;
}
.renovation-contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark-navy);
}
.renovation-contact-form input,
.renovation-contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fdfdfd;
}
.renovation-contact-form input:focus,
.renovation-contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.captcha-box {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
}
.alert {
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-weight: 600;
}
.alert-success {
  background: #dcfce7;
  border-left: 5px solid #22c55e;
  color: #15803d;
}
.alert-danger {
  background: #fee2e2;
  border-left: 5px solid #ef4444;
  color: #991b1b;
}
.warning-box {
  background: #fef3c7;
  border-left: 5px solid #f59e0b;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  color: #92400e;
}
.legal-doc section {
  margin-bottom: 2.25rem;
}
.legal-doc h2 {
  font-size: 1.45rem;
  color: var(--dark-navy);
  margin-bottom: 0.65rem;
}

/* ==========================================================================
   9. FOOTER STYLING
   ========================================================================== */
.site-footer {
  background: var(--dark-navy);
  color: #94a3b8;
  padding-top: 4.5rem;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-title {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.footer-title span {
  color: var(--primary);
}
.thal-credit {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}
.thal-credit a {
  color: var(--primary);
  font-weight: 600;
}
.footer-widget-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #94a3b8;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  padding: 2.25rem 0;
  font-size: 0.875rem;
}
.footer-bottom a {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .category-showcase-grid-10 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .hero-actions, .hero-stats {
    justify-content: center;
  }
  .hero-image-box {
    display: none;
  }
  .layout-grid {
    grid-template-columns: 1fr;
  }
  .contact-split-layout {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .category-showcase-grid-10 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero-heading {
    font-size: 2.1rem;
  }
  .mobile-toggle {
    display: block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.active {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .static-article-wrapper {
    padding: 1.75rem;
  }
  .category-showcase-grid-10 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. COMMENT SECTION & FORM STYLING
   ========================================================================== */
.comments-area {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--gray-border);
}
.comments-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 2rem;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}
.comment-list .comment {
  margin-bottom: 1.75rem;
}
.comment-body {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.comment-author .avatar {
  border-radius: 50%;
  border: 2px solid var(--gray-border);
  vertical-align: middle;
}
.comment-author .fn {
  font-weight: 700;
  color: var(--dark-navy);
  font-style: normal;
  font-size: 1.05rem;
  margin-left: 0.5rem;
}
.comment-metadata {
  font-size: 0.825rem;
  color: var(--text-muted);
}
.comment-metadata a {
  color: var(--text-muted);
}
.comment-metadata a:hover {
  color: var(--primary);
}
.comment-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1rem;
}
.comment-body .reply a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.comment-body .reply a:hover {
  background: var(--primary);
  color: var(--white);
}
.comment-list .children {
  list-style: none;
  padding-left: 2.5rem;
  margin-top: 1.5rem;
  border-left: 2px solid var(--primary-subtle);
}

/* Comment Form */
.comment-respond {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
.comment-reply-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.comment-reply-title small a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 0.75rem;
}
.comment-notes {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.comment-respond .form-group {
  margin-bottom: 1.25rem;
}
.comment-respond label {
  display: block;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fdfdfd;
  transition: var(--transition);
}
.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
  background: var(--white);
}

/* Anti-Spam Captcha Box in Comment Form */
.comment-captcha-box {
  background: var(--primary-light);
  border: 1px solid #fed7aa;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.comment-captcha-box label {
  display: block;
  font-weight: 700;
  color: #9a3412;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.comment-captcha-box input {
  max-width: 140px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #fdba74;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}
.submit-comment-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(194, 94, 46, 0.25);
  transition: var(--transition);
}
.submit-comment-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(194, 94, 46, 0.35);
}

/* ==========================================================================
   12. NEW SIDEBAR SECTIONS (CTA, DATE ARCHIVES, TAGS)
   ========================================================================== */
.cta-sidebar-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  border-color: #334155;
  text-align: center;
}
.cta-sidebar-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.cta-sidebar-box .widget-title.cta-title {
  color: var(--white);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}
.cta-sidebar-box p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.btn-block {
  display: block;
  width: 100%;
}

.date-archives-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.date-archives-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.date-archives-list li:before {
  content: "📅 ";
  margin-right: 0.4rem;
}
.date-archives-list a {
  color: var(--text-main);
  font-weight: 500;
}
.date-archives-list a:hover {
  color: var(--primary);
}

/* Responsive tweaks for comments */
@media (max-width: 768px) {
  .comment-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .comment-list .children {
    padding-left: 1.25rem;
  }
  .comment-respond {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   13. RELATED POSTS SECTION (SINGLE POST)
   ========================================================================== */
.related-posts-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--gray-border);
}
.related-posts-header {
  margin-bottom: 1.75rem;
}
.related-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}
.related-posts-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-navy);
  letter-spacing: -0.01em;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.related-post-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-border-dark);
}
.related-card-thumb {
  position: relative;
  height: 160px;
  background: #e2e8f0;
  overflow: hidden;
}
.related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.related-post-card:hover .related-card-thumb img {
  transform: scale(1.05);
}
.related-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.related-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.related-card-heading {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}
.related-card-heading a {
  color: var(--dark-navy);
}
.related-card-heading a:hover {
  color: var(--primary);
}
.related-read-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

@media (max-width: 992px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}
