/**
 * TTSun Solar front-end styles (lite) — aligned with pro demo look.
 */

:root {
  --color-primary: #f59e0b;
  --color-primary-dark: #b45309;
  --color-cream: #f7fbff;
  --color-soft-sage: #ecfdf5;
  --color-ink: #0f172a;
  --color-text: #263241;
  --color-muted: #64748b;
  --color-line: #dbe7f3;
  --color-white: #ffffff;
  --color-footer: #07111f;
  --color-footer-deep: #030712;
  --color-footer-text: #cbd5e1;
  --color-footer-muted: #94a3b8;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.14);
  --radius: 8px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  color: var(--color-text);
  background: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input { font: inherit; }

button { cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.5);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 100000;
  display: block;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  margin: 0;
  overflow: visible;
  clip: auto !important;
  clip-path: none;
  white-space: normal;
  color: var(--color-ink);
  background-color: var(--color-white);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: normal;
}

.skip-link.screen-reader-text:focus {
  color: var(--color-white);
  background: var(--color-ink);
}

.section { padding: 90px 0; }

.section--services {
  padding-bottom: 36px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
}

.section_tagline {
  margin: 0 0 10px;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.button--primary {
  color: var(--color-ink);
  background: var(--color-primary);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: var(--color-white);
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.text-link {
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* Header */
.site-header {
  position: relative;
  z-index: 1000;
}

.topbar {
  color: var(--color-white);
  background: var(--color-footer);
  font-size: 14px;
}

.topbar__inner,
.navbar__inner,
.contact-strip,
.social-links,
.main-nav__list {
  display: flex;
  align-items: center;
}

.topbar__inner,
.navbar__inner {
  justify-content: space-between;
  gap: 24px;
}

.topbar__inner { min-height: 44px; }

.contact-strip {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-style: normal;
  margin: 0;
}

.contact-strip a,
.contact-strip span {
  color: var(--color-white);
}

.contact-strip i {
  margin-right: 6px;
  color: var(--color-primary);
}

.fa-solid,
.fa-regular,
.fas,
.far {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal;
  font-weight: 900;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-style: normal;
  font-weight: 400;
}

.social-links { gap: 12px; }

.social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  color: var(--color-ink);
  background: var(--color-primary);
  transform: translateY(-2px);
}

.navbar {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  position: relative;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand--logo-tagline {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.brand .custom-logo-link img { max-height: 48px; width: auto; }

.brand__link { display: inline-flex; text-decoration: none; }

.brand__link--with-logo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand__link--under-logo {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.brand--logo-tagline .brand__tagline {
  margin-top: 0;
  max-width: 260px;
  line-height: 1.35;
}

.brand__name,
.brand__tagline { display: block; }

.brand__name {
  color: var(--color-primary-dark);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.brand__tagline {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar__nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav__list {
  list-style: none;
  align-items: stretch;
  align-self: stretch;
  gap: 20px;
  margin: 0;
  padding: 0;
  min-height: 86px;
}

.main-nav__list > li {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.main-nav__list li { position: relative; }

.main-nav a {
  color: var(--color-ink);
  font-weight: 600;
  transition: color 0.25s ease, background 0.25s ease;
}

.main-nav__list > li > a {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 0 2px;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--color-primary);
}

.main-nav__list .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}

.main-nav__list .sub-menu .menu-item-has-children > a::after {
  margin-left: auto;
  margin-right: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  border-right: 0;
}

.main-nav__list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  z-index: 10000;
}

.main-nav__list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 0;
}

.main-nav__list .sub-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  white-space: nowrap;
}

.main-nav__list .sub-menu a:hover {
  background: var(--color-soft-sage, #f3f6f1);
  color: var(--color-primary);
}

.main-nav__list .menu-item-has-children:hover > .sub-menu,
.main-nav__list .menu-item-has-children:focus-within > .sub-menu,
.main-nav__list .menu-item-has-children.is-hover > .sub-menu,
.main-nav__list .menu-item-has-children.submenu-open > .sub-menu {
  display: block;
}

.solar-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(180, 83, 9, 0.14);
  cursor: pointer;
}

.solar-nav-toggle:hover,
.solar-nav-toggle[aria-expanded="true"] {
  background: var(--color-soft-sage);
}

.solar-nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.solar-nav-toggle-icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.solar-nav-toggle[aria-expanded="true"] .solar-nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.solar-nav-toggle[aria-expanded="true"] .solar-nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.solar-nav-toggle[aria-expanded="true"] .solar-nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Below .site-header (z-index 1000) so the drawer stays clickable without leaving the header. */
.solar-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(7, 17, 31, 0.55);
}

.solar-nav-drawer-head {
  display: none;
}

/* Banner */
.hero {
  position: relative;
  height: min(420px, calc(100vh - 120px));
  min-height: 500px;
  overflow: hidden;
  background: var(--color-ink);
}

.hero--static .hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.82), rgba(7, 17, 31, 0.32));
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(760px, calc(100% - 32px));
  color: var(--color-white);
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero__content h1,
.hero__content h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.05;
}

.hero__content .section_tagline { color: var(--color-primary); }

/* Inner page banner */
.inner-banner {
  position: relative;
  display: block;
  min-height: 360px;
  height: 420px;
  max-height: 520px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--color-ink);
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.28) 0%, rgba(7, 17, 31, 0.55) 100%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.35) 0%, rgba(180, 83, 9, 0.18) 100%);
}

/* Breadcrumbs */
.ttsunsolar-breadcrumb {
  margin: 0 0 18px;
}

.ttsunsolar-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ttsunsolar-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
}

.ttsunsolar-breadcrumb__sep {
  margin: 0 10px;
  color: var(--color-primary);
  opacity: 0.85;
}

.ttsunsolar-breadcrumb a {
  color: var(--color-ink);
  transition: color 0.2s ease;
}

.ttsunsolar-breadcrumb a:hover {
  color: var(--color-primary-dark);
}

.ttsunsolar-breadcrumb__current {
  color: var(--color-muted);
}

.page-header {
  margin: 0 0 28px;
}

.page-title {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}

.archive-description {
  margin-top: 12px;
  color: var(--color-muted);
}

/* Services */
.services-grid,
.blog-grid,
.footer-grid {
  display: grid;
  gap: 26px;
}

.services-grid { grid-template-columns: repeat(4, 1fr); }

.service-card,
.blog-card {
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover,
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card__image,
.blog-card__image {
  display: block;
  overflow: hidden;
}

.service-card img,
.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover img { transform: scale(1.06); }

.service-card__body,
.blog-card__body { padding: 24px; }

.service-card h3,
.blog-card .entry-title {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 21px;
  line-height: 1.3;
}

.service-card h3 a:hover,
.blog-card .entry-title a:hover { color: var(--color-primary-dark); }

.service-card p,
.blog-card .entry-summary,
.entry-meta { color: var(--color-muted); }

/* Content */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding: 40px 0 60px;
}

.site-main { min-width: 0; }

.blog-grid { grid-template-columns: 1fr; }

.blog-grid--home {
  grid-template-columns: 1fr;
  gap: 28px;
}

/* Plan A — featured lead + stacked rows */
.section--blog-home {
  padding-top: 28px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-cream) 48%, #ffffff 100%);
}

.blog-home-heading {
  margin: 0 0 32px;
  text-align: left;
}

.blog-home-heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.2;
}

.blog-home-feed {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.blog-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.blog-feature__media {
  display: block;
  min-height: 320px;
  overflow: hidden;
}

.blog-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-feature:hover .blog-feature__media img {
  transform: scale(1.04);
}

.blog-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px 32px;
}

.blog-feature .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-feature .entry-meta__cat {
  color: var(--color-primary-dark);
}

.blog-feature .entry-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: var(--color-ink);
}

.blog-feature .entry-title a:hover {
  color: var(--color-primary-dark);
}

.blog-feature .entry-summary {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.65;
}

.blog-feature .button {
  align-self: flex-start;
  margin-top: 6px;
}

.blog-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.blog-row:hover {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.blog-row__media {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.blog-row__media img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.blog-row__body {
  min-width: 0;
}

.blog-row .entry-meta {
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.blog-row .entry-title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-ink);
}

.blog-row .entry-title a:hover {
  color: var(--color-primary-dark);
}

.blog-row .entry-summary {
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-layout--blog-home {
  align-items: start;
}

.content-layout--blog-home .sidebar-column {
  position: sticky;
  top: 24px;
}

/* Pagination */
.navigation.pagination,
.ttsunsolar-pagination {
  margin-top: 36px;
}

.navigation.pagination .nav-links,
.ttsunsolar-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.navigation.pagination .page-numbers,
.ttsunsolar-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.navigation.pagination .page-numbers:hover,
.ttsunsolar-pagination .page-numbers:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.navigation.pagination .page-numbers.current,
.ttsunsolar-pagination .page-numbers.current {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-ink);
}

.navigation.pagination .page-numbers.dots,
.ttsunsolar-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: 24px;
  padding: 0;
}

.navigation.pagination .prev,
.navigation.pagination .next,
.ttsunsolar-pagination .prev,
.ttsunsolar-pagination .next {
  min-width: auto;
  padding: 0 16px;
}

.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sidebar panel */
.sidebar-column {
  min-width: 0;
}

.sidebar-panel {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.sidebar-panel__head {
  padding: 22px 22px 18px;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(7, 17, 31, 0.04) 100%),
    var(--color-cream);
  border-bottom: 1px solid var(--color-line);
}

.sidebar-panel__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-panel__title {
  margin: 0;
  color: var(--color-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.sidebar-panel__widgets {
  padding: 8px 10px 14px;
}

.sidebar-column .widget,
.content-layout--blog-home .sidebar-column .widget {
  margin: 0 0 8px;
  padding: 16px 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 0;
}

.sidebar-column .widget:last-child {
  margin-bottom: 0;
}

.sidebar-column .widget-title,
.content-layout--blog-home .sidebar-column .widget-title {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 10px;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 800;
}

.sidebar-column .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.sidebar-column .widget ul,
.sidebar-column .widget ol,
.sidebar-column .wp-block-latest-comments {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-column .widget ul li,
.sidebar-column .widget ol li,
.sidebar-column .wp-block-latest-comments__comment {
  margin: 0;
  border-bottom: 1px solid var(--color-line);
}

.sidebar-column .widget ul li:last-child,
.sidebar-column .widget ol li:last-child,
.sidebar-column .wp-block-latest-comments__comment:last-child {
  border-bottom: 0;
}

.sidebar-column .widget ul a {
  display: block;
  padding: 10px 4px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-column .widget ul a:hover {
  color: var(--color-primary-dark);
  padding-left: 8px;
}

/* Recent Comments (classic widget + Latest Comments block) */
.sidebar-column .widget_recent_comments ul li,
.sidebar-column .wp-block-latest-comments__comment {
  padding: 12px 4px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.sidebar-column .widget_recent_comments ul a,
.sidebar-column .wp-block-latest-comments a {
  display: inline;
  padding: 0;
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-column .widget_recent_comments ul a:hover,
.sidebar-column .wp-block-latest-comments a:hover {
  color: var(--color-primary-dark);
  padding-left: 0;
}

.sidebar-column .wp-block-latest-comments__comment article,
.sidebar-column .wp-block-latest-comments__comment-meta {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.sidebar-column .wp-block-latest-comments__comment-excerpt {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.sidebar-column .wp-block-latest-comments__comment-date {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.sidebar-column .widget_search .search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-column .widget_search .search-field {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-cream);
}

.sidebar-column .widget_search .search-field:focus {
  border-color: var(--color-primary);
  outline: none;
  background: var(--color-white);
}

.sidebar-column .widget_search .search-submit {
  width: 100%;
}

.sidebar-column .widget_calendar table {
  width: 100%;
}

.sidebar-column .tagcloud a {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-ink);
  font-size: 12px !important;
  font-weight: 700;
}

.sidebar-column .tagcloud a:hover {
  background: var(--color-primary);
}

.content-layout--page {
  grid-template-columns: 1fr;
}

.site-main--full {
  width: 100%;
}

.section--homepage-page {
  padding-top: 70px;
  padding-bottom: 70px;
  background: var(--color-white);
}

.single-entry .entry-header { margin-bottom: 24px; }

.single-entry .entry-title {
  margin: 0 0 10px;
  color: var(--color-ink);
  font-size: clamp(28px, 4vw, 40px);
}

.single-entry .entry-thumb { margin-bottom: 24px; }

.single-entry .entry-content p { margin-bottom: 1em; }

.single-entry .entry-content table,
.single-entry .entry-content pre,
.single-entry .entry-content .wp-block-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.single-entry .entry-tags {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 14px;
}

.single-entry .entry-tags .tags-label {
  margin-right: 6px;
  color: var(--color-ink);
  font-weight: 700;
}

.single-entry .entry-tags a {
  color: var(--color-primary-dark);
}

.single-entry .entry-tags a:hover {
  color: var(--color-primary);
}

/* Footer */
.site-footer {
  color: var(--color-footer-text);
  background: var(--color-footer);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1.2fr 1.1fr;
  gap: 38px;
  padding: 75px 0;
}

.footer-title,
.footer-column .widget-title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-title::after,
.footer-column .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--color-primary);
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: var(--color-footer-text);
  font-size: 15px;
}

.footer-column p { margin-bottom: 14px; line-height: 1.7; }

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

.footer-links li,
.footer-contact li { margin-bottom: 12px; }

.footer-links > li {
  position: relative;
  padding-left: 16px;
}

.footer-links > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--color-primary);
}

.footer-links .sub-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 12px;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-post a:hover,
.footer-bottom a:hover {
  color: var(--color-primary);
}

.footer-post {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-post img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-post h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-white);
}

.footer-post p {
  margin: 0;
  color: var(--color-footer-muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact i {
  width: 18px;
  margin-top: 4px;
  color: var(--color-primary);
}

.social-links--footer { margin-top: 24px; }

.footer-bottom {
  background: var(--color-footer-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom__inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-copyright,
.footer-bottom__extra {
  margin: 0;
  color: var(--color-footer-muted);
  font-size: 14px;
}

.footer-copyright__sep {
  margin: 0 6px;
  opacity: 0.7;
}

.footer-bottom a { color: var(--color-white); }

/* Comments */
.comments-area {
  clear: both;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--color-line);
}

.comments-title {
  margin: 0 0 24px;
  padding: 0 0 14px;
  color: var(--color-ink);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  border-bottom: 2px solid rgba(245, 158, 11, 0.35);
}

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

.comment-list > .comment,
.comment-list > .pingback,
.comment-list > .trackback {
  margin: 0 0 18px;
  padding: 22px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.comment-list .children {
  margin: 18px 0 0 28px;
  padding-left: 18px;
  border-left: 2px solid rgba(245, 158, 11, 0.35);
}

.comment-list .children > .comment {
  margin: 0 0 14px;
  padding: 18px 20px;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: none;
}

.comment-body {
  position: relative;
  margin: 0 0 0 68px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.comment-author {
  margin: 0 0 6px;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 700;
}

.comment-author .avatar {
  position: absolute;
  top: 0;
  left: -68px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.45);
  background: var(--color-cream);
}

.comment-author .fn {
  color: var(--color-ink);
}

.comment-author .fn a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.comment-author .fn a:hover {
  color: var(--color-primary-dark);
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.comment-metadata a {
  color: var(--color-muted);
  text-decoration: none;
}

.comment-metadata a:hover,
.comment-metadata .comment-edit-link {
  color: var(--color-primary-dark);
}

.comment-content > *:first-child { margin-top: 0; }
.comment-content > *:last-child { margin-bottom: 0; }

.comment-content a {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reply {
  margin-top: 12px;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.comment-reply-link:hover {
  color: var(--color-ink);
}

.bypostauthor > .comment-body > .comment-meta .avatar {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.no-comments,
.comment-awaiting-moderation {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 14px;
  font-style: italic;
}

.comment-navigation,
.comments-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 28px;
  font-size: 14px;
  font-weight: 700;
}

.comment-navigation a,
.comments-pagination a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.comment-navigation a:hover,
.comments-pagination a:hover {
  color: var(--color-ink);
}

.comment-respond,
#respond {
  margin-top: 28px;
  padding: 32px 36px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.95) 0%, var(--color-white) 42%),
    var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.comment-reply-title {
  margin: 0 0 10px;
  padding: 0 0 14px;
  color: var(--color-ink);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  border-bottom: 2px solid rgba(245, 158, 11, 0.4);
}

.comment-reply-title small {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 700;
}

#cancel-comment-reply-link {
  color: var(--color-primary-dark);
  text-decoration: none;
}

#cancel-comment-reply-link:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

.comment-notes,
.logged-in-as {
  margin: 0 0 22px;
  padding: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
  background: transparent;
  border: 0;
}

.logged-in-as a {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.logged-in-as a:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

.comment-form .required {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  margin: 0 0 18px;
  float: none;
  width: 100%;
}

.comment-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px;
  color: var(--color-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

@media (min-width: 700px) {
  .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    align-items: start;
  }

  .comment-form .comment-notes,
  .comment-form .logged-in-as,
  .comment-form .comment-form-comment,
  .comment-form .comment-form-url,
  .comment-form .comment-form-cookies-consent,
  .comment-form .form-submit {
    grid-column: 1 / -1;
  }
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 22px;
  padding: 14px 16px;
  background: var(--color-soft-sage);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 4px;
}

.comment-form-cookies-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.comment-form-cookies-consent label {
  display: inline;
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.comment-form .form-submit {
  margin: 0;
}

.comment-form .form-submit .submit,
.comment-form input#submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  margin: 0;
  padding: 12px 28px;
  color: var(--color-ink);
  background: var(--color-primary);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.comment-form .form-submit .submit:hover,
.comment-form .form-submit .submit:focus-visible,
.comment-form input#submit:hover,
.comment-form input#submit:focus-visible {
  color: var(--color-white);
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 699px) {
  .comment-respond,
  #respond {
    padding: 24px 18px;
  }

  .comment-list .children {
    margin-left: 12px;
    padding-left: 12px;
  }

  .comment-body {
    margin-left: 0;
    padding-top: 60px;
  }

  .comment-author .avatar {
    left: 0;
  }

  .comment-form .form-submit .submit,
  .comment-form input#submit {
    width: 100%;
    min-width: 0;
  }
}

.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-field {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
}

@media (max-width: 1000px) {
  .services-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout { grid-template-columns: 1fr; }

  .blog-feature {
    grid-template-columns: 1fr;
  }

  .blog-feature__media,
  .blog-feature__media img {
    min-height: 220px;
  }

  .content-layout--blog-home .sidebar-column {
    position: static;
  }
}

@media (max-width: 980px) {
  body.solar-nav-open {
    overflow: hidden;
  }

  /* Keep header above the overlay so fixed drawer stays in the device viewport and clickable. */
  body.solar-nav-open .site-header {
    z-index: 1000;
  }

  .topbar__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .contact-strip {
    justify-content: flex-start;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand__name {
    font-size: clamp(22px, 4vw, 28px);
  }

  .navbar__inner {
    gap: 12px;
  }

  .navbar__nav-shell {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .solar-nav-toggle {
    display: inline-flex;
  }

  /*
   * Drawer stays in the header (not moved to body) so position:fixed
   * anchors to the same viewport as the page — including Chrome device mode.
   */
  .main-nav {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: min(320px, 88vw) !important;
    max-width: 100vw !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 0 28px;
    background: #fff;
    border-left: 1px solid var(--color-line);
    border-radius: 0;
    box-shadow: -16px 0 48px rgba(7, 17, 31, 0.22);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1001;
    float: none !important;
    transform: none !important;
    inset: 0 0 0 auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Sit below WP admin bar when logged in (32px desktop / 46px mobile). */
  body.admin-bar .main-nav {
    top: 46px !important;
    inset: 46px 0 0 auto;
  }

  @media screen and (min-width: 783px) {
    body.admin-bar .main-nav {
      top: 32px !important;
      inset: 32px 0 0 auto;
    }
  }

  .main-nav.is-open {
    display: block !important;
    visibility: visible;
    pointer-events: auto;
  }

  .solar-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--color-ink) 0%, #1e293b 100%);
    border-bottom: 2px solid var(--color-primary);
  }

  .solar-nav-drawer-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
  }

  .solar-nav-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .solar-nav-drawer-close:hover,
  .solar-nav-drawer-close:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--color-primary);
    color: #fff;
  }

  body.solar-nav-open .solar-nav-overlay {
    display: block;
  }

  /* Drawer has its own close control; hide header toggle while open. */
  body.solar-nav-open .solar-nav-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .main-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    width: 100%;
    padding: 0 8px;
  }

  .main-nav__list > li {
    display: block;
    align-self: auto;
    width: 100%;
    border-bottom: 1px solid var(--color-line);
  }

  .main-nav__list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 14px 12px;
    white-space: normal;
  }

  .main-nav__list .sub-menu,
  .main-nav__list .sub-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 8px 12px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .main-nav__list .menu-item-has-children:not(.submenu-open):hover > .sub-menu,
  .main-nav__list .menu-item-has-children:not(.submenu-open):focus-within > .sub-menu,
  .main-nav__list .menu-item-has-children:not(.submenu-open).is-hover > .sub-menu {
    display: none;
  }

  .main-nav__list .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
  }

  .main-nav__list .sub-menu a {
    padding: 10px 12px;
    white-space: normal;
  }

  .main-nav__list .sub-menu .menu-item-has-children > a::after,
  .main-nav__list .menu-item-has-children > a::after {
    margin-left: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    border-bottom: 0;
    flex-shrink: 0;
  }

  .main-nav__list .menu-item-has-children.submenu-open > a::after {
    transform: rotate(180deg);
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 420px; }

  .hero__content h1,
  .hero__content h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .inner-banner {
    min-height: 260px;
    height: 300px;
    max-height: 340px;
  }

  .blog-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .blog-row__media img {
    height: 80px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
}
