/* WPCode 71530 — HELP PAGE STYLING */
/* CLASSIC TRANSFERS — HELP SECTION */


/* HELP SECTION — MAIN CONTAINER */

body .ct-help-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Allow content to use full template width */

.ct-help-section > .ct-help-grid {
    width: 100% !important;
    max-width: none !important;
}


/* Three-column grid */
.ct-help-grid {
    gap: 24px;
    align-items: stretch !important;
    margin-top: 45px;
}

.ct-help-grid > .wp-block-column {
    min-width: 0;
}

/* Individual help cards */
.ct-help-card {
    background: #fff;
    border: 1px solid #e2e5e3;
    border-radius: 10px;
    padding: 28px !important;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .2s ease,
                box-shadow .2s ease,
                transform .2s ease;
}

.ct-help-card:hover {
    border-color: #00804a;
    transform: translateY(-3px);
}

.ct-help-card h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: #202020;
}

.ct-help-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Explore link */
.ct-help-card p:last-child {
    margin-top: auto;
    padding-top: 12px;
    color: #00804a;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 900px) {
    .ct-help-grid {
        flex-wrap: wrap !important;
    }

    .ct-help-grid > .wp-block-column {
        flex-basis: calc(50% - 12px) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    
body .ct-help-section {
    padding: 0 !important;
}


    .ct-help-grid {
        flex-direction: column !important;
        gap: 16px;
    }

    .ct-help-grid > .wp-block-column {
        flex-basis: 100% !important;
        width: 100%;
    }

    .ct-help-card {
        padding: 22px !important;
    }
}

/* Help Section icons */

.ct-help-card .ct-help-icon {
    width: 44px;
    height: 44px;
    background: #e8f4ed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00804a;
    flex-shrink: 0;
}

.ct-help-card .ct-help-icon svg {
    width: 23px;
    height: 23px;
    display: block;
}

/* Keep card content aligned to the left */
.ct-help-card {
    text-align: left;
    align-items: flex-start;
}

/* Help cards — force left alignment */

.ct-help-card {
    text-align: left !important;
    align-items: flex-start !important;
}

.ct-help-card > * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ct-help-card h3,
.ct-help-card p {
    text-align: left !important;
    width: 100%;
}

/* Keep icon aligned to the left */
.ct-help-card .ct-help-icon {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* HELP SECTION — CONTACT BANNER */

.ct-help-contact {
    background: #eaf4ef;
    border: 1px solid #dcebe3;
    border-radius: 12px;
    padding: 30px 36px !important;
    margin-top: 42px !important;
}

.ct-help-contact > .wp-block-columns {
    align-items: center !important;
    margin-bottom: 0;
}

.ct-help-contact h3 {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 8px;
}

.ct-help-contact p {
    font-size: 14px;
    line-height: 1.6;
    color: #56635d;
    margin: 0;
}

.ct-help-contact .wp-block-buttons {
    justify-content: flex-end;
}

.ct-help-contact .wp-block-button__link {
    background: #007a4d;
    color: #fff;
    border: 1px solid #007a4d;
    border-radius: 7px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
}

.ct-help-contact .wp-block-button__link:hover {
    background: #005d3b;
    border-color: #005d3b;
    color: #fff;
}

/* Mobile */
@media (max-width: 781px) {
    .ct-help-contact {
        padding: 24px !important;
        margin-top: 28px !important;
    }

    .ct-help-contact .wp-block-columns {
        gap: 20px;
    }

    .ct-help-contact .wp-block-buttons {
        justify-content: flex-start;
    }
}

/* Contact banner — icon beside text */

.ct-help-contact .wp-block-columns > .wp-block-column:first-child {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
}

.ct-help-contact-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    background: #d7eee2;
    color: #007a4d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-help-contact-icon svg {
    width: 27px;
    height: 27px;
}

.ct-help-contact .wp-block-column:first-child h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: end;
}

.ct-help-contact .wp-block-column:first-child p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}

/* Mobile */
@media (max-width: 600px) {
    .ct-help-contact .wp-block-columns > .wp-block-column:first-child {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 14px;
    }

    .ct-help-contact-icon {
        width: 44px;
        height: 44px;
    }
}


/* HELP SECTION — EXPLORE LINKS */

.ct-help-section a {
    color: #007a4d !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover effect */
.ct-help-section a:hover {
    color: #005b39 !important;
    text-decoration: none !important;
    transform: scale(1.08);
}

/* HELP SECTION — CONTACT US BUTTON FIX */

.ct-help-section .ct-help-contact .wp-block-button__link {
    color: #ffffff !important;
    background: #007a4d !important;
    text-decoration: none !important;
    border: 1px solid #007a4d !important;
    border-radius: 7px;
    box-shadow: none !important;
    transform: none;
    transition: background 0.2s ease;
}

.ct-help-section .ct-help-contact .wp-block-button__link:hover {
    color: #ffffff !important;
    background: #005b39 !important;
    border-color: #005b39 !important;
    transform: none !important;
}
