/* Главный баннер */
.banner {
    width: 100%;
    height: auto;
	max-height: calc(100dvh - 115px);
    aspect-ratio: 2;
    position: relative;
    overflow: hidden;
}

.banner__breadcrumbs {
    position: absolute;
    top: 15px;
    left: 50px;
    display: flex;
    font-family: "Manrope";
    color: #FFFFFF;
    font-size: 10px;
    list-style: none;
    z-index: 2;
}

.banner__breadcrumbs a {
    color: currentColor;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.banner__breadcrumbs a:after {
    content: '/';
    color: #FFFFFF;
    margin: 0 5px;
}

.banner__breadcrumbs span {
    opacity: 0.5;
}

.banner__img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    position: absolute;
}

.banner__logo {
    position: absolute;
    left: 50%;
    bottom: 45px;
    transform: translateX(-50%);
    z-index: 1;
}

/* Первая часть текста "Символика и награды" */
.content-intro {
    position: relative;
    padding: 115px 50px 0;
    overflow: hidden;
}

.content-intro__header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.content-intro__heading {
    color: #292929;
    font-family: "Bounded";
    font-size: 55px;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
}

.content-intro__hr {
    width: 100%;
    border: none;
    height: 3px;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    animation: gradientShift 10s linear infinite;  
} 

.content-intro__main {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.content-intro__text {
    max-width: 440px;
    color: #292929;
    font-family: "Manrope";
    padding-top: 45px;
}

.content-intro__framed {
    position: relative;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    border-radius: 5px;
    padding: 3px;
    animation: gradientShift 10s linear infinite;  
}

.content-intro__framed--inner {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white; 
    border-radius: 3px; 
    padding: 45px 60px; 
}

.content-intro__framed-text {
    color: #292929;
    font-family: "Manrope";
}

.content-intro__framed-text span {
    max-width: 330px;
    display: block;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.content-intro__framed-text ul {
    list-style: none;
}

.content-intro__framed-img img {
    width: 100%;
    height: 100%;
}

.content-intro__decor {
    max-width: 100%;
    width: auto;
    height: 555px;
    position: relative;
    display: block;
    margin-top: -160px;
    background: radial-gradient(circle at 00% 50%, 
    #FFDC94 12%, 
    #B78F5A 20%, 
    #FFDC94 27%, 
    #FFDE93 39%, 
    #F7F0DE 51%,
    #FFE392 56%,
    #FFDA94 79%,
    #C39C66 83%,
    #FFDD93 87%,
    #CEA86D 96%,
    #FFDD94 100%);
    background-size: 200% 200%;
    -webkit-mask-image: url('images/svg/crown__bg.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url('images/svg/crown__bg.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
    animation: crownFlowLeftCenter 25s linear infinite;
    z-index: -1;
}

/* Карточки с коронами (характеристики) */
.crown-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px 50px 55px;
}

.crown-cards__card {
    position: relative;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    border-radius: 5px;
    padding: 3px;
    animation: gradientShift 10s linear infinite;  
}

.crown-cards__card--inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white; 
    border-radius: 3px; 
    padding: 60px 30px 55px; 
    box-sizing: border-box;
}

.crown-cards__card-title {
    max-width: 435px;
    flex: 1;
    color: #E69E5F;
    font-family: "Bounded";
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}

.crown-cards__card-img {
    height: 220px;
    width: auto;
    margin: 60px 0;
}

.crown-cards__specs {
    width: 100%;
    color: #292929;
    font-family: "Bounded";
}

.crown-cards__specs-heading {
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.crown-cards__specs-item {
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: center;
    gap: 25px;
    border-top: 1px solid #ACACAC;
    padding: 10px 30px 10px 25px;
}

.crown-cards__specs-item:last-of-type {
    border-bottom: 1px solid #ACACAC;
}

.crown-cards__specs-label {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crown-cards__specs-value {
    white-space: nowrap;
}

.crown-cards__specs-number {
    display: block;
    padding-left: 10px;
    margin-top: 25px;
}

/* Карточки с коронами (описание) */
.crown-desc__item {
    min-height: 600px;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 55px 50px 80px;
    overflow: hidden;
    box-sizing: content-box;
}

.crown-desc__decor-title {
    max-width: 100%;
    position: absolute;
    right: 0;
}

.crown-desc__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #292929;
}

.crown-desc__title {
    font-family: "Bounded";
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.crown-desc__name {
    font-family: "Bounded";
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
}

.crown-desc__subtitle {
    font-family: "Bounded";
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.crown-desc__text {
    max-width: 570px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "Manrope";
}

.crown-desc__img {
    max-width: 70%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.crown-desc__img img {
    width: 100%;
    height: 100%;
}

.crown-desc__img-info {
    max-width: 35%;
    display: block;
    color: #ACACAC;
    font-family: "Manrope";
    font-size: 12px;
    text-align: center;
    margin-top: -85px;
    transform: translateX(110%);
}

.crown-desc__img-info--second {
    transform: translateX(120%);
}

.crown-desc__img-info--last {
    margin-top: -50px;
    transform: translateX(120%);
}

.crown-desc__item-hr {
    height: 3px;
    background: linear-gradient(to right, #DCDCDC 12%, #7E7E7E 20%, #DCDCDC 27%, #DEDEDE 39%, #F1F1F1 51%, #E2E2E2 56%, #DADADA 79%, #929292 83%, #DDDDDD 87%, #A2A2A2 96%, #DDDDDD 100%);
    background-size: 300% 100%;
    border: none;
    margin: 0 50px;
    animation: gradientShift 10s linear infinite; 
}

/* Строчка с титулами */
.competition-titles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 40px 50px;
}

.competition-titles__title img {
    width: 100%;
}

/* Финальная часть страницы (подвал) */
.content-outro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    padding: 0 50px 100px 0;
}

.content-outro__main {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.content-outro__img {
    flex: 1;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 1.75;
}

.content-outro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-outro__text {
    flex: 1;
    max-width: 460px;
    color: #292929;
    font-family: "Manrope";
    padding-top: 10px;
}

.content-outro__logo img {
    width: 100%;
    height: auto;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

@keyframes crownFlowLeftCenter {
  0% { background-position: 0% 50%; background-size: 200% 200%; }
  50% { background-position: 100% 50%; background-size: 100% 100%; }
  100% { background-position: 0% 50%; background-size: 200% 200%; }
}

@media (max-width: 1600px) {
    .content-intro__heading {
        font-size: 40px;
    }

    .crown-desc__img-info {
        max-width: 42%;
        margin-top: -40px;
        transform: translateX(86%);
    }

    .crown-desc__item {
        min-height: 450px;
    }
}

@media (max-width: 1320px) {
    /* Карточки с коронами (характеристики) */
    .crown-cards__card-img {
        height: 150px;
    }

    .crown-cards__specs-item {
        grid-template-columns: 2.5fr 1fr;
        padding: 10px 0;
    }

    /* Карточки с коронами (описание) */
    .crown-desc__img-info {
        max-width: 55%;
        transform: translateX(52%);
    }
}

@media (max-width: 1200px) {
    /* Главный баннер */
    .banner__logo {
        max-width: 500px;
    }

    /* Первая часть текста "Символика и награды" */
    .content-intro__framed--inner {
        padding: 25px 30px; 
    }

    .content-intro__decor {
        width: 100%;
        height: auto;
        aspect-ratio: 2;
        transform: translateY(0) !important;
    }

    /* Карточки с коронами (характеристики) */
    .crown-cards__card--inner {
        padding: 30px 10px 30px; 
    }

    /* Карточки с коронами (описание) */
    .crown-desc__img {
        right: -100px;
    }

    .crown-desc__img-info {
        font-size: 10px;
        margin-top: -30px;
    }

    /* Финальная часть страницы (подвал) */
    .content-outro {
        flex-direction: column;
        align-items: center;
    }

    .crown-desc__item {
        min-height: 350px;
    }
}

@media (max-width: 1024px) {
    /* Первая часть текста "Символика и награды" */
    .content-intro__heading {
        font-size: 22px;
    }

    .content-intro__main {
        flex-direction: column;
    }

    .content-intro__text {
        padding-top: 0;
    }

    .content-intro__framed {
        margin-bottom: 45px;
    }
    
    .content-intro__decor {
        margin-top: 0;
    }


    /* Карточки с коронами (характеристики) */
    .crown-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Карточки с коронами (описание) */
    .crown-desc__item {
        flex-direction: column;
    }

    .crown-desc__img {
        max-width: 100%;
        position: static;
        transform: none;
    }

    .crown-desc__img img {
        width: calc(100% + 100px);
        margin-left: -50px;
    }

    .crown-desc__img-info {
        max-width: 100%;
        transform: translateX(0);
        margin-top: -55px;
    }
}

@media (max-width: 768px) {
    /* Главный баннер */
    .banner {
        height: auto;
	    max-height: calc(100dvh - 95px);
        aspect-ratio: 1.5;
    }

    .banner__breadcrumbs {
        left: 15px;
    }

    .banner__img {
        height: auto;
        aspect-ratio: 1.5;
        transform: translateY(0) !important;
    }

    .banner__logo {
        max-width: 200px;
        height: auto;
        bottom: 20px;
    }

    /* Первая часть текста "Символика и награды" */
    .content-intro {
        padding: 60px 15px 15px;
    }

    .content-intro__header {
        gap: 10px;
        margin-bottom: 45px;
    }

    .content-intro__heading {
        font-size: 16px;
    }

    .content-intro__hr {
        height: 1px;
    } 

    .content-intro__main {
        gap: 25px;
    }

    .content-intro__text {
        max-width: 100%;
        font-size: 13px;
    }

    .content-intro__framed {
        padding: 1px;
    }

    .content-intro__framed-text {
        font-size: 13px;
    }

    .content-intro__framed-text span {
        margin-bottom: 25px;
    }

    .content-intro__framed-text ul {
        max-width: 200px;
    }

    .content-intro__framed-img {
        max-width: 105px;
        position: absolute;
        right: 30px;
        bottom: 55px;
    }

    /* Карточки с коронами (характеристики) */
    .crown-cards {
        gap: 10px;
        padding: 15px 15px 30px;
    }

    .crown-cards__card {
        padding: 1px;
    }

    .crown-cards__card-title {
        font-size: 16px;
    }

    .crown-cards__specs {
        font-size: 13px;
    }

    .crown-cards__specs-number {
        padding-left: 0;
    }

    /* Карточки с коронами (описание) */
    .crown-desc__item {
        padding: 30px 15px;
    }

    .crown-desc__decor-title {
        position: static;
        margin-top: 30px;
    }

    .crown-desc__content {
        order: -1;
    }

    .crown-desc__title {
        font-size: 13px;
    }

    .crown-desc__name {
        font-size: 20px;
    }

    .crown-desc__subtitle {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .crown-desc__text {
        max-width: 100%;
        font-size: 13px;
    }

    .crown-desc__img img {
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .crown-desc__img-info {
        margin-top: -20px;
    }

    .crown-desc__item-hr {
        height: 1px;
        margin: 0 15px;
    }

    /* Строчка с титулами */
    .competition-titles {
        gap: 10px;
        padding: 30px 15px;
    }

    /* Финальная часть страницы (подвал) */
    .content-outro {
        padding: 0px 0px 60px;
    }

    .content-outro__main {
        flex-direction: column;
        gap: 25px;
    }

    .content-outro__text {
        font-size: 13px;
        padding: 0 15px;
    }

    .content-outro__logo {
        display: none;
    }
}

@media (max-width: 540px) {
    .competition-titles__title:nth-child(1) {
        order: 3;
    }
    .competition-titles__title:nth-child(2) {
        order: 1;
    }
    .competition-titles__title:nth-child(3) {
        order: 2;
    }
}