@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;900&family=Tektur:wght@500&family=Tektur:wdth,wght@87.5,500&display=swap');

#portrait-2025 {

    --rect-w: 2px;
    --rect-h: 2px;
    --rect-gap: 1px;
    --max-width: 1280px;
    --desktop-padding: 80px 120px 120px 120px;
    --mobile-padding: 60px 20px 80px 20px;

    /* === TYPOGRAPHY & COLORS FROM STYLEGUIDE === */
    --desktop-h1-font-family: "Geologica", Helvetica;
    --desktop-h1-font-weight: 900;
    --desktop-h1-font-size: 80px;
    --desktop-h1-letter-spacing: 16px;
    --desktop-h1-line-height: 100%;
    --desktop-h1-font-style: normal;

    --desktop-h2-alt-font-family: "Tektur", Helvetica;
    --desktop-h2-alt-font-weight: 500;
    --desktop-h2-alt-font-size: 30px;
    --desktop-h2-alt-letter-spacing: 0px;
    --desktop-h2-alt-line-height: normal;
    --desktop-h2-alt-font-style: normal;

    --desktop-text-font-family: "Geologica", Helvetica;
    --desktop-text-font-weight: 400;
    --desktop-text-font-size: 15px;
    --desktop-text-letter-spacing: 0px;
    --desktop-text-line-height: 140%;
    --desktop-text-font-style: normal;

    --desktop-text-lead-font-family: "Geologica", Helvetica;
    --desktop-text-lead-font-weight: 400;
    --desktop-text-lead-font-size: 20px;
    --desktop-text-lead-letter-spacing: 0px;
    --desktop-text-lead-line-height: 130%;
    --desktop-text-lead-font-style: normal;

    --desktop-text-quote-font-family: "Geologica", Helvetica;
    --desktop-text-quote-font-weight: 400;
    --desktop-text-quote-font-size: 25px;
    --desktop-text-quote-letter-spacing: 0px;
    --desktop-text-quote-line-height: normal;
    --desktop-text-quote-font-style: normal;

    --desktop-factoid-l-font-family: "Tektur", Helvetica;
    --desktop-factoid-l-font-weight: 500;
    --desktop-factoid-l-font-size: 120px;
    --desktop-factoid-l-letter-spacing: 6px;
    --desktop-factoid-l-line-height: normal;
    --desktop-factoid-l-font-style: normal;

    --desktop-factoid-m-font-family: "Tektur", Helvetica;
    --desktop-factoid-m-font-weight: 500;
    --desktop-factoid-m-font-size: 60px;
    --desktop-factoid-m-letter-spacing: 3px;
    --desktop-factoid-m-line-height: normal;
    --desktop-factoid-m-font-style: normal;

    --desktop-factoid-s-font-family: "Tektur", Helvetica;
    --desktop-factoid-s-font-weight: 500;
    --desktop-factoid-s-font-size: 40px;
    --desktop-factoid-s-letter-spacing: 2px;
    --desktop-factoid-s-line-height: normal;
    --desktop-factoid-s-font-style: normal;

    --desktop-percentage-font-family: "Tektur", Helvetica;
    --desktop-percentage-font-weight: 500;
    --desktop-percentage-font-size: 23px;
    --desktop-percentage-letter-spacing: 1.15px;
    --desktop-percentage-line-height: normal;
    --desktop-percentage-font-style: normal;

    --mobile-h1-font-family: "Geologica", Helvetica;
    --mobile-h1-font-weight: 900;
    --mobile-h1-font-size: 40px;
    --mobile-h1-letter-spacing: 4px;
    --mobile-h1-line-height: 100%;
    --mobile-h1-font-style: normal;

    --mobile-h2-alt-font-family: "Tektur", Helvetica;
    --mobile-h2-alt-font-weight: 500;
    --mobile-h2-alt-font-size: 20px;
    --mobile-h2-alt-letter-spacing: 0px;
    --mobile-h2-alt-line-height: normal;
    --mobile-h2-alt-font-style: normal;

    --mobile-text-font-family: "Geologica", Helvetica;
    --mobile-text-font-weight: 400;
    --mobile-text-font-size: 14px;
    --mobile-text-letter-spacing: 0px;
    --mobile-text-line-height: 110%;
    --mobile-text-font-style: normal;

    --mobile-text-lead-font-family: "Geologica", Helvetica;
    --mobile-text-lead-font-weight: 400;
    --mobile-text-lead-font-size: 16px;
    --mobile-text-lead-letter-spacing: 0px;
    --mobile-text-lead-line-height: normal;
    --mobile-text-lead-font-style: normal;

    --mobile-text-quote-font-family: "Geologica", Helvetica;
    --mobile-text-quote-font-weight: 400;
    --mobile-text-quote-font-size: 20px;
    --mobile-text-quote-letter-spacing: 0px;
    --mobile-text-quote-line-height: normal;
    --mobile-text-quote-font-style: normal;

    --mobile-factoid-l-font-family: "Tektur", Helvetica;
    --mobile-factoid-l-font-weight: 500;
    --mobile-factoid-l-font-size: 70px;
    --mobile-factoid-l-letter-spacing: 3.5px;
    --mobile-factoid-l-line-height: normal;
    --mobile-factoid-l-font-style: normal;

    --mobile-factoid-m-font-family: "Tektur", Helvetica;
    --mobile-factoid-m-font-weight: 500;
    --mobile-factoid-m-font-size: 40px;
    --mobile-factoid-m-letter-spacing: 2px;
    --mobile-factoid-m-line-height: normal;
    --mobile-factoid-m-font-style: normal;

    --mobile-factoid-s-font-family: "Tektur", Helvetica;
    --mobile-factoid-s-font-weight: 500;
    --mobile-factoid-s-font-size: 26px;
    --mobile-factoid-s-letter-spacing: 1.3px;
    --mobile-factoid-s-line-height: normal;
    --mobile-factoid-s-font-style: normal;

    --mobile-percentage-font-family: "Tektur", Helvetica;
    --mobile-percentage-font-weight: 500;
    --mobile-percentage-font-size: 15px;
    --mobile-percentage-letter-spacing: 0.75px;
    --mobile-percentage-line-height: normal;
    --mobile-percentage-font-style: normal;

    --variable-collection-main: rgba(153, 0, 255, 1);
    --variable-collection-specs: rgba(255, 208, 0, 1);
    --variable-collection-companies: rgba(255, 255, 181, 1);
    --variable-collection-white: rgba(230, 233, 249, 1);
    --variable-collection-work-load: rgba(78, 255, 93, 1);
    --variable-collection-demographics: rgba(95, 255, 247, 1);
    --variable-collection-money: rgba(231, 255, 125, 1);
    --variable-collection-defence: rgba(253, 127, 43, 1);
    --variable-collection-service-yellow: rgba(255, 172, 64, 1);
    --variable-collection-service-green: rgba(146, 255, 22, 1);
    --variable-collection-service-red: rgba(255, 68, 44, 1);
    --variable-collection-black: rgba(34, 34, 34, 1);

    --bg-dim: rgba(0, 0, 0, 0.5);
}

#portrait-2025 {
    height: 100%;
    box-sizing: border-box;
    margin: 0 -600px;
    scroll-behavior: smooth;
}
#portrait-2025 img { display: unset; }
#portrait-2025 .block { margin-bottom:60px; }
#portrait-2025 .block-header {
    font-family: var(--desktop-h1-font-family);
    font-weight: var(--desktop-h1-font-weight);
    font-size: var(--desktop-h1-font-size);
    letter-spacing: var(--desktop-h1-letter-spacing);
    line-height: var(--desktop-h1-line-height);
    margin:0 0 40px 0;
    color: var(--variable-collection-white);
}

#portrait-2025 .graph {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:8px;
    margin-bottom:3px;
}
#portrait-2025 .graph.no-icon { gap: 0; }
#portrait-2025 .graph.no-icon .graph_icon { display: none; }
#portrait-2025 .graph.central,
#portrait-2025 .graph.vertical { flex-direction:column; align-items:center; }

#portrait-2025 .graph_icon { 
    width:var(--icon-size);
    height:var(--icon-size);
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
}
#portrait-2025 .graph_icon svg,
#portrait-2025 .graph_icon img { width:32px; height:32px; display:block; }

#portrait-2025 .graph_content { display:flex; flex-direction:column; gap:6px; flex:1 0 0; align-items:flex-start; }
#portrait-2025 .graph.central .graph_content,
#portrait-2025 .graph.vertical .graph_content { align-items:center; }

#portrait-2025 .bar_container { display:flex; gap:6px; align-items:center; align-self:stretch; height:1.2em; }
#portrait-2025 .graph.central .bar_container { justify-content:center; }
#portrait-2025 .graph.vertical .bar_container { flex-direction:column; height:auto; }
#portrait-2025 .bar {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease-out 0.2s, opacity 0.5s ease-out 0.2s;
}

#portrait-2025 .graph.vertical .bar {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s ease-out 0.2s, opacity 0.5s ease-out 0.2s;
}

#portrait-2025 .bar.visible {
    opacity: 1;
    transform: scaleX(1);
}

#portrait-2025 .graph.vertical .bar.visible {
    transform: scaleY(1);
}

#portrait-2025 .bar { align-self:stretch; }
#portrait-2025 .graph:not(.vertical) .bar {
    background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 calc(var(--rect-w)),
    transparent calc(var(--rect-w)) calc(var(--rect-w) + var(--rect-gap))
    );
}
#portrait-2025 .graph.vertical .bar {
    width:100%;
    background: repeating-linear-gradient(
    180deg,
    var(--accent) 0 calc(var(--rect-h)),
    transparent calc(var(--rect-h)) calc(var(--rect-h) + var(--rect-gap))
    );
}

#portrait-2025 .stats_data {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    align-items: stretch;
    justify-content: flex-start;
}
#portrait-2025 .stats_data_item {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}
#portrait-2025 .dots {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}
#portrait-2025 .dots .dot {
    width: 3px;
    height: 3px;
    background-color: var(--variable-collection-white);
    border-radius: 100%;
}

#portrait-2025 .percent {
    margin: 0;
    font-family: var(--desktop-percentage-font-family);
    font-weight: var(--desktop-percentage-font-weight);
    font-size: var(--desktop-percentage-font-size);
    letter-spacing: var(--desktop-percentage-letter-spacing);
    line-height: var(--desktop-percentage-font-size);
    color: var(--label-color);
    display:flex;
    align-items:center;
    font-variation-settings:"wdth" 87.5;
    min-width: 40px;
    white-space: nowrap;
}
#portrait-2025 .graph_text {
    margin: 0;
    font-family: var(--desktop-text-font-family);
    font-weight: var(--desktop-text-font-weight);
    font-size: var(--desktop-text-font-size);
    line-height: var(--desktop-text-font-size);
    color: var(--label-color, var(--variable-collection-white));
}
#portrait-2025 .graph.vertical .graph_text,
#portrait-2025 .graph.central .graph_text { 
    text-align:center;
    word-break: normal;
}
#portrait-2025 * { box-sizing: border-box; margin: 0; padding: 0; }

#portrait-2025 .screen {
    position: relative;
    min-height: 100vh;
    height: auto;
    padding: var(--desktop-padding);
    margin-bottom: -100px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
    clip-path: url(#arcClip);
    padding-bottom: 180px;
}
#portrait-2025 #screen7 {
    margin-bottom: 0;
    padding-bottom: 120px;
}
#portrait-2025 .screen::before,
#portrait-2025 .screen::after {
    content: "";
    position: fixed;
    inset: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    z-index: -2;
}
@supports ( -webkit-touch-callout : none) {
    #portrait-2025 .screen::before,
    #portrait-2025 .screen::after { background-attachment:scroll }
}
@supports not ( -webkit-touch-callout : none) {
    #portrait-2025 .screen::before,
    #portrait-2025 .screen::after { background-attachment: fixed; }
}
#portrait-2025 .screen::after {
    background: var(--bg-dim); /* dim layer */
    z-index: -1;
}

#portrait-2025 .screen-1::before {
    background-image: url('i/bg1.jpg');
    background-position: center 30%;
}
#portrait-2025 .screen-2::before { background-image: url('i/bg2.jpg'); }
#portrait-2025 .screen-3::before { background-image: url('i/bg3.jpg'); }
#portrait-2025 .screen-4::before { background-image: url('i/bg4.jpg'); }
#portrait-2025 .screen-5::before { background-image: url('i/bg5.jpg'); }
#portrait-2025 .screen-6::before { background-image: url('i/bg6.jpg'); }
#portrait-2025 .screen-7::before { background-image: url('i/bg7.jpg'); }
#portrait-2025 .screen-1::after { background: rgba(0,0,0,0.7); }
#portrait-2025 .screen-2::after { background: rgba(0,0,0,0.1); }
#portrait-2025 .screen-3::after { background: rgba(0,0,0,0.5); }
#portrait-2025 .screen-4::after { background: rgba(0,0,0,0.3); }
#portrait-2025 .screen-5::after { background: rgba(0,0,0,0.5); }
#portrait-2025 .screen-6::after { background: rgba(0, 0, 0, 0.3); }
#portrait-2025 .screen-7::after { background: rgba(0,0,0,0.1); }

#portrait-2025 .content {
    max-width: var(--max-width);
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}
#portrait-2025 h1 {
    font-family: "Geologica", Helvetica;
    font-weight: 900;
    font-size: 80px;
    letter-spacing: 16px;
    line-height: 100%;
    margin-bottom: 0;
    text-transform: uppercase;
}
#portrait-2025 h2 {
    leading-trim: both;
    text-edge: cap;
    font-family: "Tektur";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-variation-settings:"wdth" 87.5;
}



/* assign h1 colors per section */
#portrait-2025 .screen-1 h1,
#portrait-2025 .screen-1 h2,
#portrait-2025 .screen-1 .factoid-s,
#portrait-2025 .screen-1 .factoid-m,
#portrait-2025 .screen-1 .factoid-l { color: var(--variable-collection-main); }
#portrait-2025 .screen-2 h1,
#portrait-2025 .screen-2 h2,
#portrait-2025 .screen-2 .factoid-s,
#portrait-2025 .screen-2 .factoid-m,
#portrait-2025 .screen-2 .factoid-l { color: var(--variable-collection-specs); }
#portrait-2025 .screen-3 h1,
#portrait-2025 .screen-3 h2 { color: var(--variable-collection-companies); }
#portrait-2025 .screen-4 h1,
#portrait-2025 .screen-4 h2 { color: var(--variable-collection-work-load); }
#portrait-2025 .screen-5 h1,
#portrait-2025 .screen-5 h2 { color: var(--variable-collection-money); }
#portrait-2025 .screen-6 h1,
#portrait-2025 .screen-6 h2 { color: var(--variable-collection-defence); }
#portrait-2025 .screen-7 h1,
#portrait-2025 .screen-7 h2 { color: var(--variable-collection-demographics); }

#portrait-2025 h2.h2-mobile,
#portrait-2025 .mobile-only { display: none!important; }

#portrait-2025 .text {
    font-family: "Geologica", Helvetica;
    font-size: 15px;
    line-height: 140%;
    color: var(--variable-collection-white);
    max-width: 800px;
    word-break: normal;
}
#portrait-2025 .text-lead {
    color: var(--white, #E6E9F9);
    leading-trim: both;
    text-edge: cap;
    font-family: "Geologica";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 26px */
    word-break: normal;
}
#portrait-2025 .text-quote {
    font-family: "Geologica";
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    word-break: normal;
}



/* Bottom menu */
#portrait-2025 #menu {
    color: var(--white, #E6E9F9);
    leading-trim: both;
    text-edge: cap;
    font-family: "Geologica";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 21px */

    display: inline-flex;
    margin: 0 auto;
    align-items: center;
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center; /* start aligned on mobile */
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}
#portrait-2025 .menu::-webkit-scrollbar { display: none; } /* Chrome/Safari */
#portrait-2025 .menu-item {
    display: inline-flex;
    padding: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 15px;
    color: var(--variable-collection-white);
    text-decoration: none;
    transition: background 0.3s;
    user-select: none;
    cursor: pointer;
    background: var(--black, #222);
    border-right: 1px solid var(--service-dark_green, #417A00);
    border-top: 1px solid var(--service-dark_green, #417A00);
}
#portrait-2025 .menu-item:visited {
    color: var(--variable-collection-white);
}
#portrait-2025 .menu-item:last-of-type {
    border-right: none;
}
#portrait-2025 .menu-item:hover {
    color: var(--variable-collection-service-yellow);
}

#portrait-2025 .menu-item.active {
    background: var(--service-dark_green, #417A00);
    color: var(--service-green, #92FF16);
}
#portrait-2025 .content_header > h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    text-align: center;
}

#portrait-2025 .columns {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    flex-direction: row;
}
#portrait-2025 .columns .column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#portrait-2025 .columns .column_wide { 
    max-width: 66%;
}
#portrait-2025 .columns .column_narrow { 
    max-width: 32%
}

#portrait-2025 .factoid-s,
#portrait-2025 .factoid-m,
#portrait-2025 .factoid-l {
    leading-trim: both;
    text-edge: cap;
    font-family: "Tektur";
    font-style: normal;
    font-weight: 500;
    line-height: 80%;
    font-variation-settings:"wdth" 100;
    white-space: nowrap;
}
#portrait-2025 .factoid-s {
    font-size: 40px;
    letter-spacing: 2px;
}
#portrait-2025 .factoid-l {
    font-size: 120px;
    letter-spacing: 6px;
}
#portrait-2025 .factoid-m {
    font-size: 60px;
    letter-spacing: 3px;
}
#portrait-2025 .pic {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 100%;
    height: auto;
}

/* Screen 1. Main Portrait */
#portrait-2025 .screen-1 .content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 60px;
    align-self: stretch;
}
#portrait-2025 .main_graphs_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
}
#portrait-2025 .main_graph_one {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
}
#portrait-2025 .main_subset_mobile {
    display: none;
}
#portrait-2025 .main_graph_one-left {
    display: flex;
    width: 332px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}
#portrait-2025 .main_graph_one-right {
    display: flex;
    width: 332px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
#portrait-2025 .main_graph_one-right .row { 
    justify-content: flex-start;
    gap: 10px;
}
#portrait-2025 .main_graph_one-right .text { max-width: 220px; }
#portrait-2025 .main_graph_one-left .pic.pic_telescope {
    width: auto!important;
    height: 96px!important;
    aspect-ratio: 80/76;
    background-image: url(i/telescope.svg);
}
#portrait-2025 .main_graph_one-left .text-lead { max-width: 320px; }
#portrait-2025 .pic_drill {
    max-width: 32px;
    aspect-ratio: 1/1;
    background-image: url(i/icon_drill-m.svg);
}
#portrait-2025 .pic_drill.white { background-image: url(i/icon_drill-m-w.svg); }
#portrait-2025 .pic_42 {
    max-width: 66px;
    aspect-ratio: 66/80;
    background-image: url(i/42.svg);
}
#portrait-2025 .main_go {
    max-width: 510px;
    margin: 40px auto 0; /* centers it */
    text-align: center;
}
#portrait-2025 .main_graph_two {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
#portrait-2025 .main_graph_two > div {
    display: flex;
    flex-direction: column;
    width: 332px;
    gap: 20px;
}
#portrait-2025 .main_graph_two-factoid {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}
#portrait-2025 .main_graph_three {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}
#portrait-2025 .main_graph_three > div {
    display: flex;
    width: 332px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
#portrait-2025 .main_go h2 {
    color: var(--variable-collection-white);
}



/* Screen 2. Specializations */
#portrait-2025 .screen-2 .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: left;
}
#portrait-2025 .screen-2 .text-quote {
    color: var(--specs, #FFD000);
    leading-trim: both;
    text-edge: cap;
}

#portrait-2025 .special_top_ten {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
#portrait-2025 .special_graphs_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 20px;
}
#portrait-2025 .roles_text {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .roles_text .roles_factoid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 0 0;
}
#portrait-2025 .roles_text .quote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 0 0;
}
#portrait-2025 .roles_text .factoid_small {
    display: flex;
    width: 245px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
#portrait-2025 .it_age {
    display: flex;
    align-items: center;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .it_age .it_age_factoid {
    display: flex;
    width: 510px;
    height: 510px;
    padding: 120px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    aspect-ratio: 1/1;
    position: relative
}
#portrait-2025 .it_age .it_age_factoid::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: brightness(0.7);
    background: url(i/photo_specs-earth.png) -42.929px -42.154px / 117.139% 117.139% no-repeat;
}
#portrait-2025 .it_age .it_age_stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex: 1 0 0;
}
#portrait-2025 .switchers_container {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    justify-content: space-between;
}
#portrait-2025 .switchers_container .switchers_left,
#portrait-2025 .switchers_container .switchers_right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex: 1 0 0;
}
#portrait-2025 .pic_switcher-in {
    max-width: 80px;
    aspect-ratio: 1/1;
    background-image: url(i/icon_switcher-in-m.svg);
}
#portrait-2025 .pic_switcher-out {
    max-width: 80px;
    aspect-ratio: 1/1;
    background-image: url(i/icon_switcher-out-m.svg);
}
#portrait-2025 .switchers_container .data_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    align-self: stretch;
}
#portrait-2025 .switchers_container .data_container .quote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .switchers_container .data_container .stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .switchers_container .switchers_factoid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .switchers_container .switchers_factoid .text-lead {
    color: var(--variable-collection-specs);
}
#portrait-2025 .switchers_container .switchers_graph {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}
#portrait-2025 .pic_dyno {
    max-width: 113px;
    aspect-ratio: 113/120;
    background-image: url(i/icon_roles-dyno.svg);
}



/* Screen 3. Specializations */
#portrait-2025 .screen-3 .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: left;
}
#portrait-2025 .screen-3 h1 { text-align: center;}
#portrait-2025 .screen-3 .graph:not(.vertical) .bar {
    background: repeating-linear-gradient(
    90deg,
    var(--variable-collection-companies) 0 calc(var(--rect-w)),
    transparent calc(var(--rect-w)) calc(var(--rect-w) + var(--rect-gap))
    );
}
#portrait-2025 .screen-3 .text-quote,
#portrait-2025 .screen-3 .factoid-l,
#portrait-2025 .screen-3 .factoid-m {
    color: var(--variable-collection-companies);
}
#portrait-2025 .company_size {
    width: 100%;
    display: flex;
    padding: 70px 0;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
}

#portrait-2025 .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .row .row-column-m {
    width: 100%;
    max-width: 510px;
}
#portrait-2025 .row-column-s {
    width: 100%;
    max-width: 422px;
}
#portrait-2025 .row-column-xs {
    width: 100%;
    max-width: 330px;
}
#portrait-2025 .row-column-xxs {
    width: 100%;
    max-width: 245px;
}
#portrait-2025 .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
#portrait-2025 .info > h2,
#portrait-2025 .column > h2 { margin-bottom: 10px; }
#portrait-2025 .factoid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}
#portrait-2025 .stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

#portrait-2025 .company_size .info {
    width: 333px;
}
#portrait-2025 .company_size_graph {
    position: relative;
}
#portrait-2025 .company_size_graph .graph-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#portrait-2025 .company_size_graph .graph-item::before {
    content: "";
    display: block;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-1 {
    top: 240px;
    left: -520px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-1::before {
    background: url(i/photo_company-spaceman.png) no-repeat;
    width: 44px;
    height: 44px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-2 {
    top: 110px;
    left: -600px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-2 .graph { margin-top: -10px; }
#portrait-2025 .company_size_graph .graph-item.graph-item-2::before {
    background: url(i/photo_company-small_ship.png) no-repeat;
    width: 94px;
    height: 94px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-3 {
    top: 120px;
    left: -365px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-3 .graph { margin-top: -10px; }
#portrait-2025 .company_size_graph .graph-item.graph-item-3::before {
    background: url(i/photo_company-ship.png) no-repeat;
    width: 128px;
    height: 128px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-4 {
    top: 110px;
    left: -185px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-4 .graph { margin-top: -40px; }
#portrait-2025 .company_size_graph .graph-item.graph-item-4::before {
    background: url(i/photo_company-falcon.png) no-repeat;
    background-size: cover;
    width: 210px;
    height: 210px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-5 {
    top: -190px;
    left: -550px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-5 .graph { margin-top: -80px; }
#portrait-2025 .company_size_graph .graph-item.graph-item-5::before {
    background: url(i/photo_company-cruiser.png) no-repeat;
    background-size: cover;
    width: 336px;
    height: 336px;
}
#portrait-2025 .company_size_graph .graph-item.graph-item-6 {
    top: -295px;
    left: -320px;

}
#portrait-2025 .company_size_graph .graph-item.graph-item-6 .graph { margin-top: -250px; }
#portrait-2025 .company_size_graph .graph-item.graph-item-6::before {
    background: url(i/photo_company-death_star.png) no-repeat;
    background-size: cover;
    width: 469px;
    height: 469px;
}

#portrait-2025 .company_type_container .info { flex: 1 0 0; }
#portrait-2025 .company_type_container .row_wide > .info { flex-basis: 330px; }
#portrait-2025 .company_domain_container {
    display: flex;
    padding: 88px;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    align-self: stretch;
    border-radius: 20px;
    border: 1px solid var(--companies, #FFFFB5);
    overflow: hidden;
    position: relative;
    z-index: 5;
}
#portrait-2025 .company_domain_container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(i/photo_company-hyperspace.jpg) center no-repeat;
    background-size: cover;
    filter: brightness(0.7);
    z-index: -1;
}
#portrait-2025 .pic_sphere {
    max-width: 232px;
    aspect-ratio: 1/1;
    background-image: url(i/icon_company-sphere.svg);
}
#portrait-2025 .pic_funnel {
    max-width: 178px;
    aspect-ratio: 178/227;
    background-image: url(i/icon_company-funnel.svg);
}
#portrait-2025 .pic_timetracker {
    max-width: 216px;
    aspect-ratio: 216/187;
    background-image: url(i/icon_company-timetracker.svg);
}
#portrait-2025 .company_domain_container::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(i/photo_company-grid.svg) center no-repeat;
    background-size: cover;
    opacity: 0.6;
    z-index: 1;
}
#portrait-2025 .company_domain {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .company_office {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
}
#portrait-2025 .company_office .info {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid var(--companies, #FFFFB5);
    flex: 1 0 0;
}
#portrait-2025 .office_location { max-width: 300px; }
#portrait-2025 .company_remote .text-lead,
#portrait-2025 .company_change .factoid .text-lead { color: var(--companies, #FFFFB5); }
#portrait-2025 .company_change .factoid {
    flex-direction: row;
}
#portrait-2025 .company_time-tracker {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .company_time-tracker_container { gap: 35px; }
#portrait-2025 .company_time-tracker .info-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}
#portrait-2025 .company_employment { width: 100%; }
#portrait-2025 .company_abroad .factoid {
    position: relative;
}
#portrait-2025 .company-passport {
    width: 100%;
    max-width: 270px;
    height: auto;
    aspect-ratio: 61/54;
    position: absolute;
    right: 0;
    top: -193px;
    background: url(i/photo_company-alien-passport.png) no-repeat;
    background-size: cover;
}



/* Screen 4. Work Load */
#portrait-2025 .screen-4 .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: left;
}
#portrait-2025 .screen-4 h1 { text-align: center;}
#portrait-2025 .screen-4 .graph:not(.vertical) .bar {
    background: repeating-linear-gradient(
        90deg,
        var(--variable-collection-work-load) 0 calc(var(--rect-w)),
        transparent calc(var(--rect-w)) calc(var(--rect-w) + var(--rect-gap))
    );
}
#portrait-2025 .screen-4 .text-quote,
#portrait-2025 .screen-4 .factoid-l,
#portrait-2025 .screen-4 .factoid-m,
#portrait-2025 .workload_workhours .factoid .text-lead {
    color: var(--variable-collection-work-load);
}
#portrait-2025 .workload_extra-activity {
    display: flex;
    padding: 88px;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 40px;
    border: 1px solid var(--work_load, #4EFF5D);
    position: relative;
    overflow: hidden;
    z-index: 5;
}
#portrait-2025 .workload_extra-activity::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 40px;
    background: url(i/photo_workload_muthur.jpg) center no-repeat;
    background-size: cover;
    filter: brightness(.7);
    z-index: -1;
}
#portrait-2025 .workload_extra-activity .info { max-width: 330px; }
#portrait-2025 .workload_stress-level { 
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}
#portrait-2025 .workload_stress-level-chart {
    display: flex;
    align-items: flex-end;
    width: 100%;
}
#portrait-2025 .workload_stress-level-chart .stat {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-end;
    justify-content: stretch;
    gap: 1px;
    justify-self: stretch;
    align-self: stretch;
}
#portrait-2025 .workload_stress-level-chart .stat .graph,
#portrait-2025 .workload_stress-level-chart .stat .graph .graph_content { width: 100%; }
#portrait-2025 .workload_stress-causes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
#portrait-2025 .pic_stress {
    max-width: 512px;
    aspect-ratio: 512/235;
    background-image: url(i/photo_workload_stress.png);
}
#portrait-2025 .pic_gpt {
    aspect-ratio: 364/180;
    background-image: url(i/photo_workload_gpt.svg);
}
#portrait-2025 .workload_mental-health .factoid_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;   
    width: 100%;
}
#portrait-2025 .workload_mental-health .factoid_container .factoid {
    width: 100%;
    max-width: 120px;
    color: var(--variable-collection-work-load);
}
#portrait-2025 .workload_mental-health .factoid_container .factoid .text-lead { color: var(--variable-collection-work-load); }
#portrait-2025 .workload_mental-health .option-gpt {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid var(--work_load, #4EFF5D);
    background-color: rgba(0, 0, 0, .6);
    width: 100%;
}



/* Screen 5. Money */
#portrait-2025 .screen-5 .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: left;
}
#portrait-2025 .screen-5 h1 { text-align: center;}
#portrait-2025 .screen-5 .graph:not(.vertical) .bar {
    background: repeating-linear-gradient(
    90deg,
    var(--variable-collection-money) 0 calc(var(--rect-w)),
    transparent calc(var(--rect-w)) calc(var(--rect-w) + var(--rect-gap))
    );
}
#portrait-2025 .screen-5 .text-quote,
#portrait-2025 .screen-5 .factoid-l,
#portrait-2025 .screen-5 .factoid-m {
    color: var(--variable-collection-money);
}
#portrait-2025 .finance_salary table thead th {
    color: var(--money, #E7FF7D);
    leading-trim: both;
    text-edge: cap;
    font-family: "Geologica";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 21px */
    padding-bottom: 15px;
    border: none;
}
#portrait-2025 .finance_salary table th:nth-child(1) { width: 140px; }
#portrait-2025 .finance_salary table th:nth-child(2) { width: 170px; }
#portrait-2025 .finance_salary table td { 
    font-family: var(--desktop-percentage-font-family);
    font-weight: var(--desktop-percentage-font-weight);
    font-size: var(--desktop-percentage-font-size);
    letter-spacing: var(--desktop-percentage-letter-spacing);
    line-height: 18px;
    color: var(--variable-collection-white);
    font-variation-settings:"wdth" 87.5;
    padding-bottom: 5px; 
}
#portrait-2025 .finance_salary table .bar_container { height: 0.8em; }
#portrait-2025 .finance_salary .inset {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    border-radius: 20px;
    border: 1px solid var(--money, #E7FF7D);
    background-color: rgba(0, 0, 0, .3);
}
#portrait-2025 .finance_salary .inset .cite {
    color: var(--money, #E7FF7D);
}
#portrait-2025 .finance_bonus,
#portrait-2025 .finance_bonus_container,
#portrait-2025 .finance_bonus_container .row { width: 100%; justify-content: space-between; }
#portrait-2025 .finance_delays { justify-content: space-between; }
#portrait-2025 .finance_delays .info_container { width: 100%; }
#portrait-2025 .finance_investment { justify-content: flex-start; gap: 40px; }
#portrait-2025 .finance_investment .columns { gap: 30px; }
#portrait-2025 .pic_delays {
    max-width: 330px;
    aspect-ratio: 1/1;
    background-image: url(i/photo_finance_david.png);
    border-radius: 100%;
    border: 1px solid var(--money, #E7FF7D);
}
#portrait-2025 .finance_investment_text,
#portrait-2025 .finance_investment_text .block-2 { gap: 40px; }



/* Screen 6. Defence */
#portrait-2025 .screen-6 .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: left;
}
#portrait-2025 .screen-6 h1 { 
    text-align: center;
    max-width: 900px;
}
#portrait-2025 .screen-6 .graph:not(.vertical) .bar {
    background: repeating-linear-gradient(
    90deg,
    var(--variable-collection-defence) 0 calc(var(--rect-w)),
    transparent calc(var(--rect-w)) calc(var(--rect-w) + var(--rect-gap))
    );
}
#portrait-2025 .screen-6 .graph.vertical .bar {
    width:100%;
    background: repeating-linear-gradient(
    180deg,
    var(--variable-collection-defence) 0 calc(var(--rect-h)),
    transparent calc(var(--rect-h)) calc(var(--rect-h) + var(--rect-gap))
    );
}
#portrait-2025 .screen-6 .text-quote,
#portrait-2025 .screen-6 .factoid-l,
#portrait-2025 .screen-6 .factoid-m {
    color: var(--variable-collection-defence);
}
#portrait-2025 .stat.vertical {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-end;
    justify-content: stretch;
    gap: 1px;
    justify-self: stretch;
    align-self: stretch;
}
#portrait-2025 .stat.vertical .graph,
#portrait-2025 .stat.vertical .graph .graph_content { width: 100%; }
#portrait-2025 .defence_zsu h2 { margin-bottom: 0; }
#portrait-2025 .defence_zsu .stat.vertical { gap: 20px; }
#portrait-2025 .defence_zsu .factoid { max-width: 160px; }
#portrait-2025 .defence_reservation { justify-content: flex-start;  width: 100%; }
#portrait-2025 .defence_donations { 
    width: 100%;
    position: relative;
}
#portrait-2025 .defence_donations .row {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-end;
}
#portrait-2025 .defence_donations .stat.vertical { gap: 20px; }
#portrait-2025 .defence_donations .factoid {
    max-width: 160px;
    align-self: flex-end;
    position: relative;
    z-index: 10;
}
#portrait-2025 .defence_donations .pic.master-chief {
    width: 406px;
    height: 502px;
    aspect-ratio: 55/68;
    position: absolute;
    right: -130px;
    bottom: -110px;
    background: url(i/photo_defence-master_chief.png) center no-repeat;
    background-size: cover;
}



/* Screen 7. Demography */
#portrait-2025 .screen-7 .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: left;
}

#portrait-2025 .screen-7 h1 { text-align: center;}
#portrait-2025 .screen-7 .graph:not(.vertical) .bar {
    background: repeating-linear-gradient(
    90deg,
    var(--variable-collection-demographics) 0 calc(var(--rect-w)),
    transparent calc(var(--rect-w)) calc(var(--rect-w) + var(--rect-gap))
    );
}
#portrait-2025 .screen-7 .text-quote,
#portrait-2025 .screen-7 .factoid-l,
#portrait-2025 .screen-7 .factoid-m {
    color: var(--variable-collection-demographics);
}
#portrait-2025 .demography_emigration { 
    width: 100%;
    display: flex; 
    justify-content: flex-start;
    align-items: flex-start;
    gap: 100px;
}
#portrait-2025 .emigration_container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
#portrait-2025 .emigration_intro {
    width: 100%;
    max-width: 510px;
}
#portrait-2025 .emigration_text {
    justify-content: flex-start;
    width: 100%;
}
#portrait-2025 .emigration_text .info {
    width: 288px;
}
#portrait-2025 .demography_inset { 
    position: relative; 
    z-index: 10;
}
#portrait-2025 .demography_inset::before {
    content: "";
    display: block;
    position: absolute;
    width: 884px;
    height: 881px;
    top: -120px;
    left: -30px;
    background: url(i/photo_demography-earth.png) center no-repeat;
    background-size: cover;
    z-index: 3;
}
#portrait-2025 .emigration_plans,
#portrait-2025 .demography_english {
    position: relative;
    z-index: 5;
}
#portrait-2025 .emigration_plans .stat .graph-item {
    position: absolute;
    max-width: 180px;
    width: 100%;
}
#portrait-2025 .emigration_plans .stat .graph-item-1 { top: 60px; left: -60px; max-width: 120px; }
#portrait-2025 .emigration_plans .stat .graph-item-2 { top: 80px; left: 140px; }
#portrait-2025 .emigration_plans .stat .graph-item-3 { top: 210px; left: 120px; }
#portrait-2025 .emigration_plans .stat .graph-item-4 { top: 230px; left: -60px; }
#portrait-2025 .emigration_plans .stat .graph-item-5 { top: 320px; left: 230px; }
#portrait-2025 .emigration_plans .stat .graph-item-6 { top: 400px; left: 40px; max-width: 120px; }
#portrait-2025 .emigration_plans .stat .graph-item-7 { top: 470px; left: 190px; }
#portrait-2025 .emigration_plans .stat .graph_text { line-height: var(--desktop-text-line-height); }

#portrait-2025 .demography_english { top: 800px; }
#portrait-2025 .demography_english .stat .graph-item { position: absolute; }
#portrait-2025 .demography_english .stat .graph-item-1 { top: -310px; left: -70px; }
#portrait-2025 .demography_english .stat .graph-item-2 { top: -210px; left: -10px; }
#portrait-2025 .demography_english .stat .graph-item-3 { top: -120px; left: 50px; }
#portrait-2025 .demography_english .stat .graph-item-4 { top: -60px; left: 280px; }

#portrait-2025 .demography_sex { width: 100%; }
#portrait-2025 .demography_sex .info { max-width: 600px; }
#portrait-2025 .demography_sex .stat {
    gap: 40px;
    flex-direction: row;
    margin: -60px 0 80px;
}
#portrait-2025 .demography_sex .stat .graph-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#portrait-2025 .demography_sex .stat .graph-item::before {
    content: "";
    display: block;
}
#portrait-2025 .demography_sex .stat .graph-item.graph-item-1 {
    margin-top: 60px;
}
#portrait-2025 .demography_sex .stat .graph-item.graph-item-1::before {
    background: url(i/photo_demography-sex-f.png) no-repeat;
    width: 128px;
    height: 128px;
}
#portrait-2025 .demography_sex .stat .graph-item.graph-item-2 .graph {
    margin-top: -170px;   
}
#portrait-2025 .demography_sex .stat .graph-item.graph-item-2::before {
    background: url(i/photo_demography-sex-m.png) no-repeat;
    width: 315px;
    height: 315px;
}

#portrait-2025 .demography_age { width: 100%; }
#portrait-2025 .demography_age .stat {
    flex-direction: row;
    align-items: center;
}
#portrait-2025 .demography_age .stat .graph-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#portrait-2025 .demography_age .stat .graph-item::before {
    content: "";
    display: block;
}
#portrait-2025 .demography_age .stat .graph-item.graph-item-1::before {
    background: url(i/photo_demography-age-1.png) no-repeat;
    width: 13px;
    height: 13px;
}
#portrait-2025 .demography_age .stat .graph-item.graph-item-2::before {
    background: url(i/photo_demography-age-2.png) no-repeat;
    width: 117px;
    height: 117px;
}
#portrait-2025 .demography_age .stat .graph-item.graph-item-3::before {
    background: url(i/photo_demography-age-3.png) no-repeat;
    width: 143px;
    height: 143px;
}
#portrait-2025 .demography_age .stat .graph-item.graph-item-4::before {
    background: url(i/photo_demography-age-4.png) no-repeat;
    width: 145px;
    height: 145px;
}
#portrait-2025 .demography_age .stat .graph-item.graph-item-5::before {
    background: url(i/photo_demography-age-5.png) no-repeat;
    width: 100px;
    height: 100px;
}
#portrait-2025 .demography_age .stat .graph-item.graph-item-6::before {
    background: url(i/photo_demography-age-6.png) no-repeat;
    width: 54px;
    height: 54px;
}
#portrait-2025 .demography_age_text {
    width: 100%;
    max-width: 510px;
}
#portrait-2025 .demography_education {
    width: 100%;
    justify-content: space-between;
}
#portrait-2025 .demography_universities .column.info { gap: 20px; }
#portrait-2025 .pic_yoda {
    max-width: 261px;
    aspect-ratio: 261/197;
    background-image: url(i/photo_education_yoda.png);
    margin-top: 10px;
}


/* Credits */
#portrait-2025 .portrait_credits {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    margin-top: 60px;
    width: 100%;
    /* align-items: flex-starts; */
}
#portrait-2025 .portrait_credits a,
#portrait-2025 .portrait_credits a:visited {
    color: var(--variable-collection-demographics);
    border-bottom-color: var(--variable-collection-demographics);
}
#portrait-2025 .portrait_credits a:hover {
    color: #f93703;
    border-bottom-color: #f93703;
}
#portrait-2025 .portrait_credits .text-quote {
    leading-trim: both;
    text-edge: cap;
    color: var(--variable-collection-white);
    text-align: center;
    font-family: "Geologica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 26px */
}
#portrait-2025 .portrait_credits .percent {
    display: block;
    /* color: var(--variable-collection-white); */
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.15px;
}



/* Smaller Devices Layout Styles */
@media (max-width: 1200px) {
    #portrait-2025 .emigration_plans .stat .graph-item-5 { top: 320px; left: 200px; }
    #portrait-2025 .demography_english .stat .graph-item-4 { top: -60px; left: 250px; }
}

@media (max-width: 1100px) {
    
    #portrait-2025 .content { max-width: 750px; }

    #portrait-2025 h2.h2-desktop, #portrait-2025 .desktop-only { display: none!important; }
    #portrait-2025 h2.h2-mobile, #portrait-2025 .mobile-only { display: block!important; }

    #portrait-2025 h1 {
        font-size: 60px;
        letter-spacing: 8px;
    }

    #portrait-2025 h2.h2-alt {
        width: 100%;
        text-align: center;
    }

    #portrait-2025 .row-column-xxs,
    #portrait-2025 .row-column-xs { max-width: unset; }

    /* Screen 1. Start */
    
    #portrait-2025 .main_go { max-width: unset; }

    /* Screen 2. Specializations */
    #portrait-2025 .special_graphs_container {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    #portrait-2025 .roles_text {
        flex-direction: column;
    }
    #portrait-2025 .roles_text .roles_factoid { flex-direction: row; gap: 30px; }
    #portrait-2025 .roles_text .roles_factoid .factoid { flex: 1 0 0; }
    #portrait-2025 .roles_text .factoid_small {
        width: 100%;
        align-items: center;
    }
    #portrait-2025 .it_age {
        flex-direction: column;
    }
    #portrait-2025 .switchers_container { gap: 30px; }
    
    #portrait-2025 .switchers_container .switchers_factoid .factoid,
    #portrait-2025 .switchers_container .switchers_factoid .text { flex: 1 0 0; }
    #portrait-2025 .switchers_container .switchers_graph {
        justify-content: center;
        gap: 20px;
    }

    /* Screen 3. Company */
    #portrait-2025 .screen-3 .content { gap: 40px; }
    #portrait-2025 .company_size {
        padding: 0 0 520px;
    }
    #portrait-2025 .company_size .info {
        width: 100%;
        position: relative;
        z-index: 15;
    }
    #portrait-2025 .company_size .info p { max-width: 420px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-1 { top: 620px; left: -450px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-2 { top: 560px; left: -210px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-3 { top: 490px; left: -600px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-4 { top: 240px; left: -585px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-5 { top: 290px; left: -450px; z-index: 10; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-6 { top: 0px; left: -420px; }
    #portrait-2025 .company_type_container .row_wide {
        flex-direction: column;
    }
    #portrait-2025 .company_type_container .row_wide > .info { flex-basis: auto; }
    #portrait-2025 .company_domain_container { padding: 15px; }
    #portrait-2025 .office_location { max-width: unset; }
    #portrait-2025 .company_domain_row { flex-direction: column; align-items: center; gap: 30px; }
    #portrait-2025 .company_office { flex-direction: column; align-items: center; }
    #portrait-2025 .company_office .info { width: 100%; }
    #portrait-2025 .company_office .company_remote .factoid { flex-direction: row; }
    #portrait-2025 .pic_funnel { transform: rotate(90deg); margin: -30px 0; }
    #portrait-2025 .company_change { flex-direction: column-reverse; }
    #portrait-2025 .company_change h2 { order: 1; }
    #portrait-2025 .company_change .stat_container {
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
    }
    #portrait-2025 .company_change .stat_container .stat,
    #portrait-2025 .company_change .stat_container .factoid { width: 100%; }
    #portrait-2025 .row .row-column-s,
    #portrait-2025 .row .row-column-m { max-width: unset; }
    #portrait-2025 .company_time-tracker_container { flex-direction: column; }
    #portrait-2025 .company_time-tracker .info-container { width: 100%; justify-content: space-between; align-items: flex-end; }
    #portrait-2025 .company_abroad { flex-direction: column; }
    #portrait-2025 .company_abroad .factoid { flex-direction: row-reverse; }
    #portrait-2025 .company-passport { position: static; min-width: 160px; }
    
    /* Screen 4. Workload */
    #portrait-2025 .screen-4 .content { gap: 40px; }
    #portrait-2025 .workload_workhours .row { flex-direction: column; }
    #portrait-2025 .workload_workhours .workhours_info { 
        flex-direction: row;
        justify-content: space-between;
    }
    #portrait-2025 .workhours_info .info.mobile-only { display: flex !important; }
    
    #portrait-2025 .workhours_info > div { width: 100%; }
    #portrait-2025 .workload_extra-activity {
        padding: 15px 20px 25px;
        flex-direction: column;
        gap: 20px;
    }
    #portrait-2025 .workload_extra-activity .info { width: 100%;  max-width: unset; }
    #portrait-2025 .workload_balance { flex-direction: column; gap: 40px; }
    #portrait-2025 .workload_balance .column_wide { flex-direction: column; }
    #portrait-2025 .workload_balance .column_wide .row { flex-direction: row-reverse; }
    #portrait-2025 .workload_balance .column_wide .info h2.h2-alt { text-align: left; }
    #portrait-2025 .workload_balance .column_narrow .stat {  width: 100%; }
    #portrait-2025 .columns .column_wide,
    #portrait-2025 .columns .column_narrow { max-width: unset; }
    #portrait-2025 .columns .column_narrow .factoid_container { display: flex!important; }
    #portrait-2025 .workload_stress-level .row { flex-direction: column-reverse; align-items: center; }
    #portrait-2025 .workload_causes_container { flex-direction: column; align-items: center; }
    #portrait-2025 .workload_mental-health { flex-direction: column; align-items: center; }
    #portrait-2025 .workload_mental-health .factoid_container { justify-content: flex-start; gap: 50px; }
    #portrait-2025 .workload_mental-health .stat { flex-direction: row; }
    #portrait-2025 .workload_mental-health .stat .info { width: 100%; }
    #portrait-2025 .workload_mental-health .option-gpt { margin-bottom: 10px; }

    /* Screen 6. Finance */
    #portrait-2025 .screen-5 .content { gap: 40px; }
    #portrait-2025 .finance_salary { flex-direction: column; align-items: center; width: 100%; }
    #portrait-2025 .finance_salary table { width: 100%; }
    #portrait-2025 .finance_salary table th:nth-child(1) { width: 180px; }
    #portrait-2025 .finance_salary table th:nth-child(2) { width: 220px; }
    #portrait-2025 .finance_salary .insets { gap: 20px; }
    #portrait-2025 .finance_salary .inset { padding: 20px; }
    #portrait-2025 .finance_bonus { gap: 20px; width: 100%; }
    #portrait-2025 .finance_bonus .column { width: 100%; }
    #portrait-2025 .finance_bonus_container { flex-direction: column; }
    #portrait-2025 .finance_delays { flex-direction: column; gap: 20px; }
    #portrait-2025 .finance_investment { flex-direction: column-reverse; }
    #portrait-2025 .finance_investment_text { flex-direction: row; }
    #portrait-2025 .finance_investment_text .info { flex: 1 0 0; }
    #portrait-2025 .finance_investment_text .block-2 { gap: 20px; }
    #portrait-2025 .finance_delays { align-items: center; }
    #portrait-2025 .pic_delays { max-width: 250px; }

    /* Screen 6. Defence */
    #portrait-2025 .screen-6::after { background: rgba(0, 0, 0, 0.0); }
    #portrait-2025 .screen-6 .content { gap: 40px; }
    #portrait-2025 .defence_zsu { flex-direction: column; align-items: center; }
    #portrait-2025 .defence_zsu .info { align-items: center; }
    
    #portrait-2025 .defence_zsu .factoid { max-width: 110px; }
    #portrait-2025 .defence_reservation_container { flex-direction: column; align-items: center; }
    #portrait-2025 .defence_donations_container { flex-direction: column; align-items: center; }
    #portrait-2025 .defence_donations .factoid { align-self: flex-start; max-width: 150px; }
    #portrait-2025 .defence_donations .defence_donations_text {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }
    #portrait-2025 .defence_donations_text .info { max-width: 520px; }
    #portrait-2025 .donations_container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    #portrait-2025 .defence_donations .pic.master-chief {
        position: static;
        width: 100%;
        min-width: 180px;
        height: auto;
    }
    #portrait-2025 .screen-6 { padding-bottom: 80px; }

    /* Screen 7. Demography */
    #portrait-2025 .screen-7 .content { gap: 40px; }
    #portrait-2025 .demography_emigration { flex-direction: column; gap: 50px; }
    #portrait-2025 .emigration_container { gap: 20px; }
    #portrait-2025 .emigration_intro { max-width: unset; }
    #portrait-2025 .emigration_text { flex-direction: column-reverse; }
    #portrait-2025 .emigration_text .info { width: 100%; max-width: unset; }
    #portrait-2025 .emigration_text .factoid_container { flex-direction: row; }
    #portrait-2025 .emigration_text .factoid_container .factoid { width: 100%; }
    #portrait-2025 .demography_inset { padding-bottom: 600px; }
    #portrait-2025 .demography_inset::before { 
        width: 570px;  
        height: 570px;  
        top: -30px;
        left: 150px;
        filter: brightness(1.5);
    }
    #portrait-2025 .emigration_plans .stat .graph-item-1 { top: 70px; left: 150px; }
    #portrait-2025 .emigration_plans .stat .graph-item-2 { top: 60px; left: 360px; }
    #portrait-2025 .emigration_plans .stat .graph-item-3 { top: 190px; left: 410px; }
    #portrait-2025 .emigration_plans .stat .graph-item-4 { top: 190px; left: 180px; }
    #portrait-2025 .emigration_plans .stat .graph-item-5 { top: 320px; left: 450px; }
    #portrait-2025 .emigration_plans .stat .graph-item-6 { top: 340px; left: 250px; }
    #portrait-2025 .emigration_plans .stat .graph-item-7 { top: 420px; left: 330px; }

    #portrait-2025 .demography_english { top: 620px; }
    #portrait-2025 .demography_english .stat .graph-item-1 { top: -240px; left: 120px; }
    #portrait-2025 .demography_english .stat .graph-item-2 { top: -150px; left: 180px; }
    #portrait-2025 .demography_english .stat .graph-item-3 { top: -100px; left: 310px; }
    #portrait-2025 .demography_english .stat .graph-item-4 { top: -130px; left: 520px; }

    #portrait-2025 .demography_sex .info { max-width: unset; align-items: stretch;  }
    #portrait-2025 .demography_sex .stat { 
        margin-top: 0;
        justify-content: center;
    }
    #portrait-2025 .demography_age_text { max-width: unset; }
    #portrait-2025 .demography_education .column_wide { flex-direction: column; }
    #portrait-2025 .demography_universities { flex-direction: column; }
    #portrait-2025 .demography_universities .stat { flex-direction: row; }
    #portrait-2025 .demography_universities .stat .info { width: 100%; flex: 1 0 0; }
    #portrait-2025 .demography_universities .column.info { align-items: center; }

}
@media (max-width: 900px) {
    #portrait-2025 {
        margin: 0 -20px 0 -20px;
    }
    #portrait-2025 .screen {
        margin: 0 auto -160px;
        padding: 120px 0 200px;
    }
    #portrait-2025 .screen-6 { padding-bottom: 120px; }
    #portrait-2025 .screen-1 { padding-top: 30px; }
    #portrait-2025 .screen-7 { padding-bottom: 120px; }
    #portrait-2025 .content { max-width: 600px; }
    #portrait-2025 .pic { width: 100%!important; height: auto!important; }
    #portrait-2025 .demography_age .stat { gap: 0; }
    #portrait-2025 .main_graph_one { gap: 30px; }
}
@media (max-width: 768px) {

    #portrait-2025 .menu-item {
        font-size: 14px;
        padding: 10px;
    }

    #portrait-2025 .screen-6 { padding-bottom: 40px; }
    
    #portrait-2025 .content { padding: var(--mobile-padding); }
    #portrait-2025 .text {font-size: 14px;}
    #portrait-2025 h1 {
        font-size: 40px;
        letter-spacing: 3.8px;
    }
    #portrait-2025 h2 {
        font-size: 28px;
    }
    #portrait-2025 .text-lead {
        font-size: 16px;
    }
    #portrait-2025 .percent {
        font-family: var(--mobile-percentage-font-family);
        font-weight: var(--mobile-percentage-font-weight);
        font-size: var(--mobile-percentage-font-size);
        letter-spacing: var(--mobile-percentage-letter-spacing);
        line-height: var(--mobile-percentage-font-size);
        min-width: 25px;
    }
    #portrait-2025 .graph_text {
        font-family: var(--mobile-text-font-family);
        font-weight: var(--mobile-text-font-weight);
        font-size: var(--mobile-text-font-size);
        line-height: var(--mobile-text-font-size);
        text-decoration: none!important;
    }
    #portrait-2025 .factoid-s {
        font-size: 26px;
        letter-spacing: 1.3px;
    }
    #portrait-2025 .factoid-l {
        font-size: 70px;
        letter-spacing: 3.5px;
    }
    #portrait-2025 .factoid-m {
        font-size: 40px;
        letter-spacing: 2px;
    }
    #portrait-2025 .text-quote {
        font-size: 20px;
        letter-spacing: 0;
    }
    #portrait-2025 .text-lead {
        font-size: 16px;
        letter-spacing: 0px;
    }
    #portrait-2025 .roles_text .quote { gap: 10px; }
    #portrait-2025 .bar_container { height: 1em; }

    #portrait-2025 .screen-1 .content { padding-top: 0; }
    #portrait-2025 .screen-1 h1 { 
        font-size: 48px;
        margin-bottom: 10px;
    }
    #portrait-2025 .main_graph_one { 
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }
    #portrait-2025 .main_graph_one-left {
        display: none;
        justify-content: center;
        flex-direction: row;
        gap: 20px;
        align-self: center;
    }
    #portrait-2025 .main_subset_mobile {
        display: flex;
        /* justify-content: center; */
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    #portrait-2025 .main_subset_mobile  .text-lead { max-width: 400px; }
    #portrait-2025 .main_subset_mobile .pic { 
        aspect-ratio: 80/76;
        background-image: url(i/telescope.svg);
        filter: brightness(0) grayscale(100%) invert(100%);
        max-width: 60px;
    }
    #portrait-2025 .main_graph_one-left .factoid-s {
        font-size: 16px;
        letter-spacing: 0px;
        color: var(--white, #E6E9F9);
        font-family: "Geologica";
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }
    #portrait-2025 .main_graph_one-left .info { 
        gap: 0; 
        display: block;
    }
    #portrait-2025 .main_graph_one-left .info * { display: inline; }
    #portrait-2025 .main_graph_one-right {
        gap: 20px;
        flex-direction: row;
    }
    #portrait-2025 .main_graph_one-right > .row { justify-content: center; }
    #portrait-2025 .main_graph_one-right .factoid { max-width: 85px; gap: 5px; }
    #portrait-2025 .main_graph_one-right .factoid-l {
        font-size: 40px;
        letter-spacing: 2px;
    }
    #portrait-2025 .main_graph_one-right .info {
        flex-direction: column-reverse;
        gap: 10px;
    }
    #portrait-2025 .main_graph_one-right .text-lead {
        font-size: 14px;
    }
    #portrait-2025 .main_graph_one-right .text {
        font-size: 16px;
        letter-spacing: 0px;
    }
    #portrait-2025 .main_graph_two {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
    #portrait-2025 .main_graph_two::before {
        content: "";
        display: block;
        width: 85px;
        height: 80px;
        background-image: url(i/42.svg);
        background-position: center;
        background-repeat: no-repeat;
    }
    #portrait-2025 .main_graph_two > div {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        max-width: 220px;
    }
    #portrait-2025 .main_graph_two .pic_42 { display: none; }
    
    #portrait-2025 .main_graph_two-factoid {
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
        width: 100%;
        max-width: 85px;
    }
    #portrait-2025 .main_graph_three { 
        align-self: center; 
        width: 100%;
        align-items: center;
    }
    #portrait-2025 .main_graph_three > div {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
    #portrait-2025 .main_graph_one-left .info,
    #portrait-2025 .main_graph_two .text-lead,
    #portrait-2025 .main_graph_three .text-lead { max-width: 220px; }
    #portrait-2025 .main_graph_three .factoid-m { width: 100%; max-width: 85px; }
    #portrait-2025 .main_go { margin-top: 0; }

    #portrait-2025 .portrait_credits .text-quote,
    #portrait-2025 .portrait_credits .percent { font-size: 14px; }

    #portrait-2025 .screen-4::after { background: rgba(0, 0, 0, 0.6); }
}

@media (max-width: 660px) {

    #portrait-2025 {
        --rect-w: 1px;
        --rect-h: 1px;
        --rect-gap: 1px;
        --icon-size: 24px;
        margin: 0 -15px 0 -20px;
    }
    #portrait-2025 .screen,
    #portrait-2025 .screen-2 .content { gap: 40px; }
    #portrait-2025 .screen-6 { padding-bottom: 0px; }
    #portrait-2025 .row-column-s { max-width: unset; }
    
    #portrait-2025 .it_age .it_age_factoid {
        flex-direction: row-reverse;
        justify-content: center;
        gap: 30px;
        padding: 40px;
    }
    #portrait-2025 .it_age .it_age_factoid::after { filter: brightness(0.5); }
    #portrait-2025 .it_age .it_age_factoid > * { width: 100%; max-width: 180px; }
    #portrait-2025 .it_age .it_age_factoid .factoid { align-self: center; }
    #portrait-2025 .switchers_container { flex-direction: column; }
    #portrait-2025 .switchers_container .switchers_factoid { flex-direction: row; }
    #portrait-2025 .switchers_container .switchers_graph {
        justify-content: center;
        gap: 0;
    }
    #portrait-2025 .switchers_container .data_container .stat {
        width: 100%;
        gap: 10px;
    }
    #portrait-2025 .switchers_container .data_container .stat .bar_container { height: 0.7em; }
    #portrait-2025 .pic_switcher-in { margin-left: -10px; }
    #portrait-2025 .pic_switcher-out { margin-right: -10px; }

    #portrait-2025 .company_size {
        flex-direction: column;
        align-items: center;
        padding: 0 0 600px;
    }
    #portrait-2025 .company_size_graph .graph-item.graph-item-1 { top: 480px; left: -40px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-2 { top: 400px; left: 100px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-3 { top: 360px; left: -200px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-4 { top: 50px; left: -245px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-5 { top: 110px; left: -130px; }
    #portrait-2025 .company_size_graph .graph-item.graph-item-6 { top: -160px; left: -120px; }
    #portrait-2025 .company_employment .row { flex-direction: row-reverse; }

    #portrait-2025 .columns .column.workhours_info {
        flex-direction: row;
        justify-content: space-between;
    }
    #portrait-2025 .workhours_info > div { width: 100%; }
    #portrait-2025 .workhours_info .info.mobile-only { display: flex!important; }
    #portrait-2025 .columns .column.work-life_column { gap: 20px; }

    #portrait-2025 .finance_salary table td {
        font-size: var(--mobile-percentage-font-size);
        letter-spacing: var(--mobile-percentage-letter-spacing);
    }
    #portrait-2025 .pic_delays { max-width: 33%; }

    #portrait-2025 .emigration_plans, #portrait-2025 .demography_english {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #portrait-2025 .demography_inset::before { 
        width: 600px;  
        height: 600px; 
        margin-left: 50%;
        left: -240px;
    }
    #portrait-2025 .emigration_plans .stat { 
        width: 0;
        align-self: center;
        position: relative;
    }
    #portrait-2025 .emigration_plans .stat .graph-item { width: max-content; }
    #portrait-2025 .emigration_plans .stat .graph-item-1 { top: 30px; left: -210px; }
    #portrait-2025 .emigration_plans .stat .graph-item-2 { top: 20px; left: 20px; }
    #portrait-2025 .emigration_plans .stat .graph-item-3 { top: 140px; left: 30px; }
    #portrait-2025 .emigration_plans .stat .graph-item-4 { top: 120px; left: -150px; }
    #portrait-2025 .emigration_plans .stat .graph-item-5 { top: 260px; left: -10px; }
    #portrait-2025 .emigration_plans .stat .graph-item-6 { top: 250px; left: -210px; }
    #portrait-2025 .emigration_plans .stat .graph-item-7 { top: 350px; left: -140px; }
    
    #portrait-2025 .demography_english { top: 660px; }
    #portrait-2025 .demography_english .stat { 
        width: 0;
        align-self: center;
        position: relative;
    }
    #portrait-2025 .demography_english .stat .graph-item-1 { top: -230px; left: -250px; }
    #portrait-2025 .demography_english .stat .graph-item-2 { top: -150px; left: -130px; }
    #portrait-2025 .demography_english .stat .graph-item-3 { top: -110px; left: -10px; }
    #portrait-2025 .demography_english .stat .graph-item-4 { top: -140px; left: 160px; }

    #portrait-2025 .demography_inset { padding-bottom: 660px; }

    #portrait-2025 .demography_age .stat { margin-top: -50px; justify-content: center; }
    #portrait-2025 .demography_age .stat .graph-item { width: 100%; max-width: 100px; }
    #portrait-2025 .demography_age .stat .graph-item::before { transform: scale(.6); }
    #portrait-2025 .demography_age .stat .graph-item-2 .graph,
    #portrait-2025 .demography_age .stat .graph-item-3 .graph,
    #portrait-2025 .demography_age .stat .graph-item-4 .graph,
    #portrait-2025 .demography_age .stat .graph-item-5 .graph { margin-top: -20px; }

    #portrait-2025 #screen7 { padding-bottom: 60px; }
    #portrait-2025 .screen {
        padding-left: 10px;
        padding-right: 10px;
    }
    #portrait-2025 .finance_salary table thead th {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 110%;
    }
    #portrait-2025 .finance_salary table th:nth-child(1) { width: 140px; min-width: unset; }
    #portrait-2025 .finance_salary table th:nth-child(2) { width: 160px; min-width: unset; }
    #portrait-2025 .finance_salary table th:nth-child(3) { width: unset; }

}
@media (max-width: 560px) {

    #portrait-2025 .dots { gap: 6px; }

    #portrait-2025 .demography_inset::before { 
        width: 660px;  
        height: 660px; 
        left: -160px; 
        top: -40px;
    }
    #portrait-2025 .emigration_plans .stat .graph-item-1 { top: 40px; left: -170px; }
    #portrait-2025 .emigration_plans .stat .graph-item-2 { top: 20px; left: -10px; }
    #portrait-2025 .emigration_plans .stat .graph-item-3 { top: 150px; left: 10px; }
    #portrait-2025 .emigration_plans .stat .graph-item-4 { top: 170px; left: -160px; }
    #portrait-2025 .emigration_plans .stat .graph-item-5 { top: 280px; left: -10px; }
    #portrait-2025 .emigration_plans .stat .graph-item-6 { top: 320px; left: -140px; }
    #portrait-2025 .emigration_plans .stat .graph-item-7 { top: 410px; left: -20px; }
    #portrait-2025 .emigration_plans .stat .graph-item-7 .graph_text { max-width: 130px; }

    /* #portrait-2025 .demography_english { top: 690px; }
    #portrait-2025 .demography_english .stat .graph-item-1 { top: -250px; left: -180px; }
    #portrait-2025 .demography_english .stat .graph-item-2 { top: -170px; left: -100px; }
    #portrait-2025 .demography_english .stat .graph-item-3 { top: -120px; left: -30px; }
    #portrait-2025 .demography_english .stat .graph-item-4 { top: -90px; left: 110px; } */
    
    #portrait-2025 .demography_english { top: 600px; }
    #portrait-2025 .demography_english .stat,
    #portrait-2025 .demography_english .stat .graph-item { position: static; }
    #portrait-2025 .demography_english .stat { 
        order: 3;
        justify-content: center;
        flex-direction: row;
        width: 100%;
        gap: 10px;
        margin-top: 20px;
    }

    #portrait-2025 .demography_inset { padding-bottom: 620px; }

    #portrait-2025 .demography_sex .stat { gap: 0px; margin: -50px 0 40px 20px; }
    #portrait-2025 .demography_sex .stat .graph-item::before { transform: scale(.8); }
    #portrait-2025 .demography_sex .stat .graph-item .graph { z-index: 5; }

    #portrait-2025 .demography_age .stat .graph-item { max-width: 90px; }
    #portrait-2025 .demography_age .stat .graph-item-1 { max-width: 60px; margin-top: 30px; }
    #portrait-2025 .demography_age .stat .graph-item-6 { max-width: 60px; margin-top: 25px; }

    #portrait-2025 .defence_donations_text .info { z-index: 5; }
    #portrait-2025 .defence_donations .pic.master-chief {
        min-width: 120px;
        transform-origin: top;
        transform: scale(1.75);
    }
    
    #portrait-2025 .screen {
        clip-path: url(#arcClipMobile); 
        margin-bottom: -300px;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 260px;
    }
    #portrait-2025 .screen-6 { padding-bottom: 220px; }

}

@media (max-width: 500px) {
    #portrait-2025 .demography_age .stat .graph-item .bar_container {
        flex-direction: column-reverse;
        height: auto;
    }
    #portrait-2025 .demography_age .stat .graph-item .bar_container .bar {
        height: 1em;
        align-self: auto;
    }
    #portrait-2025 .demography_age .stat .graph-item .bar_container .percent { min-width: unset; text-align: center; }
    #portrait-2025 .demography_age .stat .graph-item-1,
    #portrait-2025 .demography_age .stat .graph-item-6 { max-width: 40px; }
    #portrait-2025 .demography_age .stat .graph-item-2,
    #portrait-2025 .demography_age .stat .graph-item-5 { max-width: 70px; }
    #portrait-2025 .demography_age .stat .graph-item-4 { max-width: 80px; }
    #portrait-2025 .defence_donations .pic.master-chief { transform: scale(2.5); }
    #portrait-2025 .screen-6 { padding-bottom: 240px; }
    #portrait-2025 .screen h1 { font-size: 38px; }
    #portrait-2025 .workload_causes_container .column_wide {
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 460px) {
    #portrait-2025 .demography_sex .stat .graph-item { width: 100%; }
    #portrait-2025 .demography_sex .stat .graph-item-1 { max-width: 100px; }
    #portrait-2025 .demography_sex .stat .graph-item-2 { max-width: 280px; }
    #portrait-2025 .it_age .it_age_factoid {
        width: 400px;
        height: 400px;
    }
    #portrait-2025 .it_age .it_age_factoid::after { left: 10px; }
    #portrait-2025 .screen h1 {  letter-spacing: 2px; }
}
@media (max-width: 440px) {
    #portrait-2025 .text-quote { font-size: 18px; }
    #portrait-2025 .screen h1 {  letter-spacing: 0px; }
    #portrait-2025 .demography_english .stat { 
        flex-direction: column;
    }
    #portrait-2025 .demography_english .stat .graph.central {
        flex-direction: row;
        align-items: flex-start;
    }
    #portrait-2025 .demography_english .stat .graph.central .graph_content {
        align-items: flex-start;
    }
    #portrait-2025 .demography_english .stat .graph.central .graph_content .bar_container {
        justify-content: flex-start;
    }
    #portrait-2025 .demography_age .stat .graph-item::before { transform: scale(.5); }
    #portrait-2025 .demography_age .stat .graph-item-1,
    #portrait-2025 .demography_age .stat .graph-item-6 { max-width: 30px; }
    #portrait-2025 .demography_age .stat .graph-item-1 { margin-top: 35px; }
    #portrait-2025 .demography_age .stat .graph-item-2,
    #portrait-2025 .demography_age .stat .graph-item-5 { max-width: 60px; }
    #portrait-2025 .demography_age .stat .graph-item-3,
    #portrait-2025 .demography_age .stat .graph-item-4 { max-width: 70px; }
}


/* DOU layout fixes */
body { overflow-x: hidden; } /* tweak to make full wide background along the #portrait-2025 sections */
.b-footer { padding-bottom: 80px; } /* make footer menu appear up to menu bar fixed at the bottom of the page */

/* Dark Mode */
body.dark-mode,
.dark-mode .g-page { background-color: #000000; }

.dark-mode .b-typo,
.dark-mode .b-post-info,
.dark-mode .b-post-info .author .name a,
.dark-mode .table-details .row .name .label,
.dark-mode h4,
.dark-mode .b-footer,
.dark-mode .b-footer a { color: #f5f5f5; }

.dark-mode .table-details .row .name .label:hover,
.dark-mode .gr-col .gr-item a:hover { color: #999; }

.dark-mode .dou-chart .control-panel .ctrl-item,
.dark-mode #ht-button { border-bottom-color: #fff; }

.dou-chart .control-panel .ctrl-item:hover,
.dark-mode #ht-button:hover { color: #999; border-bottom-color: #999; }

.dark-mode .pageviews { color: #202020; filter: invert(1); }
.dark-mode .table-details .row .category-series svg text { fill: #fff; }
.dark-mode .table-details .thead svg path { fill: #fff; }
.dark-mode .likely__widget { color: #fff!important; background: rgba(255,255,255,.1); border: none; }
.dark-mode .tg-banner,
.dark-mode .tg-promo span { background: #2c2c2c!important; }

.dark-mode .b-head {background-color: #404040; overflow: hidden; }
.dark-mode .b-head li a.sel {background-color: #606060; color: #fff; }
.dark-mode .b-post-info .author {margin-left: 0;}
.b-post-info .author .g-avatar {display: none; }
.b-head li.m-hide {display:none!important;}

/* DARK MODE COMMENTS */
.dark-mode .comments-head #upPageLnkId,
.dark-mode .comments-head h3 { color: #fff;}
.dark-mode .comments-head .navigation-comment,
.dark-mode .comments-head .comment-subscribe>span { color: #fff; border-bottom: 1px dashed #fff; }
.dark-mode .comments-head .fixed-menu { border-bottom: 1px solid #4d4d4d; }
.dark-mode .b-longread .comments-head.__fixed .fixed-menu { background: #202020; }

.dark-mode .b-comments-form .textarea-wrap textarea { 
    border: 1px solid #444;
    background-color: #000;
    color: #fff;
}
.dark-mode .b-comments-form .textarea-wrap .placeholdered { color: #666; }

.dark-mode .b-comments-form .send .hint { color: #fff; }
.dark-mode .b-comments-form .send .b-buttons .form-button {
    background-color: #2d2d2d;
    border: 1px solid #606060;
    border-radius: 3px;
    color: #fff;
    padding: 3px 7px;
}
.dark-mode .b-comments-form .send .b-buttons .form-button.disabled { color: #666; }

.dark-mode .g-approved-user .b-post-author .avatar,
.dark-mode .g-approved-user .b-post-author .avatar:visited { color: #fff; }
.dark-mode .b-comments .comment .sup-users a:link,
.dark-mode .b-comments .comment .sup-users a:visited { color: #d0d0d0; }
.dark-mode .g-approved-user .b-post-author .avatar:hover,
.dark-mode .g-approved-user .b-post-author .avatar:active,
.dark-mode .b-comments .comment .sup-users a:hover,
.dark-mode .b-comments .comment .sup-users a:active { color: #f93703; }

.dark-mode .b-comments .comment .bottom-line { filter: invert(1) brightness(3); }
.dark-mode .b-comments .comment .bottom-line a { opacity: .6; }