section.headline {
    position     : relative;
    display      : block;
    margin       : 1em auto;
    padding      : 1em;
}

.headline__intro {
    display        : flex;
    justify-content: space-between;
}

.headline-menu{
    width: 100%;
}
.headline-menu li{
    display: inline-block;
    margin: 1em 0;
    padding-right: 1em;
    transition: transform .5s .7s, filter .7s ease-out;
}

.headline-menu{
    display: none;
}

.headline__intro .hl-topic p {
    flex        : 2;
    text-align  : justify;
    margin-right: 2em;
    font        : 400 1em var(--font-primary);
    color       : #555;
}

.headline__intro .hl-topic > aside {
    flex  : 1;
    max-width : 60em;
    height: auto;
}

.headline__intro  .hl-topic aside figure {
    position  : relative;
    text-align: center;
    font      : 300 .7em var(--font-heading3);
    transition: transform 1s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.headline__intro .hl-topic aside figure:hover {
    transform: scale(1.2);
}

.headline__intro .hl-topic aside figure img {
    width        : 100%;
    height       : 100%;
    border-radius: .2em;
    box-shadow   : 0 0 2px rgba(0, 0, 0, 0.3);
    cursor       : pointer;
}

.headline__links {
    display        : flex;
    justify-content: flex-start;
    margin         : 1em 0;
}

.headline__links>a {
    margin: 0 1em;
}

.headline__links>a button {
    flex            : 1;
    padding         : .5em;
    font            : 300 .9em var(--font-secundary);
    letter-spacing  : 1px;
    background-color: var(--color-hlight);
    color           : #eee;
    border          : none;
    box-shadow      : 0px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius   : .4em;
    cursor          : pointer;
    transition      : background-color .6s ease-out;
}

.headline__links>a button>i:last-child {
    opacity   : 0;
    transform : translateX(-25%);
    transition: all .6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.headline__links>a button:hover {
    background-color: var(--color-marker);
}

.headline__links>a button:hover>i {
    opacity  : 1;
    transform: translateX(0);
}


.content-section{
    width: 70%;
}
.main-aside{
    float: right;
    background: var(--background-dark);
    width: 25%;
    padding: .25em ;
    border-radius: .4em;
}

.main-aside > nav ul{
    display: flex;
    flex-flow: column wrap;
    align-items: center;
}
.main-aside > nav ul li a{
    font-size: small;
    color: var(--color-marker);
    font-family: var(--font-lin2);
}
.main-aside > nav ul li a:hover{
    text-decoration: underline;
}

.main-aside > h5{
    color: var(--color-text2);
    margin: .5em .25em auto;
    text-align: center;
}

.main-aside > div.top-news {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}
.main-aside > div.top-news img{
    width: 4em;
    height: 4em;
    margin: .25em .5em;
    border-radius: .5em;
    transition: .4s cubic-bezier(0.47, 0, 0.745, 0.715);
}
.main-aside > div.top-news a:hover img{
    box-shadow: 0px 0px 4px #f5f5f5;
}



.latest-news>h4 {
    margin-bottom: .4em;
    font-weight  : bold;
}

.latest-news>p {
    font      : 400 1em var(--font-heading);
    font-style: italic;
}

.latest-news ul {
    font       : 400 1em var(--font-secundary);
    margin-left: 1em;

}

.latest-news ul li {
    margin             : .5em 0;
    list-style-position: inside;
    list-style         : circle;
}


@media only screen and (max-width: 768px) {
    section.headline {
        margin : 0;
        padding: 1em 0;
    }

    .headline__intro {
        flex-direction : column-reverse;
        justify-content: center;
        background     : transparent;
        padding        : 0;
        margin         : 0;
    }
    
    .headline-menu {
        display: block;
    }

    .headline-menu li label{
        color:  var(--color-links);
        font: 400 1em var(--font-detail);
        text-shadow: 0px 2px 1px rgba(34, 34, 34, 0.5);
        cursor: pointer;
    }
    .headline-menu li:hover{
        transform: translateY(-5%);
        filter: hue-rotate(10deg);
    }
    
    .headline__intro .hl-topic{
        display: block;
    }

    .headline__intro .hl-topic{
        display: none;
    }
    .headline__intro input:checked + .hl-topic{
        display: block;
    }

    .headline__intro  .hl-topic p {
        margin : .5em 0;
        width  : 100%;
        color  : #222;
        padding: .5em;
        border-radius: .5em;
        background-color: rgba(32, 255, 207, 0.288);
    }


    .headline__intro  .hl-topic aside {
        width  : auto;
        height : auto;
        max-width: 32rem;
        margin: auto;
        padding: .5em .25em;
    }

    .headline__intro .hl-topic aside>figure figcaption {
        position: absolute;
        bottom  : .5em;
        width   : 100%;
        color   : var(--color-text2);
        opacity : .5;
    }

    .headline__intro  .hl-topic aside>figure:hover {
        transform: none;
    }

    .headline__links {
        justify-content: center;
    }

    .headline__links>a button {
        text-align    : center;
        flex          : 1;
        letter-spacing: 0;
    }

    .main-aside > nav ul{
        display: block;
        text-align: center;
    }

    .main-aside > nav ul li a{
        font-size: .9em;
        padding: .5em auto;
        display: inline-block;
        width: 100%;
    }
    .main-aside > nav ul li a:hover{
        text-decoration: underline;
    }
    
    .main-aside > h5{
        font-size: .8em;
    }
    
    .main-aside > div.top-news {
        justify-content: space-between;
    }
    .main-aside > div.top-news img{
        width: 3em;
        height: 3em;
        margin: .5em;
    }

    @media only screen and (max-width: 420px){
        #page-main{
            padding: 1em;
            transition: padding .5s ease;
        }
        .main-aside > div.top-news {
            justify-content: center;
        }


        .content-section{
            width: 100%;
        }
        .main-aside{
            float: none;
            width: 100%;
            margin: 1em auto;
        }
        
        .main-aside > nav ul li a{
            font-family: var(--font-link);
            margin: .2em auto;
        }
        
        .main-aside > h5{
            color: var(--color-text2);
            margin: .5em auto;
            text-align: center;
        }
        
        .main-aside > div.top-news {
            flex-wrap: nowrap;
            justify-content: flex-start;
            overflow-x: scroll;
        }
        .main-aside > div.top-news::-webkit-scrollbar{
            background: radial-gradient(rgb(0, 192, 182),black);
            height: .3em;
        }

        .main-aside > div.top-news img{
            width: 4em;
            height: 4em;
            margin: .5em;
            transition: none;
        }

    }

}