/* Preview theme: graphite, wine and clean neutral surfaces. */
.theme-graphite-wine {
  --graphite-950: #19191b;
  --graphite-900: #242427;
  --graphite-800: #303034;
  --graphite-700: #434349;
  --graphite-500: #6d6e74;
  --graphite-200: #d8d9dc;
  --graphite-100: #ececee;
  --wine-800: #5e111d;
  --wine-700: #741725;
  --wine-600: #881d2d;
  --wine-100: #f5e9eb;
  --surface: #ffffff;
  --surface-soft: #f5f5f6;
  --text: #2c2c30;
  --text-soft: #62636a;
  --focus: #b56b77;
  color: var(--text);
  background: var(--surface);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.theme-graphite-wine h1,
.theme-graphite-wine h2,
.theme-graphite-wine h3,
.theme-graphite-wine h4,
.theme-graphite-wine h5,
.theme-graphite-wine h6 {
  color: var(--graphite-900);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.theme-graphite-wine p,
.theme-graphite-wine li {
  color: var(--text-soft);
  line-height: 1.7;
}

.theme-graphite-wine a:focus,
.theme-graphite-wine button:focus,
.theme-graphite-wine input:focus,
.theme-graphite-wine select:focus,
.theme-graphite-wine textarea:focus {
  outline: 3px solid rgba(181, 107, 119, 0.38);
  outline-offset: 2px;
}

/* Navigation and hero controls */
.theme-graphite-wine .nav-normal {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--graphite-100);
  box-shadow: 0 8px 24px rgba(25, 25, 27, 0.08);
  overflow: visible;
}

.theme-graphite-wine .nav-normal h1,
.theme-graphite-wine .nav-normal ul {
  line-height: 76px;
}

.theme-graphite-wine .nav-normal h1 a {
  color: var(--graphite-900);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.theme-graphite-wine .nav-normal ul li {
  margin-left: 22px;
}

.theme-graphite-wine .nav-normal ul li a {
  color: var(--graphite-700);
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
}

.theme-graphite-wine .nav-normal ul li a::after {
  background: var(--wine-700);
  bottom: 17px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.theme-graphite-wine .nav-normal ul li:hover a,
.theme-graphite-wine .nav-normal ul li.active a,
.theme-graphite-wine .nav-normal ul li.current a {
  color: var(--wine-700);
  opacity: 1;
}

.theme-graphite-wine .nav-normal ul li:hover a::after,
.theme-graphite-wine .nav-normal ul li.active a::after,
.theme-graphite-wine .nav-normal ul li.current a::after {
  transform: scaleX(1);
}

.theme-graphite-wine #home .overlay {
  background: rgba(19, 19, 21, 0.24);
}

.theme-graphite-wine .home-text-slider .bxslider {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.theme-graphite-wine .call-action .btn-start,
.theme-graphite-wine .call-action .btn-buy {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.theme-graphite-wine .call-action .btn-buy {
  background: var(--wine-700);
  border-color: var(--wine-700);
}

.theme-graphite-wine .call-action .btn-start:hover,
.theme-graphite-wine .call-action .btn-buy:hover {
  background: #fff;
  border-color: #fff;
  color: var(--graphite-900);
  opacity: 1;
}

/* Type scale and section rhythm */
.theme-graphite-wine .page,
.theme-graphite-wine .dark {
  padding-top: 84px;
}

.theme-graphite-wine .fullwidth {
  margin: 70px 0;
}

.theme-graphite-wine .pad-top {
  padding-top: 36px;
}

.theme-graphite-wine .pad-bottom {
  padding-bottom: 42px;
}

.theme-graphite-wine .title {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: center;
  width: 100%;
}

.theme-graphite-wine .title h1 {
  display: block;
  width: auto;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 5px solid var(--wine-700);
  color: var(--graphite-900);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.04;
  text-align: left;
}

.theme-graphite-wine .title h2 {
  color: var(--graphite-900);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
}

.theme-graphite-wine .title h3,
.theme-graphite-wine .title h1 + h3 {
  display: block;
  width: auto;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}

.theme-graphite-wine .title strong {
  color: var(--graphite-900);
  font-weight: 700;
}

.theme-graphite-wine .gray,
.theme-graphite-wine #team-area {
  background: var(--surface-soft);
}

/* Readable content over photographic backgrounds */
.theme-graphite-wine #site-counter .overlay,
.theme-graphite-wine #process .overlay,
.theme-graphite-wine #testimonials .overlay {
  background: rgba(20, 20, 23, 0.7);
}

.theme-graphite-wine #tweets .overlay {
  background: rgba(20, 20, 23, 0.76);
}

.theme-graphite-wine .parallax .title h2,
.theme-graphite-wine .parallax .title h3,
.theme-graphite-wine .parallax .title strong,
.theme-graphite-wine .parallax .parallax_wrap p,
.theme-graphite-wine .parallax .parallax_wrap li {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.theme-graphite-wine .stat-counter.white,
.theme-graphite-wine .stat-counter.white h4,
.theme-graphite-wine .stat-counter.white .number,
.theme-graphite-wine .stat-counter.white .counter-icon {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.theme-graphite-wine .stat-counter.white .number {
  border-color: rgba(255, 255, 255, 0.95);
}

.theme-graphite-wine .process-item {
  min-height: 285px;
  padding: 28px 24px;
  background: rgba(25, 25, 27, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.theme-graphite-wine .process-item h4,
.theme-graphite-wine .process-item p,
.theme-graphite-wine .process-item span,
.theme-graphite-wine .testimonials-slider,
.theme-graphite-wine .testimonials-slider p,
.theme-graphite-wine .testimonials-slider span {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.theme-graphite-wine #tweets .twitter-timeline,
.theme-graphite-wine #tweets a {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

/* Unified controls */
.theme-graphite-wine .btn,
.theme-graphite-wine input.btn,
.theme-graphite-wine .map-toggle {
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  opacity: 1;
  filter: none;
  text-shadow: none;
  text-transform: uppercase;
  transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-graphite-wine .btn:hover,
.theme-graphite-wine .btn:active,
.theme-graphite-wine .btn:focus,
.theme-graphite-wine input.btn:hover,
.theme-graphite-wine input.btn:active,
.theme-graphite-wine input.btn:focus,
.theme-graphite-wine .map-toggle:hover,
.theme-graphite-wine .map-toggle:active,
.theme-graphite-wine .map-toggle:focus {
  opacity: 1;
  filter: none;
  text-shadow: none;
  transform: none;
}

.theme-graphite-wine .btn i {
  margin-right: 8px;
}

.theme-graphite-wine .btn-dark,
.theme-graphite-wine .btn-red,
.theme-graphite-wine input.btn-dark,
.theme-graphite-wine .map-toggle {
  background: var(--wine-700);
  border-color: var(--wine-700);
  color: #fff;
}

.theme-graphite-wine .btn-dark:hover,
.theme-graphite-wine .btn-red:hover,
.theme-graphite-wine input.btn-dark:hover,
.theme-graphite-wine .map-toggle:hover {
  background: var(--wine-800);
  border-color: var(--wine-800);
  color: #fff;
  opacity: 1;
}

.theme-graphite-wine .btn-light {
  background: #fff;
  border-color: var(--graphite-200);
  color: var(--graphite-900);
}

.theme-graphite-wine .btn-light:hover {
  background: var(--graphite-900);
  border-color: var(--graphite-900);
  color: #fff;
  opacity: 1;
}

.theme-graphite-wine .btn-secondary,
.theme-graphite-wine #contact_wrap .contact-actions .btn-secondary {
  background: var(--graphite-800);
  border-color: var(--graphite-800);
  color: #fff;
}

/* Company and team */
.theme-graphite-wine .feature-box {
  margin: 24px 0 36px;
}

.theme-graphite-wine .feature-box span {
  width: 96px;
  height: 96px;
  border: 1px solid var(--graphite-200);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--wine-700);
}

.theme-graphite-wine .feature-box span i {
  font-size: 40px;
  line-height: 94px;
}

.theme-graphite-wine .feature-box:hover span {
  background: var(--wine-700);
  border: 1px solid var(--wine-700);
  color: #fff;
}

.theme-graphite-wine .feature-box h4,
.theme-graphite-wine .mem-name {
  font-size: 16px;
}

.theme-graphite-wine .mem-item {
  background: #fff;
  border: 1px solid var(--graphite-200);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(25, 25, 27, 0.07);
  margin: 20px 0;
}

.theme-graphite-wine .mem-info {
  padding: 20px;
}

/* Modern service cards */
.theme-graphite-wine #services {
  background: var(--surface-soft);
}

.theme-graphite-wine #service_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -15px;
  margin-right: -15px;
  overflow: visible;
}

.theme-graphite-wine #service_wrap > [class*="col-"]:nth-child(-n + 4) {
  display: flex;
}

.theme-graphite-wine .service-box {
  width: 100%;
  height: auto;
  min-height: 280px;
  margin: 18px auto;
  padding: 30px 24px;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--graphite-200);
  border-top: 4px solid var(--wine-700);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(25, 25, 27, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theme-graphite-wine .service-box:hover {
  background: #fff;
  border-color: var(--wine-700);
  box-shadow: 0 16px 34px rgba(25, 25, 27, 0.13);
  transform: translateY(-4px);
}

.theme-graphite-wine .service-box .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  color: var(--text);
}

.theme-graphite-wine .service-box .wrap > span {
  position: static;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 4px;
  background: var(--wine-100);
  color: var(--wine-700);
  font-size: 25px;
  line-height: 54px;
  text-align: center;
  text-shadow: none;
}

.theme-graphite-wine .service-box:hover .wrap > span {
  background: var(--wine-700);
  color: #fff;
  font-size: 25px;
  animation: none;
}

.theme-graphite-wine .service-box .wrap .content {
  position: static;
  width: 100%;
  height: auto;
}

.theme-graphite-wine .service-box .wrap .content h4 {
  margin: 0 0 12px;
  color: var(--graphite-900);
  font-size: 18px;
  text-align: left;
}

.theme-graphite-wine .service-box .wrap .content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
}

.theme-graphite-wine .service-box:hover .wrap h4,
.theme-graphite-wine .service-box:hover .wrap p {
  animation: none;
}

.theme-graphite-wine .service-icon {
  position: relative;
  width: 100%;
  min-height: 138px;
  margin: 12px 0;
  padding: 24px 24px 24px 96px;
  background: #fff;
  border: 1px solid var(--graphite-200);
  border-radius: 6px;
  text-align: left;
}

.theme-graphite-wine .service-icon.float {
  padding: 24px 96px 24px 24px;
  text-align: right;
}

.theme-graphite-wine .service-icon span,
.theme-graphite-wine .service-icon.float span {
  position: absolute;
  top: 24px;
  left: 22px;
  float: none;
  width: 54px;
  height: 54px;
  margin: 0 !important;
  border-radius: 4px;
  background: var(--graphite-900);
  color: #fff;
  font-size: 24px;
  line-height: 54px;
}

.theme-graphite-wine .service-icon.float span {
  right: 22px;
  left: auto;
}

.theme-graphite-wine .service-icon:hover span {
  background: var(--wine-700);
}

.theme-graphite-wine .service-icon h4 {
  margin-top: 0;
  font-size: 17px;
}

.theme-graphite-wine .service-icon p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Solutions, gallery and contact */
.theme-graphite-wine .visual-solution-hero,
.theme-graphite-wine .solutions-grid-card,
.theme-graphite-wine .solution-info-panel,
.theme-graphite-wine .solution-detail-block img {
  border-radius: 6px;
}

.theme-graphite-wine .solutions-grid-card {
  border-color: var(--graphite-200);
  box-shadow: 0 12px 28px rgba(25, 25, 27, 0.07);
}

.theme-graphite-wine .solution-kicker {
  color: var(--wine-700);
  letter-spacing: 0;
}

.theme-graphite-wine .solution-detail-block {
  padding-top: 78px;
  padding-bottom: 78px;
}

.theme-graphite-wine .solution-detail-list li::before {
  color: var(--wine-700);
}

.theme-graphite-wine #portfolio,
.theme-graphite-wine .portfolio-items,
.theme-graphite-wine footer#footer,
.theme-graphite-wine .site-footer {
  background: var(--graphite-900);
}

.theme-graphite-wine .dark .title h1,
.theme-graphite-wine .dark .title h2,
.theme-graphite-wine .dark .title h3,
.theme-graphite-wine .dark .title strong {
  color: #fff;
}

.theme-graphite-wine #portfolio-filter {
  margin: 40px 0 32px;
}

.theme-graphite-wine .portfolio-filter-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: visible;
}

.theme-graphite-wine .portfolio-filter-list li {
  margin: 0;
  text-transform: none;
}

.theme-graphite-wine .portfolio-filter-list a {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #5c5c63;
  border-radius: 4px;
  background: var(--graphite-800);
  box-shadow: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  opacity: 1;
  filter: none;
  text-shadow: none;
  transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-graphite-wine .portfolio-filter-list a:hover,
.theme-graphite-wine .portfolio-filter-list a:focus {
  background: var(--graphite-700);
  border-color: #8b8b91;
  color: #fff;
  opacity: 1;
}

.theme-graphite-wine .portfolio-filter-list a.active,
.theme-graphite-wine .portfolio-filter-list a.active:hover,
.theme-graphite-wine .portfolio-filter-list a.active:focus {
  background: var(--wine-700);
  border-color: var(--wine-700);
  color: #fff;
  opacity: 1;
}

.theme-graphite-wine #contact_wrap .form-container {
  height: 100%;
  padding: 30px;
  border: 1px solid var(--graphite-200);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(25, 25, 27, 0.1);
}

.theme-graphite-wine #contact_wrap .contact-title h1 {
  border-left-color: var(--wine-700);
  color: var(--graphite-900);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 46px;
  font-weight: 800;
}

.theme-graphite-wine .contact-kicker {
  color: var(--wine-700);
  letter-spacing: 0;
}

.theme-graphite-wine .form-control,
.theme-graphite-wine #contact_wrap input,
.theme-graphite-wine #contact_wrap select,
.theme-graphite-wine #contact_wrap textarea {
  min-height: 44px;
  border: 1px solid var(--graphite-200);
  border-radius: 4px;
  box-shadow: none;
  color: var(--graphite-900);
}

.theme-graphite-wine #contact_wrap textarea {
  min-height: 124px;
}

.theme-graphite-wine .form-control:focus,
.theme-graphite-wine #contact_wrap input:focus,
.theme-graphite-wine #contact_wrap select:focus,
.theme-graphite-wine #contact_wrap textarea:focus {
  border-color: var(--wine-600);
  box-shadow: 0 0 0 3px rgba(136, 29, 45, 0.12);
}

.theme-graphite-wine .contact-info i,
.theme-graphite-wine .footer-social a:hover {
  color: var(--wine-100);
}

@media (max-width: 991px) {
  .theme-graphite-wine .nav-normal ul li {
    margin-left: 14px;
  }

  .theme-graphite-wine .nav-normal ul li a {
    font-size: 12px;
  }

  .theme-graphite-wine .title {
    grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
  }

  .theme-graphite-wine .title h1 {
    font-size: 40px;
  }

  .theme-graphite-wine #service_wrap > [class*="col-"]:nth-child(-n + 4) {
    display: block;
  }

  .theme-graphite-wine .service-box {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .theme-graphite-wine .page,
  .theme-graphite-wine .dark {
    padding-top: 56px;
  }

  .theme-graphite-wine .pad-top {
    padding-top: 26px;
  }

  .theme-graphite-wine .pad-bottom {
    padding-bottom: 30px;
  }

  .theme-graphite-wine .title {
    display: block;
  }

  .theme-graphite-wine .title h1 {
    width: 100%;
    margin-bottom: 22px;
    font-size: 38px;
  }

  .theme-graphite-wine .title h3,
  .theme-graphite-wine .title h1 + h3 {
    width: 100%;
    font-size: 17px;
  }

  .theme-graphite-wine .home-text-slider .bxslider {
    font-size: 38px;
  }

  .theme-graphite-wine .solution-detail-block {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

@media (max-width: 568px) {
  .theme-graphite-wine {
    font-size: 14px;
  }

  .theme-graphite-wine .home-text-slider .bxslider {
    font-size: 30px;
  }

  .theme-graphite-wine .call-action .btn-start,
  .theme-graphite-wine .call-action .btn-buy {
    width: 100%;
    margin: 10px 0 0;
  }

  .theme-graphite-wine .title h1,
  .theme-graphite-wine #contact_wrap .contact-title h1 {
    font-size: 32px;
  }

  .theme-graphite-wine .service-box {
    min-height: 0;
    padding: 26px 22px;
  }

  .theme-graphite-wine .service-icon,
  .theme-graphite-wine .service-icon.float {
    min-height: 0;
    padding: 88px 22px 24px;
    text-align: left;
  }

  .theme-graphite-wine .service-icon span,
  .theme-graphite-wine .service-icon.float span {
    top: 22px;
    right: auto;
    left: 22px;
  }

  .theme-graphite-wine #contact_wrap .form-container {
    padding: 22px;
  }

  .theme-graphite-wine .contact-actions .btn {
    width: 100%;
  }

  .theme-graphite-wine .portfolio-filter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .theme-graphite-wine .portfolio-filter-list li:first-child {
    grid-column: 1 / -1;
  }

  .theme-graphite-wine .portfolio-filter-list a {
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    white-space: normal;
  }
}

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

/* Shared production treatment for secondary pages. */
.theme-graphite-wine.multipage,
.theme-graphite-wine.downloads-preview {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--surface-soft);
}

.theme-graphite-wine.multipage .page {
  min-height: calc(100vh - 150px);
  padding-top: 64px;
  padding-bottom: 64px;
}

.theme-graphite-wine.multipage .title {
  display: block;
  width: 100%;
  margin-bottom: 34px;
}

.theme-graphite-wine.multipage .title h1 {
  width: 100%;
  max-width: 940px;
  font-size: 44px;
}

.theme-graphite-wine.multipage blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--wine-700);
  background: var(--wine-100);
}

.theme-graphite-wine.multipage blockquote p {
  color: var(--graphite-800);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
}

.theme-graphite-wine.multipage .pullquote {
  margin: 18px 24px 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--wine-700);
  background: var(--surface-soft);
  color: var(--graphite-800);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 1.55;
}

.theme-graphite-wine.multipage #wrapper > .container > .row > h3,
.theme-graphite-wine.multipage #wrapper h3.text-center {
  margin: 20px 15px 30px;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--wine-700);
  color: var(--graphite-900);
  font-size: 22px;
  text-align: left;
}

/* Product cards: clear image, product name and permanent technical action. */
.theme-graphite-wine.multipage article.mem-item {
  margin: 0 0 30px;
  padding-right: 15px;
  padding-left: 15px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.theme-graphite-wine.multipage article.mem-item .mem-avatar {
  overflow: hidden;
  border: 1px solid var(--graphite-200);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #fff;
}

.theme-graphite-wine.multipage article.mem-item .mem-avatar::before {
  display: none;
}

.theme-graphite-wine.multipage article.mem-item .mem-avatar img {
  transition: transform 180ms ease;
}

.theme-graphite-wine.multipage article.mem-item:hover .mem-avatar img {
  transform: scale(1.025);
}

.theme-graphite-wine.multipage article.mem-item .mem-info {
  height: auto;
  min-height: 154px;
  padding: 20px;
  border: 1px solid var(--graphite-200);
  border-top: 3px solid var(--wine-700);
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(25, 25, 27, 0.08);
  text-align: left;
}

.theme-graphite-wine.multipage article.mem-item .mem-name {
  min-height: 40px;
  margin: 0 0 7px;
  color: var(--graphite-900);
  font-size: 16px;
  line-height: 1.3;
}

.theme-graphite-wine.multipage article.mem-item .mem-pos {
  margin: 0;
  color: var(--graphite-500);
  font-size: 12px;
  font-style: normal;
}

.theme-graphite-wine.multipage article.mem-item .mem-details,
.theme-graphite-wine.multipage article.mem-item .mem-info:hover .mem-details,
.theme-graphite-wine.multipage article.mem-item .mem-avatar:hover + .mem-info .mem-details {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  background: transparent;
  opacity: 1;
}

.theme-graphite-wine.multipage article.mem-item .mem-details .socicals {
  display: block;
  margin: 0;
  text-align: left;
}

.theme-graphite-wine.multipage article.mem-item .mem-details .btn {
  width: 100%;
  margin: 0;
}

.theme-graphite-wine.multipage .bx-wrapper,
.theme-graphite-wine.multipage .media-container {
  overflow: hidden;
  border: 1px solid var(--graphite-200);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(25, 25, 27, 0.08);
}

/* Legal pages keep a calm reading surface without decorative cards. */
.theme-graphite-wine .legal-page {
  color: var(--text);
  background: var(--surface-soft);
}

.theme-graphite-wine .legal-content {
  max-width: 920px;
  margin: 0 auto 34px;
  padding: 8px 0 28px;
}

.theme-graphite-wine .legal-content h2,
.theme-graphite-wine .legal-content h3 {
  margin: 34px 0 14px;
  color: var(--graphite-900);
  font-weight: 700;
}

.theme-graphite-wine .legal-note,
.theme-graphite-wine .legal-contact {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--wine-700);
  background: var(--wine-100);
}

.theme-graphite-wine .legal-note p,
.theme-graphite-wine .legal-contact p {
  color: var(--graphite-800);
}

/* Downloads use the same visual system while preserving search and filters. */
.theme-graphite-wine.downloads-preview {
  --brand: var(--wine-700);
  --ink: var(--graphite-900);
  --muted: var(--graphite-500);
  --line: var(--graphite-200);
  --surface: #fff;
  --soft: var(--surface-soft);
  color: var(--text);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

.theme-graphite-wine .downloads-nav {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--graphite-100);
  box-shadow: 0 8px 24px rgba(25, 25, 27, 0.08);
}

.theme-graphite-wine .downloads-logo,
.theme-graphite-wine .downloads-nav a:hover,
.theme-graphite-wine .downloads-nav a:focus {
  color: var(--wine-700);
  opacity: 1;
}

.theme-graphite-wine .downloads-nav a {
  color: var(--graphite-800);
  font-weight: 500;
}

.theme-graphite-wine .downloads-hero {
  padding: 84px 0 54px;
  background-color: rgba(25, 25, 27, 0.78);
  background-image: url("../img/bg/home.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.theme-graphite-wine .downloads-hero h1 {
  color: #fff;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.theme-graphite-wine .downloads-hero p,
.theme-graphite-wine .downloads-stats span {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.theme-graphite-wine .downloads-stats span {
  border-radius: 4px;
  font-weight: 500;
}

.theme-graphite-wine .downloads-copy,
.theme-graphite-wine .downloads-proof,
.theme-graphite-wine .downloads-toolbar,
.theme-graphite-wine .download-card {
  border-color: var(--graphite-200);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(25, 25, 27, 0.08);
}

.theme-graphite-wine .downloads-toolbar {
  background: rgba(245, 245, 246, 0.97);
}

.theme-graphite-wine .downloads-search {
  border-color: var(--graphite-200);
  border-radius: 4px;
}

.theme-graphite-wine .downloads-search:focus {
  border-color: var(--wine-600);
  box-shadow: 0 0 0 3px rgba(136, 29, 45, 0.12);
}

.theme-graphite-wine .downloads-filter {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--graphite-200);
  border-radius: 4px;
  background: #fff;
  color: var(--graphite-800);
  font-weight: 500;
  letter-spacing: 0;
  opacity: 1;
  text-shadow: none;
}

.theme-graphite-wine .downloads-filter:hover,
.theme-graphite-wine .downloads-filter:focus {
  border-color: var(--graphite-500);
  color: var(--graphite-900);
}

.theme-graphite-wine .downloads-filter.is-active {
  border-color: var(--wine-700);
  background: var(--wine-700);
  color: #fff;
}

.theme-graphite-wine .download-card {
  border-top: 3px solid var(--wine-700);
}

.theme-graphite-wine .download-card__tag {
  border-radius: 4px;
  background: rgba(25, 25, 27, 0.86);
  font-weight: 500;
}

.theme-graphite-wine .download-card h3 {
  color: var(--graphite-900);
  font-weight: 700;
}

.theme-graphite-wine .download-card__actions a,
.theme-graphite-wine .downloads-cta a {
  border-radius: 4px;
  box-shadow: none;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 1;
  text-shadow: none;
  transform: none;
}

.theme-graphite-wine .download-card__primary {
  background: var(--wine-700);
  color: #fff;
}

.theme-graphite-wine .download-card__secondary {
  border-color: var(--graphite-200);
  color: var(--graphite-900);
}

.theme-graphite-wine .downloads-cta {
  border-radius: 6px;
  background: var(--graphite-900);
}

.theme-graphite-wine .downloads-cta a {
  background: var(--wine-700);
  color: #fff;
}

@media (max-width: 768px) {
  .theme-graphite-wine.multipage .page {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .theme-graphite-wine.multipage .title h1,
  .theme-graphite-wine .downloads-hero h1 {
    font-size: 36px;
  }

  .theme-graphite-wine.multipage .nav-normal h1 {
    padding: 14px 0 8px;
    line-height: 1.2;
  }

  .theme-graphite-wine.multipage .nav-normal ul {
    gap: 8px 14px;
    padding-bottom: 14px;
    line-height: 1.3;
  }

  .theme-graphite-wine.multipage .nav-normal ul li {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .theme-graphite-wine.multipage .title h1,
  .theme-graphite-wine .downloads-hero h1 {
    font-size: 30px;
  }

  .theme-graphite-wine.multipage .pullquote {
    width: 100%;
    margin-right: 0;
  }

  .theme-graphite-wine.multipage article.mem-item {
    width: 100%;
  }
}


/* Contact section aligned with the graphite and wine system. */
.theme-graphite-wine #contact_wrap .contact-title h1,
.theme-graphite-wine #contact_wrap .contact-title h3 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.theme-graphite-wine #contact_wrap .contact-title h1 {
  border-left: 5px solid var(--wine-600);
  padding-left: 18px;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 46px;
  font-weight: 800;
}

.theme-graphite-wine #contact_wrap .row.pad-bottom {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(25, 25, 27, 0.28);
}

.theme-graphite-wine #contact_wrap .form-container,
.theme-graphite-wine #contact_wrap .row.pad-bottom .form-container {
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.theme-graphite-wine #contact_wrap .row.pad-bottom > [class*="col-"] + [class*="col-"] {
  border-left: 1px solid var(--graphite-200);
}

.theme-graphite-wine #contact_wrap .contact-kicker {
  color: var(--wine-700);
  font-weight: 700;
  letter-spacing: 0;
}

.theme-graphite-wine #contact_wrap .contact-panel h4,
.theme-graphite-wine #contact_wrap .form-container h4,
.theme-graphite-wine #contact_wrap .quote-grid label {
  color: var(--graphite-900);
}

.theme-graphite-wine #contact_wrap .contact-copy,
.theme-graphite-wine #contact_wrap .contact-note,
.theme-graphite-wine #contact_wrap .contact-info li,
.theme-graphite-wine #contact_wrap .contact-info a {
  color: var(--text-soft);
}

.theme-graphite-wine #contact_wrap .contact-info li i {
  color: var(--wine-700);
}

.theme-graphite-wine #contact_wrap .contact-trust span {
  border: 1px solid rgba(116, 23, 37, 0.16);
  border-radius: 4px;
  background: var(--wine-100);
  color: var(--graphite-800);
}

.theme-graphite-wine #contact_wrap .form-control,
.theme-graphite-wine #contact_wrap input,
.theme-graphite-wine #contact_wrap select,
.theme-graphite-wine #contact_wrap textarea {
  border: 1px solid var(--graphite-200);
  border-radius: 4px;
  background: #fff;
  color: var(--graphite-900);
  box-shadow: none;
}

.theme-graphite-wine #contact_wrap .form-control:focus,
.theme-graphite-wine #contact_wrap input:focus,
.theme-graphite-wine #contact_wrap select:focus,
.theme-graphite-wine #contact_wrap textarea:focus {
  border-color: var(--wine-600);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(136, 29, 45, 0.14);
}

.theme-graphite-wine #contact_wrap .form-container .btn,
.theme-graphite-wine #contact_wrap .form-container button[type="submit"],
.theme-graphite-wine #contact_wrap .map-toggle {
  min-height: 44px;
  border-radius: 4px;
  box-shadow: none;
  font-weight: 500;
  opacity: 1;
  filter: none;
  text-shadow: none;
  transform: none;
}

.theme-graphite-wine #contact_wrap .contact-actions .btn-secondary {
  border-color: var(--graphite-800);
  background: var(--graphite-800);
  color: #fff;
}

.theme-graphite-wine #contact_wrap .contact-actions .btn-secondary:hover,
.theme-graphite-wine #contact_wrap .contact-actions .btn-secondary:focus {
  border-color: var(--graphite-950);
  background: var(--graphite-950);
  color: #fff;
}

.theme-graphite-wine #contact_wrap .contact-actions .btn-dark,
.theme-graphite-wine #contact_wrap .form-container .btn-submit {
  border-color: var(--wine-700);
  background: var(--wine-700);
  color: #fff;
}

.theme-graphite-wine #contact_wrap .contact-actions .btn-dark:hover,
.theme-graphite-wine #contact_wrap .contact-actions .btn-dark:focus,
.theme-graphite-wine #contact_wrap .form-container .btn-submit:hover,
.theme-graphite-wine #contact_wrap .form-container .btn-submit:focus {
  border-color: var(--wine-800);
  background: var(--wine-800);
  color: #fff;
}

.theme-graphite-wine #contact_wrap .contact-actions .btn-light {
  border-color: var(--graphite-200);
  background: #fff;
  color: var(--graphite-900);
}

.theme-graphite-wine #contact_wrap .contact-actions .btn-light:hover,
.theme-graphite-wine #contact_wrap .contact-actions .btn-light:focus {
  border-color: var(--graphite-900);
  background: var(--graphite-900);
  color: #fff;
}

.theme-graphite-wine #contact_wrap .map-toggle {
  border: 1px solid var(--graphite-800);
  background: var(--graphite-800);
  color: #fff;
}

.theme-graphite-wine #contact_wrap .map-toggle:hover,
.theme-graphite-wine #contact_wrap .map-toggle:focus {
  border-color: var(--wine-700);
  background: var(--wine-700);
  color: #fff;
}

@media (max-width: 767px) {
  .theme-graphite-wine #contact_wrap .row.pad-bottom > [class*="col-"] + [class*="col-"] {
    border-top: 1px solid var(--graphite-200);
    border-left: 0;
  }
}


/* Keep the original home actions exactly as in the initial design. */
.theme-graphite-wine .call-action .btn-start {
  display: inline-block;
  width: auto;
  min-height: 0;
  margin: 30px 10px 0 0;
  padding: 8px 15px;
  border: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
}

.theme-graphite-wine .call-action .btn-start:hover,
.theme-graphite-wine .call-action .btn-start:focus {
  border-color: #fff;
  background: #fff;
  color: #666;
  opacity: 1;
}

.theme-graphite-wine .call-action .btn-buy {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 30px 10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-transform: none;
}

.theme-graphite-wine .call-action .btn-buy:hover,
.theme-graphite-wine .call-action .btn-buy:focus {
  border: 0;
  background: transparent;
  color: #fff;
  opacity: 0.7;
}
