/* ============================================================
   Kinglong Child Theme — Extracted Global Overrides & Spec Table
   Moved from inline <style> blocks in functions.php so browsers
   cache these rules cleanly and HTML payload stays lean.
   ============================================================ */

/* Astra scroll-to-top button brand color override */
#ast-scroll-top,
.ast-scroll-to-top-wrap,
.ast-scroll-to-top,
.ast-scroll-to-top-side,
#ast-scroll-top:focus,
.ast-scroll-to-top-wrap:focus,
.ast-scroll-to-top:focus,
#ast-scroll-top:hover,
.ast-scroll-to-top-wrap:hover,
.ast-scroll-to-top:hover,
#ast-scroll-top:active,
.ast-scroll-to-top-wrap:active,
.ast-scroll-to-top:active {
  background-color: #B8954A !important;
  background: #B8954A !important;
  color: #fff !important;
  border: none !important;
  opacity: 1 !important;
}

/* Fluent Forms brand style overrides */
.fluentform button.ff-btn.ff-btn-submit,
.fluentform button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style,
.fluentform .ff_form_main_wrapper button,
.fluentform .ff-btn-submit,
.fluentform button.ff-btn,
.fluentform input[type="submit"],
.fluentform a.ff-btn,
form[class*="fluent_form_"] .ff-btn-submit:not(.ff_btn_no_style) {
  background: #B8954A !important;
  background-color: #B8954A !important;
  color: #fff !important;
  border: none !important;
  border-color: transparent !important;
  border-radius: 4px !important;
  font-family: var(--sans, 'Jost', sans-serif) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  cursor: pointer !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
  line-height: 1.5 !important;
  height: auto !important;
  text-decoration: none !important;
  transition: background .3s !important;
}

.fluentform button.ff-btn.ff-btn-submit:hover,
.fluentform button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style:hover,
.fluentform .ff_form_main_wrapper button:hover,
.fluentform .ff-btn-submit:hover,
.fluentform button.ff-btn:hover,
.fluentform input[type="submit"]:hover,
.fluentform a.ff-btn:hover,
form[class*="fluent_form_"] .ff-btn-submit:not(.ff_btn_no_style):hover {
  background: #A68440 !important;
  background-color: #A68440 !important;
  color: #fff !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transform: none !important;
}

.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="url"],
.fluentform input[type="number"],
.fluentform textarea,
.fluentform select {
  font-family: var(--sans, 'Jost', sans-serif) !important;
  font-size: 14px !important;
  color: #1C1912 !important;
  background: rgba(28, 25, 18, 0.03) !important;
  border: 1px solid rgba(28, 25, 18, 0.12) !important;
  border-radius: 4px !important;
  padding: 12px 14px !important;
  outline: none !important;
}

.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus {
  border-color: #B8954A !important;
  box-shadow: 0 0 0 3px rgba(184, 149, 74, 0.1) !important;
}

.fluentform input::placeholder,
.fluentform textarea::placeholder {
  color: rgba(107, 98, 80, 0.5) !important;
}

.fluentform select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6250' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 36px !important;
}

.fluentform label,
.fluentform .ff-el-group label.ff-el-form-label {
  font-family: var(--sans, 'Jost', sans-serif) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .5px !important;
  color: #1C1912 !important;
}

.fluentform .ff-el-group label .ff_required {
  color: #B8954A !important;
}

.fluentform .ff-message-success {
  color: #1C1912 !important;
  border: 1px solid rgba(184, 149, 74, 0.22) !important;
  background: rgba(184, 149, 74, 0.055) !important;
  box-shadow: 0 14px 34px rgba(28, 25, 18, 0.06) !important;
  padding: 34px 28px !important;
  text-align: center !important;
}

.fluentform .kl-ff-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(184, 149, 74, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.fluentform .kl-ff-success h3 {
  font-family: var(--serif, 'Cormorant Garamond', serif) !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  color: #1C1912 !important;
  margin: 0 0 12px !important;
}

.fluentform .kl-ff-success h3 em {
  font-style: italic !important;
  color: #B8954A !important;
}

.fluentform .kl-ff-success p {
  max-width: 440px;
  margin: 0 auto !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: #6B6250 !important;
}

.fluentform .ff-el-group.ff_has_error input,
.fluentform .ff-el-group.ff_has_error textarea,
.fluentform .ff-el-group.ff_has_error select {
  border-color: #D4524A !important;
}

.fluentform .ff_error_message {
  font-size: 11px !important;
  color: #D4524A !important;
}

.kl-float__panel-body .fluentform input,
.kl-float__panel-body .fluentform textarea,
.kl-float__panel-body .fluentform select {
  padding: 10px 12px !important;
  font-size: 13px !important;
}

.kl-float__panel-body .fluentform button.ff-btn.ff-btn-submit {
  padding: 12px 20px !important;
  font-size: 11px !important;
}

.kl-cta-section__right .fluentform input[type="text"],
.kl-cta-section__right .fluentform input[type="email"],
.kl-cta-section__right .fluentform input[type="tel"],
.kl-cta-section__right .fluentform textarea,
.kl-cta-section__right .fluentform select {
  background: var(--cream) !important;
  border: 1px solid var(--cream-mid) !important;
  border-bottom: 1px solid rgba(184, 149, 74, 0.25) !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
  font-size: 13.5px !important;
  font-weight: 300 !important;
}

.kl-cta-section__right .fluentform input:focus,
.kl-cta-section__right .fluentform textarea:focus,
.kl-cta-section__right .fluentform select:focus {
  border-color: rgba(184, 149, 74, 0.5) !important;
  background: var(--white) !important;
  border-bottom-color: var(--gold) !important;
  box-shadow: none !important;
}

.kl-cta-section__right .fluentform label {
  font-size: 10px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--ink-ghost) !important;
}

.kl-cta-section__right .fluentform button.ff-btn.ff-btn-submit,
.kl-cta-section__right form[class*="fluent_form_"] .ff-btn-submit {
  padding: 18px !important;
  font-size: 11px !important;
  letter-spacing: 2.5px !important;
  border-radius: 0 !important;
}

.quote-form-wrap .fluentform label {
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
}

.quote-form-wrap .fluentform .ff-el-group label .ff_required {
  color: var(--gold) !important;
}

.quote-form-wrap .fluentform input[type="text"],
.quote-form-wrap .fluentform input[type="email"],
.quote-form-wrap .fluentform input[type="tel"],
.quote-form-wrap .fluentform textarea,
.quote-form-wrap .fluentform select {
  background: var(--cream) !important;
  border: 1px solid rgba(184, 149, 74, 0.22) !important;
  border-radius: 0 !important;
  padding: 14px 18px !important;
  font-size: 14px !important;
  font-weight: 300 !important;
}

.quote-form-wrap .fluentform input:focus,
.quote-form-wrap .fluentform textarea:focus,
.quote-form-wrap .fluentform select:focus {
  border-color: var(--gold) !important;
  background: var(--white) !important;
  box-shadow: none !important;
}

/* Brand no-blue text guard */
body .art-card-title,
body .art-card-title a,
body .art-card-title a:link,
body .art-card-title a:visited,
body .kl-blog-card__title,
body .kl-blog-card__title a,
body .kl-blog-card__title a:link,
body .kl-blog-card__title a:visited,
body .entry-title a,
body .entry-title a:link,
body .entry-title a:visited,
body .post-title a,
body .post-title a:link,
body .post-title a:visited,
body .pop-post-title a,
body .pop-post-title a:link,
body .pop-post-title a:visited,
body .kl-blog-pop-post__title,
body .kl-blog-pop-post__title:link,
body .kl-blog-pop-post__title:visited,
body .series-item,
body .series-item:link,
body .series-item:visited,
body .kl-language-switcher__item,
body .kl-language-switcher__item:link,
body .kl-language-switcher__item:visited {
  color: #1C1912 !important;
  -webkit-text-fill-color: #1C1912 !important;
  text-decoration: none !important;
}

body .kl-language-switcher__item span {
  color: #B8954A !important;
  -webkit-text-fill-color: #B8954A !important;
}

body .kl-language-switcher__item bdi {
  color: #1C1912 !important;
  -webkit-text-fill-color: #1C1912 !important;
}

body .art-card-title a:hover,
body .art-card-title a:focus,
body .art-card-title a:focus-visible,
body .kl-blog-card__title a:hover,
body .kl-blog-card__title a:focus,
body .kl-blog-card__title a:focus-visible,
body .entry-title a:hover,
body .entry-title a:focus,
body .entry-title a:focus-visible,
body .post-title a:hover,
body .post-title a:focus,
body .post-title a:focus-visible,
body .pop-post-title a:hover,
body .pop-post-title a:focus,
body .pop-post-title a:focus-visible,
body .kl-blog-pop-post__title:hover,
body .kl-blog-pop-post__title:focus,
body .kl-blog-pop-post__title:focus-visible,
body .series-item:hover,
body .series-item:focus,
body .series-item:focus-visible,
body .blog-main a:hover,
body .blog-main a:focus,
body .blog-main a:focus-visible,
body .blog-card:hover,
body .blog-card:focus,
body .blog-card:focus-visible,
body .article-card:hover,
body .article-card:focus,
body .article-card:focus-visible,
body .art-card:hover,
body .art-card:focus,
body .art-card:focus-visible,
body .resource-card:hover,
body .resource-card:focus,
body .resource-card:focus-visible,
body .related-card:hover,
body .related-card:focus,
body .related-card:focus-visible,
body .post-card:hover,
body .post-card:focus,
body .post-card:focus-visible,
body .kl-language-switcher__item:hover,
body .kl-language-switcher__item:focus,
body .kl-language-switcher__item:focus-visible {
  color: #8A6D2F !important;
  -webkit-text-fill-color: #8A6D2F !important;
  text-decoration: none !important;
}

body .kl-language-switcher__item:hover span,
body .kl-language-switcher__item:focus span,
body .kl-language-switcher__item:focus-visible span {
  color: #B8954A !important;
  -webkit-text-fill-color: #B8954A !important;
}

body .kl-language-switcher__item:hover bdi,
body .kl-language-switcher__item:focus bdi,
body .kl-language-switcher__item:focus-visible bdi {
  color: #1C1912 !important;
  -webkit-text-fill-color: #1C1912 !important;
}

body .kl-logo,
body .kl-logo:link,
body .kl-logo:visited,
body .art-card-img-link,
body .art-card-img-link:link,
body .art-card-img-link:visited {
  color: #1C1912 !important;
  -webkit-text-fill-color: #1C1912 !important;
  text-decoration: none !important;
}

body .kl-footer-logo,
body .kl-footer-logo:link,
body .kl-footer-logo:visited,
body .kl-footer-logo:hover,
body .kl-footer-logo:focus,
body .kl-footer-logo:focus-visible {
  color: #F9F5EE !important;
  -webkit-text-fill-color: #F9F5EE !important;
  text-decoration: none !important;
}

body.single-post .entry-content a,
body.single-post .entry-content a:link,
body.single-post .entry-content a:visited,
body.single-post .article-body a,
body.single-post .article-body a:link,
body.single-post .article-body a:visited,
body .blog-main p a,
body .blog-main p a:link,
body .blog-main p a:visited,
body .blog-main li a,
body .blog-main li a:link,
body .blog-main li a:visited,
body .blog-main td a,
body .blog-main td a:link,
body .blog-main td a:visited,
body .blog-main figcaption a,
body .blog-main figcaption a:link,
body .blog-main figcaption a:visited {
  color: #8A6D2F !important;
  -webkit-text-fill-color: #8A6D2F !important;
  text-decoration-color: rgba(184, 149, 74, .45) !important;
}

body.single-post .entry-content a:hover,
body.single-post .entry-content a:focus,
body.single-post .entry-content a:focus-visible,
body.single-post .article-body a:hover,
body.single-post .article-body a:focus,
body.single-post .article-body a:focus-visible,
body .blog-main p a:hover,
body .blog-main p a:focus,
body .blog-main p a:focus-visible,
body .blog-main li a:hover,
body .blog-main li a:focus,
body .blog-main li a:focus-visible,
body .blog-main td a:hover,
body .blog-main td a:focus,
body .blog-main td a:focus-visible,
body .blog-main figcaption a:hover,
body .blog-main figcaption a:focus,
body .blog-main figcaption a:focus-visible {
  color: #B8954A !important;
  -webkit-text-fill-color: #B8954A !important;
  text-decoration-color: #B8954A !important;
}

/* GEO Specification Summary Table (Customization & Hospitality) */
.kl-geo-specs {
  background: var(--cream, #F9F5EE);
  padding: 72px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(184, 149, 74, 0.18);
  border-bottom: 1px solid rgba(184, 149, 74, 0.18);
}

.kl-geo-specs__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.kl-geo-specs__head {
  margin-bottom: 28px;
}

.kl-geo-specs__kicker {
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8A6D2F;
  margin-bottom: 10px;
}

.kl-geo-specs__title {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  color: #1C1912;
  margin: 0 0 10px;
  line-height: 1.2;
}

.kl-geo-specs__title em {
  color: #8A6D2F;
  font-style: italic;
}

.kl-geo-specs__sub {
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 15px;
  line-height: 1.7;
  color: #5C5343;
  max-width: 760px;
  margin: 0;
}

.kl-geo-specs__table-wrap {
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid rgba(184, 149, 74, 0.24);
  border-radius: 4px;
}

.kl-geo-specs__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 14px;
  color: #1C1912;
  text-align: left;
  margin: 0;
}

.kl-geo-specs__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.kl-geo-specs__table thead th {
  background: #1C1912;
  color: #F9F5EE;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 11px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(184, 149, 74, 0.35);
}

.kl-geo-specs__table tbody th,
.kl-geo-specs__table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(28, 25, 18, 0.08);
  vertical-align: top;
  line-height: 1.6;
}

.kl-geo-specs__table tbody th {
  font-weight: 600;
  color: #1C1912;
  width: 26%;
  background: rgba(249, 245, 238, 0.55);
}

.kl-geo-specs__table tbody tr:last-child th,
.kl-geo-specs__table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 720px) {
  .kl-geo-specs {
    padding: 52px 18px;
  }
  .kl-geo-specs__table thead th,
  .kl-geo-specs__table tbody th,
  .kl-geo-specs__table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }
}
