:root {
    --teal: #01a7a6;
    --txt: #334156;
}

.container {
    width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
}

.single-aionics_fortnightly h2 {
    font-size: 24px;
    line-height: 2;
}

.single-aionics_fortnightly h2 span {
    font-weight: 300;
}


/* Main content padding */

.fpd-20 {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
}


/* Fortnightly Header */

#f-header {
    background: #fff;
    border-bottom: 1px solid rgba(46, 62, 72, .12);
    /* padding: 1.5rem 0; */
}

#f-header .date {
    margin: 0;
    opacity: .8;
    font-weight: 500;
}

.fortnightly-title {
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    margin-bottom: 25px;
}


/* --- Lead Host */

.f-host p {
    margin-bottom: 0;
}

.f-host {
    display: flex;
    align-items: center;
}

#lead_host img {
    width: 55px;
    border-radius: 50%;
    height: 55px;
    object-fit: cover;
}

.host-name {
    margin: 0 15px;
}

.f-host .name {
    font-weight: 600;
    text-transform: capitalize;
    opacity: 0.9;
    margin: 0;
}

.f-host .name span {
    font-weight: 400;
}


/* --- F Tags */

.f-tags {
    display: flex;
    padding: 1rem 0 0;
}

.f-tags .icon {
    margin-right: 12px;
}

.tag-item {
    padding: 5px 15px;
    background-color: #edf7f7;
    border-radius: 5px;
    color: rgb(0 0 0 / 90%);
    font-size: 14px;
    line-height: 1.1;
    margin: 0 10px 0 0;
}


/* F content */

.f-p-container {
    display: flex;
    column-gap: 50px;
    justify-content: space-between;
}

#f-content {
    background: #f6f7f8;
    /* padding: 4rem 0; */
}

.f-p-content {
    flex-basis: 70%;
}

.f-featured-img img {
    object-fit: contain;
}


/* --- F lessons */

.f-lessons {
    list-style: none;
    margin: 0;
    padding: 20px;
    border-top: solid 7px var(--a-teal) !important;
    border-radius: 0 !important;
    margin-top: 30px;
}

.f-lessons li {
    margin-bottom: 5px;
    display: flex;
}

.lesson-icon {
    margin-right: 12px;
}

.lesson-icon img {
    width: 18px !important;
    height: 18px !important;
}

.f-lessons h3 {
    font-size: 20px;
}

.f-lessons h3 span {
    font-weight: 300;
}


/* --- Sidebar */

.f-p-sidebar {
    width: 33%;
}

.f-card {
    background: #fff;
    border: 1px solid rgba(46, 62, 72, .12);
    border-radius: 8px;
    box-sizing: border-box;
    min-height: 130px;
    padding: 20px 30px 20px 25px;
    position: relative;
    white-space: normal;
}

.f-card-item {
    display: flex;
    margin-bottom: 8px;
}

.f-card-item .icon {
    margin-right: 20px;
}

.f-card-item p {
    margin: 0 0 3px;
    line-height: 1.2;
    color: #000;
    font-size: 15px;
}

.icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.5;
}

.f-p-sidebar h2,
.guest-author h3 {
    font-size: 1.5em;
    line-height: 2;
}

.f-p-sidebar h2 span,
.f-post-content h2 span,
.guest-author h3 span {
    font-weight: 300;
}


/* --- F Youtube Video */

.f-video {
    /* margin: 25px 0; */
}

.w-video-container {
    flex-direction: column;
}


/* Speaker */

.speaker {
    flex-basis: 32%;
    display: flex;
    align-items: center;
}

.speaker-meta {
    flex-basis: 80%;
}

.speaker-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
}

.speaker-meta h3 {
    font-size: 18px;
    margin: 0;
}

.speaker-meta p {
    margin-bottom: 0;
    opacity: .6;
    margin: 0;
}


/* Guest Author */

.guest-author {
    margin-top: 40px;
}

.a-img {
    display: block;
}

.a-img img {
    width: auto !important;
    height: 100px;
}


/*  */

.newsletter-sub {
    margin-top: 30px;
}


/* Responsive Design */

@media screen and ( max-width: 480px) {
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    .f-p-container {
        flex-direction: column-reverse;
    }
    .f-p-content {
        flex-basis: 100%;
    }
    .fortnightly-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    .f-post-content h2,
    #speakers h2 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .f-post-content h2 span,
    #speakers h2 span {
        font-weight: 300;
    }
    .f-p-sidebar {
        width: 100%;
    }
    #f-content {
        padding: 2rem 0;
    }
    .lesson-icon img {
        display: none;
    }
    .lesson-icon {
        display: none;
    }
    .f-lessons {
        list-style: circle;
    }
    .f-lessons li:not(:last-child) {
        /* display: list-item; */
        padding-bottom: 10px;
        border-bottom: solid 1px #f2f2f2;
        margin-bottom: 10px;
    }
    /* Guest Bio */
    .f-p-sidebar .f-host {
        padding: 10px !important;
        min-height: 90px !important;
    }
    .e-host {
        display: flex;
        flex-basis: 100%;
    }
    /* Speakers */
    .speaker {
        padding-bottom: 10px;
        border-bottom: solid 1px #f2f2f2;
        margin-bottom: 10px;
    }
    #speakers h2 {
        margin-top: 0;
        margin-bottom: 20px;
    }
}


/* --- Fortnighly Archive */

.a-fortnightlies {
    padding: 4em 0;
}

.a-past-f .uk-overlay-default{
    background-color: rgb(244 249 249 / 50%);
}

.a-past-f .main-image {
    height: 360px !important;
    width: 100%;
    object-fit: cover;
    filter: blur(3px);
}
.a-past-f .uk-overlay {
    /* backdrop-filter: blur(4px); */
}

.uk-card-body.f-date-time {
    padding: 20px;
}

.fortnightly-container a {
    color: #000;
}

.fortnightly-container a:hover {
    color: #000;
}

.f-section {
    padding: 4rem 0;
}

.f-section h2 {
    opacity: .9;
    margin: 0 0 24px;
}

#past {
    border-top: solid 1px #dcdada;
}

.fortnightly-container {
    display: flex;
    column-gap: 20px;
    flex-wrap: wrap;
}

.fortnightly-item {
    flex-basis: 32%;
    margin-bottom: 25px;
}

.f-f-img img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.f-date-time p {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    color: var(--a-teal);
    margin-bottom: 5px;
}

.event-details .f-title {
    font-size: 20px;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

/* fortnightly author */
.author-details{
    margin: 20px 0;
}
.author-details {
    display: flex;
    align-items: flex-end;
}
.author-details p {
    margin: 0;
    color: #fff;
}
.f-a-img {
    margin-right: 12px;
}
.f-a-img img {
    border-radius: 50px;
    width: 40px;
}

/* Upcomming Event */
.u-event {
    box-shadow: 0 5px 15px rgb(0 0 0 / 8%);
}
.u-event-image {
    height: 200px;
}
.event-excerpt p {
    margin: 0;
}
.u-event .f-title {
    font-size: 25px;
    margin: 0 0 20px;
}
.u-event .f-title a {
    color: var(--text);
    font-weight: 600;
}
.u-event .f-card-item p{
    color: var(--teal);
    font-size: 1.2em;
    font-weight: 500;
}
.event-details p{
    margin-bottom: 5px;
}
.event-details .uk-icon {
    color: #fff;
}
/* Archieve Subscribtion */
.a-f-subscribtion{
    background-color: rgb(21 147 147 / 5%);
}
.no-upcoming-f {
    padding: 0 !important;
}

.sec-h {
    text-align: center;
    margin: 20px 0;
}
.f-card.f-meta {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(46, 62, 72, .12);
}
.f-cta {
    margin: 25px 0;
}
.f-cta a {
    background-color: var(--teal);
    color: #fff;
    padding: 5px 40px;
    font-size: 1em;
    font-weight: 500;
    border-radius: 5px;

}
.mb.f-cta{
    display: none;
}
.uk-mb30 {
    margin-bottom: 30px;
}


/* Tablet Screens */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0 25px;
    }

}

@media (max-width: 960px) { 
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    .mb.f-cta{
        display: block;
    }
    .lt.f-cta{
        display: none;
    }
    .f-card.f-meta{
        border: none;
    }
}

@media screen and (max-width: 998px) { 
    .post-type-archive-fortnightly .uk-grid { 
        margin-left: 0;
    }
    .post-type-archive-fortnightly .f-meta{
        padding: 0;
        padding: 0 15px;
    }
    .u-event .f-title {
        font-size: 17px;
        margin-top: 15px;
    }
    .u-event .f-card-item p {
        font-size: 1em;
    }
    .event-excerpt .uk-card-body{
        padding: 15px;
    }
    #f-header .f-host{
        display: none !important;
    }
    .single-fortnightly .uk-card-title {
        font-size: 1rem;
        line-height: 1.3;
        font-weight: 500;
    }
}

@media (min-width: 481px) and ( max-width: 1000px ) { 
    /* .a-past-f {
        width: 50% !important;
    } */
}
