:root {
    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;

    /* Font Sizes */
    --font-size-x-small: 12px;
    --font-size-small: 14px;
    --font-size-medium: 16px;
    --font-size-large: 18px;
    --font-size-x-large: 24px;
    --font-size-xx-large: 30px;
    --font-size-xxx-large: 48px;

    /* Font Weights */
    --fw-normal: 400;
    --fw-semi-bold: 600;
    --fw-bold: 700;

    /* Spacing */
    --space-xxx-small: 2px;
    --space-xx-small: 4px;
    --space-x-small: 8px;
    --space-small: 12px;
    --space-medium: 16px;
    --space-large: 20px;
    --space-x-large: 30px;
    --space-xx-large: 48px;
    --space-xxx-large: 60px;
    --space-xxxx-large: 120px;

    /* Letter-Spacing */
    --ls-small: 2.5px;
    --ls-medium: 4px;
    --ls-large: 6px;

    /* Colors */
    --dark-blue:    rgb(0, 43, 73);
    --light-blue:   rgb(93, 170, 213);
    --dark-grey:    rgb(112, 112, 112);
    --light-grey:   rgb(228, 228, 228);
    --yellow:       rgb(247, 227, 83);
    --white:        rgb(255, 255, 255);
}

/* Blog (index.php) */
.blog {
    overflow: hidden;
    margin-top: var(--space-x-large);
    margin-bottom: var(--space-xxx-large);
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
    padding: 0px 20px;
}

@media screen and (min-width: 768px) {
    .blog {
        padding: 0px 48px;
    }
}

.blog__header {
    align-items: center;
}

.blog__title {
    font-size: var(--font-size-x-large) !important;
    text-transform: uppercase;
    font-weight: var(--fw-semi-bold);
    letter-spacing: var(--ls-medium);
}

.blog__logo {
    max-width: 200px;
    margin-right: var(--space-medium);
}

.blog__featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: var(--space-medium);
    max-height: 400px;
    overflow: hidden;
}

.blog__featured-media {
    padding-left: var(--space-medium);
    max-height: 400px;
    overflow: hidden;
}

.blog__featured-subtitle {
    color: var(--dark-grey);
    font-size: var(--font-size-x-small) !important;
    font-weight: var(--fw-semi-bold);
    letter-spacing: var(--ls-small);
    text-transform: uppercase;
    margin-bottom: var(--space-x-small);
}

.blog__featured-title {
    color: var(--dark-blue);
    font-size: var(--font-size-x-large) !important;
    font-weight: var(--fw-semi-bold);
    letter-spacing: var(--ls-small);
    text-transform: uppercase;
    margin-bottom: var(--space-x-small);
}

.blog__featured-link {
    font-size: var(--font-size-small);
    font-weight: var(--fw-bold);
    position: relative;
    text-transform: uppercase;
    padding-top: var(--space-medium);
}

.blog__nav {
    margin-top: var(--space-xxx-large);
    margin-bottom: var(--space-medium);
}

.blog__nav-item {
    display: inline-block;
    margin-bottom: var(--space-x-small);
    padding: 0 var(--space-x-small) 0 0;
}

.blog__nav-item--active {
    padding-right: calc(var(--space-x-small) - 2px);
}

.blog__nav-link {
    font-size: var(--font-size-x-small);
    text-transform: uppercase;
    font-weight: var(--fw-semi-bold);
    letter-spacing: var(--ls-small);
    line-height: 1.28571;
    color: var(--dark-grey);
    display: inline-block;
    padding: var(--space-x-small) var(--space-medium);
    border: 1px solid var(--light-grey);
    border-radius: 50px;
}

.blog__nav-link:hover,
.blog__nav-link:active {
    border: 1px solid var(--dark-blue);
    color: var(--dark-blue) !important;
}

.blog__nav-item--active .blog__nav-link {
    background-color: var(--dark-blue);
    color: var(--white);
    border: 1px solid var(--dark-blue);
}

.blog__nav-link:hover,
.blog__nav-link:active {

}

.blog__posts .gs-card__wrapper {
    flex: 0 0 auto;
    width: 33.33333333%;
    padding: 0 var(--space-medium);
}

@media screen and (max-width: 1365.99px) {
    .blog__featured-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        box-orient: vertical;
        -webkit-line-clamp: 3;
        text-overflow: ellipsis;
        line-clamp: 3;
        overflow: hidden;
    }

    .blog__featured-copy {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        box-orient: vertical;
        -webkit-line-clamp: 4;
        text-overflow: ellipsis;
        line-clamp: 4;
        overflow: hidden;
    }
}

@media screen and (max-width: 1023.99px) {
    .blog__featured-title,
    .blog__title {
        font-size: var(--font-size-large) !important;
    }
    .blog__posts .gs-card__wrapper {
        width: 50%;
    }
}

@media screen and (max-width: 767.99px) {
    .blog__header {
        text-align: center;
        flex-direction: column;
        margin-bottom: var(--space-x-large);
    }

    .blog__featured {
        flex-direction: column-reverse;
    }

    .blog__featured-content,
    .blog__featured-media {
        width: 100% !important;
        padding: 0;
    }

    .blog__featured-content {
        padding-top: var(--space-medium);
    }

    .blog__logo {
        margin: 0 auto;
    }

    .blog__title {
        font-size: var(--font-size-medium) !important;
        margin-top: var(--space-medium);
    }

    .blog__nav {
        overflow: scroll;
        width: 100vw;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .blog__nav-item {
        padding-bottom: var(--space-x-small);
    }

    .blog__nav-link {
        color: var(--dark-grey);
        font-weight: var(--fw-semi-bold);
    }

    .blog__posts {
        justify-content: center;
    }

    .blog__posts .gs-card__wrapper {
        width: 100%;
        padding: var(--space-medium);
        max-width: 48%;
    }

    .blog .pagination {
        flex-wrap: wrap;
    }

    .blog .page-numbers {
        font-size: var(--font-size-medium);
    }

    .blog .next,
    .blog .prev {
        font-size: var(--font-size-small);
    }
}

@media screen and (max-width: 575.99px) {
    .blog__featured-content {
        padding: var(--space-medium);
    }

    .blog__posts .gs-card__wrapper {
        max-width: 100%;
    }

    .blog .next,
    .blog .prev {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        text-align: center;
    }
}

.blog .pagination {
    width: 100%;
    justify-content: center;
    padding-top: var(--space-xxx-large);
}

.blog .page-numbers {
    padding: var(--space-medium);
    font-size: var(--font-size-large);
    color: var(--dark-grey);
}

.blog .page-numbers.current {
    color: var(--light-blue);
    font-weight: var(--fw-bold);
}

.blog .next,
.blog .prev {
    text-transform: uppercase;
    font-weight: var(--fw-semi-bold);
    color: var(--dark-blue);
    letter-spacing: var(--ls-small);
    padding-right: var(--space-xxx-large);
    padding-left: var(--space-xxx-large);
}

/* Single Post (single.php) */
.post {
    margin-top: var(--space-x-large);
    margin-bottom: var(--space-xxx-large);
}

.post__breadcrumbs-container {
    margin-left: -15px;
    margin-right: -15px;
}

.post__intro {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 15px;
    margin-left: -15px;
    margin-right: -15px;
}

.post__intro-left {
    grid-area: 1 / 1 / 1 / 9;
}

.post__intro-right {
    grid-area: 1 / 9 / 1 / 13;
}

.post__back-btn {
    margin-bottom: var(--space-xxx-large);
}

.post__back-btn:before {
    color: var(--yellow);
    font-size: var(--font-size-medium);
}

.post__title {
    margin-bottom: var(--space-large);
}

.post__details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-small);
}

.post__meta {
    font-weight: var(--fw-normal) !important;
    padding-top: 3px;
}

.post__meta a {
    color: var(--dark-blue);
}

.post__meta a:hover {
    color: var(--yellow);
}

.post__date:after {
    margin-left: 4px;
    margin-right: 4px;
}

.post__img-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    margin-left: -15px;
    margin-right: -15px;
}

.post__header-img {
    grid-area: 1 / 1 / 3 / 9;
}
.post__side-img:nth-of-type(2) {
    grid-area: 1 / 9 / 2 / 13;
}
.post__side-img:nth-of-type(3)  {
    grid-area: 2 / 9 / 3 / 13;
}

.post__side-img img.gallery-img {
    object-fit: cover;
    height: 100%;
}

.post__header-img img {
    height: 100%;
}

.post__content,
.post__sidebar {
    margin-top: var(--space-x-large);
    margin-bottom: 0px;
}

.post__content {
    padding-right: var(--space-x-large);
}

.post__content .text-arrow,
.post__content .gallery {
    margin-top: var(--space-medium) !important;
}

.post__content p > strong {
    font-weight: var(--fw-bold);
}

/*Block Heading*/
.post__content h2 {
    font-size: var(--font-size-large) !important;
    font-weight: var(--fw-semi-bold);
    letter-spacing: var(--ls-small);
    text-transform: uppercase;
    margin-bottom: var(--space-medium);
}
/*Text Heading*/
.post__content h3 {
    font-weight: var(--fw-bold);
    font-size: var(--font-size-medium) !important;
    margin-bottom: var(--space-x-small);
}

.post__content ul,
.post__content ol {
    padding-left: var(--space-large);
    margin-top: 0;
    margin-bottom: 0;
    list-style: disc none outside;
}

.post__content ul li,
.post__content ol li {
    margin-bottom: var(--space-x-small);
}

.post__content p + ul {
    margin-top: var(--space-x-small);
}

.post__content .text-arrow {
    display: block;
    font-size: var(--font-size-small);
}

.post__content .text-arrow:before {
    color: var(--yellow);
    font-size: var(--font-size-medium);
}

.post__content .gallery-item {
    margin-top: 0px !important;
    padding-right: var(--space-medium);
}

.post__content .gallery img {
    border: none !important;
    height: 100%;
}

.post__sidebar {
    padding-left: var(--space-medium);
}

.post__sidebar-title {
    display: block;
    margin-bottom: var(--space-large);
    color: var(--dark-blue);
    font-weight: var(--fw-semi-bold) !important;
}

.post__sidebar-title:before {
    color: var(--light-blue);
}

@media screen and (max-width: 991.99px) {
    .gs-heading.post__meta {
        font-size: 14px !important;
    }

    .post__details .social-links__link {
        height: 28px;
        width: 28px;
    }

    .post__sidebar,
    .post__content {
        padding: 0;
    }

    .post__sidebar {
        margin-top: var(--space-xxx-large);
    }
}

@media screen and (max-width: 767.99px) {
    .post__header-img {
        grid-area: 1 / 1 / 3 / 13;
    }

    .post__intro-left {
        grid-area: 1 / 1 / 1 / 13;
    }

    .post__intro-right {
        grid-area: 2 / 1 / 2 / 13;
    }

    .post__side-img {
        display: none;
    }

    .post__content .gallery-item {
        width: 100% !important;
        margin-top: var(--space-medium) !important;
        padding-right: 0;
    }

    .post__content .gallery-item img {
        width: 100%;
    }
}

@media screen and (max-width: 575.99px) {
    .post {
        padding: 0px 30px !important;
        display: block;
    }

    .post__details {
        flex-direction: column;
        align-items:flex-start;
        justify-content:initial;
    }

    .post__meta {
        margin-bottom: var(--space-medium);
    }

    .gs-heading.post__title {
        font-size: 28px !important;
        letter-spacing: var(--ls-medium);
    }
}

/* Footer (footer.php) */
/* temp fix until footer styles are updated */
.footer-container--bottom img {
    display: initial;
}


/* Post Author Section - Start */

.post-author-section-container {
    background-color: #F6F6F6;
    width: 100%;
    padding: 40px 0px 40px 0px;
}

.post-author-section-container .post-author-section {
    margin: auto;
    max-width: 1170px;
    display: flex;
}

.post-author-section-container .post-author-section img {
    border-radius: 50%;
    object-fit: cover;
    width: 200px;
    height: 200px;
}

.post-author-section-container .post-author-section .post-author-info {
    margin-left: 50px;
}

.post-author-section-container .post-author-section .post-author-info .article-by {
    font-size: 14px;
    margin-bottom: 18px;
}

.post-author-section-container .post-author-section .post-author-info .author-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2.8px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.post-author-section-container .post-author-section .post-author-info .author-name .author-link {
    color: #002B49;
}
.post-author-section-container .post-author-section .post-author-info .author-name:hover .author-link {
    color: #5DAAD5;
}
.post-author-section-container .post-author-section .post-author-info .author-description {
    margin-bottom: 20px;
}
.post-author-section-container .post-author-section .post-author-info .author-description,
.post-author-section-container .post-author-section .post-author-info .article-by,
.post-author-section-container .post-author-section .post-author-info .author-name {
    max-width: 500px;
}

@media screen and (max-width: 1250px){
    .post-author-section-container .post-author-section {
        margin: auto;
    }
}
@media screen and (max-width: 1200px){
    .post-author-section-container .post-author-section {
        justify-content: center;
    }
}
@media screen and (max-width: 840px){
    .post-author-section-container .post-author-section {
        display: block;
    }
    .post-author-section-container .post-author-section .post-author-info {
        margin-left: 0px;
    }
    .post-author-image-container {
        width: 500px;
        margin: auto;
    }
    .post-author-section-container .post-author-section img {
        margin: 0px 0px 30px 0px;
    }
    .post-author-section-container .post-author-section .post-author-info .author-description,
    .post-author-section-container .post-author-section .post-author-info .article-by,
    .post-author-section-container .post-author-section .post-author-info .author-name {
        margin: 0px auto 10px auto;
    }
}
@media screen and (max-width: 575px) {
    .post-author-image-container {
        width: 100%;
        margin: unset;
    }
    .post-author-section-container .post-author-section {
        margin: 0px 20px;
    }
}
/* Post Author Section - End
