/*LANGUAGE*/
.lang::before {
  content:'';
  background:url('https://proektmedia-stat.ams3.digitaloceanspaces.com/2024/01/world_icon-1.png');
  display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    position: relative;
    top: 0px;
    background-size: cover;
}

/*QUOTE*/
.quote-photo-col {
      padding-left: 54px;
      background-position: 0px 0.58em;
      background-repeat: no-repeat;
      background-size: 42px 42px;
}
.putin {
      background-image: url('https://proektmedia-stat.ams3.digitaloceanspaces.com/2023/11/putin-qu.png')
}

/*ARROW-DOWN*/
.arr-down {
background-image: url('https://proektmedia-stat.ams3.digitaloceanspaces.com/2023/12/arr-1.png');
background-position: center right;
background-size: 16px;
background-repeat: no-repeat;
padding-right: 35px;
}


/*FONTS*/
@media screen and (min-width: 800px) {
   .arr-down {
      background-size: 20px;
   }
 }

* {
         font-variant-numeric: lining-nums;
        -moz-font-feature-settings: "lnum"1;
        -moz-font-feature-settings: "lnum=1";
        -ms-font-feature-settings: "lnum"1;
        -o-font-feature-settings: "lnum"1;
        -webkit-font-feature-settings: "lnum"1;
        font-feature-settings: "lnum"1;
 }

/*
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
*/


.garamond {
       font-family: "EB Garamond", serif !important;
       font-style: italic !important;
}

.garamond_h3 {
       font-size: 22px !important;
       line-height: 120% !important;
}

@media screen and (min-width: 800px) {
       .garamond_h3 {
            font-size: 30px !important;
            line-height: 105% !important;
       }
}

@font-face {
  font-family: 'Wes';
  src: url('https://proekt.media/files/Wes.woff2') format('woff2'),
       url('https://proekt.media/files/Wes.woff') format('woff'),
       url('https://proekt.media/files/Wes.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.wes {
    font-family: 'Wes', Alegreya, serif !important;
    line-height: 1em !important;
}

.wes_h1 {
       font-size: 50px !important;       
}

@media screen and (min-width: 800px) {
   .wes_h1 {
       font-size: 60px !important;
    }
}

.wes_h2 {
       font-size: 30px;
       line-height: 120% !important;
}

@media screen and (min-width: 800px) {
       .wes_h2 {
            font-size: 50px;
            line-height: 105% !important;
       }
}

.wes_h3 {
       font-size: 28px;
       line-height: 120% !important;
}

@media screen and (min-width: 800px) {
       .wes_h3 {
            font-size: 36px;
            line-height: 105% !important;
       }
}

.details {
	font-size:60% !important;
	
}


/*COLORS*/
.gold_color {
      color: #B6AC84 !important;
}

.gold_color_darker {
      color: #AB9732 !important;
}

.opacity_50 {
    opacity:.5;
}

.leaf_break {
     margin-top:3em !important;
}

.bg-branch {
      background-image:url("https://proektmedia-stat.ams3.digitaloceanspaces.com/2025/10/bg-branch-2.jpg");
      background-repeat: no-repeat;
      background-size: 95%;
      background-position: top right;
}

@media (min-width: 800px) {
   .bg-branch {
      background-size: auto
   }
}

.lid_width {
    max-width: 560px;
    margin: 0 auto;
    font-weight: 400 !important;
    font-size: 28px !important;
    line-height: 1.1em !important;
    padding: 0 16px;
}

@media (min-width: 800px) {
   .lid_width {
       font-size: 34px !important;
   }
}

    .authors {
         font-size: 14px !important;
     }

.cameya img {
      max-width: 140px;
      margin: 0 auto;
      position: relative;
      left: 3%;
}

.cameya .wp-element-caption {
    text-align: center !important;
}

/*links for cards*/

    s {
        text-decoration: none !important;
    }

    a s {
        color: #AB9732 !important;
        text-decoration: none !important;
    }

    a s::after {
        content: "";
        display: inline-block;
        width: 0.85em;
        height: 0.7em;
        margin-left: 0;
        background: url('https://proektmedia-stat.ams3.cdn.digitaloceanspaces.com/2025/11/leaf-link.png') no-repeat center / contain;
        vertical-align: middle;
        pointer-events: none;
        transform: rotate(-8deg);
        white-space: nowrap;
    }

    a s:hover {
        color: #AB9732 !important;
        box-shadow: inset 0 0 0 currentColor, 0 3px 0 currentColor !important;
        text-decoration: none !important;
    }

/*Charts*/

.chart-row-container {
        overflow: hidden;
        padding: 0;
        margin: 0 0 2px;
        background: #F0EACE;
        color: #000000;
        font-size: 12px !important;
        line-height: 1.35em !important;
        border-radius: 3px;
        font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
        font-weight: 700;
    }

    @media (min-width: 600px) {
        .chart-row-container {
            font-size: 16px !important;
        }
    }

    .chart-row-move {
        width: 100%;
        position: relative;
        float: left;
        margin: 0;
        padding: 0;
        background: #f9f9f9 !important;
    }

    .chart-row-content {
        float: left;
        width: 100%;
        position: relative;
        padding: 10px 16px;
    }

    .chart-row-name {
        float: left;
        width: 80%;
        margin: 0;
        padding: 0;
    }

    .chart-row-summ {
        text-align: right;
        float: right;
        width: 20%;
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }

    .chart_additional_info {
        display: block;
        font-weight: 400;
    }

    .chart-row-photo {
        display: grid;
        grid-template-columns: 43px auto;
        gap: 5px;
    }

    .chart-row-photo-bg {
        width: 47px;
        height: 40px;
        background-repeat: no-repeat !important;
        background-size: 40px !important;
        background-position: center center !important;
        position: relative;
        right: 6px;
    }


    .chart-row-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .chart-two-persons {
        grid-template-columns: 73px auto;
    }

    .chart-two-persons-grid {
        position: relative;
    }

    .no_leaf {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: solid 0.2px #AB9732;
        position: absolute;
        top: 0px;
        left: -2px;
    }

    .yes_leaf {
        position: relative;
        left: 25px;
    }


/*========================================HEADERS*========================================*/


    .forest-header {
        background-image: url("https://proektmedia-stat.ams3.digitaloceanspaces.com/2025/09/bg.jpg");
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: cover;
        background-color: #0f160c;
        position: relative;
        overflow: hidden;
    }

    /* ===== TOP ===== */
    .branch_and_medalion {
        /*Отступ под медальоном*/
        height: 350px;
        margin: 0 auto;
        max-width: 1000px;
        position: relative;
        --shift: 50px;
    }

    @media screen and (min-width: 800px) {
        .branch_and_medalion {
            /*Отступ под медальоном*/
            height: 440px;
        }
    }

    /* ===== POSITION ===== */
    .branch_and_medalion div {
        position: absolute;
    }

    .t_branch {
        width: 900px;
        height: auto;
        top: 0;
        right: 50%;
        transform: translateX(50%);
    }

    .medalion {
        z-index: 100;
        top: 64px;
        right: 50%;
        transform-origin: top;
        transform: translateX(50%);
        width: 200px;
        height: auto;
        will-change: transform;
    }

    .right_branch {
        position: absolute;
        left: -50px;
        bottom: 50px;
        width: 150px;
        height: auto;
        z-index: 0;
        filter: blur(3px);
        --shift: 50px;
    }

    .left_branch {
        position: absolute;
        right: -50px;
        bottom: 20px;
        width: 180px;
        height: auto;
        z-index: 0;
        --shift: -50px;
    }

    /* ===== ANIMATION ===== */
    .branch_and_medalion,
    .left_branch,
    .right_branch {
        transform: translateX(var(--shift, 0));
        transition:
            transform 2.5s cubic-bezier(.25, .7, .25, 1),
            opacity 2.5s ease-out;
        will-change: transform, opacity;
    }

    .forest-header.is-inview .branch_and_medalion,
    .forest-header.is-inview .left_branch,
    .forest-header.is-inview .right_branch {
        transform: translateX(0);
    }

    /* ===== MEDALION HOVER ===== */
    .forest-header.is-inview .medalion {
        animation: tilt 2.8s ease-out both;
    }

    @keyframes tilt {

        0%,
        100% {
            transform: translateX(50%) rotate(0deg);
        }

        15% {
            transform: translateX(50%) rotate(3deg);
        }

        30% {
            transform: translateX(50%) rotate(-3deg);
        }

        45% {
            transform: translateX(50%) rotate(1.5deg);
        }

        60% {
            transform: translateX(50%) rotate(-1.5deg);
        }

        80% {
            transform: translateX(50%) rotate(0.5deg);
        }
    }

    /* ===== ADAPTIV ===== */
    @media screen and (min-width: 800px) {
        .t_branch {
            width: 1100px;
        }

        .left_branch {
            width: 450px;
        }

        .right_branch {
            width: 350px;
        }

        .medalion {
            top: 83px;
            width: 250px;
        }
    }

    /* ===== COMMON ===== */
    .branches_cont img {
        width: 100%;
        height: auto;
    }

    .header_elem_position {
        position: relative;
        z-index: 10;
    }

    .authors {
        font-size: 14px !important;
    }

.open-menu a {
    padding: 4px 8px;
    background: rgb(255 255 255 / 20%);
    display: block;
    width: fit-content;
    margin: 0 auto;
   border-radius: 5px;
}


.wider_colomns {
    max-width: 1250px !important;
    margin: 0 auto !important;
     width: 100% !important;
}