/* =========================================
   D&J CAMPBELL – supplements to the Elementor layouts.
   Structure and content live in Elementor; this file only adds
   effects the standard controls can't express.
   ========================================= */

:root {
  --djc-red: #B5302A;      /* Ford Radiant Red */
  --djc-blue: #18171C;     /* RAL 5004 */
  --djc-silver: #A5A8A6;   /* RAL 9006 */
}

html, body { overflow-x: clip; }

/* =========================================
   HEADER – transparent over the home hero
   ========================================= */

/* Pages that open with a photo hero get the floating header */
body:has(.djc-hero) .elementor-location-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

body:has(.djc-hero) .djc-header:not(.elementor-sticky--effects) {
  background-color: transparent !important;
}

.djc-logo { text-decoration: none; }
.djc-logo .elementor-heading-title { white-space: nowrap; }

/* Underline sits under the label only, as in the design */
.djc-nav .elementor-nav-menu--main .elementor-item:after { bottom: -2px; }

/* Mobile dropdown sits below the header bar */
.djc-nav .elementor-nav-menu--dropdown { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }

/* Tablet: logo · phone · burger. Mobile: logo · burger, then a full-width phone bar */
@media (min-width: 768px) and (max-width: 1024px) {
  .djc-header .elementor-widget-nav-menu { order: 3; }
}


@media (max-width: 480px) {
  .djc-logo .elementor-heading-title { font-size: 19px !important; letter-spacing: .5px !important; }
}

/* =========================================
   HOME
   ========================================= */


.djc-address p { margin: 0 0 .9em; }
.djc-address p:last-child { margin-bottom: 0; }

.djc-service-card { overflow: hidden; }
.djc-service-card::before { transition: opacity .4s ease; }
.djc-service-card:hover::before { opacity: .85 !important; }

/* Motto band – diagonal red/silver livery stripe behind the crest */
.djc-motto { position: relative; overflow: hidden; }
.djc-motto::after {
  content: "";
  position: absolute;
  left: -5%;
  right: 50%;
  -webkit-mask-image: linear-gradient(90deg, #000 75%, transparent);
  mask-image: linear-gradient(90deg, #000 75%, transparent);
  top: 50%;
  height: 74px;
  background: var(--djc-red);
  box-shadow: 0 10px 0 -3px var(--djc-silver);
  transform: translateY(-50%) rotate(-5deg);
  z-index: 0;
  pointer-events: none;
}
.djc-motto > .e-con-inner { position: relative; z-index: 1; }
.djc-motto-copy { padding: 0 !important; }
@media (max-width: 767px) {
  .djc-motto::after { top: 26%; height: 50px; }
  .djc-motto::after { right: -5%; }
}

.djc-hover-red a, .djc-hover-white a { transition: color .2s ease; }
.djc-hover-red a:hover { color: var(--djc-red) !important; }
.djc-hover-white a:hover { color: #fff !important; }

.djc-break .elementor-heading-title { overflow-wrap: anywhere; }

/* =========================================
   FLEET GALLERY – captions under each photo, pill filter bar
   ========================================= */

.djc-gallery .elementor-gallery__titles-container {
  display: inline-flex;
  border: 1px solid #DCDCE0;
  border-radius: 999px;
  padding: 5px;
  margin-top: 0;
  margin-bottom: 44px !important;
  background: #fff;
  position: relative;
  z-index: 1; /* own stacking context so the active pill fill shows */
}
.djc-gallery .elementor-gallery__titles-container::after { content: none; }
.djc-gallery .elementor-gallery-title {
  border-radius: 999px;
  padding: 12px 24px !important;
  margin: 0 !important;
  overflow: hidden;
}
.djc-gallery .elementor-gallery-title:before { border-radius: 999px; }
.djc-gallery .elementor-gallery__container { clear: both; }

.djc-gallery .e-gallery-item { padding-bottom: 48px; }
.djc-gallery .elementor-gallery-item__overlay { display: none; }
.djc-gallery .elementor-gallery-item__content {
  opacity: 1 !important;
  transform: none !important;
  position: absolute;
  top: auto !important;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  padding: 14px 0 0 !important;
}
.djc-gallery .elementor-gallery-item__description { margin-left: auto; text-align: right; }
.djc-gallery .elementor-gallery-item__title,
.djc-gallery .elementor-gallery-item__description { opacity: 1 !important; transform: none !important; }
.djc-gallery .e-gallery-image { transition: transform .5s ease; }
.djc-gallery .e-gallery-item:hover .e-gallery-image { transform: scale(1.02); }

@media (max-width: 1024px) {
  .djc-gallery .elementor-gallery__titles-container { float: none; margin-top: 8px; margin-bottom: 36px !important; }
}
@media (max-width: 480px) {
  .djc-gallery .elementor-gallery__titles-container { display: flex; flex-wrap: wrap; justify-content: center; border-radius: 26px; }
  .djc-gallery .elementor-gallery-title { padding: 10px 16px !important; }
}

/* =========================================
   ABOUT / FOOTER
   ========================================= */

.djc-about-media { position: relative; }
.djc-crest img { display: block; }

.djc-dark-links a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.djc-dark-links a:hover { text-decoration-color: var(--djc-red); }

.djc-footer .elementor-icon-list-item a { transition: color .2s ease; }

/* =========================================
   CONTACT FORM – underline fields
   ========================================= */

.djc-form .elementor-field-textual,
.djc-form select { padding-left: 0 !important; padding-right: 0 !important; }
.djc-form .elementor-field-textual:focus { border-bottom-color: var(--djc-red) !important; box-shadow: none; }
.djc-form .elementor-message-success { color: #1d6b38; font-weight: 500; }
.djc-form .elementor-message-danger, .djc-form .elementor-error .elementor-field { border-bottom-color: var(--djc-red) !important; }

.djc-map iframe { filter: grayscale(.25); display: block; }
/* Soft placeholder behind the map while Google's tiles load */
.djc-map .elementor-custom-embed { background: #e8e6e1; animation: djc-map-pulse 1.6s ease-in-out infinite alternate; }
@keyframes djc-map-pulse { to { background: #f1efeb; } }
@media (prefers-reduced-motion: reduce) { .djc-map .elementor-custom-embed { animation: none; } }

/* =========================================
   CAPTIONED PHOTOS – lightbox link fills the column
   ========================================= */

.djc-photo a { display: block; }
.djc-photo img { display: block; }
.djc-photo figcaption { font-style: normal; }

/* =========================================
   PREMIUM FINISH
   ========================================= */

:root {
  --djc-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--djc-red); color: #fff; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--djc-red);
  outline-offset: 3px;
}

/* Eyebrow labels – short red rule before tracked small caps */
.djc-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.djc-eyebrow .elementor-heading-title::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--djc-red);
  flex: none;
}

/* Brand-red full stop on headlines */
.djc-dot { color: var(--djc-red); }

/* Sticky glass header */
.djc-header {
  transition: background-color .4s var(--djc-ease), box-shadow .4s var(--djc-ease), padding .4s var(--djc-ease);
}
.djc-header.elementor-sticky--effects {
  background-color: rgba(18, 17, 22, .93) !important;
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 18px 50px rgba(0, 0, 0, .28);
  --padding-top: 14px;
  --padding-bottom: 14px;
}
body:not(:has(.djc-hero)) .djc-header { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.djc-header .elementor-sticky__spacer { visibility: hidden; }

/* Buttons – arrow nudges, soft lift */
.djc-btn .elementor-button {
  transition: background-color .35s var(--djc-ease), border-color .35s var(--djc-ease), color .35s var(--djc-ease), transform .35s var(--djc-ease), box-shadow .35s var(--djc-ease);
}
.djc-btn .elementor-button-icon { font-size: .78em; transition: transform .35s var(--djc-ease); }
.djc-btn .elementor-button-icon svg { width: .78em; }
.djc-btn .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(181, 48, 42, .55); }
.djc-btn .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
.djc-header-phone .elementor-button-icon { display: none; }

/* Hero – subtle vignette for depth */
.djc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 30% 100%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35) 100%);
  pointer-events: none;
  z-index: 0;
}
.djc-hero > .e-con-inner { position: relative; z-index: 1; }

/* Service cards – slow image zoom, red rule grows on hover */
.djc-service-card { isolation: isolate; }
.djc-service-card { transition: box-shadow .6s var(--djc-ease); }
.djc-service-card:hover { box-shadow: 0 30px 60px -30px rgba(18, 17, 22, .6); }
.djc-service-card::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 22px;
  height: 2px;
  background: var(--djc-red);
  transform: scaleX(.12);
  transform-origin: left;
  transition: transform .8s var(--djc-ease);
  z-index: 2;
}
.djc-service-card:hover::after { transform: scaleX(1); }
.djc-service-card .elementor-heading-title { transition: transform .6s var(--djc-ease); }
.djc-service-card:hover .elementor-widget-heading:first-child .elementor-heading-title { transform: translateY(-6px); }

/* Captioned photos – slow zoom */
.djc-photo a { overflow: hidden; }
.djc-photo img { transition: transform 1.4s var(--djc-ease); }
.djc-photo a:hover img { transform: scale(1.04); }
.djc-gallery .e-gallery-image { transition: transform 1.4s var(--djc-ease); }
.djc-gallery .e-gallery-item:hover .e-gallery-image { transform: scale(1.04); }
.djc-gallery .e-gallery-item .e-gallery-image { overflow: hidden; }
.djc-gallery .elementor-gallery-item__title { letter-spacing: .1px; }
.djc-gallery .elementor-gallery-item__description { text-transform: uppercase; font-size: 13px !important; letter-spacing: 1.6px !important; }

/* Feature photo caption – frosted */
.djc-glass .elementor-heading-title { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Review – red rule, refined cite */
.djc-quote { border-left: 2px solid var(--djc-red); padding-left: 44px; }
.djc-cite .elementor-heading-title::before { content: "— "; color: var(--djc-red); }
.djc-cite { padding-left: 46px; }
@media (max-width: 767px) {
  .djc-quote { padding-left: 22px; }
  .djc-cite { padding-left: 24px; }
}

/* Join the team rows */
.djc-role { transition: border-color .4s var(--djc-ease); }
.djc-role h3 { transition: transform .5s var(--djc-ease), color .3s; }
.djc-role:hover { border-color: rgba(181, 48, 42, .7) !important; }
.djc-role:hover h3 { transform: translateX(8px); }

/* Footer */
.djc-footer .djc-eyebrow { margin-bottom: 8px; }
.djc-footer .djc-eyebrow .elementor-heading-title::before { width: 18px; }
.djc-footer .elementor-icon-list-item a,
.djc-footer .elementor-icon-list-text { transition: color .25s, transform .4s var(--djc-ease); }
.djc-footer .elementor-icon-list-item a:hover .elementor-icon-list-text { transform: translateX(4px); }

/* Form – animated focus underline */
.djc-form .elementor-field-textual,
.djc-form select { transition: border-color .3s var(--djc-ease); }
.djc-form .elementor-field-label { font-size: 12px !important; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .elementor-invisible { visibility: visible !important; }
  .animated { animation: none !important; }
  .djc-photo img,
  .djc-gallery .e-gallery-image { transition: none; transform: none !important; }
}

/* Header crest – transparent PNG, lifted off dark photos with a soft shadow */
.djc-header-crest img { display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.djc-crest img { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4)); }
.djc-crest--hero img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); }

/* =========================================
   REMARKABLE LAYER
   ========================================= */

/* Scroll progress */
.djc-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--djc-red);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
}

/* Word-by-word headline reveal (only once djc.js has run) */
.djc-js .djc-split .djc-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.djc-js .djc-split .djc-w > * {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--djc-ease);
  transition-delay: calc(var(--i, 0) * 70ms + 80ms);
}
.djc-js .djc-split.is-in .djc-w > * { transform: none; }

/* Giant outlined figures */
.djc-outline .elementor-heading-title {
  color: transparent !important;
  -webkit-text-stroke: 1.5px rgba(24, 23, 28, .14);
  user-select: none;
  white-space: nowrap;
}
.djc-outline--bg { pointer-events: none; z-index: 0; }
.djc-outline--light .elementor-heading-title { -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); transition: -webkit-text-stroke-color .5s; }
.djc-outline--red .elementor-heading-title { -webkit-text-stroke: 1.5px rgba(181, 48, 42, .55); }
.djc-intro { position: relative; }
.djc-intro > .e-con-inner > *:not(.djc-outline--bg) { position: relative; z-index: 1; }

/* Ticker band */
.djc-ticker { overflow: hidden; }
.djc-ticker-track { flex-wrap: nowrap !important; width: max-content !important; }
.djc-ticker-item .elementor-heading-title { white-space: nowrap; display: inline-flex; align-items: center; }
.djc-ticker-item .elementor-heading-title::after {
  content: "";
  width: 10px;
  height: 10px;
  margin: 0 44px;
  background: rgba(255, 255, 255, .55);
  transform: rotate(45deg);
  flex: none;
}
.djc-ticker-track.is-looping { animation: djc-marquee 38s linear infinite; }
.djc-ticker:hover .djc-ticker-track { animation-play-state: paused; }
@keyframes djc-marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  .djc-ticker-item .elementor-heading-title::after { margin: 0 26px; width: 7px; height: 7px; }
}

/* Expanding service panels */
.djc-panel { overflow: hidden; }
.djc-panel .djc-panel-cta { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--djc-ease), transform .5s var(--djc-ease); }
.djc-panel:hover .djc-panel-cta { opacity: 1; transform: none; }
.djc-panel:hover .djc-outline--light .elementor-heading-title { -webkit-text-stroke-color: var(--djc-red); }
@media (min-width: 1025px) {
  .djc-panels:not(.djc-panels--grid) > .djc-panel {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
    transition: flex-grow .9s var(--djc-ease), box-shadow .6s var(--djc-ease);
  }
  .djc-panels:not(.djc-panels--grid):hover > .djc-panel { flex-grow: .8 !important; }
  .djc-panels:not(.djc-panels--grid) > .djc-panel:hover { flex-grow: 2 !important; }
  .djc-panel h3.elementor-heading-title { white-space: nowrap; }
}
@media (max-width: 1024px) {
  .djc-panel .djc-panel-cta { opacity: 1; transform: none; }
}

/* Floating crest */
.djc-float img { animation: djc-float 7s ease-in-out infinite; }
@keyframes djc-float { 50% { transform: translateY(-12px); } }

/* Photo strip */
.djc-strip { overflow: hidden; }
.djc-strip-track { flex-wrap: nowrap !important; width: max-content !important; }
.djc-strip-track.is-looping { animation: djc-marquee 70s linear infinite; }
.djc-strip:hover .djc-strip-track { animation-play-state: paused; }
.djc-strip-img img {
  height: 460px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  filter: grayscale(.15);
  transition: filter .6s var(--djc-ease), transform 1.2s var(--djc-ease);
}
.djc-strip-img a { display: block; overflow: hidden; }
.djc-strip-img:hover img { filter: none; transform: scale(1.03); }
@media (max-width: 767px) { .djc-strip-img img { height: 280px !important; } }

/* Services – sticky title column */
@media (min-width: 1025px) {
  .djc-sticky { position: sticky !important; top: 120px; align-self: flex-start; }
}

/* Footer giant wordmark */
.djc-wordmark .elementor-heading-title {
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  margin-bottom: -.12em;
}

@media (prefers-reduced-motion: reduce) {
  .djc-float img { animation: none; }
  .djc-panels > .djc-panel { transition: none; }
}

/* =========================================
   HERO CREST – reveal and 3D tilt
   Native Elementor image ("Hero crest (animated)"); djc.js adds the tilt.
   ========================================= */

.djc-hero-crest img {
  display: block;
  filter: drop-shadow(var(--djc-sx, 0px) calc(22px + var(--djc-sy, 0px)) 34px rgba(0, 0, 0, .55));
}
.djc-js .djc-hero-crest { animation: djc-crest-in 1.4s var(--djc-ease) .35s both; }
@keyframes djc-crest-in { from { opacity: 0; scale: .86; filter: blur(12px); } }

/* Touch devices: the crest stays still */

@media (prefers-reduced-motion: reduce) {
  .djc-js .djc-hero-crest, .djc-js .djc-hero-crest img { animation: none; }
}

/* =========================================
   CONTENT BRIEF – new sections
   ========================================= */

/* Header top bar: contact details + social icons, kept visible in the sticky header too */
.djc-topbar-contacts .elementor-icon-list-item a { transition: color .25s; }
.djc-social .elementor-social-icon { transition: background-color .25s, transform .3s var(--djc-ease); }
.djc-social .elementor-social-icon:hover { transform: translateY(-2px); }
@media (max-width: 767px) {
  .djc-topbar { padding: 8px 0 !important; margin-bottom: 8px !important; }
  /* Banner on phones: the two numbers + social icons (email shown from tablet up) */
  .djc-topbar-contacts .elementor-icon-list-item:nth-child(3) { display: none !important; }
  .djc-topbar-contacts .elementor-icon-list-text { font-size: 12px !important; }
  .djc-social .elementor-social-icon { font-size: 12px !important; }
  /* Logo row: logo left, burger right on one line */
  .djc-header-main .djc-logo { flex: 0 1 auto !important; }
  .djc-header-main .elementor-widget-nav-menu { flex: 0 0 auto !important; margin-left: auto; }
}

/* Hero sub-line */
.djc-hero-sub .elementor-heading-title { text-wrap: balance; }

/* Body copy rhythm */
.djc-body p { margin: 0 0 1.1em; }
.djc-body p:last-child { margin-bottom: 0; }
.djc-body a { color: var(--djc-red); text-decoration: underline; text-underline-offset: 3px; }

/* Services tiles */
.djc-service-tile { transition: transform .5s var(--djc-ease), box-shadow .5s var(--djc-ease), background-color .3s; }
.djc-service-tile:hover { transform: translateY(-4px); background-color: #fff !important; box-shadow: 0 24px 50px -28px rgba(18, 17, 22, .45); }
.djc-service-tile .elementor-icon { transition: transform .5s var(--djc-ease); }
.djc-service-tile:hover .elementor-icon { transform: scale(1.08); }

/* Testimonials carousel */
.djc-testimonials .elementor-testimonial__header { margin-top: 24px; }
.djc-testimonials .elementor-testimonial__content { border-left: 2px solid var(--djc-red); padding-left: 44px; }
.djc-testimonials .elementor-testimonial__cite { padding-left: 46px; }
.djc-testimonials .swiper-pagination { position: static; margin-top: 16px; text-align: left; padding-left: 46px; }
.djc-testimonials .swiper-pagination-bullet { width: 28px; height: 3px; border-radius: 0; }
@media (max-width: 767px) {
  .djc-testimonials .elementor-testimonial__content { padding-left: 22px; }
  .djc-testimonials .elementor-testimonial__cite, .djc-testimonials .swiper-pagination { padding-left: 24px; }
}

/* About – epitaph */
.djc-poem p { margin: 0 0 1.3em; }
.djc-poem p:last-child { margin-bottom: 0; }

/* Meet the Team – initials badge */
.djc-initials .elementor-heading-title {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--djc-blue);
  box-shadow: inset 0 0 0 3px var(--djc-red);
}
.djc-team-card { transition: transform .5s var(--djc-ease), box-shadow .5s var(--djc-ease); }
.djc-team-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(18, 17, 22, .45); }

/* Footer – RHA membership */
.djc-rha img { opacity: .9; transition: opacity .25s; }
.djc-rha a:hover img { opacity: 1; }

/* Small laptops: the phone number is in the top bar, so drop the duplicate button and tighten the menu */
@media (min-width: 1025px) and (max-width: 1340px) {
  .djc-header-main .djc-header-phone { display: none; }
  .djc-nav { --e-nav-menu-horizontal-menu-item-margin: 9px; }
  .djc-nav .elementor-nav-menu--main .elementor-item { font-size: 16px !important; }
  .djc-logo .elementor-heading-title { font-size: 25px !important; }
}
@media (min-width: 1025px) and (max-width: 1120px) {
  .djc-nav { --e-nav-menu-horizontal-menu-item-margin: 6px; }
  .djc-nav .elementor-nav-menu--main .elementor-item { font-size: 15px !important; }
  .djc-logo .elementor-heading-title { font-size: 21px !important; }
  .djc-header-main { --gap: 20px 20px; --column-gap: 20px; }
}

/* About – framed epitaph photo */
.djc-epitaph-img img {
  display: block;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .8s var(--djc-ease);
}
.djc-epitaph-img a:hover img { transform: scale(1.015); }

/* Home – all services grid (3 per row): titles may wrap, hover lifts instead of expanding */
.djc-panels--grid .djc-panel h3.elementor-heading-title { white-space: normal; }
.djc-panels--grid > .djc-panel { transition: transform .6s var(--djc-ease), box-shadow .6s var(--djc-ease); }
.djc-panels--grid > .djc-panel:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(18, 17, 22, .6); }
.djc-panel--plain { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.djc-panel--plain .elementor-icon { transition: transform .6s var(--djc-ease); }
.djc-panel--plain:hover .elementor-icon { transform: translateY(-4px) scale(1.08); }
/* Icon floats in the vertical middle of the card (left-aligned) between numeral and title. Icons share a 40px height and left edge. */
.djc-panel--plain > .djc-panel-icon { margin-top: auto !important; margin-bottom: auto !important; }
.djc-panel-icon .elementor-icon { display: block; line-height: 0; font-size: 40px; transform-origin: left center; }
.djc-panel-icon .elementor-icon svg { width: auto; height: 40px; }
.djc-panels--grid .djc-panel--plain h3.elementor-heading-title { min-height: 2.04em; display: flex; align-items: flex-end; }


/* Legal pages */
.djc-legal h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.4px; color: var(--djc-blue); margin: 2em 0 .6em; }
.djc-legal ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.djc-legal li { margin-bottom: .45em; }
.djc-legal li::marker { color: var(--djc-red); }
.djc-footer a[href*="privacy-policy"], .djc-footer a[href*="cookie-policy"] { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 380px) {
  .djc-topbar-contacts .elementor-icon-list-items.elementor-inline-items { --icon-list-space-between: 10px; }
  .djc-topbar-contacts .elementor-icon-list-item { margin-right: 10px !important; margin-left: 0 !important; }
  .djc-topbar-contacts .elementor-icon-list-icon { margin-right: 4px; }
  .djc-topbar-contacts .elementor-icon-list-text { font-size: 11.5px !important; padding-left: 4px !important; }
  .djc-social { --grid-column-gap: 5px; }
  .djc-social .elementor-social-icon { --icon-padding: .45em; }
}
@media (max-width: 380px) {
  .djc-topbar-contacts .elementor-icon-list-icon { display: none !important; }
  .djc-topbar-contacts .elementor-icon-list-text { padding-left: 0 !important; }
}
@media (max-width: 380px) {
  .djc-topbar-contacts .elementor-icon-list-items.elementor-inline-items { margin-left: 0 !important; margin-right: 0 !important; }
}

/* Buttons never wrap their label */
.djc-btn .elementor-button { white-space: nowrap; }

/* Testimonials: drop the carousel's reserved pagination/slide padding */
.djc-testimonials .elementor-main-swiper { padding-bottom: 0 !important; }
.djc-testimonials .swiper-slide { padding-bottom: 0 !important; }
.djc-testimonials .elementor-main-swiper:has(.swiper-pagination-bullet:nth-child(2)) { padding-bottom: 36px !important; }

/* Word-reveal mask: extra room on the right so tight letter-spacing doesn't clip the red full stop */
.djc-js .djc-split .djc-w { padding-right: .12em; margin-right: -.12em; }
.djc-footer-bar p { margin: 0; }

/* Stop wide elements (ticker, photo strip) causing sideways scroll */
html, body { overflow-x: hidden; }
