﻿/* Custom styles to supplement Bootstrap 5 */
body {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
}

.text-primary {
    color: #162c43 !important;
}

.bg-primary {
    background-color: #162c43 !important;
}

.btn-primary {
    background-color: #162c43;
    border-color: #162c43;
}

.btn-primary:hover {
    background-color: #2d7782;
    border-color: #2d7782;
}

.text-secondary {
    color: #2d7782 !important;
}

/* Custom spacing/fixes from old theme */
.main-header-bar {
    padding: 0;
    border-bottom: 1px solid #eaeaea;
}

.site-logo img {
    max-width: 150px;
}

.uagb-ifb-icon svg {
    fill: #333;
    width: 30px;
    height: 30px;
}

.uagb-infobox-icon-above-title {
    text-align: center;
}

h2,
.entry-content :where(h2) {
    font-size: 2.7rem;
    font-weight: 600;
}

.wp-block-uagb-advanced-heading.uagb-block-db1db25f .uagb-heading-text,
.wp-block-uagb-advanced-heading .uagb-desc-text {
    font-family: 'Inter', sans-serif;
}

.trusted-by {
    padding: 60px 20px;
    background-color: #F9F9F9;
}

.trusted-by h2 {
    text-align: center;
}

.ast-custom-button-link {
    text-decoration: none;
}

.main-header-menu .menu-link {
    color: #fff !important;
}

.main-header-menu .menu-link:hover {
    opacity: 0.8;
}

.ast-site-identity {
    padding: 0;
}

@media (min-width:921px) {
    .site-header {
        top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        position: fixed !important;
    }

    .site-header .main-header-bar {
        border-bottom: 0;
        background-color: transparent;
    }
}

.site-header .logo-dark {
    display: none;
}

.site-header .site-branding {
    padding: 0;
}

.site-header.stickey-header {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.site-header.stickey-header .logo-dark {
    display: block;
}

.site-header.stickey-header .logo-white {
    display: none;
}

.site-header.stickey-header .main-header-menu .menu-link {
    color: #162C43 !important;
}

/* =========================================================================
   Blog Archive Page - Specific Styles Ported From WordPress Astra Theme
   ========================================================================= */

/* Blog Typography & Color Variables */
:root {
    --ast-global-color-0: #162c43;
    --ast-global-color-1: #2d7782;
    --ast-global-color-2: #031530;
    --ast-global-color-3: #374c6c;
    --ast-global-color-4: #ebf5ff;
    --ast-global-color-5: #FFFFFF;
    --ast-global-color-6: #e2e8f0;
    --ast-global-color-7: #000000;
    --ast-global-color-8: #94a3b8;
}

body.ast-separate-container {
    background-color: var(--ast-global-color-4);
}

.ast-separate-container .ast-article-inner {
    background-color: var(--ast-global-color-5);
    background-image: none;
}

/* Blog Archive Banner */
.ast-archive-entry-banner[data-post-type="post"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    padding: 3em;
}

.ast-archive-entry-banner[data-post-type="post"][data-banner-background-type="custom"] {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://raventowersecuritysolutions.com/wp-content/uploads/2026/02/silver-security-camera-207574.jpeg);
    background-repeat: repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
}

.ast-archive-entry-banner[data-post-type="post"] .ast-container {
    width: 100%;
}

.ast-archive-entry-banner[data-post-type="post"] .ast-container h1 {
    color: #ffffff;
    font-weight: 400;
    font-size: 68px;
    margin: 0;
}

/* Blog Grid & Card Layout */
.ast-blog-layout-4-grid .ast-article-post {
    width: 33.33%;
    margin-bottom: 2em;
    border-bottom: 0;
    background-color: transparent;
}

.ast-blog-layout-4-grid .ast-article-inner {
    padding: 1.5em;
    height: 100%;
    box-shadow: 0px 6px 15px -2px rgba(16, 24, 40, 0.05);
}

.ast-blog-layout-4-grid .ast-row {
    display: flex;
    flex-wrap: wrap;
    flex-flow: row wrap;
    align-items: stretch;
}

.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
    padding: 0 1em 0;
}

.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .ast-row {
    margin-left: -1em;
    margin-right: -1em;
}

.ast-row .blog-layout-4 .post-content,
.blog-layout-4 .post-thumb {
    padding-left: 0;
    padding-right: 0;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section:first-child .post-thumb-img-content {
    margin-top: -1.5em;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section .post-thumb-img-content {
    margin-left: -1.5em;
    margin-right: -1.5em;
}

.ast-article-post .post-thumb-img-content img {
    aspect-ratio: 4/3;
    width: 100%;
    object-fit: cover;
}

/* Post Typography inside cards */
.ast-article-inner .entry-title {
    font-size: 26px;
    margin-top: 15px;
    margin-bottom: 0.5em;
}

.ast-article-inner .entry-title a {
    color: var(--ast-global-color-2);
    text-decoration: none;
}

.ast-article-inner .entry-title a:hover {
    color: var(--ast-global-color-1);
}

.ast-article-inner .entry-meta,
.ast-article-inner .entry-meta * {
    line-height: 1.45;
    color: var(--ast-global-color-0);
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
}

.ast-article-inner .ast-excerpt-container {
    color: var(--ast-global-color-3);
    margin-bottom: 15px;
    font-size: 16px;
    line-height: var(--ast-body-line-height, 1.75em);
    font-family: 'Lato', sans-serif;
}

.ast-article-inner .ast-read-more-container a {
    color: var(--ast-global-color-0);
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    font-weight: 500;
}

.ast-article-inner .ast-read-more-container a:hover {
    color: var(--ast-global-color-1);
}

/* Media Queries */
@media (max-width: 921px) {
    .ast-blog-layout-4-grid .ast-article-post {
        width: 100%;
    }

    .ast-archive-entry-banner[data-post-type="post"] {
        min-height: 350px;
        padding: 2em;
        margin-bottom: 20px;
    }

    .ast-archive-entry-banner[data-post-type="post"] .ast-container h1 {
        font-size: 48px;
    }
}

@media (max-width: 544px) {
    .ast-archive-entry-banner[data-post-type="post"] {
        min-height: 300px;
    }

    .ast-archive-entry-banner[data-post-type="post"] .ast-container h1 {
        font-size: 30px;
    }
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    border-top-color: #e2e8f0 !important;
}

/* =========================================================================
   Single Blog Details Page Styles
   ========================================================================= */
body.single-post .main-header-bar-wrap {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

body.single-post .site-content {
    padding-top: 50px;
}

body.single-post .ast-article-single {
    background-color: #fff;
    padding: 3rem !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
}

body.single-post .entry-title {
    color: var(--ast-global-color-0);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    display: block !important;
}

body.single-post .entry-meta {
    font-family: 'Lato', sans-serif;
    color: #667;
    margin-bottom: 30px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.single-post .entry-meta img.avatar {
    border-radius: 50%;
    margin-right: 5px;
}

body.single-post .post-thumb-img-content {
    margin-bottom: 40px;
}

body.single-post .post-thumb-img-content img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}


body.single-post .main-header-menu .menu-link {
    color: var(--ast-global-color-0) !important;
}

body.single-post .main-header-menu .menu-link:hover {
    color: var(--ast-global-color-1) !important;
}

.ast-article-single .entry-content li a {
    color: #162c43;
}

.blog-page,
.blog-details {
    margin: 4em 0 !important;
}

.blog-details .ast-article-single {
    background-color: #fff;
    padding: 3rem !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
}

.blog-detail-header {
    z-index: 99 !important;
    position: relative !important;
}

.blog-detail-header .menu-link {
    color: #162c43 !important;
}

.blog-detailbox {
    background-color: #EBF5FF;
}

/*********************************
 
        Footer Updates

 *********************************/


.site-footer-section {
    justify-content: flex-start;
}

#astra-footer-menu {
    padding-left: 0;
}

.site-primary-footer-inner-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer-section-2 .ast-footer-copyright {
    justify-content: end;
}

.site-footer-bottom {
    padding: 20px 0 0;
    max-width: 1200px;
    margin: 20px auto 0;
    border-top: 1px solid #939393;
}

.social-media-footer ul li a {
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    background-color: #162C43;
}

.social-media-footer ul li a:hover {
    background-color: #2d7782;
}

#astra-footer-menu .menu-item > a {
    padding-left: 0;
    padding-right: 40px;
}

/*********************************
 
        Testimonial Updates

 *********************************/

.testimonial-block {
    max-width: 1366px !important;
}

.testimonial-block .uagb-tm__image {
    display: none;
}

.testimonial-block .uagb-tm__desc p {
    font-size: 18px !important;
    font-weight: normal !important;
}

.testimonial-block .uagb-tm__author-name {
    font-size: 24px !important;
    font-weight: bold !important;
}