/* File for Single Custom Post Type styles */

/* Single Video page styles */

#single-video {
    display: grid;
    grid-template-columns: 8fr 2fr;
}

#single-video article {
    padding-right: 10%;
}

#single-video h1 {
    position: relative;
    max-width: 95%;
    padding: 20px 0;
}

#single-video h1:after {
    content: url(https://new.learnliberty.org/wp-content/uploads/2021/02/small-objects.png);
    position: absolute;
    top: -20px;
    right: 0;
}

.video-sharing {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #000;
}

.video-sharing>div {
    max-width: 50%;
}

#views {
    font-weight: bold;
    display: inline-block;
}

.views img {
    float: left;
    margin-right: 5px;
    width: 30px;
}

.video-details {
    width: 100%;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 30px;
    border-bottom: 1px solid #000;
}

.video-details .speakers {
    position: relative;
}

.speakers:after {
    content: url(https://new.learnliberty.org/wp-content/uploads/2021/02/small-objects.png);
    position: absolute;
    top: 0;
    right: 0;
}

.speakers a {
    color: #000;
}

.speakers a:hover {
    text-decoration: underline;
}
.speakers span:last-child {
    display: none;
}
.video-details .category,
.tags a {
    background-color: #E9E9EB;
    border-radius: 50px;
    padding: 10px 20px !important;
    margin: 0 5px 5px 5px;
    display: inline-block;
    vertical-align: middle !important;
    color: #000;
}
.video-details .category:before, .tags a:before {
    content: none !important;
}
.video-details .category:hover,
.tags a:hover {
    background: linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid #E9E9EB;
} 

#learn-more,
#transcript {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #000;
}

.accordion label {
    font-family: Helvetica Now Display;
    font-size: 26px;
    color: #000;
    font-weight: bold;
    display: flex;
    cursor: pointer;
    position: relative;
}

.accordion label:before {
    content: "";
    transition: all .35s;
    border-right: 5px solid black;
    border-bottom: 5px solid black;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%) rotate(-45deg);
    top: 16px;
    position: absolute;
}

.accordion label span {
    margin-left: 20px;
}

.accordion input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion .tab-content {
    display: none;
    transition: all .35s;
}

.accordion input:checked~.tab-content {
    display: block;
    padding-top: 20px;
}

.accordion input:checked~label:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tags {
    padding: 20px 0
}

.category-info {
    background: rgb(183, 190, 94);
    background: -moz-linear-gradient(0deg, rgba(183, 190, 94, 1) 0%, rgba(80, 176, 187, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(183, 190, 94, 1) 0%, rgba(80, 176, 187, 1) 100%);
    background: linear-gradient(0deg, rgba(183, 190, 94, 1) 0%, rgba(80, 176, 187, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b7be5e", endColorstr="#50b0bb", GradientType=1);
    padding: 10% 20px 0;
    margin-bottom: 20px;
}

.category-info img {
    max-width: 60%;
    text-align: center;
    margin: auto;
    display: block;
}

.category-info h3 {
    text-align: center;
    color: #fff;
    padding-bottom: 10%;
    margin-top: 5%;
}

.single-video-sidebar #sidebar {
    width: 100%;
    padding: 0;
    float: none;
}

.single-video-sidebar .video-info {
    margin-bottom: 20px;
}

.single-video-sidebar .video-info {
    padding: 20px 0;
    border-bottom: 1px solid #B2B2B2;
}

.newsletter-box {
    background: rgb(192, 191, 83);
    background: -moz-linear-gradient(0deg, rgba(192, 191, 83, 1) 0%, rgba(89, 177, 180, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(192, 191, 83, 1) 0%, rgba(89, 177, 180, 1) 100%);
    background: linear-gradient(0deg, rgba(192, 191, 83, 1) 0%, rgba(89, 177, 180, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c0bf53", endColorstr="#59b1b4", GradientType=1);
    padding-top: 30px;
}

.newsletter-box h2,
.newsletter-box p {
    color: #fff;
    padding: 0 20px;
    line-height: 1.25em;
}

.newsletter-box img {
    max-width: 110%;
    position: relative;
    bottom: 0;
    left: -10px;
    display: block;
}

.newsletter-box .inverted-button {
    margin: 30px 20px;
}

/* End of Single Video page styles */

/* Single Expert page styles */

#single-expert {
    display: grid;
    grid-template-columns: 2fr 8fr;
    padding: 50px 0;
    gap: 20px;
}

#posts-newsletter {
    background-image: url(https://new.learnliberty.org/wp-content/uploads/2021/02/Lines-III-section.png);
    padding: 0;
}

#posts-newsletter .row {
    width: 100%;
    margin: 0;
    max-width: 100%;
    padding: 50px 0;
}

#posts-newsletter .row:first-child {
    background-color: rgba(246, 246, 246, 0.71);
}

.expert-posts {
    max-width: 1400px;
    margin: auto;
    width: 80%;
    padding-bottom: 50px;
}

.expert-posts h3 {
    margin-bottom: 20px;
}

.expert-posts .post-info {
    margin-bottom: 30px;
    display: flex;
    background-color: #fff;
    box-shadow: 5px 5px 5px rgb(0 0 0 / 30%);
}

.post-info img {
    max-width: 33.3%;
    margin-right: 0.7%;
}

.meta-data {
    max-width: 66%;
    display: block;
    padding: 20px;

}

.meta-data h2 {
    font-weight: bold;
}

.meta-data h6 {
    display: inline;
    text-transform: uppercase;
}

.meta-data span {
    font-family: Helvetica Now Display;
    font-weight: normal;
    font-size: 13px;
    color: #000;
}

#posts-newsletter .row:last-child {
    background: rgb(192, 191, 83);
    background: -moz-linear-gradient(0deg, rgba(192, 191, 83, 0.8) 0%, rgba(89, 177, 180, 0.8) 100%);
    background: -webkit-linear-gradient(0deg, rgba(192, 191, 83, 0.8) 0%, rgba(89, 177, 180, 0.8) 100%);
    background: linear-gradient(0deg, rgba(192, 191, 83, 0.8) 0%, rgba(89, 177, 180, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c0bf53", endColorstr="#59b1b4", GradientType=0.8);
}

.newsletter {
    display: flex;
    max-width: 1400px;
    margin: auto;
    width: 80%;
    align-items: center;
}

.newsletter>div {
    width: 45%;
    margin-right: 10%;
}

.newsletter h2,
.newsletter p {
    color: #fff;
}

.newsletter>img {
    max-width: 45%;
    margin-top: -10vh;
}

.newsletter .inverted-button {
    display: inline-block;
}

/* End of Single Expert page styles */

/* Single Post page styles */

#single-post {
    display: grid;
    grid-template-columns: 8fr 2fr;
    row-gap: 30px;
}

#single-post>img {
    grid-column-start: 1;
    grid-column-end: 3;
    width: 70%;
    padding: 20px 0;
}

#single-post article {
    padding-right: 10%;
}

#single-post article>h1 {
    padding-bottom: 20px;
}

.post-details {
    text-transform: uppercase;
    padding-bottom: 20px;
}
.post-sharing {
    display: flex;
    padding: 30px 0 10px 0;
    justify-content: space-between;
    align-items: center;
}
.post-sharing h2 {
    padding: 0;
}
.post-details>a:hover {
    text-decoration: underline;
}

.post-details>a,
.post-details>span {
    margin: 5px;
    border-right: 1px solid black;
    padding-right: 10px;
}
.post-details>a:first-child, .post-details>span:first-child  {
    margin-left: 0;
}
.post-details>a:last-child, .post-details>span:last-child {
    border-right: none;
}
.post-content {
    padding-bottom: 20px;
	border-bottom: 1px solid #000;
}

.post-content blockquote {
    max-width: 40%;
    margin-left: 20px;
    padding: 10px 0px 10px 20px;
    color: #000;
    float: right;
    border-left: 1px solid #000;
     font-family: Helvetica Now Display;
    font-size: 26px;
}

.post-content blockquote>p {
    font-family: Helvetica Now Display;
    font-size: 26px;
}
.post-content blockquote.big-citation {
	max-width: 100%;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    padding: 0 0 20px 0;
}

.post-author {
    display: grid;
    grid-template-columns: 2fr 8fr;
    column-gap: 20px;
    padding: 20px 0;
}

.author-details {
    padding: 20px 0 20px 20px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
 position: relative;
}
.author-details:after {
    content: url(https://new.learnliberty.org/wp-content/uploads/2021/03/contact-form-element.png);
    position: absolute;
    top: 20px;
    right: 10px;
}
.author-details>p {
    max-width: 95%;
}
.single-post-sidebar>h3 {
    border-bottom: 1px solid #000;
    padding: 20px 0;
}
.single-post-sidebar a.post {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #000;
}
.single-post-sidebar a.post:last-child {
    border: none;
}

/* End of Single Post page styles */

/* Responsive Styles */
@media only screen and (max-width: 1280px) {
    #single-video, #single-post {
        grid-template-columns: 7fr 3fr;
    }
    #single-post>img {
        width: 65%;
    }
}

@media only screen and (max-width: 1200px) {

    .newsletter>img {
        margin-top: 0;
    }
}

@media only screen and (max-width: 1023px) {
     #single-video, #single-post  {
        display: block;
    }

    #single-video article, #single-post article {
        padding-right: 0;
    }
    #single-post img {
        width: 100%;
    }
    #single-video aside {
        max-width: 80%;
        margin: 20px auto 0;
    }
    #single-post  aside {
        max-width: 100%;
        margin: 20px 0 0;
    }
}

@media only screen and (max-width: 767px) {
     .post-content blockquote {
        max-width: 100%;
    }
    .post-author {
        display: block;
    }
    .author-details {
        padding-left: 0;
        border-top: none;
    }
    .author-details:after {
        display: none;
    }

    #single-expert {
        grid-template-columns: 1fr;
    }

    #single-expert>img {
        max-width: 80%;
        margin: auto;
    }

    .expert-posts .post-info {
        display: block;
    }

    .post-info img {
        max-width: 100%;
        margin: 0;
    }

    .meta-data {
        max-width: 100%;
    }

    .newsletter {
        display: block;
    }

    .newsletter>div {
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }

    .newsletter>img {
        max-width: 100%;
    }
    .video-details {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 479px) {
    .speakers:after {
        content: "";
    }

    #single-video h1:after {
        content: "";
    }

}

/* End of Responsive Styles */