@media (max-width: 768px) {
    body {
        grid-template-areas:
            "header"
            "aside"
            "main"
            "footer";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
    }

    .header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        text-align: center;
    }

    .header__left {
        flex-direction: column;
    }

    .title {
        font-size: 16px;
    }
    .header__right {
        font-size: 14px;

    }

    aside {
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 15px;
        border-bottom: 1px solid #ddd;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .sidebar__title {
        font-size: 16px;
    }

    .nav__link {
        font-size: 14px;
    }

    .details {
        margin-top: 20px;
        padding: 15px;
    }

}

@media (min-width: 769px) and (max-width: 1024px) {
    .header {
        flex-wrap: wrap;
        padding: 15px;
    }

    .header__left {
        gap: 15px;
    }

    .title {
        font-size: 18px;
    }

    .awards__img {
        width: 70px;
        height: 75px;
    }

    .header__right {
        font-size: 14px;
    }

    .main {
        padding: 20px;
    }

    .detail__item {
        font-size: 16px;
    }

    .details {
        padding: 12px;
    }
}


@media (max-width: 1450px) {
    .details__section {
        flex-direction: column; 
        gap: 15px;
        align-items: center;
    }

    .main img {
        max-width: 100%;
        height: auto; 
        margin: 0; 
    }

    .details {
        width: 100%;
        padding: 15px;        
        font-size: 14px;       
        box-sizing: border-box; 
    }

    .detail__item {
        font-size: 14px;
        line-height: 1.5;
    }
}
