.wp-block-button__link {
    background-color: #c9170c !important;
    font-weight: bold !important;
    text-decoration: none !important;
    color: #FFF !important;
}
.wp-block-button__link:hover {
    background-color: #000032 !important;
}

#bootstrap-touch-slider {
    padding-top: 0 !important;
}

.mobile-logo {
    display: none;
}

.navbar-default {
    transition: 0.25s ease;
    box-shadow: 0 0 20px #00000030;
    padding: 25px 0;
    border-radius: 0;
}

.site-header:not(.fixed) .navbar-default {
    background-color: transparent !important;
    box-shadow: 0 0 20px #00000000;
}



/**/
.bs-slider .item::before {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.125) 100%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}


/**/
.video_div {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video_div video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optional: ensures the video fills the container */
}

@media (min-width: 768px) {
    .site-header.fixed .navbar-default {
        padding: 15px 0;
    }

    .navbar-nav {
        float: none;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .navbar-nav>li {
        float: none !important;
        margin: 0 2px;
    }

    .navbar-nav>li.item-logo {
        margin-left: 50px;
        margin-right: 50px;
    }

    .navbar-nav>li.item-logo>a {
        display: block;
        background-color: transparent !important;
        background-image: url(/wp-content/uploads/2019/07/round-logo.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 150px;
        height: 150px;
        font-size: 0 !important;
        line-height: 0 !important;
        opacity: 1 !important;
        transition: 0.25s ease;
    }

    .site-header.fixed .navbar-nav>li.item-logo>a {
        width: 80px;
        height: 80px;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 30px;
    }

    .dropdown-menu {
        padding: 0;
        border: none;
        border-radius: 10px !important;
        overflow: hidden;
        box-shadow: 0 0 20px #00000030;
    }

    .site-header:not(.fixed) .navbar-default .navbar-nav>li>a {
        color: #FFF;
        transition: all 0.25s ease;
        background-color: transparent !important;
    }

    .site-header:not(.fixed) .navbar-default .navbar-nav>li>a:hover,
    .site-header:not(.fixed) .navbar-default .navbar-nav>li>a:focus {
        color: #fff;
        background-color: transparent !important;
        opacity: 0.5;
    }

    .site-header:not(.fixed) .navbar-default .navbar-nav>.current-menu-item>a,
    .site-header:not(.fixed) .navbar-default .navbar-nav>.current-menu-item>a:hover,
    .site-header:not(.fixed) .navbar-default .navbar-nav>.current-menu-item>a:focus {
        color: #fff;
        background-color: transparent !important;
        opacity: 0.5;
    }


    .navbar-collapse.collapse {
        width: 100%;
        max-width: 100%;
    }


    .header-row {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 0 200px;
        width: 100%;
    }

    .btn-get-quote,
    .btn-call-now {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .btn-get-quote {
        left: 20px;
    }

    .btn-call-now {
        right: 20px;
    }

    .header-btn {
        display: flex !important;
        font-size: 18px !important;
        font-weight: bold !important;
        align-items: center !important;
        border-radius: 50px !important;
        padding: 15px 20px !important;
        width: auto !important;
        line-height: 1.2 !important;
        text-align: center !important;
        border: solid 2px #c9170c;
        background-color: rgba(0, 0, 0, 0.5);
        color: #FFF;
        transition: all 0.25s ease;
    }

    .header-btn:hover,
    .header-btn:focus {
        color: #FFF;
        background-color: #c9170c;
        text-decoration: none;
    }

    .fixed .header-btn {
        border: solid 2px #c9170c;
        background-color: #c9170c;
    }

    .fixed .header-btn:hover,
    .fixed .header-btn:focus {
        background-color: #000032;
        border-color: #000032;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-nav>li.item-logo>a {
        width: 80px;
        height: 80px;
    }

    .site-header.fixed .navbar-nav>li.item-logo>a {
        width: 80px;
        height: 80px;
    }

    .header-btn {
        font-size: 14px !important;
        padding: 6px 10px !important;
    }

    .navbar-default .navbar-nav>li>a {
        color: #000032;
        text-transform: uppercase;
        font-weight: bold;
        transition: all .3s;
        padding: 8px 10px;
        font-size: 13px;
    }

    .btn-get-quote {
        right: 142px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .navbar-nav {
        margin: 55px 0 0;
        padding-left: 120px;
        justify-content: flex-end;
    }

    .header-btn {
        font-size: 16px !important;
        padding: 10px 15px !important;
    }

    .btn-get-quote,
    .btn-call-now {
        position: absolute;
        top: 40px;
        transform: translateY(-100%);
    }

    .btn-get-quote {
        left: initial;
        right: 175px;
    }

    .btn-call-now {
        right: 20px;
    }

    .header-row {
        padding: 0;
    }

    .navbar-collapse.collapse {
        max-width: 100%;
    }

    .navbar-nav>li.item-logo {
        order: 0;
        margin-left: 0;
        position: absolute;
        left: 15px;
        top: 0;
        padding-left: 0;
    }

    .navbar-nav>li.item-logo>a {
        width: 120px;
        height: 120px;
    }

    .site-header.fixed .navbar-nav>li.item-logo>a {
        width: 95px;
        height: 95px;
    }

    .navbar-nav>li {
        order: 1;
    }
}

@media (min-width: 1199px) and (max-width: 1439px) {
    .navbar-nav>li.item-logo {
        margin-left: 20px;
        margin-right: 20px;
    }

    .header-btn {
        padding: 10px 15px !important;
        font-size: 14px !important;
    }

    .header-row {
        padding: 0 160px;

    }

    .navbar-nav>li.item-logo>a {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .navbar-default {
        padding: 15px 0;
    }

    .navbar-header {
        display: flex;
        align-items: center;
    }

    .mobile-logo {
        display: block;
        margin-right: auto;
    }



    .mobile-logo img {
        display: block;
        width: 80px;
    }

    .fixed .mobile-logo img {
        width: 60px;
    }

    .btn-get-quote,
    .btn-call-now {
        display: none !important;
    }


    .mobile-quote-btn {
        display: flex !important;
        font-size: 18px !important;
        font-weight: bold !important;
        align-items: center !important;
        border-radius: 50px !important;
        padding: 7px 15px !important;
        width: auto !important;
        line-height: 1.2 !important;
        text-align: center !important;
        border: solid 2px #c9170c;
        background-color: rgba(0, 0, 0, 0.5);
        color: #FFF;
        transition: all 0.25s ease;
    }

    .mobile-quote-btn:hover,
    .mobile-quote-btn:focus {
        color: #FFF;
        background-color: #c9170c;
        text-decoration: none;
    }

    .fixed .mobile-quote-btn {
        border: solid 2px #c9170c;
        background-color: #c9170c;
    }

    .fixed .mobile-quote-btn:hover,
    .fixed .mobile-quote-btn:focus {
        background-color: #000032;
        border-color: #000032;
    }


    .navbar-collapse {
        background-color: #FFF !important;
        border: none;
        margin-top: 10px;
        max-height: calc(100dvh - 130px);
    }

    .nav>li.item-logo {
        display: none !important;
    }

    .navbar-nav {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }


    .mobile-menu-active .call-now-button {
        display: none !important;
    }

    .video_div {
        position: relative;
        padding-bottom: 110%;
        height: 0;
        overflow: hidden;
    }
}



/**/
/* Blog Section Styles */

.blog-section {
    padding: 10rem 0;
    background-color: var(--background-light);
}

.blog-wrapper {
    width: 100%;
}

.blog-posts-wrapper {
    margin: 0 0 0 0;
}

.blog-post-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.blog-post-inner {
    display: flex;
    align-items: stretch;
    min-height: 300px;
}

.blog-post-image {
    width: 45%;
    flex-shrink: 0;
    height: auto;
    min-height: 300px;
    overflow: hidden;
    position: relative;
    background-color: var(--background-light);
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    width: 55%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 16px;
    line-height: 20px;
    color: var(--text-color);
    flex-wrap: wrap;
}

.blog-post-author,
.blog-post-date {
    color: var(--text-color);
}

.blog-post-separator {
    color: var(--border-color);
}

.blog-post-title {
    margin: 0 0 5px 0;
    font-size: 3.5rem;
    line-height: 4.5rem;
    font-weight: 600;
    color: var(--text-heading);
}

.blog-post-title a {
    color: #000;
}

.blog-post-title a:hover {
    color: #c9170c;
}

.blog-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-category-tag {
display: inline-block;
    padding: 4px 10px 4px 10px;
    color: #c9170c;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: solid 1px #c9170c;
}

.blog-category-tag:hover {
    background-color: var(--secondary-color);
    color: var(--color-white);
    text-decoration: none;
}

.blog-post-excerpt {
    margin-bottom: 2rem;
}

.blog-post-excerpt p {
    font-size: 18px;
    line-height: 28px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--text-color);
    margin: 0;
}

.blog-post-tags {
    margin-bottom: 2.5rem;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color);
}

.tags-label {
    font-weight: 600;
    color: var(--text-heading);
}

.blog-post-tags a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-post-tags a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.blog-read-more {
    display: inline-block;
    margin-top: 1rem;

    display: flex !important;
        font-size: 18px !important;
        font-weight: bold !important;
        align-items: center !important;
        border-radius: 50px !important;
        padding: 15px 20px !important;
        width: auto !important;
        line-height: 1.2 !important;
        text-align: center !important;
        border: solid 2px #c9170c;
        background-color: #c9170c;
        color: #FFF;
        transition: all 0.25s ease;
        justify-content: center !important;
}

.blog-read-more:hover {
            background-color: #000032;
        border-color: #000032;
}



/* Blog Pagination Styles */

.blog-pagination {
    margin-top: 5rem;
}

.blog-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.blog-pagination .page-numbers li {
    margin: 0;
    padding: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-block;
    padding: 1rem 1.5rem;
    background-color: #FFF;
    color: #000;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #000;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
    background-color: #F00;
    color: #FFF;
    border-color: #F00;
    text-decoration: none;
}

.blog-pagination .page-numbers .current {
    background-color: #000;
    color: #FFF;
    border-color: #000;
}


/**/
.latest-blog-wrapper {
    background-image: url(/wp-content/uploads/2020/03/Geneseo-High-School-Stadium.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 15px 0;
    position: relative;
}

.latest-blog-wrapper::before {
    display: block;
    content: "";
    background-color: #000032;
    opacity: 0.25;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.fb-panel {
    background-color: #FFF;
}

.fb-panel-heading a {
    display: block;
    background-color: #c9170c;
    color: #FFF;
    font-size: 20px;
    text-align: center;
    transition: all 0.25s ease;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px;
}

.fb-panel-heading a:hover {
    background-color: #000032;
}

.testiminials-sec {
    text-align: center;
    padding: 50px 0;
}

.testiminials-sec h2 {
    margin: 0 0 15px;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
}

.testiminials-sec h3 {
    margin: 0 0 50px;
    color: #FFF;
    font-weight: bold;
}

.testiminials-sec .sp-testimonial-free {
    background-color: #FFF !important;
    border-radius: 10px !important;
    padding: 20px !important;
}

.testiminials-sec .sp-testimonial-free-section .testimonial-nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 100px;
}

@media (max-width: 991px) {
    .latest-blog-wrapper::before {
        opacity: 1;
    }

    .testiminials-sec {
        padding-bottom: 30px;
    }
}