.listStyleBlock.circleTop, .listStyleBlock, .listStyleBlock.mbMin {
    padding: 0 0 0 2.3rem;
    margin-bottom: 2rem !important;
}

.listStyleBlock:before, .listStyleBlock.circleTop:before {
    width: 1rem;
    height: 1rem;
    top: 2px!important;
}
@media (max-width: 925px) {
    .contentWithScroll.bigHeightForMobile{
        padding-bottom: 200px;
    }
    #bottomText {
        opacity: 0;
    }
}

/* Form outcome shown under the form (replaces browser alerts) */
.defaultForm .formStatus{
  display: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid #a39586;
  color: #6f6255;
  font-size: 1.9rem;
  line-height: 1.45;
  white-space: pre-line;
}
.defaultForm .formStatus.is-visible{display: block; animation: formStatusIn .35s ease}
.defaultForm .formStatus.is-error{border-left-color: #b0574b; color: #9a4438}
.defaultForm.whiteStyle .formStatus{color: #fafafc; border-left-color: #fafafc}
.defaultForm.whiteStyle .formStatus.is-error{color: #f5c9c1; border-left-color: #f5c9c1}
.defaultForm input.is-invalid{border-bottom-color: #b0574b}
.defaultForm.whiteStyle input.is-invalid{border-bottom-color: #f5c9c1}
@keyframes formStatusIn{from{opacity: 0; transform: translateY(-4px)} to{opacity: 1; transform: none}}
@media (prefers-reduced-motion: reduce){.defaultForm .formStatus.is-visible{animation: none}}

/* Long vacancy texts scroll inside the dialog */
.vacanceDialog .contentBlock{overflow-y: auto; overscroll-behavior: contain}

/* "Opening an account?" entry in the menu: phones only, the header button covers desktop */
#menu .menuList li.menuAccount{display: none}
@media (max-width: 925px){
  #menu .menuList li.menuAccount{display: block; margin-top: 2rem}
  #menu .menuList li.menuAccount a{font-family: TTCommons, sans-serif; font-size: 2.4rem; text-decoration: underline; text-underline-offset: 4px}
}

/* Newsletter error in the footer: #footer p{color} would otherwise win and paint it like a success */
#footer .defaultForm.whiteStyle .formStatus.is-error{color: #4a120c; border-left-color: #4a120c; font-weight: 500}
#footer .defaultForm.whiteStyle input.is-invalid{border-bottom-color: #4a120c}

/* Contact page: two offices, each address opens its photo gallery */
.contactsBlock .officeAddress + .officeAddress{margin-top: 2.4rem}
.contactsBlock .officeCity{margin: 0 0 .4rem; font-weight: 500; color: #a39586; letter-spacing: .08em; text-transform: uppercase; font-size: 1.4rem}
.contactsBlock .officeLink{display: block; color: inherit; text-decoration: none; cursor: zoom-in}
.contactsBlock .officeLink > span:first-child{border-bottom: 1px dashed #a39586; transition: border-color .2s}
.contactsBlock .officeLink:hover > span:first-child,
.contactsBlock .officeLink:focus-visible > span:first-child{border-bottom-style: solid}
.contactsBlock .officePhotos{display: inline-flex; align-items: center; gap: .6rem; margin-top: .8rem; color: #a39586; font-size: 1.5rem}
.contactsBlock .officeLink:focus-visible{outline: 1px solid #a39586; outline-offset: 4px}

/* Layers that sit over the page must not swallow clicks meant for it. The closed social block kept
   an invisible LinkedIn circle over "Board of Directors" on /about on shorter screens; the top fade
   and the empty parts of the header covered links scrolled up beneath them. Only their own
   controls stay clickable; the solid band of the top fade keeps hiding what is under it. */
.shadowTop, header, #socialBlock{pointer-events: none}
.shadowTop:before,
header .logo, header #menu .burgerButton, header #menu button.close, header #menu.menuOpened,
header #accountDrawerButton button,
#socialBlock > button, #socialBlock.opened .list a{pointer-events: auto}

/* Home intro: the company's own story lives on /about now */
#home-section2 .introAboutLink{display: inline-flex; align-items: center; gap: 1rem; margin: 4rem 0 0; color: #a39586; font-weight: 500; text-decoration: underline; text-underline-offset: 4px}
#home-section2 .introAboutLink:hover{color: #a39586}
#home-section2 .introAboutLink .icon{display: inline-flex; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid #a39586; align-items: center; justify-content: center; flex-shrink: 0}
#home-section2 .introAboutLink .icon img{max-width: 50%; max-height: 50%}

/* Careers tabs (partials/careers-tabs): Open positions, Life at ELIDI, Our people, Our offices.
   Scrolls sideways on phones instead of wrapping. */
.careersTabs{display: flex; gap: 4rem; margin: 0 0 4rem; padding: 0; border-bottom: 1px solid rgba(163, 149, 134, .35); overflow-x: auto; scrollbar-width: none; position: relative; z-index: 2}
.careersTabs::-webkit-scrollbar{display: none}
.careersTabs a{flex-shrink: 0; padding: 0 0 1.2rem; margin: 0 0 -1px; color: #a39586; white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s}
.careersTabs a:hover{color: #a39586; border-bottom-color: rgba(163, 149, 134, .5)}
.careersTabs a.active{color: #8a7a69; font-weight: 500; border-bottom-color: #8a7a69}
.careersTabs a:focus-visible{outline: 1px solid #a39586; outline-offset: 4px}
@media (max-width: 575px){
  .careersTabs{gap: 14px; margin-bottom: 3rem; font-size: 13px}
}
@media (max-width: 374px){
  .careersTabs{gap: 12px; font-size: 12.5px}
}
/* Our people: its title is pinned to the screen on wide layouts; start it below the tabs */
@media (min-width: 926px){
  .careersTabs + .row .fixedTitle{top: 31rem}
}

/* Careers hero: "Open positions" (phones) and "Meet our team". On wide layouts the space the
   intro paragraph kept free for the bird image below now goes under these links. */
.careerSection p.text.withMB{margin-bottom: 3rem}
.careerSection .careersHeroActions{display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3.2rem; margin: 0 0 25rem; position: relative; z-index: 2}
@media (max-width: 925px){
  .careerSection .careersHeroActions{margin: 0 0 5rem}
}
/* The bird is decoration pinned to the bottom left: on short wide screens it lands on the intro
   and the links, so it goes there. */
.careerSection img.careerBirdImage{pointer-events: none}
@media (min-width: 926px) and (max-height: 780px){
  .careerSection img.careerBirdImage{display: none}
}

/* Careers → Our offices */
.officesSection .officesIntro{margin: 0 0 5rem}
.officesSection .officeCard{margin: 0 0 6rem}
.officesSection .officeCard .minTitle{margin: 0 0 1.2rem}
.officesSection .officeCard .text{margin: 0 0 2.4rem}
.officesSection .officeGallery{display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 64rem}
.officesSection .officeGallery a{display: block; aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in}
.officesSection .officeGallery img{width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s}
.officesSection .officeGallery a:hover img{transform: scale(1.03)}
.officesSection .officeGallery a:focus-visible{outline: 1px solid #a39586; outline-offset: 4px}
