
.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* Header */
.site-header{
    padding: 1rem 0;
    background: #fff;
}
.logo{
    font-size: 1.5rem;
    font-weight: bold;
    color: #0066cc;
}
/* Hero */
.hero{
    position: relative;
    /* background: url('hero.jpg') center/cover no-repeat; */
    color: #fff;
    padding: 8rem 0;

    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center top;
}
.hero-overlay{
    position: absolute;
    top:0;left:0;right:0;bottom:0;
    background: rgba(0,0,0,0.35);
}
.hero-content{
    position: relative;
    z-index: 1;
    text-align: left;
    max-width:875px;
}
.hero h2{
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero h5{
    font-weight:normal;
    margin:0 0 20px 0;
}
.hero p{
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.hero-buttons .btn{
    margin-right: 0.5rem;
}
/* Main sections */
.about{
    padding: 4rem 0;
}
.about h2{
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2F327D;
}
.about p{
    margin-bottom: 1rem;
}
.featured-episode{
    padding: 4rem 0;
    background: #F5F5F5;
}
.episode-label{
    display: inline-block;
    background: #ffe680;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.episode-title{
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color:#2F327D
}
.episode-content{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.episode-text{
    flex:1 1 300px;
}
.episode-media{
    flex:1 1 300px;
}
.video-placeholder{
    background: #ccc;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.25rem;
}
.all-episodes{
    padding: 4rem 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.section-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
    padding: 15px 1.25rem 0; /* match episode-cards horizontal padding so buttons align with cards */
}
.carousel-controls button{
    padding: 12px 20px 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border:0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.carousel-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.carousel-prev {
    background-color: #86b2d2;
    color:#fff;
    margin-right: 10px;
}
.carousel-prev:hover:not(:disabled) {
    background-color: #6fa0c7;
}
.carousel-next {
    background-color: #3270aa;
    color:#fff;
}
.carousel-next:hover:not(:disabled) {
    background-color: #2a5d95;
}
.episode-cards{
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1.25rem; /* room for card box-shadow on all sides */
}
.episode-cards-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 2rem;
}
.card{
    position: relative;
    background: #fff;
    /* border: 1px solid #e0e0e0; */
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: calc(50% - 1rem);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.icon-logo {
    position: absolute;
    top:30px;
    left:30px;
    width:50px;
    height:auto;
}
.card-image{
    background: #313180;
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}
.card-image-inner {
    max-width:400px;
    margin:0 auto;
}
.card-image-inner h3 {
    font-size: 40px;
}
.card-image-inner p {
    margin:0;
    font-weight: 300;
}
.episode-label-all {
    background-color: #FFCB2375;
    border-radius: 25px;
    padding:10px 30px 7px 30px;
    color:#0072AE;
    line-height: 1em;
    vertical-align: middle; 
}
.episode-label {
    background-color: #e0bb42;
    border-radius: 15px;
    padding:7px 10px 4px 10px;
    color:#fff;
    line-height: 1em;
    vertical-align: middle;
}
.card h4{
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
.card p { 
    flex-grow: 1;
    margin-bottom: 1rem;
}
.card-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top:15px;
}
.card-link{
    font-size: 0.875rem;
    color: #0066cc;
    text-decoration: none;
}
.card-link:hover{
    text-decoration: underline;
}
.newsletter{
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(to right, #3270aa, #30314a);
    color: #fff;
}
#subscribe{
    scroll-margin-top: 6.75rem; /* prevent top from being cut off when linked (e.g. fixed header) */
}
.newsletter h3{
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.subscribe-form {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width:600px;
    margin:0 auto;
    text-align: left;
}
.subscribe-form .gform-button {
    border-radius: 100px !important;
    background-color: #FFF !important;
    color:#0072AE !important;
    padding: 10px 25px !important;
    width:100% !important;
}
.subscribe-form input[type=email] {
    padding: 0.5rem 1rem !important;
    border: 1px solid #ccc !important;
    border-radius: 100px !important;
    width:400px !important;
    max-width:100% !important;
    background-color: transparent !important;
    color:#FFF !important;
}
.subscribe-form .gform_fields {

}
.cta-bottom{
    padding: 4rem 0;
    text-align: center;
    background-color: rgba(230, 230, 238, 0.52);
}
.ctab-inner {
    max-width: 500px;
    margin: 0 auto;
}
.cta-bottom p{
    margin-bottom: 1.5rem;
}
.cta-buttons .btn{
    margin: 0 0.5rem;
}
.site-footer{
    padding: 2rem 0;
    background: #f0f0f0;
    text-align: center;
    font-size: 0.875rem;
}
.author-container {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 25px;
    max-width: 250px;
    margin:0 auto;
    /* align-items : center; */
    justify-content: center;
}
.author-item {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
}
.author-item img {
    width:70px;
    height:70px;
    margin:0 auto 15px auto;
    border-radius: 50%;
    display: block;
}
@media(max-width: 768px){
    .episode-content{
        flex-direction: column;
    }
    .card{
        width: 100%;
    }
    .hero h2{
        font-size: 2rem;
    }
    .carousel-controls {
        text-align: center;
    }
    .carousel-controls button {
        padding: 10px 16px 8px 16px;
        font-size: 0.9rem;
    }
}
