/*
Theme Name: Girard Industries Pipeline Pigging Blog
Theme URI: https://girardindustries.com/blog/
Author URI: https://www.redgiantcreative.com/
Description: Custom WordPress theme for the Girard Industries blog.
Version: 1.0.0
Text Domain: girardindustries
*/

@media (min-width: 1200px) {
    .stuck_container .sf-menu {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
    }

    .stuck_container .sf-menu > li {
        float: none;
        margin-left: 0 !important;
    }
}

@media (max-width: 1200px) {
    .stuck_container .sf-menu > li > a {
        font-size: 12px;
    }

    .stuck_container .sf-menu > li {
        padding-left: 4px;
        padding-right: 4px;
    }
}

@media (max-width: 980px) {
    .sf-menu {
        display: none;
    }

    .rd-mobilemenu,
    .rd-mobilepanel {
        display: block;
    }

    body {
        padding-top: 56px;
    }

    .rd-mobilepanel_title {
        font-size: 17px;
    }

    header .top .brand {
        margin-top: 35px;
    }

    header .top .r-side {
        margin-top: 0px;
    }
}

body,
header,
footer,
.nav .dropdown-menu {
    background-image: url("images/pattern1.jpg");
}

.goog-te-gadget > span {
    display: none;
}

.goog-te-gadget {
    margin-top: -22px;
}

.goog-te-combo {
    width: 130px;
}

.logog {
    display: inline-block !important;
    opacity: 1 !important;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
    text-transform: none;
}

main .entry-content p,
main .widget p {
    margin-top: 0;
    margin-bottom: 16px;
}

main h3::after {
    display: none;
}

main h2,
main h3,
main h4,
main h5,
main h6 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.well .container > h1 {
    margin-bottom: 24px;
}

.post-meta {
    margin-bottom: 12px;
}

article h1 {
    margin-bottom: 12px;
}

.post-meta {
    margin-bottom: 32px;
}

main .entry-content a,
main .post-meta a,
main .post-navigation a,
main .widget a {
    color: #f3372c !important;
    text-decoration: underline !important;
}

main .entry-content a:hover,
main .post-meta a:hover,
main .post-navigation a:hover,
main .widget a:hover {
    color: #cc2218 !important;
    text-decoration: none !important;
}

.blog-content-col {
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .blog-content-col {
        padding-right: 30px;
    }
}

@media (max-width: 767px) {
    .well .container {
        width: 100%;
        padding: 0 10px;
    }

    .blog-content-col {
        padding-left: 10px;
        padding-right: 10px;
    }

    .grid_3 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.post-thumb {
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.post-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.featured-post .post-thumb,
.post-grid-item .post-thumb {
    aspect-ratio: 100 / 64.4;
}

.featured-post .post-thumb img,
.post-grid-item .post-thumb img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single-thumb {
    margin-top: 24px;
    margin-bottom: 24px;
}

.img-placeholder {
    display: block;
    width: 100%;
    padding-top: 64.4%;
    background: #d9dce1;
}

.featured-post,
.post-grid-item article {
    margin-top: 24px;
}

.featured-post p,
.post-grid-item article p {
    margin-top: 24px;
    margin-bottom: 0;
}

.featured-post h2,
.post-grid-item article h3 {
    margin-top: 8px;
    margin-bottom: 16px;
}

.featured-post .btn-read-more,
.post-grid-item article .btn-read-more {
    margin-top: 20px;
}

.featured-post {
    margin-bottom: 40px;
}

.post-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 10px;
}

.post-grid-item {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
    min-width: 0;
}

@media (max-width: 767px) {
    .post-grid-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .featured-post h2 {
        font-size: 30px;
        line-height: 30px;
        font-weight: 700;
    }
}

.btn-read-more {
    display: inline-block;
    background: #f3372c;
    color: #fff;
    font: 700 14px/14px 'Play', sans-serif;
    padding: 14px 22px;
    border-radius: 2px;
    text-decoration: none;
}

.btn-read-more:hover {
    background: #cc2218;
    color: #fff;
}

.widget {
    margin-bottom: 20px;
}

.widget_categories ul,
.wp-block-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 20px;
}

.widget_categories li,
.wp-block-categories-list li {
    margin-bottom: 8px;
}

.widget_categories a,
.wp-block-categories-list a {
    color: #f3372c;
    text-decoration: underline;
}

main article .btn-read-more {
    margin-top: 16px;
    margin-bottom: 24px;
}

main hr {
    border: none;
    border-top: 1px solid #D9D9D9;
    margin-top: 0;
    margin-bottom: 24px;
}

.blog-pagination {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-numbers {
    display: inline-block;
    margin: 0 1px;
    padding: 6px 12px;
    color: #333;
    text-decoration: none;
}

a.page-numbers:not(.prev):not(.next) {
    border: 1px solid #D9D9D9;
}

a.page-numbers:not(.prev):not(.next):hover,
.page-numbers.current {
    background: #f3372c;
    color: #fff;
    border: 1px solid #f3372c;
}

a.page-numbers.prev:hover,
a.page-numbers.next:hover {
    color: #f3372c !important;
}