header {
    position: relative;
}

body {
    overflow: visible;
}

.navbar-brand span {
    display: block;
    color: #686868;
    text-align: left;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    left: 32%;
    top: -2px;
}

.single-blog {
    padding: 100px 0 100px;
}

.blog-title {
    color: #2f4658;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    column-gap: 40px;
}

article img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 40px;
}

.blog-name {
    color: #1c2437;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}


.social-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.social-share span {font-size: 18px; color: #686868;}

.social-share ul {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

.social-share ul li {
    list-style: none;
    flex-grow: 1;
    text-align: center;
}

.social-share ul li a {
    color: #ffffff;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.social-share ul li a i {
    font-size: 20px;
}

article h3 {
    color: #2f4658;
    font-size: 2rem;
    font-weight: 700;
    margin: 25px 0 20px;
}

article p {
    color: #383838;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 20px;
}

article p strong {
    color: #383838;
    font-weight: 600;
}

article ul {
    padding: 0 0 0 24px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

article ul li {
    color: #383838;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

article ul li::marker {
    font-size: 26px;
    color: #3d5b73;
    line-height: 0 !important;
}

article blockquote {
    background: #ffffff;
    padding: 24px 30px;
    border-radius: 5px;
    border-left: 5px solid #3d5b73;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 50px;
}

article blockquote q {
    color: #383838;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 10px;
}

article blockquote strong {
    color: #3d5b73;
    font-style: italic;
    display: block;
    text-align: right;
}

article .img-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

article .img-gallery img {
    height: 280px;
    width: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.subscription-block {
    padding: 30px 40px 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.subscription-block h4 {
    color: #347FFF;
    font-size: 2.2rem;
}

.subscription-block p {
    color: #525252;
    font-size: 20px;
}

.subscription-block select {
    color: #525252;
    background: #ffffff;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    cursor: pointer;
}

.subscription-block .form-select:focus {
    border-color: #347FFF;
    outline: 0;
    box-shadow: none;
}

.subscription-block input[type=submit] {
    color: #ffffff;
    background: #347FFF;
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
    width: 100%;
    border: 1px solid #347FFF;
    border-radius: 3px;
    cursor: pointer;
}

aside .subscription-block{
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    padding: 30px;
}

aside .subscription-block h4 {
    font-size: 1.6rem;
}

aside .subscription-block p {
    font-size: 18px;
}

aside .subscription-block select,
aside .subscription-block input[type=submit] {
    font-size: 17px;
}

footer.alt {
    background: #ffffff;
    padding: 30px 0px;
}

.publication-date {
    font-size: 18px;
    color: #686868;
    margin-bottom: 40px;
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1170px !important;
    }
}

@media screen and (max-width: 1200px) {
    .blog-wrapper {
        grid-template-columns: 1fr 320px;
    }
    .social-share {
        flex-direction: column;
        gap: 10px;
    }
    .social-share ul {
        gap: 15px;
    }
    aside .subscription-block p {
        font-size: 17px;
    }
}

@media screen and (max-width: 991.98px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
    }
    .social-share {
        flex-direction: row;
        gap: 20px;
    }
    .social-share ul {
        gap: 0;
    }
    aside .subscription-block {
        display: none;
    }
    .blog-title {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 767.98px) {
    .single-blog {
        padding: 70px 0 70px;
    }
    .blog-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .publication-date {
        font-size: 17px;
        margin-bottom: 30px;
    }
    article img {
        height: 340px;
        width: 100%;
    }
    .social-share {
        flex-direction: column;
        gap: 10px;
    }
    .social-share ul {
        gap: 10px;
    }
    article h3 {
        font-size: 1.8rem;
    }
    article p, article ul li, article blockquote q {
        font-size: 17px;
        font-weight: 400;
    }
    article .img-gallery img {
        height: 250px;
    }
    .subscription-block h4 {
        color: #347FFF;
        font-size: 2rem;
    }
    .subscription-block p {
        font-size: 18px;
        line-height: 1.5;
    }
    .subscription-block .row {
        row-gap: 15px;
    }
    .subscription-block select,
    .subscription-block input[type=submit] {
        font-size: 17px;
    }
}

@media screen and (max-width: 575.98px) {
    .single-blog {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-right: var(--bs-gutter-x,.75rem);
        padding-left: var(--bs-gutter-x,.75rem);
    }
    .blog-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    .publication-date {
        font-size: 16px;
        margin-bottom: 30px;
    }
    article img {
        height: auto;
        width: 100%;
        margin-bottom: 30px;
    }
    .social-share ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .social-share ul li {
        list-style: none;
        flex-grow: unset;
        text-align: center;
    }
    .social-share ul li a {
        height: 36px;
        width: 36px;
    }
    .social-share ul li a i {
        font-size: 16px;
    }
    .social-share ul li:nth-child(6),
    .social-share ul li:nth-child(7),
    .social-share ul li:nth-child(8),
    .social-share ul li:last-child{
        display: none;
    }
    article p, article ul li, article blockquote q {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.6;
    }
    article h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    article ul{
        margin-bottom: 40px;
    }
    article ul li::marker {
        font-size: 20px;
    }
    article blockquote {
        background: #ffffff;
        padding: 20px 20px;
        margin-bottom: 40px;
    }
    article blockquote strong {
        font-size: 14px;
    }
    article .img-gallery {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    article .img-gallery img {
        height: auto;
    }
    .subscription-block {
        padding: 15px 20px 20px;
        margin-bottom: 30px;
    }
    .subscription-block h4 {
        font-size: 1.4rem;
    }
    .subscription-block p {
        font-size: 16px;
        line-height: 1.5;
    }
    .subscription-block select, .subscription-block input[type=submit] {
        font-size: 16px;
    }
}
