/* === Fix conflicting logo and menu layout on homepage === */
body.home #site-navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    padding: 0 40px !important;
    height: 80px !important;
}

/* Remove pseudo-logo image inserted with :before on homepage */
body.home #site-navigation:before {
    display: none !important;
    content: none !important;
}

/* Align menu items and remove weird spacing */
body.home #site-navigation ul.menu {
    margin-top: 0 !important;
}

/* Optional: vertically align any real logo image inside */
body.home #site-navigation img {
    max-height: 60px;
    vertical-align: middle;
}

/* =========================================================
   GREENWOOD – SINGLE BLOG POST TEMPLATE (WordPress-editor posts)
   Runs only inside the single template wrapper (.elementor-location-single).
   Posts built in Elementor don't use that wrapper, so they are untouched.
   Typography + colors match the client's original post design.
   ========================================================= */

body.single-post .elementor-location-single {
  --gw-text: #333333;
  --gw-title: #3d4346;
  --gw-side-title: #54595f;
  --gw-meta: #adadad;
  --gw-teal: #00b4ac;
  --gw-teal-dark: #008a84;
  --gw-blue: #006ad8;
  --gw-blue-dark: #0d5594;
  --gw-line: #e6e6e6;
  --gw-hero-bg: #fdfcfc;
  font-family: "Roboto", sans-serif;
  overflow-x: clip;
}

/* ---------- HERO / TITLE ---------- */
body.single-post .elementor-location-single .elementor-element-0bc721d {
  background-color: var(--gw-hero-bg) !important;
  background-image: none !important;
  border-bottom: 1px solid #ececec;
  padding: 48px 24px !important;
  min-height: 0 !important;
}
body.single-post .elementor-location-single .elementor-element-0bc721d > .e-con-inner {
  max-width: 1140px;
  width: 100%;
  margin-inline: auto;
  gap: 0;
}
body.single-post .elementor-location-single .elementor-element-6ac087b {
  display: none;
}
body.single-post .elementor-location-single .elementor-element-f235349 .elementor-heading-title {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
  color: var(--gw-title);
  text-align: left;
  margin: 0;
  overflow-wrap: break-word;
}

/* ---------- CONTENT AREA LAYOUT ---------- */
body.single-post .elementor-location-single .elementor-element-1f5373e {
  background-color: #fff !important;
  background-image: none !important;
  padding: 48px 24px 72px !important;
}
body.single-post .elementor-location-single .elementor-element-1f5373e > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
  max-width: 1140px;
  width: 100%;
  margin-inline: auto;
}
body.single-post .elementor-location-single .elementor-element-1f5373e > .e-con-inner > .e-con {
  --width: 100%;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

/* Article column: flat, no card */
body.single-post .elementor-location-single .elementor-element-9425003 {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0 !important;
  gap: 0 !important;
}
body.single-post .elementor-location-single .elementor-element-90887e5 {
  display: none;
}

/* ---------- ARTICLE TYPOGRAPHY ---------- */
body.single-post .elementor-location-single .elementor-widget-theme-post-content {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gw-text);
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-paragraph {
  font-size: inherit;
  line-height: inherit;
  color: var(--gw-text);
  margin: 0 0 1.25em;
  overflow-wrap: break-word;
}

/* H2 – 18px / 600 */
body.single-post .elementor-location-single .elementor-widget-theme-post-content h2.wp-block-heading {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: var(--gw-text);
  margin: 2.1em 0 .6em;
  scroll-margin-top: 160px;
}
/* H3 – 14px / 600 / uppercase */
body.single-post .elementor-location-single .elementor-widget-theme-post-content h3.wp-block-heading {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--gw-text);
  margin: 1.8em 0 .5em;
  scroll-margin-top: 160px;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content h2.wp-block-heading + h3.wp-block-heading {
  margin-top: 1em;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content > .elementor-widget-container > :first-child,
body.single-post .elementor-location-single .elementor-widget-theme-post-content h2.wp-block-heading:first-child,
body.single-post .elementor-location-single .elementor-widget-theme-post-content h3.wp-block-heading:first-child {
  margin-top: 0;
}

/* Links inside the article */
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-paragraph a,
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-list a {
  color: var(--gw-blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(0, 106, 216, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .2s ease, text-decoration-color .2s ease;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-paragraph a:visited,
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-list a:visited {
  color: var(--gw-blue);
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-paragraph a:hover,
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-list a:hover {
  color: var(--gw-blue-dark);
  text-decoration-color: currentColor;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content a:focus-visible {
  outline: 2px solid var(--gw-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Lists, quotes, tables (for future posts) */
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-list {
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content .wp-block-list li {
  margin-bottom: .45em;
  line-height: 1.7;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content blockquote {
  margin: 1.75em 0;
  padding: .25em 0 .25em 1.2em;
  border-left: 3px solid #d9d9d9;
  color: var(--gw-title);
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content blockquote p {
  margin: 0 0 .75em;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-table {
  margin: 1.75em 0;
  overflow-x: auto;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-table th,
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-table td {
  padding: 10px 12px;
  border: 1px solid var(--gw-line);
  text-align: left;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-table th {
  background: #f7f7f7;
  font-weight: 600;
}

/* Images */
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-image {
  margin: 1.75em 0;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-image:first-child {
  margin-top: 0;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-image figcaption {
  margin-top: .6em;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
  text-align: center;
}

/* ---------- SHARE + LIKE ---------- */
body.single-post .elementor-location-single .sharedaddy.sd-sharing-enabled {
  clear: both;
  margin: 36px 0 0 !important;
  padding-top: 24px;
  border-top: 1px solid var(--gw-line);
}
body.single-post .elementor-location-single .sharedaddy h3.sd-title {
  font-family: "Roboto", sans-serif;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gw-side-title);
  margin: 0 0 12px !important;
}
body.single-post .elementor-location-single .sharedaddy .sd-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.single-post .elementor-location-single .sharedaddy .sd-content ul li {
  margin: 0 !important;
  padding: 0 !important;
}
body.single-post .elementor-location-single .sharedaddy .sd-content ul li.share-end {
  display: none;
}
body.single-post .elementor-location-single .sharedaddy .sd-content ul li a.sd-button {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 16px !important;
  border: 1px solid #d5d5d5 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--gw-text) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body.single-post .elementor-location-single .sharedaddy .sd-content ul li a.sd-button:hover,
body.single-post .elementor-location-single .sharedaddy .sd-content ul li a.sd-button:focus-visible {
  background: var(--gw-text) !important;
  border-color: var(--gw-text) !important;
  color: #fff !important;
}
body.single-post .elementor-location-single .sharedaddy.sd-like {
  margin-top: 20px !important;
}

/* ---------- SIDEBAR (LATEST POSTS) – flat, not sticky ---------- */
body.single-post .elementor-location-single .elementor-element-3b83e9a {
  align-self: start;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0 !important;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-posts-container {
  --grid-row-gap: 0px;
  row-gap: 0 !important;
  grid-row-gap: 0 !important;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post {
  margin: 0;
  padding: 0 0 28px;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post:last-child {
  padding-bottom: 0;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post__text {
  display: block;
  padding: 0;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post__title {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post__title a {
  color: var(--gw-side-title);
  text-decoration: none;
  transition: color .2s ease;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post__title a:hover {
  color: var(--gw-title);
  text-decoration: underline;
  text-underline-offset: .18em;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post__meta-data {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gw-meta);
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post__read-more {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gw-teal);
  text-decoration: none;
  transition: color .2s ease;
}
body.single-post .elementor-location-single .elementor-widget-posts .elementor-post__read-more:hover {
  color: var(--gw-teal-dark);
}

/* ---------- TABLET (≤1024px) ---------- */
@media (max-width: 1024px) {
  body.single-post .elementor-location-single .elementor-element-0bc721d {
    padding: 40px 24px !important;
  }
  body.single-post .elementor-location-single .elementor-element-1f5373e {
    padding: 36px 24px 56px !important;
  }
  body.single-post .elementor-location-single .elementor-element-1f5373e > .e-con-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  body.single-post .elementor-location-single .elementor-element-3b83e9a {
    padding-top: 32px !important;
    border-top: 1px solid var(--gw-line);
  }
  body.single-post .elementor-location-single .elementor-widget-posts .elementor-posts-container {
    column-gap: 32px !important;
  }
}

/* ---------- MOBILE (≤767px) ---------- */
@media (max-width: 767px) {
  body.single-post .elementor-location-single .elementor-element-0bc721d {
    padding: 32px 20px !important;
  }
  body.single-post .elementor-location-single .elementor-element-f235349 .elementor-heading-title {
    font-size: 26px;
    line-height: 1.25;
  }
  body.single-post .elementor-location-single .elementor-element-1f5373e {
    padding: 28px 20px 44px !important;
  }
  body.single-post .elementor-location-single .elementor-element-1f5373e > .e-con-inner {
    gap: 32px;
  }
  body.single-post .elementor-location-single .elementor-widget-theme-post-content {
    font-size: 16px;
    line-height: 1.7;
  }
  body.single-post .elementor-location-single .elementor-widget-theme-post-content h2.wp-block-heading {
    font-size: 19px;
    margin: 1.9em 0 .55em;
    scroll-margin-top: 110px;
  }
  body.single-post .elementor-location-single .elementor-widget-theme-post-content h3.wp-block-heading {
    font-size: 14px;
    margin: 1.6em 0 .45em;
    scroll-margin-top: 110px;
  }
  body.single-post .elementor-location-single .elementor-widget-theme-post-content figure.wp-block-image {
    margin: 1.5em 0;
  }
  body.single-post .elementor-location-single .sharedaddy .sd-content ul li a.sd-button {
    min-height: 44px;
  }
  body.single-post .elementor-location-single .elementor-element-3b83e9a {
    padding-top: 28px !important;
  }
  body.single-post .elementor-location-single .elementor-widget-posts .elementor-post {
    padding-bottom: 24px;
  }
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  body.single-post .elementor-location-single * {
    transition: none !important;
  }
}