.page-container{
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px){
    .page-container{
        flex-wrap: wrap;
    }
}

.container.page-container{
    margin-top: 36px;
}

.content-column{
    flex-grow: 1;
    max-width: 800px;
}

@media (max-width: 768px){
    .content-column{
        max-width: calc(100vw - 40px);
    }
}

@media (min-width: 1366px){
    .content-column{
        flex-shrink: 0;
    }
}

.meta-column{
    flex-grow: 1;
    margin: 0 0 78px 135px;
}

@media (max-width: 1280px){
    .meta-column{
        flex-grow: 1;
        margin: 0 0 78px 32px;
    }
}

@media (max-width: 768px){
    .meta-column{
        margin: 0;
    }
}

.post-author-image{
    width: 48px;
    height: 48px;
    margin: 0 16px 0 0;
}

@media (max-width: 768px){
    .post-author-image{
        width: 32px;
        height: 32px;
        margin: 0 12px 0 0;
    }
}

.post-author-image img{
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.post-category{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 2.8px;
    opacity: .5;
    margin: 0 0 22px;
    text-transform: uppercase;
}

@media (max-width: 768px){
    .post-category{
        font-size: 12px;
        margin: 0 0 16px;
    }
}

.post-title{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 24px;
    max-width: 783px;
}

@media (max-width: 768px){
    .post-title{
        font-size: 28px;
        margin: 0 0 16px;
    }
}

.post-date{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    opacity: .5;
    margin: 0 0 24px;
}

@media (max-width: 768px){
    .post-date{
        font-size: 14px;
        margin: 0 0 24px;
    }
}

.post-author{
    display: flex;
    align-items: center;
    margin: 0 0 48px;
}

.post-author-name{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; 
    margin: 0 0 6px;
}

.post-author-description{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    opacity: .5;
}

@media (max-width: 768px){
    .post-author{
        margin: 0 0 32px;
    }

    .post-author-name{
        font-size: 16px;
    }

    .post-author-description{
        font-size: 12px;
    }
}

.post-content{
    margin: 0 0 72px;
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    word-break: break-word;
}

.post-content video{
    max-width: 100%;
    margin: 15px 0;
    aspect-ratio: 800/500;
    width: 100%;
    height: auto;
}

.post-social-media{
    margin: 0 0 78px;
}

.post-content a{
    color: #F92E77;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-content li + li{
    margin: 20px 0 0;
}

.post-content img{
    width: auto;
    height: auto;
    aspect-ratio: auto;
    max-height: 517px;
    border-radius: 24px;
    border: 1px solid #4D3867;
    border: 1px solid color(display-p3 0.2902 0.2235 0.3922);
}

/* Files */
.post-content a[href$=".pdf"],
.post-content a[href$=".doc"],
.post-content a[href$=".docx"],
.post-content a[href$=".xls"],
.post-content a[href$=".xlsx"],
.post-content a[href$=".ppt"],
.post-content a[href$=".pptx"],
.post-content a[href$=".zip"],
.post-content a[href$=".rar"],
.post-content a[href$=".7z"],
.post-content a[href$=".tar"],
.post-content a[href$=".gz"],
.post-content a[href$="/view"]{
    text-decoration: none;
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    padding: 12px;
    display: inline-block;
    border-radius: 8px;
    background: linear-gradient(180deg, #FF0076 0%, #C200A8 100%);
    background: linear-gradient(180deg, color(display-p3 0.9765 0.1804 0.4667) 0%, color(display-p3 0.6974 0.1278 0.6404) 100%);
}

.post-content ul,
.post-content ol{
    margin: 0 0 40px;
}

.post-content a[href$=".pdf"]:hover,
.post-content a[href$=".pdf"]:hover,
.post-content a[href$=".doc"]:hover,
.post-content a[href$=".docx"]:hover,
.post-content a[href$=".xls"]:hover,
.post-content a[href$=".xlsx"]:hover,
.post-content a[href$=".ppt"]:hover,
.post-content a[href$=".pptx"]:hover,
.post-content a[href$=".zip"]:hover,
.post-content a[href$=".rar"]:hover,
.post-content a[href$=".7z"]:hover,
.post-content a[href$=".tar"]:hover,
.post-content a[href$=".gz"]:hover,
.post-content a[href$="/view"]:hover{
    background: linear-gradient(180deg, #FF007E 0%, #FF007E 100%);
}

.post-content a:hover{
    text-decoration: none;
}

.post-content iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.post-content h2{
    font-size: 32px;
    line-height: 36px;
    margin-top: 40px;
}

.post-content h3{
    font-size: 20px;
    margin-top: 40px;
    line-height: 24px;
}

@media (max-width: 768px){
    .post-content{
        font-size: 16px;
        margin: 0 0 40px;
    }

    .post-content iframe{
        width: 100vw;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .post-content h2{
        font-size: 20px;
        margin-top: 20px;
    }
    
    .post-content h3{
        font-size: 16px;
        margin-top: 20px;
    }
    
    .post-social-media{
        background: url(/wp-content/themes/wand/images/single-line.svg) no-repeat center calc(100% - 40px) / calc(100vw - 10px);
        padding: 0 0 82px;
        margin: 0;
    }
}

.post-meta-title{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    margin: 0 0 27px;
}

@media (max-width: 768px){
    .post-meta-title{
        margin: 0 0 17px;
    }
}

.related-post{
    display: block;
}

.related-post + .related-post{
    margin: 40px 0 0;
}

.related-post-image{
    width: 280px;
    height: 200px;
    margin: 0 0 19px;
}

.related-post-image img{
    border-radius: 24px;
    aspect-ratio: 280/200;
    border: 1px solid #4D3867;
    object-fit: cover;
}

.related-post-category{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 2px;
    opacity: .5;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.related-post-title{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    margin: 0 0 15px;
}

.related-post-date{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    opacity: .5;
}

.post-social-media-title{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 90%;
    opacity: .5;
    margin: 0 0 22px;
}

.post-social-media-icons{
    display: flex;
    align-items: center;
}

.post-social-media-icon img{
    width: 24px;
    height: 24px;
}

.post-social-media-icon + .post-social-media-icon{
    margin: 0 0 0 24px;
}

.post-social-media-share{
    margin: 0 0 0 24px;
    border-radius: 4px;
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 90%;
    cursor: pointer;
    padding: 7.5px 8px 7.5px 26px;
    background: rgba(255, 255, 255, .1) url(/wp-content/themes/wand/images/icon-link.svg) no-repeat 8px center;
}

@media (max-width: 768px){
    .desktop-posts{
        display: none;
    }

    .related-post{
        width: 280px;
    }

    div.swiper-container{
        width: calc(100vw - 40px);
        min-height: 0;
        min-width: 0;
        max-width: 100%;
        max-height: 100vh;
    }

    div.swiper-slide {
        width: auto;
        flex-shrink: 0;
        display: block;
        height: 100%;
        max-height: 100%;
    }

    div.swiper-wrapper{
        max-height: 100%;
        height: 100%;
        display: flex;
    }

    .mobile-posts{
        margin: 0 0 50px;
    }
}

@media (min-width: 768px){
    .mobile-posts{
        display: none;
    }
}