/* =========================================
   ANKA UNITED INC - WEBSITE CUSTOM CSS
   CLEAN MASTER VERSION
   ========================================= */


/* =========================================
   OLD BRIDGE FOOTER
   ========================================= */

.footer_inner {
    background: #E34530;
}


/* =========================================
   MOBILE MENU
   ========================================= */

nav.mobile_menu ul li {
    margin-left: 20px;
}

.mobile_menu_button {
    margin-left: 20px !important;
}


/* =========================================
   FREIGHT & LOGISTICS RESOURCES PAGE
   PAGE ID: 973
   ========================================= */

.page-id-973 h1 {
    font-size: 40px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin-bottom: 15px !important;
}

.page-id-973 h3 {
    font-size: 27px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin-top: 32px !important;
    margin-bottom: 8px !important;
}

.page-id-973 .post_text p,
.page-id-973 .content p {
    font-size: 17px !important;
    line-height: 1.7 !important;
}

.page-id-973 .wp-block-separator {
    margin-top: 40px !important;
    margin-bottom: 35px !important;
    opacity: 0.25;
}


/* =========================================
   MOBILE - RESOURCES PAGE
   PAGE ID: 973
   ========================================= */

@media only screen and (max-width: 768px) {

    .page-id-973 h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .page-id-973 h3 {
        font-size: 23px !important;
        line-height: 1.3 !important;
        margin-top: 26px !important;
    }

    .page-id-973 .post_text p,
    .page-id-973 .content p {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }
}


/* =========================================
   HIDE OLD BRIDGE THEME HEADER
   ========================================= */

header.page_header {
    display: none !important;
}

.content {
    margin-top: 0 !important;
}


/* =========================================
   ANKA UNITED INC - NEW HOMEPAGE FOOTER
   ========================================= */

.anka-footer {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.anka-footer h1,
.anka-footer h2,
.anka-footer h3,
.anka-footer h4,
.anka-footer h5,
.anka-footer h6 {
    line-height: 1.25 !important;
}

.anka-footer h5 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.anka-footer p,
.anka-footer li,
.anka-footer a {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.anka-footer address,
.anka-footer address *,
.anka-footer .elementor-widget-text-editor,
.anka-footer .elementor-widget-text-editor p,
.anka-footer .elementor-widget-text-editor a {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.anka-footer .elementor-widget-text-editor h1,
.anka-footer .elementor-widget-text-editor h2,
.anka-footer .elementor-widget-text-editor h3 {
    font-size: 15px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    margin: 0 0 12px 0 !important;
}

.anka-footer a {
    text-decoration: none !important;
}


/* =========================================
   FOOTER CONTACT - NORMAL SIZE
   ========================================= */

.anka-footer h1,
.anka-footer h2,
.anka-footer h3,
.anka-footer h4,
.anka-footer h5,
.anka-footer h6,
.anka-footer span,
.anka-footer strong {
    font-size: inherit !important;
    line-height: 1.6 !important;
}

.anka-footer h5,
.anka-footer h6 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.anka-footer p,
.anka-footer p *,
.anka-footer li,
.anka-footer li *,
.anka-footer a,
.anka-footer span {
    font-size: 15px !important;
    line-height: 1.7 !important;
}


/* =========================================
   MOBILE FOOTER
   ========================================= */

@media only screen and (max-width: 767px) {

    .anka-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .anka-footer p,
    .anka-footer li,
    .anka-footer a,
    .anka-footer address,
    .anka-footer address * {
        font-size: 14px !important;
    }
}


/* ==================================================
   RESOURCES SECTION
   Parent class: anka-resources
   ================================================== */

/* Main Resources title */
.anka-resources h2 {
    font-size: 44px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    text-transform: uppercase !important;
    margin-top: 10px !important;
    margin-bottom: 18px !important;
}

/* Resource card titles */
.anka-resources h3 {
    font-size: 26px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
}

/* Resource descriptions */
.anka-resources p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
}

/* Resource links */
.anka-resources a {
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}


/* =========================================
   RESOURCES - TABLET
   ========================================= */

@media only screen and (max-width: 1024px) {

    .anka-resources h2 {
        font-size: 38px !important;
    }

    .anka-resources h3 {
        font-size: 25px !important;
    }
}


/* =========================================
   RESOURCES - MOBILE
   ========================================= */

@media only screen and (max-width: 767px) {

    .anka-resources h2 {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }

    .anka-resources h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    .anka-resources p {
        font-size: 15px !important;
    }

    .anka-resources a {
        font-size: 16px !important;
    }
}


/* ==================================================
   ANKA UNITED INC - SERVICES SECTION
   FINAL DESKTOP IMAGE / CARD FIX
   ================================================== */

/* Main Services heading */
#services h2 {
    font-size: 44px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
}

/* Service card headings */
#services h3 {
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    margin-top: 0 !important;
}

/* Service descriptions */
#services p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}


/* =========================================
   SERVICES GRID
   ========================================= */

#services .grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
}


/* =========================================
   SERVICE CARDS
   ========================================= */

#services .card {
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}


/* =========================================
   SERVICE IMAGES
   SAME SIZE / SAME CROP
   ========================================= */

#services .card img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: 245px !important;
    min-height: 245px !important;
    max-height: 245px !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


/* Remove spacing created by image links */
#services .card > a {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}


/* Remove paragraph spacing if image is inside paragraph */
#services .card > p:first-child {
    margin-top: 0 !important;
}


/* =========================================
   SERVICES - TABLET
   ========================================= */

@media only screen and (max-width: 1024px) {

    #services h2 {
        font-size: 38px !important;
    }

    #services .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #services .card img {
        height: 230px !important;
        min-height: 230px !important;
        max-height: 230px !important;
    }
}


/* =========================================
   SERVICES - MOBILE
   ========================================= */

@media only screen and (max-width: 767px) {

    #services h2 {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }

    #services h3 {
        font-size: 19px !important;
    }

    #services p {
        font-size: 15px !important;
    }

    #services .grid {
        grid-template-columns: 1fr !important;
    }

    #services .card img {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
}
/* =========================================
   SERVICES IMAGE GAP FINAL FIX
   ========================================= */

#services .grid,
#services .card {
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
}

#services .card {
    padding: 0 !important;
    margin: 0 !important;
}

#services .card img {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: top !important;
}

/* Keep text padded while image remains edge-to-edge */
#services .card h3,
#services .card p {
    margin-left: 24px !important;
    margin-right: 24px !important;
}