/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

/* Reset Sheet */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
*, ::before, ::after { box-sizing: border-box; }

/* Site Styling */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #C9EDFD;
    color: #0C4166;
    max-width: 1440px;
    margin: 0 auto;
    user-select: none;
}

main .section-1 {
    width: 100%;
    height: 100%;
    background-color: #93DCFA;
    position: relative;
    z-index: 0;
}

main .section-1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 162px;
    height: 162px;
    background-image: url('../img/sun.svg');
    z-index: -1;
}

main .section-1::after {
    content: '';
    position: absolute;
    top: 190px;
    left: 0px;
    width: 100%;
    height: 186px;
    background-image: url('../img/clouds.svg');
    background-repeat: repeat-x;
    animation: scroll-clouds 30s linear infinite; 
    z-index: -1;
}

main .section-1 .main-visual::-webkit-scrollbar {
    height: 12px;
}

main .section-1 .main-visual::-webkit-scrollbar-track {
    background-color: #508EB0;
}

main .section-1 .main-visual::-webkit-scrollbar-thumb {
    background-color: #0C4166;
}

main .section-1 .main-visual::-webkit-scrollbar-thumb:hover {
    background-color: #0a3552;
}

main .section-1 h1 {
    font-family: 'Roboto Serif', serif;
    font-weight: 650;
    font-size: 40px;
    margin-bottom: 15px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
}

main .section-1 .header-grid {
    width: 50%;
    padding-left: 50px;
}

main .section-1 .header-grid p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
}

main .section-1 .filters {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
    position: relative;
}

main .section-1 .filters .current-filter {
    background: #FFD60A;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 650;
    padding: 12px 15px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.10));
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

main .section-1 .filters .standard-filter {
    padding-left: 42px;
    background-image: url('../img/safe-bets-icon.svg');
    background-repeat: no-repeat;
    background-position-x: 12px;
    background-position-y: center;
}

main .section-1 .filters .filter-select {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0C4166;
    border-radius: 50px;
    background: #FFF6D5;
    border: none;
    outline: none;
    padding: 11px 18px;
    padding-right: 38px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../img/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    max-width: 205px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;  
}

main .section-1 .filters .apply-button {
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    background: #0C4166;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
    color: white;
    padding: 12px 20px;
    cursor: pointer;
}

main .section-1 .filters .apply-icon {
    padding-left: 44px;
    background-image: url('../img/apply-icon.svg');
    background-repeat: no-repeat;
    background-position-x: 15px;
    background-position-y: center;
}

main .section-1 .legend {
    position: absolute;
    right: 50px;;
    top: -1px;
    background-color: #C9EDFD;
    border: 2px solid #0C4166;
    width: 244px;
    height: fit-content;
    cursor: pointer;
    z-index: 50;
}

main .section-1 .legend .arrow {
    position: absolute;
    top: 15px;
    right: 10px;
    background-image: url('../img/arrow-down.svg');
    width: 15px;
    height: 9px;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

main .section-1 .legend h2 {
    font-size: 15px;
    font-weight: 700;
    padding: 10px 13px;
}

main .section-1 .legend .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0C4166;
    margin-bottom: 12px;
}

main .section-1 .legend .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    margin-bottom: 10px;
}

main .section-1 .legend .item img {
    width: 25px;
    height: 25px;
}

main .section-1 .legend .item p {
    font-size: 14px;
    font-weight: 600;
}

main .section-1 .main-visual {
    width: 100%;
    height: 630px;
    margin-top: 80px;
    position: relative;
    bottom: 0;
    overflow-y: hidden;
    overflow-x: auto;
}

main .section-1 .main-visual svg {
    display: block;
    height: 620px;
}

main .section-2 {
    width: 100%;
    height: fit-content;
    background-color: #FFF6D5;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

main .section-2::after {
    content: '';
    display: table;
    clear: both;
}

main .section-2 .left {
    width: 380px;
    height: fit-content;
    position: sticky;
    top: 50px;
    float: left;
}

main .section-2 .left img {
    width: 236px;
    height: 255px;
    object-fit: contain;
    object-position: left;
}

main .section-2 .left .text-content {
    position: absolute;
    left: 155px;
    top: 50%;
    transform: translateY(-50%);
}

main .section-2 .left h1 {
    font-family: 'Roboto Serif', serif;
    font-weight: 650;
    font-size: 36px;
    margin-bottom: 10px;
}

main .section-2 .left p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

main .section-2 .right {
    width: calc(100% - 380px);
    height: fit-content;
    float: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 50px;
    padding-right: 50px;
}

main .section-2 .right .visual-wrapper {
    position: relative;
    width: 900px;
    height: 300px;
}

main .section-2 .right .visual-container {
    width: 100%;
    height: 100%;
    background-color: #93DCFA;
    border: 2px solid #0C4166;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

main .section-2 .right .visual-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: calc(162px / 2.5);
    height: calc(162px / 2.5);
    background-image: url('../img/sun.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

main .section-2 .right .visual-container::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 0px;
    width: 100%;
    height: calc(186px / 2.5);
    background-image: url('../img/clouds.svg');
    background-repeat: repeat-x;
    background-size: contain;
    animation: scroll-clouds 35s linear infinite; 
    z-index: -1;
}

main .section-2 .right .visual-container span {
    position: relative;
    display: block;
}

main .section-2 .right .visual-wrapper .header {
    width: fit-content;
    height: fit-content;
    padding: 10px 15px;
    border: 2px solid #0C4166;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 650;
    line-height: normal;
    position: absolute;
    top: -25px;
    left: 25px;
    z-index: 2;
}
.e-color { color: white; background-color: #518129; }
.s-color { color: #0C4166; background-color: #FFC300; }
.g-color { color: white; background-color: #009EDB; }

main .section-2 .right .visual-container .stats {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 15px;
    z-index: 2;
}

main .section-2 .right .visual-container .stats h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

main .section-2 .right .visual-container .stats .stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

main .section-2 .right .visual-container .stats .stat-item p {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

main .section-2 .right .visual-container .stats .stat-item img {
    width: 25px;
    height: 28px;
    object-fit: contain;
}

main .section-3 {
    width: 100%;
    height: 1050px;
    background-color: #93DCFA;
    position: relative;
    z-index: 0;
    overflow-x: hidden;
}

main .section-3::-webkit-scrollbar {
    height: 12px;
}

main .section-3::-webkit-scrollbar-track {
    background-color: #508EB0;
}

main .section-3::-webkit-scrollbar-thumb {
    background-color: #0C4166;
}

main .section-3::-webkit-scrollbar-thumb:hover {
    background-color: #0a3552;
}

main .section-3 h1 {
    font-family: 'Roboto Serif', serif;
    font-weight: 650;
    font-size: 40px;
    margin-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
}

main .section-3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 162px;
    height: 162px;
    background-image: url('../img/sun.svg');
    z-index: -1;
}

main .section-3::after {
    content: '';
    position: absolute;
    top: 190px;
    left: 0px;
    width: 100%;
    height: 186px;
    background-image: url('../img/clouds.svg');
    background-repeat: repeat-x;
    animation: scroll-clouds 30s linear infinite; 
    z-index: -1;
}

main .section-3 .comparison-grid {
    width: 100%;
    height: calc(1050px - 110px);
    overflow-x: scroll;
    overflow-y: hidden;
    padding-left: 50px;
    padding-top: 20px;
    padding-right: 50px;
    display: flex;
}

main .section-3 .comparison-grid::-webkit-scrollbar {
    height: 12px;
}

main .section-3 .comparison-grid::-webkit-scrollbar-track {
    background-color: #508EB0;
}

main .section-3 .comparison-grid::-webkit-scrollbar-thumb {
    background-color: #0C4166;
}

main .section-3 .comparison-grid::-webkit-scrollbar-thumb:hover {
    background-color: #0a3552;
}

main .section-3 .comparison-grid .comparison-item {
    display: flex;
    flex-direction: row;
    gap: 50px;
    flex-shrink: 0;
}

main .section-3 .comparison-grid .empty-state {
    width: 400px;
    height: 455px;
    background-color: rgba(255, 255, 255, 0.70);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

main .section-3 .comparison-grid .empty-state p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0C4166;
    text-align: center;
    line-height: 1.4;
}

main .section-3 .comparison-grid .grid-item {
    background-color: rgba(255, 255, 255, 0.70);
    position: relative;
}

main .section-3 .comparison-grid .grid-item h2 {
    font-family: 'Open Sans', serif;
    font-weight: 650;
    font-size: 18px;
    height: 45px;
    width: 100%;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid #0C4166;
}

main .section-3 .comparison-grid .grid-item .summarized-value {
    width: calc(100% - 80px);
    height: 25px;
    background-color: #D9D9D9;
    border: 2px solid #0C4166;
    margin: 20px auto;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

main .section-3 .comparison-grid .grid-item .summarized-value::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #0C4166;
    width: var(--fill-percentage, 0%);
    transition: width 0.3s ease;
}

main .section-3 .comparison-grid .grid-item .summarized-value::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 700;
    color: #0C4166;
    z-index: 1;
}

main .section-3 .comparison-grid .grid-item .summarized-value-label {
    text-align: center;
    font-family: "Open Sans";
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
}

main .section-3 .comparison-grid .grid-item .esg-bars {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-end;
    height: 250px;
    padding: 20px;
    gap: 20px;
    padding-top: 15px;
}

main .section-3 .comparison-grid .grid-item .esg-bar {
    width: 80px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

main .section-3 .comparison-grid .grid-item .esg-bar .bar-container {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #0C4166;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

main .section-3 .comparison-grid .grid-item .esg-bar .bar-fill {
    width: 100%;
    height: var(--fill-percentage, 0%);
    transition: height 0.3s ease;
}

main .section-3 .comparison-grid .grid-item .esg-bar .bar-fill.e-fill {
    background-color: #518129;
}

main .section-3 .comparison-grid .grid-item .esg-bar .bar-fill.s-fill {
    background-color: #FFC300;
}

main .section-3 .comparison-grid .grid-item .esg-bar .bar-fill.g-fill {
    background-color: #009EDB;
}

main .section-3 .comparison-grid .grid-item .esg-bar .bar-label {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    color: #0C4166;
}

main .section-3 .comparison-grid .grid-item .esg-bar .bar-value {
    text-align: center;
    font-size: 15px;
    font-weight: 650;
    color: #0C4166;
    margin-bottom: 10px;
}

main .section-1 .legend .arrow.rotated {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
    top: 12px;
}

main .section-1 .legend .legend-items.hidden {
    display: none;
}

#sidebar {
    width: 450px;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    background-color: #FFF6D5;
    border-left: 2px solid #0C4166;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
}

#sidebar.active {
    transform: translateX(0);
}

.sidebar-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.close-sidebar {
    flex: 1;
    padding: 10px 20px 10px 40px;
    background-color: #0C4166;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
    text-align: center;
}

.close-icon {
    background-image: url('../img/close.svg');
    background-repeat: no-repeat;
    background-position-x: 15px;
    background-position-y: center;
}

#sidebar-content {
    width: 100%;
}

#sidebar-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 650;
    color: #0C4166;
    margin-bottom: 25px;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid #0C4166;
    border-bottom: 1px solid #0C4166;
    width: calc(100% + 40px);
    margin-left: -20px;
}

.compare-icon {
    padding-left: 44px;
    background-image: url('../img/cross.svg');
    background-repeat: no-repeat;
    background-position-x: 15px;
    background-position-y: center;
}

.compare-button {
    flex: 1;
    padding: 10px 20px 10px 40px;
    background-color: #0C4166;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
    text-align: center;
}

#barchart {
    width: 100%;
    height: auto;
}

#sidebar::-webkit-scrollbar {
    width: 12px;
}

#sidebar::-webkit-scrollbar-track {
    background-color: #508EB0;
}

#sidebar::-webkit-scrollbar-thumb {
    background-color: #0C4166;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #0a3552;
}

.topic-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #0C4166;
}

.topic-details h3 {
    font-family: 'Roboto Serif', serif;
    font-size: 20px;
    font-weight: 650;
    color: #0C4166;
    margin-bottom: 15px;
}

.indicators-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.indicator-item {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #0C4166;
}

.indicator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.indicator-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0C4166;
    flex: 1;
}

.indicator-year {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #0C4166;
    opacity: 0.7;
    margin-left: 8px;
}

.indicator-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.indicator-bar-bg {
    flex: 1;
    height: 20px;
    background-color: #E5E5E5;
    border: 1px solid #0C4166;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.indicator-bar-fill {
    height: 100%;
    background-color: #518129;
    transition: width 0.3s ease;
}

.indicator-average {
    position: absolute;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: red;
}

.indicator-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0C4166;
    min-width: 45px;
    text-align: right;
}

main .section-3 .comparison-grid .item-wrapper {
    position: relative;
    width: 400px;
    height: 910px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

main .section-3 .comparison-grid .comparison-building {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 427px;
    z-index: 2;
    pointer-events: none;
    transition: z-index 0.2s ease;
}

main .section-3 .comparison-grid .item-wrapper .grid-item {
    position: relative;
    z-index: 2;
    height: 455px;
    max-height: 455px;
    overflow-y: auto;
    overflow-x: hidden;
}

main .section-3 .comparison-grid .grid-item .grid-topic-details {
    padding: 20px;
    border-top: 2px solid #0C4166;
}

main .section-3 .comparison-grid .grid-item .grid-topic-details h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0C4166;
    margin-bottom: 15px;
    text-align: center;
}

main .section-3 .comparison-grid .grid-item .grid-indicators-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-item {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #0C4166;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0C4166;
    flex: 1;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-year {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #0C4166;
    opacity: 0.7;
    margin-left: 8px;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-bar-bg {
    flex: 1;
    height: 18px;
    background-color: #E5E5E5;
    border: 1px solid #0C4166;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-bar-fill {
    height: 100%;
    background-color: #518129;
    transition: width 0.3s ease;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-average {
    position: absolute;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: red;
}

main .section-3 .comparison-grid .grid-item .grid-indicator-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #0C4166;
    min-width: 45px;
    text-align: right;
}

main .section-3 .comparison-grid .esg-bar .bar-container {
    cursor: pointer;
}

main .section-3 .comparison-grid .esg-bar .bar-fill {
    cursor: pointer;
}

main .section-3 .comparison-grid .grid-item::-webkit-scrollbar {
    width: 10px;
}

main .section-3 .comparison-grid .grid-item::-webkit-scrollbar-track {
    background-color: #508EB0;
}

main .section-3 .comparison-grid .grid-item::-webkit-scrollbar-thumb {
    background-color: #0C4166;
}

main .section-3 .comparison-grid .grid-item::-webkit-scrollbar-thumb:hover {
    background-color: #0a3552;
}

main .section-3 .comparison-grid .item-wrapper:hover .comparison-building {
    z-index: 1;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-barchart .summarized-value {
    width: calc(100% - 80px);
    height: 25px;
    background-color: #D9D9D9;
    border: 2px solid #0C4166;
    margin: 20px auto;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

.sidebar-barchart .summarized-value::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #0C4166;
    width: var(--fill-percentage, 0%);
    transition: width 0.3s ease;
}

.sidebar-barchart .summarized-value-label {
    text-align: center;
    font-family: "Open Sans";
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.sidebar-barchart .esg-bars {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-end;
    height: 250px;
    padding: 20px;
    gap: 20px;
    padding-top: 15px;
}

.sidebar-barchart .esg-bar {
    width: 80px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sidebar-barchart .esg-bar .bar-container {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #0C4166;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
}

.sidebar-barchart .esg-bar .bar-fill {
    width: 100%;
    height: var(--fill-percentage, 0%);
    transition: height 0.3s ease;
    cursor: pointer;
}

.sidebar-barchart .esg-bar .bar-fill.e-fill {
    background-color: #518129;
}

.sidebar-barchart .esg-bar .bar-fill.s-fill {
    background-color: #FFC300;
}

.sidebar-barchart .esg-bar .bar-fill.g-fill {
    background-color: #009EDB;
}

.sidebar-barchart .esg-bar .bar-label {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    color: #0C4166;
}

.sidebar-barchart .esg-bar .bar-value {
    text-align: center;
    font-size: 15px;
    font-weight: 650;
    color: #0C4166;
    margin-bottom: 10px;
}

.sidebar-topic-details {
    padding-top: 20px;
    border-top: 2px solid #0C4166;
    width: calc(100% + 40px);
    margin-left: -20px;
}

.sidebar-topic-details h3 {
    font-family: 'Open Sans', sans-erif;
    font-size: 16px;
    font-weight: 700;
    color: #0C4166;
    margin-bottom: 15px;
    text-align: center;
}

.sidebar-indicators-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

.sidebar-indicator-item {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #0C4166;
}

.sidebar-indicator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sidebar-indicator-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0C4166;
    flex: 1;
}

.sidebar-indicator-year {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #0C4166;
    opacity: 0.7;
    margin-left: 8px;
}

.sidebar-indicator-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-indicator-bar-bg {
    flex: 1;
    height: 20px;
    background-color: #E5E5E5;
    border: 1px solid #0C4166;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-indicator-bar-fill {
    height: 100%;
    background-color: #518129;
    transition: width 0.3s ease;
}

.sidebar-indicator-average {
    position: absolute;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: red;
}

.sidebar-indicator-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0C4166;
    min-width: 45px;
    text-align: right;
}

.growth-factor-section {
    padding-top: 20px;
    border-top: 2px solid #0C4166;
    width: calc(100% + 40px);
    margin-left: -20px;
}

.growth-factor-section h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0C4166;
    margin-bottom: 15px;
    text-align: center;
}

.growth-factors {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    padding: 10px 10px;
    background-color: #FFFBEA;
    margin-bottom: 25px;
    margin-left: 20px;
    margin-right: 20px;
    border: 1px solid #0C4166;
    border-radius: 8px;
}

.growth-factors-comparison {
    margin-left: 40px;
    margin-right: 40px;
    background-color: rgba(255, 255, 255, 0.5);
}

.growth-item {
    flex: 1;
    text-align: center;
}

.growth-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0C4166;
    margin-bottom: 8px;
}

.growth-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.growth-value.positive {
    color: #518129;
}

.growth-value.negative {
    color: #D32F2F;
}

.growth-value.neutral {
    color: #757575;
}

.growth-arrow {
    font-size: 18px;
    line-height: 1;
}

.growth-percentage {
    font-size: 14px;
}

.sidebar-indicator-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0C4166;
}

.sidebar-indicator-legend .legend-line {
    width: 4px;
    height: 20px;
    background-color: red;
}

@keyframes scroll-clouds {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -1000px 0;
    }
}

@media (max-width: 700px) {
    main .section-1 .legend {
        display: none;
    }

    main .section-2 .right .visual-container .stats {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 20px;
        background-color: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 970px) {
    main .section-2 .right .visual-container .stats {
        display: none;
    }
}

@media (max-width: 1360px) {
    main .section-1 .main-visual {
        margin-top: 30px;
    }

    main .section-1 .filters {
        flex-direction: column;
        align-items: flex-start;
    }

    main .section-2 .left {
        width: 100%;
        float: none;
        position: relative;
        top: 0;
        display: flex;
        flex-direction: column;
        padding-right: 50px;
    }

    main .section-2 .left img {
        position: relative;
        left: 0;
    }

    main .section-2 .left .text-content {
        position: relative;
        left: 0;
        top: -160px;
        transform: none;
        text-align: center;
    }

    main .section-2 .right {
        width: 100%;
        float: none;
        align-items: center;
        padding-left: 50px;
        padding-right: 50px;
    }

    main .section-2 .right .visual-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 1;
    }

    main .section-2 .right .visual-container svg {
        width: 100%;
        height: 100%;
    }

    main .section-2 .right .visual-container .stats {
        width: min(250px, 35%);
        height: auto;
        aspect-ratio: 1 / 1;
        padding: min(15px, 2%);
    }

    main .section-2 .right .visual-container .stats h3 {
        font-size: clamp(12px, 2vw, 15px);
    }

    main .section-2 .right .visual-container .stats .stat-item {
        margin-bottom: min(13px, 1.5vh);
    }

    main .section-2 .right .visual-container .stats .stat-item p {
        font-size: clamp(11px, 1.8vw, 13px);
    }

    main .section-2 .right .visual-container .stats .stat-item img {
        width: min(25px, 3.5vw);
        height: min(28px, 4vw);
    }

    main .section-2 .right .visual-wrapper .header {
        font-size: clamp(14px, 2.5vw, 18px);
        padding: clamp(8px, 1vw, 10px) clamp(12px, 1.5vw, 15px);
        left: clamp(15px, 2vw, 25px);
    }
}