********************************************
 * ABO Board of Directors – clean setup
 ********************************************/

/* OUTER ROW – the container with class "abo-board-row" */
.abo-board-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    column-gap: 40px;
    row-gap: 24px;

    max-width: 1100px;
    margin: 32px auto 56px;
    padding: 36px 40px 44px;
    background: #f7f8f7;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
/* ABO Board – layout + card */
.abo-board-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    column-gap: 30px;
    row-gap: 24px;

    max-width: 1100px;
    margin: 32px auto 56px;

    /* make it OBVIOUS so you can see it working */
    padding: 36px 40px 44px;
    background: #f7f8f7;              /* light green tint */
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* 3 across stays the same */
.abo-board-row > .elementor-element {
    flex: 0 0 30%;
    max-width: 30%;
	display: flex;
	flex-direction: column;
	align-items: center;
    text-align: center;
}


/* EACH BOARD MEMBER – one container per person */
.abo-board-row > .elementor-element {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Tablet: 2 across */
@media (max-width: 1024px) {
    .abo-board-row > .elementor-element {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

/* Mobile: 1 per row */
@media (max-width: 767px) {
    .abo-board-row > .elementor-element {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* CIRCLE IMAGES + HOVER */
.abo-board-row img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto 12px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                outline 0.2s ease;
}

.abo-board-row img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    outline: 2px solid #4d7b49; /* ABO green */
    outline-offset: 3px;
}

/* NAME (heading under photo) */
.abo-board-row .elementor-widget-heading .elementor-heading-title {
    margin-top: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
}

/* TEXT BLOCK UNDER NAME (role + company) */
.abo-board-row .elementor-widget-text-editor {
    max-width: 260px;
    margin: 0 auto;
}

/* Lines inside the text block */
.abo-board-row .elementor-widget-text-editor p {
    margin: 2px 0 !important;
    line-height: 1.25 !important;
    text-align: center!important;
}

/* First line in text block = ROLE (ABO Chair, Treasurer, etc.) */
.abo-board-row .elementor-widget-text-editor p:first-of-type 
{font-weight: 500; }


/* All other lines = COMPANY INFO */
.abo-board-row .elementor-widget-text-editor p:nth-of-type(n+2) {
    color: #555;
    font-size: 0.9rem;
    font-weight: 400;
}

/************************************
  SECOND ROW — CENTERED + EVEN LEFT/RIGHT SPACING
*************************************/
/* SMALL ROW — perfect smaller circles */
.abo-board-row-small img {
    width: 120px !important;
    height: 120px !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;

    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;

    display: block;
    margin-bottom: 10px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                outline 0.2s ease;
}

/* narrower director blocks so 4 fit easily */
.abo-board-row-small > .elementor-element {
    flex: 0 0 22%;
    max-width: 22%;
}
.abo-board-row-small {
    max-width: 1100px;
    margin: 0 auto;
}
/* Center the entire small-row correctly */
.abo-board-row-small {
    max-width: 1200px !important;  /* wider container */
    margin-left: auto !important;
    margin-right: auto !important;

    display: flex;
    flex-wrap: wrap;
    justify-content: center !important; /* true centering */
}
