:root {
  --site-ink: #172525;
  --site-muted: #61706d;
  --site-paper: #fbfaf6;
  --site-surface: #ffffff;
  --site-green: #164e4a;
  --site-green-light: #28746d;
  --site-gold: #c79a45;
  --site-line: rgba(23, 37, 37, 0.13);
  --site-shadow: 0 16px 46px rgba(20, 45, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--site-ink);
  background: var(--site-paper);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}

a {
  color: var(--site-green);
  text-underline-offset: 3px;
}

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

figure {
  max-width: 100%;
}

.elementor-section {
  position: relative;
}

.elementor-container {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.elementor-column,
.elementor-widget-wrap {
  min-width: 0;
}

.elementor-widget-wrap,
.elementor-widget-container {
  width: 100%;
}

.elementor-col-100 {
  width: 100%;
}

.elementor-col-50 {
  width: 50%;
}

.elementor-col-33 {
  width: 33.333%;
}

.elementor-col-25 {
  width: 25%;
}

.elementor-widget {
  position: relative;
}

.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.elementor-screen-only,
.screen-reader-text,
.sharing-screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Header */
.elementor-location-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--site-line);
  background: rgba(251, 250, 246, 0.95);
  box-shadow: 0 8px 28px rgba(20, 45, 42, 0.07);
  backdrop-filter: blur(14px);
}

.elementor-location-header .elementor-container {
  align-items: center;
}

.elementor-location-header .elementor-widget-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
}

.elementor-location-header .elementor-widget-image img {
  width: min(480px, 100%);
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

.elementor-nav-menu {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.elementor-nav-menu li {
  position: relative;
  margin: 0;
}

.elementor-nav-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--site-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.elementor-nav-menu a:hover,
.elementor-nav-menu a:focus-visible,
.elementor-nav-menu .elementor-item-active {
  color: #fff;
  background: var(--site-green);
}

.elementor-nav-menu .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  left: 0;
  display: none;
  width: 260px;
  padding: 10px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.elementor-nav-menu li:hover > .sub-menu,
.elementor-nav-menu li:focus-within > .sub-menu {
  display: block;
}

.elementor-nav-menu .sub-menu a {
  border-radius: 8px;
  font-size: 0.76rem;
  text-transform: none;
}

.elementor-menu-toggle,
.elementor-nav-menu--dropdown {
  display: none;
}

/* Main Elementor content */
body:not(.home) [data-elementor-type="wp-page"] > .elementor-section,
body:not(.home) [data-elementor-type="wp-post"] > .elementor-section {
  padding: clamp(18px, 3vw, 42px) 0;
}

body:not(.home) [data-elementor-type="wp-page"] > .elementor-section:first-child,
body:not(.home) [data-elementor-type="wp-post"] > .elementor-section:first-child {
  padding-top: clamp(50px, 7vw, 90px);
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 15% 20%, rgba(199, 154, 69, 0.14), transparent 28rem),
    linear-gradient(135deg, #f8f4e9, #fff);
}

.elementor-heading-title {
  margin: 0;
  color: var(--site-ink);
  font-family: "Julius Sans One", Georgia, serif;
  line-height: 1.16;
}

body:not(.home) [data-elementor-type="wp-page"] > .elementor-section:first-child h1,
body:not(.home) [data-elementor-type="wp-post"] > .elementor-section:first-child h1 {
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  text-align: center;
}

.elementor-widget-heading h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.elementor-widget-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

.elementor-widget-heading h3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.elementor-widget-text-editor {
  color: var(--site-muted);
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
}

.elementor-widget-text-editor p:first-child {
  margin-top: 0;
}

.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.elementor-widget-image img {
  margin-inline: auto;
  border-radius: 18px;
  box-shadow: var(--site-shadow);
}

.elementor-section .elementor-container:has(> .elementor-col-50) {
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.elementor-divider {
  display: flex;
  padding: 4px 0;
}

.elementor-divider-separator {
  display: block;
  width: 100%;
  border-top: 1px solid rgba(199, 154, 69, 0.5);
}

.wp-caption {
  margin: 0 auto;
}

.wp-caption-text,
figcaption {
  padding-top: 9px;
  color: var(--site-muted);
  font-size: 0.82rem;
  text-align: center;
}

.elementor-button,
.edd-submit,
button:not(.modern-carousel-dot) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--site-green);
  font-weight: 700;
  text-decoration: none;
}

input,
select,
textarea {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: #fff;
}

/* Lists, cards, archives and stores */
.recent-posts ul,
.products,
.edd_downloads_list,
.elementor-posts-container,
.elementor-grid {
  gap: 22px;
}

.recent-posts ul,
.products,
.edd_downloads_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-posts article,
.edd_download,
.elementor-post,
.product {
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 17px;
  background: var(--site-surface);
  box-shadow: 0 10px 30px rgba(20, 45, 42, 0.08);
}

.insidetext,
.elementor-post__text,
.edd_download_inner {
  padding: 20px;
}

.elementor-share-buttons-wrapper,
.elementor-widget-share-buttons .elementor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.elementor-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--site-green);
  cursor: pointer;
}

.elementor-author-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: #fff;
}

.elementor-author-box__avatar img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
}

.elementor-post-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}

.elementor-post-navigation__link a {
  display: flex;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.elementor-post-navigation__next a {
  justify-content: flex-end;
  text-align: right;
}

.post-navigation__prev--label,
.post-navigation__next--label {
  display: block;
  color: var(--site-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sharedaddy,
.jp-relatedposts {
  width: min(1160px, calc(100% - 40px));
  margin: 24px auto;
}

/* Footer */
.elementor-location-footer {
  margin-top: 42px;
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #102e2c;
}

.elementor-location-footer .elementor-container {
  align-items: center;
}

.elementor-location-footer .elementor-widget-wrap {
  padding: 10px;
}

.elementor-location-footer .elementor-nav-menu {
  flex-wrap: wrap;
}

.elementor-location-footer .elementor-nav-menu a {
  color: #fff;
}

.elementor-location-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.elementor-social-icons-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.elementor-social-icon {
  display: inline-grid;
  width: 43px;
  height: 43px;
  border-radius: 50% !important;
  color: #fff;
  background: rgba(255, 255, 255, 0.13) !important;
  place-items: center;
  text-decoration: none;
}

.archive-image-fallback {
  display: grid;
  min-height: 240px;
  padding: 25px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(10, 48, 45, 0.86), rgba(199, 154, 69, 0.62)),
    url("kennedyoriginalstainedglass.com/wp-content/uploads/2023/02/Beehive-Transom-scaled_w-2560-ssl-1.jpg")
      center / cover;
  place-items: center;
  text-align: center;
}

@media (max-width: 900px) {
  .elementor-location-header .elementor-widget-wrap {
    grid-template-columns: 1fr auto;
  }

  .elementor-location-header .elementor-nav-menu--main {
    display: none;
  }

  .elementor-location-header .elementor-menu-toggle {
    position: relative;
    display: grid;
    width: 46px;
    height: 42px;
    border-radius: 10px;
    color: #fff;
    background: var(--site-green);
    cursor: pointer;
    font-size: 0;
    place-items: center;
  }

  .elementor-location-header .elementor-menu-toggle::before,
  .elementor-location-header .elementor-menu-toggle::after {
    position: absolute;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .elementor-location-header .elementor-menu-toggle::before {
    transform: translateY(-5px);
  }

  .elementor-location-header .elementor-menu-toggle::after {
    transform: translateY(5px);
  }

  .elementor-location-header .elementor-menu-toggle.is-active::before {
    transform: rotate(45deg);
  }

  .elementor-location-header .elementor-menu-toggle.is-active::after {
    transform: rotate(-45deg);
  }

  .elementor-location-header .elementor-nav-menu--dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 20px;
    border-top: 1px solid var(--site-line);
    background: var(--site-paper);
    box-shadow: 0 20px 30px rgba(20, 45, 42, 0.12);
  }

  .elementor-location-header .elementor-nav-menu--dropdown.is-open {
    display: block;
  }

  .elementor-location-header .elementor-nav-menu--dropdown .elementor-nav-menu {
    display: block;
  }

  .elementor-location-header .elementor-nav-menu--dropdown .sub-menu {
    position: static;
    display: block;
    width: auto;
    margin-left: 18px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 700px) {
  .elementor-container {
    width: min(100% - 28px, 1160px);
    flex-direction: column;
  }

  .elementor-location-header .elementor-container {
    display: block;
  }

  .elementor-location-header .elementor-widget-wrap {
    display: grid;
  }

  .elementor-location-header .elementor-widget-image img {
    max-height: 52px;
  }

  .elementor-column,
  .elementor-col-100,
  .elementor-col-50,
  .elementor-col-33,
  .elementor-col-25 {
    width: 100%;
  }

  .elementor-section .elementor-container:has(> .elementor-col-50) {
    gap: 26px;
  }

  .elementor-post-navigation {
    grid-template-columns: 1fr;
  }

  .elementor-post-navigation__separator-wrapper {
    display: none;
  }

  .elementor-author-box {
    flex-direction: column;
  }

  .elementor-location-footer .elementor-social-icons-wrapper {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
