/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.

If you need any further help, ask in the CSS Customization forum.
*/


/* Hide the RSS subscription link in the header */
#header .rss,
#header .rss-link,
#header .rss-subscribe,
#header a[href*="/feed/"] {
    display: none !important;
}



/* Reduce unnecessary header spacing */
#header {
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
}


/* AIG Sidebar Logo */
.aig-sidebar-logo {
    display: block;
    width: 170px !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto 25px;
}


/* Google Reviews badge */
.aig-google-reviews img {
    display: block;
    width: 200px !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto 25px;
}



/* BBB Rating Sidebar Badge */
.aig-bbb-rating img {
    display: block;
    width: 200px !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto 25px;
}



/* AIG Investigative Service Cards */

.wp-block-columns:has(> .wp-block-column > .aig-service-card) {
    align-items: stretch;
    gap: 16px;
}

.wp-block-column:has(> .aig-service-card) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aig-service-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    padding: 18px 12px;
    border-radius: 6px;
    gap: 10px;
}

.aig-service-card h3 {
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

.aig-service-card p {
    margin: 0;
    line-height: 1.5;
}

.aig-service-card p:last-child {
    margin-top: auto;
    padding-top: 18px;
    font-weight: 600;
}

.aig-service-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

@media (max-width: 781px) {
    .wp-block-columns:has(> .wp-block-column > .aig-service-card) {
        gap: 16px;
    }
}


/* Align service card links at the bottom */
.aig-service-card > p:last-child {
    margin-top: auto !important;
    padding-top: 16px;
    margin-bottom: 0 !important;
}

/* Ensure card content stretches vertically */
.aig-service-card {
    height: 100%;
}


/* Final service card alignment correction */
.aig-service-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start;
}

.aig-service-card > * {
    margin-block-start: 0 !important;
}

.aig-service-card > p:last-child {
    margin-top: auto !important;
    padding-top: 16px;
}
