* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Manrope";
    src: url("/local/templates/vnii/fonts/Manrope.ttf");
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.4;
    color: #000000;
    background-color: #ffffff;
}

strong {
    font-weight: 600;
}

p {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 300;
}

h2 {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 40px;
    color: rgb(42, 49, 67);
}

h3 {
    font-size: 36px;
    color: rgb(42, 49, 67);
    margin-bottom: 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrapper {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

.hero {
    height: 100vh;
    background: url('img/bg.jpg') center/cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 0 40px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.hero header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid #fff;
}

.hero nav {
    margin: 0 auto;
}

.hero nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.hero nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
}

.hero .subtitle {
    color: #ffffff;
    font-size: 44px;

    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 2.5px;
    opacity: 0.65;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.hero .content {
    margin: 40px 0 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 40px;
    max-width: 1200px;
}

.hero h1 {
    color: #ffffff;
    font-size: 82px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0.5;
    max-width: 1200px;
}

.hero .eng {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
}

.hero .logo img {
    height: 40px;
}

.two-columns {
    display: grid;
    grid-template-columns:1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.features {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.feature {
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: 20px;
}

.feature .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.colored {
    padding: 40px 0;
    text-align: center;
}

.colored p, .colored h3 {
    font-size: 28px;
    color: #ffffff;
    text-align: center;
}

.colored.blue {
    background-color: #223251;
}

.colored.green {
    background-color: #3b9e63;
}

.text-photo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
}

.text-photo .text span.subtitle {
    font-size: 16px;
    color: rgb(42, 49, 67);
}

.text-photo .text span.subtitle:after {
    content: "";
    border-bottom: 3px solid #2a3143;
    width: 50px;
    display: block;
    margin: 24px 0;
}

.text-photo .photo {
    aspect-ratio: 1;
    object-fit: cover;
    overflow: hidden;
}

.issues {
    margin: 60px 0;
}

.issues h2 {
    margin-bottom: 40px;
    text-align: center;
}

.issues-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 30px;
}

.issue {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.issue img:hover {
    transform: scale(1.05);
}

.issue img {
    border: 1px solid #ccc;
    margin-bottom: 20px;
    display: block;
    transition: 0.2s;
}

.issue p {
    font-weight: bold;
}

.editor {
    padding: 40px 0;
}

.editor h2 {
    margin-bottom: 40px;
    text-align: center;
}

.editor-block {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    align-items: center;
}

.position {
    color: #7a7a7a;
    font-size: 100%;
}

.team {
    padding: 40px 0;
    background-color: #f4f4f4;
}


.team h2 {
    margin-bottom: 40px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.team-member img {
    aspect-ratio: 1;
    max-width: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.team-member h4 {
    font-size: 22px;
}

.team-member p:first-of-type {
    font-size: 14px;
    color: #7a7a7a;
    margin: 20px;
}

details {
    width: fit-content;
    margin: 0 auto;
	list-style: none;
}

details[open] {
	border: 0;
}
summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    outline: none;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 30px auto;
    width: fit-content;
	    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
	
}

/* стрелочка */
summary::marker { display: none; }
summary::-webkit-details-marker { display: none; }



@media (max-width: 1240px) {
    .wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .logo {
        order: 3;
    }
    .two-columns, .text-photo, .editor-block {
        grid-template-columns:1fr;
    }

    .issues-grid {
        grid-template-columns:repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns:repeat(2, 1fr);
    }

    .hero header {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        padding: 10px 20px;
        background: #2a3143;
        z-index: 1000;
        width: calc(100% + 80px);
    }

    .hero header .logo img {
        height: 40px;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
        order: 1;
    }

    .burger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #2a3143;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .hero-header nav.open {
        transform: translateX(0);
    }

    .hero-header nav ul {
        list-style: none;
        text-align: center;
        padding: 0;
        margin: 0;
        flex-direction: column;
        gap: 10px;
    }

    .hero-header nav a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        font-size: 18px;
        text-transform: uppercase;
    }

    .hero .subtitle {
        font-size: 20px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero .eng {
        font-size: 20px;
    }
    .hero .content {
        gap: 20px;
    }

    h2 {
        font-size: 30px;
    }
    .editor-block {
        place-items: center;
        text-align: center;
    }
}

@media (max-width: 767px) {

    .issues-grid, .features, .team-grid {
        grid-template-columns:1fr;
    }

    .feature .title {
        font-size: 20px;
    }

    h3 {
        font-size: 20px;
    }

    .editor-block img {
        max-width: 50%;
    }
}