.hidden {
    visibility: hidden;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
    position: absolute;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}


body {
    background-color: #121212;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*Prevent zoomout on mobile:*/
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}
/*
#interactive-hovercard{
    width: 300px;
}

#interactive-hovercard .widget-pane {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(60,64,67,.28);
}

.widget-pane {
    width: 408px;
    position: absolute;
    top: 0;
    z-index: 3;
    opacity: 0;
    height: 0;
    left: 0;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    transition-property: -webkit-transform,transform,opacity;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.0,0.0,0.2,1);
}*/

/*
.infowindow-container {
    width: 330px;
}

.inner {
    display: inline-block;
    position: absolute;
    top: 0;
    padding: 10px;
}*/

footer, .navbar {
    background-color: black;
}

a {
    text-decoration: inherit;
    color: inherit;
    cursor: pointer;
}

div, footer {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.column {
    flex-direction: column;
}

.contentWrapper {
    width: 90vw;
    max-width: 1366px;
    position: relative;
    justify-content: space-between;
    margin: 25px;
    margin-bottom: 25px;
    padding: 75px;
}

.column a {
    cursor: pointer;
}

/*Font styles*/

@font-face {
    font-family: 'Questa_sans_regular_hu';
    src: url('assets/fonts/HU-2-Questa_Sans_Regular-webfont.woff2') format('woff2'), url('assets/fonts/HU-2-Questa_Sans_Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Questa_sans_regular_de';
    src: url('assets/fonts/DE-2-Questa_Sans_Regular-webfont.woff2') format('woff2'), url('assets/fonts/DE-2-Questa_Sans_Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.serif {
    font-family: 'Abhaya Libre', serif;
}

.serif:lang(DE) {
    font-family: 'Abhaya Libre', serif;
}

.serif:lang(RU) {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.88em;
}

.sans-serif {
    font-family: 'Questa_sans_regular_hu', sans-serif;
}

.sans-serif:lang(DE) {
    font-family: 'Questa_sans_regular_de', sans-serif;
}

.sans-serif:lang(RU) {
    font-family: 'Questa_sans_regular_hu', sans-serif;
    font-size: 0.88em;
}

.black {
    color: rgba(0, 0, 0, 0.7);
    color: rgb(0, 0, 0);
}

.grey {
    color: rgb(180, 180, 180);
}

.white {
    color: rgba(255, 255, 255, 0.65);
}

.yellow {
    color: #F5CA36;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

/*Font size*/

.serif, .sans-serif {
    font-size: 16px;
    line-height: 24px;
}

.xs {
    font-size: 13px;
    font-weight: normal;
}

.sm {
    font-size: 14px;
    line-height: 14px;
}

.lg {
    font-size: 24px;
    line-height: 32px;
}

.xl {
    font-size: 35px;
    line-height: 30px;
}

/*Elevation*/

.elevation-high {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.elevation-mid {
    box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.5);
}

/*Navbar*/

.navbar {
    width: 100vw;
    height: 55px;
    position: fixed;
    top: 0;
    z-index: 6;
    background-color: rgba(0, 0, 0, 1);
    letter-spacing: 0.05rem;
}

.navbar .contentWrapper {
    min-width: 280px;
    height: 100%;
    padding: 0;
    margin: 0;
    align-items: flex-start;
}

.navbar-logowrapper {
    min-height: 100%;
}

.navbar-logowrapper .serif {
    margin-right: 15px;
    text-transform: uppercase;
}

.navbar-logo {
    height: 25px;
    margin-right: 15px;
}

.navbar-linkwrapper {
    width: 0;
    visibility: hidden;
}

/*Dropdown Menus*/

.dropdown-wrapper {
    align-items: flex-start;
}

.language-dropdown, .hamburger-dropdown {
    max-width: 35px;
    align-items: flex-end;
    margin: 0 8px 0 8px;
}

.hideable-link-wrapper {
    visibility: hidden;
    background-color: rgb(216, 216, 216);
    height: 0;
}

.hideable-link {
    height: 45px;
    margin: 5px;
    min-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.hamburger-dropdown .hideable-link {
    max-width: 150px;
    width: 150px;
}

.link-border-vertical {
    height: 15px;
    width: 1px;
    background-color: gray;
}

.link-border-horizontal {
    height: 1px;
    width: 15px;
    background-color: gray;
}

.languagebtn-pressed {
    opacity: 0.5;
    border: 2px dotted gray;
}

.hamburger {
    height: 35px;
    width: 35px;
    margin: 10px 0 10px 0;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.bar1, .bar2, .bar3, .bar4 {
    width: 30px;
    height: 2px;
    background-color: #E91D24;
    margin: 2px 0;
    transition: 0.3s;
}

.bar2, .bar3 {
    background: none;
    opacity: 0;
    margin: 0;
    transition: 0.3s;
}

.change {
    background-color: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.change .bar1 {
    opacity: 0;
}

.change .bar2 {
    opacity: 1;
    background-color: black;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.change .bar3 {
    opacity: 1;
    background-color: black;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.change .bar4 {
    opacity: 0;
}

.show {
    visibility: visible;
    height: auto;
}

.languageIconWrapper {
    height: 50px;
}

.languageIconWrapper p, .languageIcon {
    margin: 8px 5px 0px 5px;
    cursor: pointer;
}

.languageIcon {
    height: 20px;
    width: 20px;
}

/*main content*/

.mainContentSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    overflow-x: hidden;
    min-height: 80vh;
}

/*Intro section*/

.introtext {
    padding: 25px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.90);
}

/*mobile*/

.backgroundImageContainer {
    position: fixed;
    top: 0;
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
    height: 700px;
    overflow: hidden;
}

.backgroundImageContainer div {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
}

.background-image {
    position: relative;
    bottom: 0;
    width: 1000px;
    height: auto;
    z-index: -2;
    transition: 0.25s;
    opacity: 1;
}

.background-image.hidden-initially {
    opacity: 0;
}

.introSection {
    /*width: 100vw;*/
    min-height: 600px;
    max-height: 2500px;
    position: relative;
    /*justify-content: flex-end;*/
}

.introWrapper {
    position: -webkit-sticky;
    top: 0;
    margin: 0 50px 0 50px;
    flex-wrap: wrap;
    height: min-content;
    justify-content: center;
}

.introLeft {
    background-color: rgba(255, 255, 255, 0.8);
    letter-spacing: 6px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    height: 45vw;
    width: 683px;
    min-width: 285px;
    line-height: 28px;
}

.introLeft p {
    padding-left: 25px;
    width: min-content;
}

.introRight {
    background: rgb(0, 0, 0, 0.8);
    height: min-content;
    width: 683px;
    min-width: 285px;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.90);
}

.emeaFirmImage {
    margin-right: 25px;
    width: 80px;
}

.emeaLawyerImage {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 5px;
    width: 90px;
}

.tilecontainer {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    /* margin: 40px 50px 50px 50px;*/
    position: relative;
    top: 0;
}

.tile {
    height: 85px;
    min-height: 85px;
    max-height: 85px;
    width: 95vw;
    min-width: 95vw;
    max-width: 95vw;
    overflow: hidden;
    margin: 5px;
    display: flex;
    flex-direction: column;
    background: none;
    font-weight: bold;
    justify-content: center;
    position: relative;
}

.tile p {
    position: absolute;
    top: auto;
    height: 100%;
    width: 100%;
    padding: 10px;
    margin: 0;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #383838;
}

.tileHeader {
    background-color: #E91D24;
    margin: 5px;
}

.whiteTeamPageHeader {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
    width: 200vw;
    height: 40vh;
    min-height: 150px;
    background-color: white;
    position: relative;
    top: -10vh;
    z-index: 1;
}

.whiteTeamPageHeader .whiteTextWrapper {
    margin: 35px 20px 20px 0;
    position: relative;
    top: 8vh;
    justify-content: center;
    align-items: center;
}

.teamCardsContainer {
    padding: 0;
    justify-content: stretch;
    flex-direction: row;
}

#expertise-main-section .teamCardsContainer,
#news-main-section .teamCardsContainer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    gap: 0;
}

#expertise-main-section .teamCardWrapper,
#news-main-section .teamCardWrapper {
    width: 100%;
    margin: 4px 0;
    overflow: hidden;
    position: relative;
}

#expertise-main-section .teamCardWrapper.hidden,
#news-main-section .teamCardWrapper.hidden {
    display: none !important;
}

#expertise-main-section .team-card,
#news-main-section .team-card {
    background-color: #202020;
}

#news-main-section .teamCardsContainer {
    max-width: 130ch;
}

.teamCardWrapper {
    width: 100%;
    margin: 4px 0 4px 0;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teamCardWrapper:hover {
    transform: translateY(-3px);
}

.teamCardWrapper:hover .team-card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-img {
    visibility: hidden;
    width: 0;
    height: 0;
}

.team-card {
    width: 100%;
    min-width: 270px;
    height: auto;
    min-height: 85px;
    overflow: hidden;
    display: flex;
    background: none;
    font-weight: bold;
    justify-content: space-between;
    background-color: #383838;
    z-index: 1;
    transition: box-shadow 0.2s ease;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #F5CA36;
    z-index: 3;
}

.team-card div div:first-child {
    font-size: 16px;
}

.card-img-thumbnail {
    width: 70px;
    height: 70px;
    margin: 7px 10px;
    z-index: 2;
    border-radius: 100px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.card-img-thumbnail-pressed {
    opacity: 0.5;
    border: 2px dotted gray;
}

.team-card div {
    justify-content: space-between;
    width: 85%;
    margin: 7px 10px;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.team-card div div {
    align-items: flex-start;
    margin: 0;
    min-width: 150px;
}

.team-card div div .name {
    margin: 0 5px 5px 0;
    line-height: 15px;
}

.team-card-text {
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.team-card-name {
    font-size: 16px !important;
    line-height: 18px !important;
    margin: 0 0 5px 0 !important;
    font-weight: bold;
}

.team-card-title {
    font-size: 15px !important;
    line-height: 17px !important;
    margin: 0 !important;
    color: #F5CA36 !important;
}

.profile-contact-icon {
    width: 25px;
    z-index: 3;
}

.team-card-dropdown {
    visibility: hidden;
    height: 0;
    position: relative;
    top: -50px;
    background-color: rgb(36, 36, 36);
    align-items: flex-start;
    width: 100%;
    justify-content: right;
    z-index: 0;
}

.card-expand {
    visibility: visible;
    height: auto;
    top: -2px;
    transition: 0.1s;
}

.team-card-dropdown .link-border-horizontal {
    width: 67%;
    position: relative;
    right: -30%;
}

.team-card-dropdown ul {
    width: 100%;
    padding: 0;
    margin-right: 0;
}

.team-card-dropdown .contactListItem {
    margin-left: 0;
    margin-right: 5px;
    width: 95%;
}

.contactListItem p {
    margin-right: 0;
}

.portrait-img {
    min-width: 200px;
    max-width: 550px;
    width: 100%;
    height: auto;
}

.profileImageContainer ul li {
    margin-left: 0;
}

.profileImageContainer ul {
    align-self: flex-end;
}

.whiteContentSection {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
    width: 200vw;
    height: min-content;
    min-height: 800px;
    background-color: white;
    position: relative;
    top: 0;
}

.whiteTextWrapper {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
    margin: 15vh 0 15vh 0;
    width: 100vw;
    flex-direction: column;
    padding: 0;
}

.whiteTextWrapper p {
    margin: 15px 50px 15px 50px;
}

.worldlinkLogo {
    width: 125px;
}

.subPageMainSection {
    flex-direction: column;
    padding: 0;
    margin-top: 60px;
}

/* Ensure all news page stays in column layout */
.subPageMainSection.contentWrapper.column {
    flex-direction: column !important;
}

.subPageMainSection .hidden {
    position: absolute;
    margin: 0;
    margin-right: -200px;
}

/*Profile Page*/

.subPageMainSection .profileContainer {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.profile-emea-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    order: 2;
    position: relative;
}

.profile-emea-container .emeaLawyerImage {
    max-width: 150px;
    width: 100%;
    height: auto;
    position: relative;
}

.profile-details-box {
    background-color: #202020;
    padding: 25px;
    border-left: 4px solid #F5CA36;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    order: 0;
}

.profile-details-box .column {
    width: 100%;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}

.profile-bottom-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    order: 1;
}

.profileImageContainer {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    order: 1;
}

.portrait-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.profile-name-header {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 30px !important;
}

.profile-name-header .lg {
    font-size: 18px !important;
    line-height: 24px !important;
}

.profile-title {
    color: #F5CA36;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    font-size: 20px;
    line-height: 28px !important;
}

.profile-contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 10px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    align-items: flex-start;
}

.profile-contact-details div {
    margin: 0;
    padding: 0;
    line-height: 26px;
    font-size: 18px;
    text-align: left;
}

.profile-intro-box {
    background-color: #202020;
    padding: 30px 30px 18px 30px;
    margin: 0;
    box-sizing: border-box;
    border-left: 4px solid #F5CA36;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.profile-intro-box .column {
    width: 100%;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.profile-intro-box p {
    margin: 0 0 20px 0;
    line-height: 24px !important;
    padding: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
}

.profile-intro-box p:first-child {
    margin-top: 10px;
    line-height: 28px !important;
}

.profile-intro-box p:last-child {
    margin-bottom: 0 !important;
    line-height: 28px !important;
}

.expertiseContainer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5px 0;
    width: 100%;
}

.subPageMainSection .expertiseContainer {
    padding: 5px 0;
    width: 100%;
}

.expertise-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    line-height: 30px !important;
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    font-weight: bold;
}

.expertise-content-box {
    background-color: #202020;
    padding: 30px 30px 5px 30px;
    margin: 0;
    box-sizing: border-box;
    border-left: 4px solid #F5CA36;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 0;
}

.expertise-content-box .column {
    width: 100%;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.expertise-content-box p {
    margin: 0 0 20px 0;
    line-height: 24px !important;
    padding: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
}

.expertise-content-box p:first-child {
    margin-top: 10px;
    line-height: 28px !important;
}

.expertise-content-box p:last-child {
    margin-bottom: 0 !important;
    line-height: 28px !important;
}

.subPageMainSection .profileImageContainer {
    width: 100%;
    height: 100%;
    justify-content: center;
}

.subPageMainSection .text {
    line-height: 40px;
    margin: 0;
    align-items: flex-start;
}

.contactWrapper {
    min-width: 350px;
    align-content: flex-end;
    align-items: flex-end;
    position: relative;
    top: 0;
    margin: 100px 100px 100px 0;
    padding-top: 0;
    padding-bottom: 0;
}

.contactWrapper h1 {
    position: relative;
    right: 10px;
}

.contactWrapper ul {
    list-style-type: none;
}

.contactListItem {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-left: 50px;
    text-align: right;
}

.contactListItem a {
    line-height: 30px;
}

.contactListItem img {
    width: 18px;
    margin: 15px 0 15px 10px;
}

.arrowSection {
    position: relative;
    top: 0;
}

.arrowSection img {
    width: 60px;
    cursor: pointer;
}

.map {
    visibility: hidden;
}

footer {
    border-top: 4px solid white;
    width: 100vw;
    min-height: 500px;
    position: relative;
    flex-direction: column;
}

footer .yellow {
    text-transform: uppercase;
}

footer .contentWrapper {
    margin: 25px 50px 25px 50px;
    padding-top: 0;
    align-items: stretch;
}

.mainFooterText {
    align-items: flex-start;
    padding-top: 15px;
}

.footerTopBox {
    width: 70%;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-between;
}

.footerBottomBox {
    align-items: flex-start;
    font-style: italic;
    line-height: 20px;
}

.footerBottomBox a {
    text-decoration: underline;
}

.footerboxtext {
    align-content: space-around;
    align-items: flex-start;
    padding: 15px 15px 15px 0;
    line-height: 20px;
    min-width: 190px;
}

.footerboxtext .yellow {
    line-height: 25px;
}

.footerCopyrightBox {
    text-align: right;
    font-style: italic;
    align-items: flex-start;
    justify-content: flex-end;
    line-height: 20px;
}

.footerCopyrightBox p img {
    width: 11px;
}

.footerLogo {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 150px;
}

.githubLink {
    color: rgb(179, 123, 243);
}

/*Tablet*/

@media (min-width: 600px) {
    .hidden {
        visibility: hidden;
        width: 0;
        min-width: 0;
        height: 0;
        min-height: 0;
        margin: 0;
        position: absolute;
    }
    .language-dropdown .hideable-link-wrapper {
        margin-right: 0;
    }
    .introLeft {
        height: 20vw;
    }
    .introLeft p {
        width: max-content;
    }
    .backgroundImageContainer {
        top: -250px;
        height: 900px;
    }
    .background-image {
        width: 1300px;
    }
    .tile p {
        position: absolute;
        top: auto;
        height: auto;
        width: 100%;
        padding: 10px;
        margin: 0;
        text-align: left;
        background-color: rgb(0, 0, 0, 0.5);
    }

    .tile {
        margin: 10px;
        overflow: visible;
    }
    .tile, .tileimage {
        height: 290px;
        min-height: 290px;
        max-height: 290px;
        width: 290px;
        min-width: 290px;
        max-width: 290px;
    }
    .tile p {
        height: auto;
        width: 67%;
    }
    .tilecontainer {
        justify-content: center;
    }
    .tileHeader {
        margin: 10px;
    }
    .teamCardsContainer {
        justify-content: center;
    }
    #expertise-main-section .teamCardsContainer {
        justify-content: flex-start !important;
    }
    #news-main-section .teamCardWrapper {
        justify-content: flex-start !important;
    }
    .teamCardWrapper {
        justify-content: flex-start;
        max-width: 298px;
        margin: 10px;
        position: relative;
    }

    .team-card {
        min-width: auto;
        height: 110px;
    }

    .team-card div {
        width: 90%;
    }
    .team-card div div:first-child {
        font-size: 18px;
        line-height: 20px;
    }
    .team-card div div p {
        /*font-size: 16px;*/
        line-height: 20px;
    }
    .team-card-name {
        font-size: 21px !important;
        line-height: 23px !important;
    }
    .team-card-title {
        font-size: 19px !important;
        line-height: 21px !important;
    }
    .subPageMainSection {
        flex-direction: row;
        margin-top: 50px;
        /*align-items: stretch;*/
        justify-content: start;
    }
    
    /* Keep all news page in column layout even on desktop */
    .subPageMainSection.contentWrapper.column {
        flex-direction: column !important;
    }

    .subPageMainSection .profileContainer {
        flex-direction: column;
        max-width: 800px;
        padding-top: 20px;
        padding-bottom: 0px;
    }

    .profile-details-box {
        padding: 30px;
    }

    .profile-bottom-section {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .profile-intro-box {
        padding: 30px 30px 18px 30px;
        min-height: 100%;
    }

    .profile-intro-box p {
        font-size: 18px;
        line-height: 26px !important;
    }

    .profile-name-header .lg {
        font-size: 22px !important;
        line-height: 28px !important;
    }

    .profile-emea-container {
        margin-top: 25px;
    }

    .profile-emea-container .emeaLawyerImage {
        max-width: 180px;
    }

    .expertise-content-box {
        padding: 30px 30px 7px 30px;
        margin-left: 0;
        margin-top: 10px;
    }

    .expertise-content-box p {
        font-size: 18px;
        line-height: 26px !important;
    }

    .expertise-title {
        font-size: 22px !important;
        line-height: 28px !important;
        margin: 0 0 20px 0 !important;
    }
    #expertise-main-section.subPageMainSection {
        flex-direction: column;
    }
    #expertise-main-section .teamCardsContainer,
    #news-main-section .teamCardsContainer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start !important;
        width: 100%;
        margin-top: 0;
        padding-top: 0;
    }
    
    #expertise-main-section .teamCardsContainer {
        margin-left: 5px;
    }
    
    #expertise-main-section .teamCardWrapper,
    #news-main-section .teamCardWrapper {
        max-width: 220px;
        margin: 10px;
        overflow: hidden;
        position: relative;
    }
    
    #news-main-section .teamCardWrapper {
        margin-left: 0px;
    }
    
    .subPageMainSection .teamCardWrapper {
        max-width: 220px;
    }
    #news-main-section .newsArticleContainer {
        min-width: 90vw;
    }
    #expertise-main-section .card-img {
        visibility: visible;
        width: 100%;
        height: auto;
        z-index: 0;
        position: relative;
        display: block;
    }
    .card-img {
        visibility: visible;
        width: 100%;
        height: 300px;
        z-index: 0;
        object-fit: cover;
    }
    .card-img-thumbnail {
        visibility: hidden;
        width: 0;
        height: 0;
        position: relative;
        left: -50px;
        margin: 0;
    }

    .card-expand {
        position: absolute;
        top: 0;
        height: 300px;
        z-index: 5;
        background-color: rgba(73, 73, 73, 0.8);
        transition: none;
    }

    .subPageMainSection .card-expand {
        height: 222px;
    }

    .profile-contact-icon {
        width: 30px;
    }

    .worldlinkLogo {
        width: 175px;
    }

    .contactWrapper {
        top: -10vh;
        margin-top: 250px;
        margin-bottom: 150px;
    }

    footer .contentWrapper {
        flex-direction: column;
        align-items: stretch;
        margin: 0 50px 0 50px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .footerTopBox {
        flex-direction: row;
    }

    .footerlogo {
        width: 200px;
    }

    .contactListItem img {
        width: 22px;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .emeaLawyerImage {
        width: 125px;
    }

}

@media (min-width: 1000px) {
    .hidden {
        visibility: hidden;
        width: 0;
        min-width: 0;
        height: 0;
        min-height: 0;
        margin: 0;
        position: absolute;
    }

    .hideable-link-wrapper a:hover {
        background-color: #555;
        color: rgba(255, 255, 255, 0.65);
    }

    .serif, .sans-serif {
        font-size: 15px;
        line-height: 30px;
    }

    .xs {
        font-size: 14px;
    }

    .sm {
        font-size: 16px;
        line-height: 14px;
    }

    .lg {
        font-size: 25px;
        line-height: 30px;
    }

    .xl {
        font-size: 40px;
        line-height: 30px;
    }

    .teamCardsContainer {
        flex-direction: row;
        /*margin-top: 150px;*/
    }

    .teamCardWrapper {
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .teamCardWrapper:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    #expertise-main-section.subPageMainSection {
        flex-direction: column;
    }

    #expertise-main-section .teamCardsContainer,
    #news-main-section .teamCardsContainer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start !important;
        width: 100%;
        margin-top: 5px;
        padding-top: 0;
    }

    #expertise-main-section .teamCardsContainer {
        margin-left: 5px;
    }

    #news-main-section .teamCardsContainer {
        margin-left: -5px;
    }

    #expertise-main-section .teamCardWrapper,
    #news-main-section .teamCardWrapper {
        max-width: 298px;
        margin: 10px;
        overflow: hidden;
        position: relative;
    }
    
    #news-main-section .teamCardWrapper {
        margin-left: 0px;
    }

    #news-main-section .newsArticleContainer {
        min-width: 1190px;
    }

    .navbar-linkwrapper a {
        visibility: visible;
        padding: 5px;
        cursor: pointer;
    }

    .navbar-linkwrapper {
        min-width: 55%;
        height: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-linkwrapper:last-child {
        transition: 0.5s;
    }

    .language-dropdown {
        margin-right: 100px;
    }

    .hamburger {
        width: 0;
        visibility: hidden;
    }

    .hamburger-dropdown {
        max-width: 0;
        visibility: hidden;
        margin-left: -100px;
    }

    .backgroundImageContainer {
        top: -1050px;
        height: 2000px;
    }

    .background-image {
        width: 110vw;
        min-width: 3100px;
    }

    .introSection {
        min-height: 1000px;
    }

    .introLeft, .introRight {
        height: 450px;
        width: 450px;
        min-width: 285px;
        line-height: 25px;
    }

    .introtext {
        line-height: 30px;
    }

    .bigtile .tileimage {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }

    .bigtile {
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .bigtile p {
        background-color: rgba(209, 12, 12, 0.507);
    }

    .bigtile .newsTileText {
        background-color: rgba(209, 12, 12, 0.507) !important;
    }

    .whiteTextWrapper {
        margin: 20vh 0 25vh 0;
    }

    .worldlinkLogo {
        width: 200px;
    }

    .map {
        visibility: visible;
        height: 500px;
        width: 100vw;
    }

    .subPageMainSection .profileImageContainer {
        width: auto;
        height: 100%;
        order: 1;
    }

    .subPageMainSection .text {
        margin: 25px;
        order: 2;
    }

    .subPageMainSection .profileContainer {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        max-width: none;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .profile-details-box {
        padding: 35px 40px;
    }

    .profile-bottom-section {
        flex-direction: row;
        gap: 30px;
        align-items: stretch;
        width: 100%;
    }

    .profileImageContainer {
        flex: 0 0 550px;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .portrait-img {
        width: 550px;
        height: 100%;
        object-fit: cover;
    }
    .profile-intro-box {
        padding: 40px 40px 24px 40px;
        flex: 1 1 auto;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 100%;
    }
    .profile-intro-box .column {
        padding: 0;
        margin: 0;
    }
    .profile-intro-box p {
        font-size: 18px;
        line-height: 28px !important;
    }
    .profile-name-header .lg {
        font-size: 26px !important;
        line-height: 34px !important;
    }

    .team-card-name {
        font-size: 20px !important;
        line-height: 22px !important;
    }

    .team-card-title {
        font-size: 18px !important;
        line-height: 20px !important;
    }

    .profile-emea-container {
        margin-top: 30px;
    }

    .profile-emea-container .emeaLawyerImage {
        max-width: 200px;
    }

    .contactWrapper {
        margin-bottom: 0;
    }

    .subPageMainSection .expertiseContainer {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-width: none;
        padding-top: 30px;
        padding-bottom: 0px;
    }

    .expertise-content-box {
        padding: 40px 40px 7px 40px;
        margin-left: 0;
        margin-top: -10px;
    }

    .expertise-content-box p {
        font-size: 18px;
        line-height: 28px !important;
    }

    .expertise-title {
        font-size: 26px !important;
        line-height: 34px !important;
        margin: 0 0 25px 0 !important;
    }

    footer .contentWrapper {
        flex-direction: row;
        align-items: flex-end;
        margin: 25px 50px 25px 50px;
    }

    .footerCopyrightBox {
        align-items: flex-end;
    }

    .footerTopBox {
        flex-direction: row;
    }

    .footerboxtext {
        line-height: 35px;
    }

    .emeaLawyerImage {
        position: relative;
        margin: px;
        width: 150px;
    }

}

/* News Section Styles */

#news-section {
    margin-bottom: 0px;
    max-width: 1200px;
}

#news-section h1 {
    margin-bottom: 30px;
}

.newsPreviewList {
    width: 100%;
    margin-bottom: 30px;
}

.newsSection {
    padding: 0;
    margin: 0;
}

/* News tiles on landing page */
.tile:has(.newsTileText) {
    padding: 0;
}

.tile .newsTileText {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    height: 100% !important;
    width: 100% !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    text-align: left;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    flex-direction: column;
    background-color: #383838 !important;
    color: rgba(255, 255, 255, 0.90);
    box-sizing: border-box !important;
    transition: background-color 0.2s ease;
}

/* Yellow background for "show all" tile */
.newsTileShowAll {
    background-color: #F5CA36 !important;
}

.newsTileShowAll p {
    background-color: transparent !important;
    color: #121212;
}

.newsTileDate {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.8;
    display: block;
}

.newsTileTitle {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: block;
    margin: 3px 0;
}

.newsTileSubtitle {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.2;
    display: block;
}

.newsPreviewListItem {
    padding: 25px 20px;
    border-bottom: none;
    cursor: pointer;
    transition: padding-left 0.2s ease, background-color 0.2s ease;
    width: 100%;
    text-align: left;
    align-items: flex-start;
    position: relative;
}

.newsPreviewListItem::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 80px;
    height: 1px;
    background-color: #2a2a2a;
    transition: width 0.3s ease;
}

.newsPreviewListItem:hover {
    padding-left: 35px;
    background-color: #1a1a1a;
}

.newsPreviewListItem:hover::after {
    width: calc(100% - 20px);
}

.newsPreviewListItem:last-child::after {
    display: none;
}

.newsPreviewDate {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.newsPreviewTitle {
    font-size: 22px;
    margin: 0 0 10px 0;
    line-height: 1.3;
    font-weight: 600;
}

.newsPreviewSubtitle {
    font-size: 16px;
    margin: 0 0 15px 0;
    line-height: 1.4;
    opacity: 0.8;
}

.newsPreviewExcerpt {
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

.newsShowMoreButton {
    margin-top: 30px;
    margin-left: 0;
    padding: 12px 30px 12px 20px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    cursor: pointer;
    transition: padding-left 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    align-self: flex-start;
    position: relative;
}


.newsShowMoreButton:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    padding-left: 30px;
}

.newsSectionFooter {
    text-align: left;
    margin-top: 20px;
    width: 100%;
    align-self: stretch;
    padding: 0;
}

.newsViewAllButton {
    background-color: #F5CA36;
    color: #121212;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.newsViewAllButton:hover {
    background-color: #e6b82e;
    transform: translateY(-2px);
}

/* All News Page Styles */

.allNewsContainer {
    padding: 0;
    background-color: transparent;
    min-height: 60vh;
    width: 100%;
    align-self: stretch;
}

.newsListItem {
    padding: 25px 20px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: padding-left 0.2s ease, background-color 0.2s ease;
    width: 100%;
    text-align: left;
    align-items: flex-start;
}

.newsListItem:hover {
    padding-left: 35px;
    background-color: #1a1a1a;
}

.newsListItem:last-child {
    border-bottom: none;
}

.newsListDate {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.newsListTitle {
    font-size: 22px;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-weight: 600;
}

.newsListSubtitle {
    font-size: 16px;
    margin: 0 0 12px 0;
    line-height: 1.5;
    opacity: 0.8;
}

.newsListExcerpt {
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Single News Article Styles */

#news-main-section {
    flex-direction: column;
    padding: 0;
    margin-top: 100px;
}

#news-main-section .newsArticleContainer {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.newsArticleHeader {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F5CA36;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 130ch;
    width: 100%;
}

.newsArticleDate {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    width: 100%;
    justify-content: left;
}

.newsArticleTitle {
    font-size: 42px;
    margin: 0 0 15px 0;
    line-height: 1.1;
    font-weight: 700;
    width: 100%;
}

/* Russian article headers - make them bigger */
.newsArticleTitle:lang(RU) {
    font-size: 32px;
    line-height: 1.2;
}
.newsArticleSubtitle:lang(RU) {
    font-size: 20px;
    line-height: 1.3;
}
.newsArticleDate:lang(RU) {
    font-size: 16px;
    line-height: 24px;
}

.newsArticleSubtitle {
    font-size: 22px;
    margin: 0;
    line-height: 1.25;
    opacity: 0.85;
    width: 100%;
}

.newsArticleContent {
    margin-top: 0;
    line-height: 1.4;
    font-size: 18px;
    max-width: 130ch;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.65);
    overflow-x: visible;
}

.newsArticleContent:lang(RU) {
    font-size: 20px;
}

.newsArticleContent p {
    max-width: 100%;
}

.newsArticleContent h1,
.newsArticleContent h2,
.newsArticleContent h3,
.newsArticleContent h4,
.newsArticleContent h5,
.newsArticleContent h6 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.2;
    width: 100%;
}

.newsArticleContent h1 {
    font-size: 42px;
    margin: 0 0 15px 0;
    line-height: 1.1;
    font-weight: 700;
    width: 100%;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Russian article headers - make them bigger */
.newsArticleContent h1:lang(RU) {
    font-size: 32px;
    line-height: 1.2;
}

.newsArticleContent h2 {
    font-size: 28px;
}

.newsArticleContent h3 {
    font-size: 24px;
}

.newsArticleContent h4 {
    font-size: 20px;
}

.newsArticleContent h5 {
    font-size: 18px;
}

.newsArticleContent h6 {
    font-size: 16px;
}

.newsArticleContent p {
    margin-top: 8px;
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: justify;
    width: 100%;
    color: rgba(255, 255, 255, 0.65);
    overflow-x: visible;
    word-wrap: break-word;
}

.newsArticleContent ul,
.newsArticleContent ol {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 30px;
    width: 100%;
    color: rgba(255, 255, 255, 0.65) !important;
    overflow-x: visible;
    word-wrap: break-word;
    box-sizing: border-box;
}

.newsArticleContent li {
    margin: 0;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65) !important;
    overflow-x: visible;
    word-wrap: break-word;
}

.newsArticleContent li strong {
    color: rgba(255, 255, 255, 0.65) !important;
}

.newsArticleContent a {
    color: #F5CA36;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.newsArticleContent a:hover {
    opacity: 0.8;
}

.newsArticleContent code {
    background-color: #2a2a2a;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
}

.newsArticleContent blockquote {
    border-left: 4px solid #F5CA36;
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
    width: 100%;
}

.newsArticleContent strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.newsArticleContent img {
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 8px;
}

/* Responsive News Styles */

@media (max-width: 768px) {
    .newsSection {
        padding: 40px 25px;
        margin: 30px 0;
    }

    .newsPreviewList {
        gap: 0;
    }

    .newsPreviewListItem {
        padding: 20px 0;
    }

    .newsPreviewTitle {
        font-size: 20px;
    }

    .newsPreviewSubtitle {
        font-size: 15px;
    }

    .newsPreviewExcerpt {
        font-size: 14px;
    }

    .newsArticleContent {
        overflow-x: visible;
        word-wrap: break-word;
        max-width: 100%;
    }
    

    .newsArticleContent ul,
    .newsArticleContent ol {
        padding-left: 20px;
        overflow-x: visible;
        word-wrap: break-word;
        box-sizing: border-box;
        max-width: 100%;
    }

    .newsArticleContent li {
        overflow-x: visible;
        word-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .newsArticleContent {
        padding: 0 10px;
        box-sizing: border-box;
    }
    

    .newsArticleContent p {
        overflow-x: visible;
        word-wrap: break-word;
    }

    .allNewsContainer {
        padding: 0;
    }

    .newsListItem {
        padding: 25px 20px;
    }

    .newsListTitle {
        font-size: 24px;
    }

    .newsListSubtitle {
        font-size: 16px;
    }

    .newsListExcerpt {
        font-size: 15px;
    }

    .newsArticleContainer {
        padding: 40px 25px;
    }

    .newsArticleTitle {
        font-size: 32px;
    }

    .newsArticleSubtitle {
        font-size: 18px;
    }

    .newsArticleContent {
        font-size: 16px;
    }

    .newsArticleContent h1 {
        font-size: 26px;
    }

    .newsArticleContent h2 {
        font-size: 22px;
    }

    .newsArticleContent h3 {
        font-size: 20px;
    }
}

/* Cookie Banner Styles */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #202020;
    border-top: 2px solid #F5CA36;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.cookie-banner-content {
    max-width: 1366px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.cookie-banner-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-link {
    text-decoration: underline;
    cursor: pointer;
}

.cookie-link:hover {
    opacity: 0.8;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-button {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.cookie-button-accept {
    background-color: #F5CA36;
    color: #121212;
    border-color: #F5CA36;
}

.cookie-button-accept:hover {
    background-color: #e6b82d;
    border-color: #e6b82d;
}

.cookie-button-decline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-button-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Info Modal */

.cookie-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.cookie-info-content {
    background-color: #202020;
    border: 2px solid #F5CA36;
    padding: 40px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.cookie-info-text-wrapper {
    width: 100%;
    display: block;
}

.cookie-info-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    width: 100%;
    text-align: left;
    display: block;
}

.cookie-info-text p {
    margin: 15px 0;
    width: 100%;
    text-align: left;
}

.cookie-info-text ul {
    margin: 15px 0;
    padding-left: 30px;
    width: 100%;
    text-align: left;
}

.cookie-info-text li {
    margin: 8px 0;
    width: 100%;
    text-align: left;
}

.cookie-info-content h2 {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Map Disabled Message */

.map-disabled-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
    background-color: #1a1a1a;
}

.map-disabled-message p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        padding: 0;
    }

    .cookie-banner-text {
        font-size: 13px;
    }

    .cookie-button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .cookie-info-content {
        padding: 25px;
        max-height: 90vh;
    }

    .cookie-info-text {
        font-size: 14px;
    }
}

@media (min-width: 3000px) {
    .backgroundImageContainer {
        top: -1800px;
        height: 2700px;
    }

    .background-image {
        width: 110vw;
        min-width: 3840px;
        z-index: -2;
    }

}