/**
 * ATG Support block — shortcode [atg_support]
 */

.atg-support-block {
    position: relative;
    overflow: hidden;
    background-color: #e8eaed;
    background-size: cover;
    background-position: center;
    padding: 56px 0 64px;
}

/* subtle geometric pattern overlay (optional; hidden if bg_image set via inline style can still stack) */
.atg-support-block--has-bg-image::before {
    opacity: 0.18;
}

.atg-support-block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        repeating-linear-gradient(
            -30deg,
            transparent,
            transparent 12px,
            rgba(0, 0, 0, 0.03) 12px,
            rgba(0, 0, 0, 0.03) 13px
        );
}

.atg-support-block__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.atg-support-block__head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
}

.atg-support-block__contact {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.4;
    color: #3a3a3a;
    font-family: inherit;
}

.atg-support-block__hours {
    margin: 0 0 22px;
    font-size: 22px;
    line-height: 1.4;
    color: #666;
}

.atg-support-block__title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.2;
    font-weight: 700;
    color: #1a4d2e;
    letter-spacing: -0.02em;
}

.atg-support-block__intro {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
    color: #555;
}

.atg-support-block__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 48px;
}

.atg-support-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 22px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.atg-support-card:hover {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.atg-support-card__icon-wrap {
    width: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.atg-support-card__icon {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
}

.atg-support-card__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
}

.atg-support-card__desc {
    margin: 0 0 18px;
    flex: 1 1 auto;
    font-size: 18px;
    line-height: 1.45;
    color: #666;
}

.atg-support-card__btn {
    display: inline-block;
    padding: 10px 20px;
    min-width: 140px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    color: #fff !important;
    background: #209345;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.atg-support-card__btn:hover,
.atg-support-card__btn:focus {
    background: #1a7a38;
    color: #fff !important;
    text-decoration: none;
}

.atg-support-block__cert {
    text-align: center;
}

.atg-support-block__cert-title {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 20px;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.atg-support-block__cert-title::before,
.atg-support-block__cert-title::after {
    content: "";
    flex: 1 1 auto;
    min-width: 24px;
    height: 1px;
    background: #c5c5c5;
}

.atg-support-block__cert-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 36px;
}

.atg-support-block__cert-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
}

@media screen and (max-width: 1024px) {
    .atg-support-block__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 600px) {
    .atg-support-block {
        padding: 40px 0 48px;
    }

    .atg-support-block__head {
        margin-bottom: 32px;
    }

    .atg-support-block__cards {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 40px;
    }

    .atg-support-card {
        padding: 20px 16px 18px;
    }

    .atg-support-card__icon-wrap {
        min-height: 100px;
    }

	 .atg-support-block__cert-title {
        gap: 12px;
        font-size: 16px;
        max-width: 100%;
    }
	
    .atg-support-card__icon {
        max-height: 100px;
    }

    .atg-support-block__cert-logos {
        gap: 20px 24px;
    }

    .atg-support-block__cert-logo {
        height: 40px !important;
			width: auto !important;       
    		max-height: 40px !important;
        max-width: 140px;
    }
}