#content > h1 {
    text-align: left;
}

#breadcrumbs {
    margin-left: 0;
}

#blog_search {
    margin: 30px 0 15px;
    position: relative;
}

#blog_search input {
    width: 100%;
    border-radius: var(--border-radius-md);
    padding: 16px 70px 15px 20px;
    border: 1px solid var(--color-content);
    background: var(--color-content-op);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    color: var(--color-text);
}

#blog_search button {
    font-size: 0;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: transparent;
    box-shadow: none !important;
    color: var(--color-primary);
    border: none;
    padding: 8px 15px 0;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

#blog_search button i {
    font-size: 32px;
}

#post_content article {
    padding-top: 20px;
    width: calc(100% - 300px);
    display: inline-block;
    vertical-align: top;
}

#post_listings {
    padding-top: 30px;
    font-size: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
}

#blog_sidebar, #post_sidebar {
    display: inline-block;
    vertical-align: top;
    width: 300px;
    padding: 20px 15px;
}

#post_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0 50px;
}

.blog-post-listing {
    width: 46%;
    min-width: 350px;
    padding: 15px 15px 30px;
    font-size: 14px;
    margin-bottom: 50px;
    background: var(--color-content);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.listing-hero {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    font-size: 0;
    display: block;
    text-decoration: none;
}


.listing-hero > div {
    position: relative;
    border-radius: var(--border-radius-md);
}

.listing-hero img {
    max-width: 100%;
    border-radius: var(--border-radius-md);
    height: auto;
}

.listing-hero > div:after {
    content: '';
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

.listing-hero:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.listing-info {
    position: absolute;
    bottom: 15px;
}

.listing-date {
    font-weight: 600;
    color: var(--color-text-mid);
}

.pro #blog_sidebar {
    display: none !important;
}

.blog #post_header {
    margin: 30px -30px 10px;
}

#post_hero {
    position: relative;
}

#post_hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 15px);
    overflow: hidden;
}

#post_hero_bg > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    margin: -20px;
    filter: blur(10px);
}

#post_hero_title {
    position: relative;
    z-index: 1;
    width: 98%;
    max-width: 1200px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin: 0 auto;
    font-size: 0;
}

#post_hero_title:after {
    content: '';
    box-shadow: inset 0 0 30px #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    pointer-events: none;
}

#post_hero_title img {
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    width: 100%;
    height: auto;
}

#post_hero_title h1 {
    position: absolute;
    bottom: 0;
    font-size: 46px;
    font-weight: 800;
    width: 100%;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 10px #000;
    padding: 50px 50px 25px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 100%);
}

#post_hero_title .blogpost-share {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 16px;
    border: none;
    padding: 15px 15px 8px;
    cursor: pointer;
    border-radius: var(--border-radius-xl);
}

#post_hero_title .blogpost-share > i {
    display: inline-block;
    vertical-align: middle;
    font-size: 21px;
    padding-right: 10px;
}

#post_nav {
    margin-top: -15px;
    padding: 0 15px 15px;
}

#post_nav_inner, #post_header #published_date {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-size: 14px;
    color: var(--color-text-op);
}

#post_nav_inner {
    margin: 50px auto 15px;
}

#post_content .patterns {
    margin: 50px 0;
}

#post_content .patterns .blog-pattern {
    margin-bottom: 50px;
}

#post_content .patterns .blog-pattern h3 {
    font-size: 30px;
    line-height: 1.6;
}

#post_content .patterns .blog-pattern h3 span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-op);
}

#post_header #published_date {
    padding: 15px 15px 0;
}

#blog_navigation_primary {
    display: inline-block;
    vertical-align: middle;
}

#blog_navigation_primary a {
    display: inline-block;
    vertical-align: middle;
    padding: 15px 17px 9px;
    text-decoration: none;
    color: var(--color-text);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    background: var(--color-content);
}

#blog_navigation_primary a i {
    display: inline-block;
    vertical-align: middle;
    color: var(--color-secondary);
    font-size: 18px;
    padding-right: 10px;
}

#blog_navigation_primary a:hover {
    background: var(--color-neutral-trans);
}

#post_content article {
    padding-right: 30px;
    border-right: 1px solid var(--color-neutral-mid);
    width: calc(100% - 330px);
}

#post_content article p {
    line-height: 1.6;
}

#post_content article p.pattern-details {
    margin-top: 30px;
}

#post_content article p.pattern-link {
    font-size: 14px;
}

#post_content article p.closer {
    font-weight: 500;
}

#post_content article p.view-more-closer a {
    font-weight: 600;
}

#post_content article .subhead {
    font-size: 18px;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-neutral-mid);
    font-weight: 500;
}

#post_content article h2 {
    font-size: 28px;
    padding-top: 10px;
}

#post_content article .blog-pattern > img {
    border-radius: var(--border-radius-md);
    max-width: 100%;
    height: auto;
    display: block;
    background: #fff;
    padding: 30px;
    border: 1px solid var(--color-neutral-mid);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

#post_content article p a {
    color: var(--color-primary);
    text-decoration: underline;
}

#post_content article p a > i {
    display: inline-block;
    vertical-align: middle;
    padding-right: 3px;
}

#post_content article p a:hover {
    text-decoration: none;
}

#post_sidebar {
    padding: 15px 0 15px 30px;
    text-align: center;
    width: 330px;
}

#post_related {
    text-align: left;
    color: var(--color-text);
    padding-bottom: 30px;
}

#post_related a img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    margin-bottom: 8px;
}

#post_related > a {
    display: block;
    padding: 10px;
    color: var(--color-text);
    text-decoration: none;
    background: var(--color-content);
    border-radius: var(--border-radius-md);
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
}

#post_related > a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.pw-ad-scroll-container {
    min-height: unset !important;
    padding: 15px 0;
}

@media(max-width: 900px) {
    #post_hero_title h1, #post_listings h2 {
        font-size: 32px;
    }

    #blog_sidebar {
        display: block;
        border: none;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .blog-post-listing {
        margin-bottom: 20px;
    }
    
    .sbad:nth-child(n+4) {
        display: none;
    }
    
    #post_content article {
        width: 100%;
        padding: 20px 0;
        border-right: none;
        display: block;
    }

    #post_sidebar {
        margin: 0 auto;
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    #post_related {
        text-align: center;
    }

    #post_related strong {
        display: block;
    }
    
    #post_related > a {
        width: 46%;
        margin: 15px 1%;
        display: inline-block;
        vertical-align: top;
    }
    
    .pro #post_content {
        padding-top: 30px;
    }
    
    #post_header #published_date {
        padding: 15px 30px 0;
    }
}

@media(max-width: 800px) {
    .blog-post-listing {
        width: 100%;
        min-width: unset;
        margin-bottom: 50px;
    }
}

@media(max-width: 600px) {
    #post_hero_title h1 {
        font-size: 26px;
        padding: 20px 30px 10px;
    }
    
    #post_listings h2 {
        font-size: 24px;
        padding: 15px 15px 5px;
        line-height: 1.6;
    }
    
    #post_content article .iframe-wrapper {
        padding-top: 65%;
    }

    .blog-post-listing {
        margin-bottom: 30px;
    }

    #post_related > a {
        margin: 20px 0;
        display: block;
        width: 100%;
    }
}

@media(max-width: 480px) {
    #post_hero_title h1 {
        font-size: 24px;
    }
    
    #post_listings h2 {
        font-size: 21px;
    }

    .blog-post-listing {
        padding-bottom: 20px;
    }

    .blog-post-listing h3 {
        font-size: 16px;
    }
    
    #post_content article .iframe-wrapper {
        padding-top: 100%;
    }
}

@media(max-width: 400px) {
    #post_listings h2 {
        font-size: 18px;
    }
}