.single-default-headline {
    max-width: 100vw;
    height: auto;
    margin-bottom: 1rem;
    text-align: center;
    align-items: center;

    h1, p {
        margin: 0 !important;
        padding: .5rem;
        font-weight: 600;
    }

    h1 {
        font-weight: 900;
    }
}

.single-default-container {
    width: 90vw;
    margin: 1rem auto;
    @media only screen and (max-device-width: 699px) {
        width: 100vw;
    }

   
    .single-default-row {
        display: flex;
        @media only screen and (max-device-width: 1023px) {
            flex-direction: column;
        }
        .single-default-content-column {
            flex: 0 0 72%;
            margin-right: 1rem;
            
            @media only screen and (max-device-width: 1023px) {
                margin-right: 0;
            }

        }

        .single-default-content-column-extended {
            flex: 0 0 100%;
        }

        .single-default-sidebar-column {
            flex: 1;
            background-color: lighten($primary-color, 45%);
            padding: 1rem;
        }
    }
}



.single-default-article {
    &__thumbnail {
        img {
            width: 100%;
            height: auto;
        }
    }

    &__meta {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background-image: linear-gradient(20deg, lighten($primary-color, 40%), white, lighten($primary-color, 40%));    border-bottom: 2px solid $primary-color;
        border-bottom: solid 2px $primary-color;
        margin-bottom: 1rem;
        padding: 0.3rem;
        text-align: center;

        @media only screen and (max-device-width: 699px) {
            grid-template-rows: repeat(2, 1fr);
            grid-template-columns: repeat(2, 1fr);
            grid-gap: 1rem;
        }
    }

    &__content {

        text-align: justify;
        margin-bottom: 1rem;
        padding: 0 10%;
    

        h1, h2, h3, h4, h5, h6 {
            margin-top: 1rem;
        }

        p {
            margin-top: 1rem;

            a {
                border-bottom: 1.5px solid $primary-color-dark;
                transition: 0.3s all ease-in-out;

                &:hover {
                    transition: 0.3s all ease-in-out;
                    color: white;
                    background-color: $primary-color-dark;
                }

            }
        }

        ul, li, ol{
            margin-top: 0.5rem;
            margin-left: 1rem;
        }

      

        .alignwide {
            margin-left: -100px;
            margin-right: -100px;
            max-width: calc(50rem + 50rem);
            width: auto;

            @media only screen and (max-device-width: 699px) {
                margin: 0 -10%;
            }
            @media only screen and (min-device-width: 700px) and (max-device-width: 1024px) {
                margin: 0 -15%;
            }

        }

        .alignfull {
            margin-left: calc(-12rem + 0.625rem);
            margin-right: calc(-12rem + 0.625rem);
            max-width: 100vw;
            width: auto;
            @media only screen and (max-device-width: 699px) {
                margin: 0 -10%;
            }
            @media only screen and (min-device-width: 700px) and (max-device-width: 1099px) {
                margin: 0 -20%;
            }
            img {
                width: 100%;
            }
        }
      
    }
}  


.wp-block-embed {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    width: 100%;
    overflow: hidden;
    iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.post-tags a, .tagcloud a {
    display: inline-block;
    padding: 5px 6px 6px 3px;
    margin: 0 3px 8px 11px;
    background: #ddd;
    font-size: 0.7rem !important;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    position: relative;
    transition: 0.3s all ease-in-out;

    &:hover {
        background-color: $primary-color;
        transition: 0.3s all ease-in-out;
        color: white;
    }
}

.post-tags a:before, .tagcloud a:before {
    content: "";
    display: block;
    border: 11px solid transparent;
    border-left-width: 0;
    border-right-color: #ddd;
    position: absolute;
    top: 0;
    left: -11px;
}

.post-tags a:hover:before,
.tagcloud a:hover:before { 
    border-right-color: $primary-color; 
    transition: 0.3s all ease-in-out;
    
}

.related-post-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5rem;

    @media only screen and (max-device-width: 449px) {
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: repeat(1, 1fr);
        margin: 0 5%;
    }

    @media only screen and (min-device-width: 500px) and (max-device-width: 749px){
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr);
        margin: 0 5%;
    }
}
