/* Shared public-site palette. Dimensions, column layouts and photographs stay in legacy.css/site.css. */
:root {
  --brand-navy: #13294b;
  --brand-heading: #1b365d;
  --brand-gold: #c5a059;
  --brand-oat: #f7f5f0;
  --brand-white: #ffffff;
  --brand-border: #e5dec9;
  --brand-radius: 6px;
}

body.brand-palette {
  color: var(--brand-navy);
  background: var(--brand-oat);
}

body.brand-palette a {
  color: var(--brand-navy);
}

body.brand-palette a:hover {
  text-decoration-color: var(--brand-gold);
}

body.brand-palette .header_bg {
  /* Keep the original image's top 60px; replace only its old blue below the strip. */
  background-color: var(--brand-navy);
  background-image: linear-gradient(to bottom, transparent 60px, var(--brand-navy) 60px),
    url("/assets/migrated/23b614d671bef10a7cea1b580511004488d5ff0300924a194626d6b83603aa34.jpg");
  background-position: left top;
  background-repeat: repeat-x;
}

body.brand-palette .main-menu a,
body.brand-palette .main-menu a:hover,
body.brand-palette .main-menu a:focus-visible {
  color: var(--brand-white);
  text-decoration: none;
}

body.brand-palette .main-menu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .16s ease;
  pointer-events: none;
}

body.brand-palette .main-menu > ul > li:hover > a::after,
body.brand-palette .main-menu > ul > li:focus-within > a::after,
body.brand-palette .main-menu > ul > li.is-current > a::after {
  transform: scaleX(1);
}

body.brand-palette .main-menu li ul li,
body.brand-palette .main-menu li ul li a {
  background: var(--brand-navy);
  border-bottom-color: var(--brand-border);
}

body.brand-palette .main-menu li ul li a:hover,
body.brand-palette .main-menu li ul li a:focus-visible,
body.brand-palette .main-menu li ul li a[aria-current="page"] {
  background: var(--brand-navy);
  box-shadow: inset 0 -2px var(--brand-gold);
}

body.brand-palette .menu-toggle img {
  filter: brightness(0) invert(1);
}

body.brand-palette .footer_bg_bottom,
body.brand-palette .homepage_widgets_bg {
  background: var(--brand-navy);
  border-top-color: var(--brand-gold);
}

body.brand-palette .footer_bottom {
  background: transparent;
}

body.brand-palette .footer_bottom p,
body.brand-palette .footer_bottom p a,
body.brand-palette .footer_bottom .menu ul li a,
body.brand-palette .homepage_widgets_bg h1,
body.brand-palette .homepage_widgets_bg p {
  color: var(--brand-white);
}

body.brand-palette .homepage_widgets_bg .bottom_line {
  border-color: var(--brand-gold);
}

body.brand-palette .footer_bottom .menu ul li a:hover,
body.brand-palette .footer_bottom .menu ul li a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--brand-gold);
  text-underline-offset: 5px;
}

body.brand-palette .footer_bottom p a[style] {
  color: var(--brand-white) !important;
}

body.brand-palette #main h1,
body.brand-palette #main h2,
body.brand-palette #main h3,
body.brand-palette #main h4 {
  color: var(--brand-heading);
}

body.brand-palette #main .homepage_widgets_bg h1 {
  color: var(--brand-white);
}

/* Painted borders preserve the existing column widths and image sizes. */
body.brand-palette .page-content,
body.brand-palette #main > .rich-content > .container,
body.brand-palette .product-layout > .rich-content > .container {
  background: var(--brand-white);
  border-radius: var(--brand-radius);
  box-shadow: 0 0 0 6px var(--brand-white), 0 0 0 7px var(--brand-border);
}

body.brand-palette .features,
body.brand-palette .card,
body.brand-palette .legacy-product,
body.brand-palette .recent_works ul li,
body.brand-palette .report-item,
body.brand-palette .gallery-tile,
body.brand-palette #kh-product-list .kh-product-item {
  background: var(--brand-white);
  border-radius: var(--brand-radius);
  box-shadow: 0 0 0 1px var(--brand-border);
}

body.brand-palette .features .title {
  background: var(--brand-white);
  border-color: var(--brand-border);
  border-radius: var(--brand-radius) var(--brand-radius) 0 0;
}

body.brand-palette .features .title img,
body.brand-palette .report-item img {
  filter: url("/brand-icons.svg#champagne");
}

body.brand-palette .legacy-news-row {
  color: var(--brand-navy);
  background: var(--brand-white);
  border-color: var(--brand-border);
  border-radius: 4px;
}

body.brand-palette .legacy-news-row time,
body.brand-palette .legacy-more,
body.brand-palette .quote-text {
  color: var(--brand-navy);
}

body.brand-palette .legacy-news-row:hover,
body.brand-palette .legacy-news-row:focus-visible {
  background: var(--brand-oat);
  border-color: var(--brand-gold);
}

body.brand-palette .line,
body.brand-palette .bottom_line,
body.brand-palette .bottom_line2 {
  border-color: var(--brand-border);
}

body.brand-palette .recent_works .recent_image {
  background: var(--brand-white);
  border-color: var(--brand-border);
  border-radius: var(--brand-radius);
}

body.brand-palette .recent_works .title,
body.brand-palette .recent_works .title a {
  color: var(--brand-heading);
}

body.brand-palette .recent_works .home-action-primary,
body.brand-palette .recent_works .home-action-secondary {
  background: var(--brand-gold);
  border-radius: 4px;
}

body.brand-palette .recent_works .home-action-primary a,
body.brand-palette .recent_works .home-action-secondary a {
  color: var(--brand-navy);
  font-weight: 700;
}

body.brand-palette .bannerbg {
  background: var(--brand-oat);
  border-color: var(--brand-border);
}

body.brand-palette .flexslider {
  background: var(--brand-white);
  border-color: var(--brand-border);
  border-radius: var(--brand-radius);
  box-shadow: 0 1px 4px #13294b18;
}

body.brand-palette .flex-control-nav button {
  background: var(--brand-border);
  box-shadow: none;
}

body.brand-palette .flex-control-nav button[aria-current=true] {
  background: var(--brand-gold);
}

body.brand-palette .slide-prev,
body.brand-palette .slide-next,
body.brand-palette .slide-pause {
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-weight: 700;
}

body.brand-palette a.button,
body.brand-palette a.button.navy,
body.brand-palette input[type="submit"] {
  background: var(--brand-gold);
  color: var(--brand-navy);
  border-color: var(--brand-gold);
  border-radius: 4px;
  font-weight: 700;
  text-shadow: none;
}

body.brand-palette a.button-secondary {
  background: var(--brand-white);
  color: var(--brand-navy);
  border-color: var(--brand-border);
  box-shadow: 0 0 0 1px var(--brand-border);
}

body.brand-palette .sv-golfcar .body li,
body.brand-palette .table-container2 td,
body.brand-palette .table-container td {
  background: var(--brand-white);
  border-color: var(--brand-border);
}

body.brand-palette .sv-golfcar .body:nth-child(even) li,
body.brand-palette .table-container2 .bgColor3 td {
  background: var(--brand-oat);
}

body.brand-palette .table-container2 th,
body.brand-palette .table-container th {
  background: var(--brand-navy);
  color: var(--brand-white);
  border-color: var(--brand-border);
}

body.brand-palette .question_box,
body.brand-palette .error_box,
body.brand-palette .success_box,
body.brand-palette .attention_box,
body.brand-palette .info_msg {
  background: var(--brand-white);
  color: var(--brand-heading);
  border-color: var(--brand-border);
  border-radius: var(--brand-radius);
}

body.brand-palette .highlight.blue {
  background: var(--brand-oat);
  color: var(--brand-heading);
  box-shadow: 0 0 0 1px var(--brand-border);
}

body.brand-palette #kh-product-list .kh-product-photo {
  background: var(--brand-white);
  border-color: var(--brand-border);
  border-radius: var(--brand-radius) var(--brand-radius) 0 0;
}

body.brand-palette #kh-product-list .kh-product-title,
body.brand-palette #kh-product-list .kh-product-title a {
  background: var(--brand-white);
  color: var(--brand-heading);
  border-color: var(--brand-border);
}

body.brand-palette #kh-product-list .kh-product-more {
  background: var(--brand-gold);
  color: var(--brand-navy);
  border-radius: 0 0 var(--brand-radius) var(--brand-radius);
  font-weight: 700;
}

body.brand-palette .brand-certification-heading,
body.brand-palette .brand-honor-heading {
  position: relative;
  color: var(--brand-heading);
}

body.brand-palette .brand-certification-heading::after,
body.brand-palette .brand-honor-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-gold);
  pointer-events: none;
}

body.brand-palette .brand-honor-entry > span::before,
body.brand-palette a.brand-honor-entry:not(.legacy-news-row)::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 18px;
  margin-right: 4px;
  vertical-align: -3px;
  background: url("/brand-icons.svg") center / contain no-repeat;
}

body.brand-palette .video-placeholder,
body.brand-palette .lightbox {
  background: var(--brand-navy);
  color: var(--brand-white);
}

body.brand-palette .play-symbol {
  color: var(--brand-gold);
}

/* YouTube requires an embedded viewport of at least 200 x 200 CSS pixels. */
body.brand-palette .video-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 200px;
}

body.brand-palette .video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
}

body.brand-palette .video-watch-link {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: var(--brand-gold);
  text-underline-offset: 3px;
}

body.brand-palette .lightbox button {
  background: var(--brand-gold);
  color: var(--brand-navy);
}

body.brand-palette select,
body.brand-palette input,
body.brand-palette textarea {
  border-color: var(--brand-border);
  border-radius: 4px;
}

body.brand-palette a:focus-visible,
body.brand-palette button:focus-visible,
body.brand-palette select:focus-visible,
body.brand-palette input:focus-visible,
body.brand-palette textarea:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 3px;
}

body.brand-palette .header_bg a:focus-visible,
body.brand-palette .header_bg button:focus-visible,
body.brand-palette .footer_bg_bottom a:focus-visible {
  outline-color: var(--brand-gold);
}

@media (max-width: 767px) {
  body.brand-palette .main-menu > ul > li > a::after {
    bottom: 0;
    left: 30%;
    right: 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.brand-palette .main-menu > ul > li > a::after {
    transition: none;
  }
}
