/* CWS: nudge the theme's small-text token up one point (14 -> 15) */
:root {
  --font-size-sm: 15px;
}

.nav-item.has-mega-menu:hover .mega-menu {
    display: block !important;
}

.post-content {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* Paragraphs */
.post-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.4em;
}

/* In-article subheadings: vertical rhythm + brand accent on H2 */
.post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.6em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid var(--color-primary);
}
.post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.post-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 1.4em;
  margin-bottom: 0.5em;
}

/* Lists: restore bullets/numbers, indentation and spacing */
.post-content ul,
.post-content ol {
  margin: 0 0 1.4em;
  padding-left: 1.5em;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}
.post-content li::marker { color: var(--color-primary); }
.post-content li > ul,
.post-content li > ol { margin: 0.5em 0 0.5em; }

/* Links */
.post-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-content a:hover { opacity: 0.8; }

/* Emphasis */
.post-content strong { color: var(--color-dark); font-weight: 700; }
.post-content em { font-style: italic; }

/* Blockquotes */
.post-content blockquote {
  margin: 1.6em 0;
  padding: 16px 24px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-light);
  font-style: italic;
  color: var(--color-dark);
}
.post-content blockquote p:last-child { margin-bottom: 0; }

/* Images / figures */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.post-content figure { margin: 1.6em 0; }
.post-content figcaption {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  text-align: center;
  margin-top: 8px;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: var(--font-size-base);
}
.post-content th,
.post-content td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  text-align: left;
}
.post-content th { background: var(--color-bg-light); font-weight: 700; }

/* First element shouldn't push a big top margin under the featured image */
.post-content > *:first-child { margin-top: 0; }

.sidebar {
  display: none !important;
}

.blog-container,
.content-wrapper {
  width: 100%;
  max-width: 100%;
}

/* CWS: desktop top-nav + dropdown link sizes (mobile menu stays theme default) */
@media (min-width: 1025px) {
  .main-nav .nav-link {
    font-size: 17px !important;
    padding: 8px 12px;
  }
  .main-nav .dropdown-menu a,
  .main-nav .mega-menu-column ul li a {
    font-size: 16px !important;
  }
}

/* CWS: card body text 15 -> 16 with a touch more line-height so nothing crowds */
.service-card-body p,
.diff-card p,
.feature-card-body p,
.info-card-content p,
.gallery-caption p,
.blog-card-body p,
.related-service-card p,
.process-step p,
.area-card .city-list li {
  font-size: 16px;
  line-height: 1.7;
}

/* CWS: hero card paragraph keeps its 16px size, just breathes a little more */
.hero-subtitle {
  line-height: 1.75;
}


/* CWS: reversed editorial-spread sets direction:rtl to flip columns, but the LTR reset only reaches element grandchildren — unwrapped body text leaked RTL (right-aligned, period on the wrong side). Force the content wrappers back to LTR + left-aligned. Fixes Why Choose Us and any other reversed spread. */
.editorial-spread.reversed .editorial-spread-content,
.editorial-spread.reversed .editorial-spread-image {
  direction: ltr;
  text-align: left;
}